function x(site){ window.open("http://"+site); } var leave=true; function es(eu) { if (leave) { sh(eu); } } function sh(url){ if (navigator.userAgent.indexOf("MSIE")!=-1) { document.body.style.behavior='url(#default#homepage)'; document.body.setHomePage(url); } else { alert('Sorry, not supported in this browser, please change this setting manually'); } return false; }