if (top.frames.length>1) top.location="/";
if(!window.saveInnerWidth){
  window.onresize = resizeIt;
  window.saveInnerWidth = window.innerWidth;
  window.saveInnerHeight = window.innerHeight;
}
function resizeIt(){
  if (saveInnerWidth < window.innerWidth || 
      saveInnerWidth > window.innerWidth || 
      saveInnerHeight > window.innerHeight || 
      saveInnerHeight < window.innerHeight ) 
  {
      window.history.go(0);
  }
}
function NewWindow(mypage, myname, w, h, scroll){
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

