/* this will work in all browsers(no jQuery needed) */ if (!Array.indexOf) { Array.prototype.indexOf = function…
<html> <head> <title>Mobile Detection</title> <script> function DetectIphone() { var uagent = navigator.userAgent.toLowerCase(); …
<script type=”text/javascript”><!– /* COOKIES */ var Cookies = { init: function () { var allCookies = document.cookie.split(‘; ‘); for (var…