

 var Nav_browser = document.layers;
     
  if (Nav_browser) {        
		var beginWidth = innerWidth;   //Assign the starting width of window to a variable.
		var beginHeight = innerHeight;   //Assign the starting height of window to a variable. 
  } 
         
  function reloadWindow() {
         if (innerWidth != beginWidth || innerHeight != beginHeight)    //Test for any resize of browser window.
         location.reload();    //Reload the browser window when there is a resize.
  }
  
  if (Nav_browser) { onresize = reloadWindow; }  //Redirect onresize event if it is a Navigator browser to the custom function.
   
  
