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