

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);


function YY_showHideLayers(L2show, L2hide) { 

  if (document.layers){ //ns
    for (i=0; i<(document.layers.length); i++){
      if (document.layers[i].name.search(L2hide) != -1){document.layers[i].visibility = "hidden";}
      if (document.layers[i].name.search(L2show) != -1){document.layers[i].visibility = "visible";}
    }
  }
  if (document.all != null){ //ie
    var yydiv = document.all.tags("DIV");
    for (i=0; i<(yydiv.length); i++){
      if (yydiv[i]) {var yydivname = yydiv[i].id;} else {var yydivname = '';}
      if (yydivname.search(L2hide) != -1) document.all[yydivname].style.visibility = 'hidden';
      if (yydivname.search(L2show) != -1) document.all[yydivname].style.visibility = 'visible';
        }
  }
}


//Start ALayer
if (document.layers) {
origWidth = innerWidth;
origHeight = innerHeight;}
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();}
if (document.layers) onresize = reDo;
//End ALayer


