nn4 = (document.layers)? true : false;
ie4 = (document.all)? true : false;
nn6 = (document.getElementById && !ie4)? true : false;

function ReloadPage(init) {
 if (init == true) with (navigator) {
  if (nn4 || nn6) {
   document.MM_pgW=innerWidth;
   document.MM_pgH=innerHeight;
   onresize=MM_reloadPage;
  }
 } else if (innerWidth != document.MM_pgW || innerHeight != document.MM_pgH) location.reload();
}

function NW(Img, Wi, He, Re, Sc, Desc) {
 Wi+=25;
 He+=25;
 if (Desc == "") {Desc = Img;}
 if (Sc == 1) {
  if (Re == 1) {
   window.open(Img, "Desc", "toolbar=0, height="+He+", width="+Wi+", resizable, scrollbars=yes");
  } else { window.open(Img, "Desc", "toolbar=0, height="+He+", width="+Wi+", scrollbars=yes");}
 } else {
  if (Re == 1) {
   window.open(Img, "Desc", "toolbar=0, height="+He+", width="+Wi+", resizable");
  } else { window.open(Img, "Desc", "toolbar=0, height="+He+", width="+Wi);}
 }
}
ReloadPage(true); 
