function current_width()
{
 if (window.innerWidth) return window.innerWidth;
 else if (document.body && document.body.offsetWidth) return document.body.offsetWidth;
 else return 0;
}

function current_height()
{
 if (window.innerHeight) return window.innerHeight  ;
 else if (document.body && document.body.offsetHeight) return document.body.offsetHeight;
 else return 0;
}


function reconstruction()
{
 if (width != current_width() || height != current_height())
 window.history.go(0);
}


/*Netscape*/
if(!window.width && window.innerWidth)
  {
   window.onresize = reconstruction;
   width = current_width();
   height = current_height();
  }


