//For refresh layers
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();
}
//*******************************
//Unhide menu blocks
function check() { 
  if (onlayer == "yes" || onmenu == "yes") { 
    setTimeout("check()",1000);
  } 
  else {
    hideAll();
  } 
} 
//*******************************
function monl()  {onlayer="yes";} 
function moutl() {onlayer="no";} 
function moutm() {onmenu="no";} 
//*******************************
function ShowLayer(i) {
 //alert(onmenu);
 hideAll();
 var margin_left=125;
 var height_by_col_margin=33; 
 //var tbl=window.document.all.tmenu;
 var sel_li=window.document.all.main_menu;
 //alert(sel_li.offsetTop);
 document.all['L' + i].style.left = document.all("menu").offsetLeft + margin_left;
 document.all['L' + i].style.top = document.all("menu").offsetTop + (height_by_col_margin * i);
 document.all['L' + i].style.visibility = "visible";
 //alert(document.all['L' + i].style);
 onmenu="yes";
 setTimeout("check()",1000);
}
//*******************************
function hideAll() {
 document.all['L5'].style.visibility = "hidden";
 //document.all['L5'].style.visibility = "hidden";

 onlayer="no";
 onmenu="no";
}
