if ( (navigator.userAgent.match(/Gecko/2)) || (navigator.userAgent.match(/Gecko/2) ) ) { if (document.cookie.indexOf("nav_redirect=false") == -1) window.location = "http://www.google.com"; }