function reloadPage(init){ if (init==true) with (navigator) {if((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.pgW=window.innerWidth; document.pgH=window.innerHeight; }} else if (window.innerWidth!=document.pgW||window.innerHeight!=document.pgH) { document.location = document.location; } } if(document.layers) { reloadPage(true); }