// This is for Navigators resize bug. Stolen from Dreamweaver. //
function reloadPage(init) {
  if (init == true) {
	  	if (document.layers) {
	    document.pageWidth = innerWidth; 
		document.pageHight = innerHeight; 
		onresize = reloadPage;
		}
	}
  else if (innerWidth != document.pageWidth || innerHeight != document.pageHight) location.reload();
}
reloadPage(true);