function hAll() {
  hide('m1');
  hide('m2');
}

function hM(div) {
  Div=div;
  vM=setTimeout('hide(Div)',200);
}
function sM(div) {
  Div=div;
  clearTimeout(vM);
  show(Div);
}

function hideMenu(name) {
	MM_showHideLayers(name,'','hide');
}

function showMenu(name) {
	MM_showHideLayers(name,'','show');
	MM_showHideLayers('deleter','','show');
}

nn6 = (!document.layers) && (navigator.userAgent.indexOf('Gecko')!=-1)?true:false;
ie=(document.all)?true:false;

function mousePosition(e) {
  if(nn6) {
    x = e.pageX;
    y = e.pageY;
  } else if(ie) {
    x = event.x+document.body.scrollLeft;
    y = event.y+document.body.scrollTop;
  }
}
function menuRollover() {
  cellObject = arguments[0];
  href = arguments[1];
  target = arguments[2];
  popupparams = arguments[3];
  
  cellObject.style.backgroundColor = '#000000';
  cellObject.style.cursor = 'hand';

  cellObject.onclick = function() {
  	if(typeof(target) == "undefined") {
  		window.location = href;
  	} else {
  		window.open(href,target,popupparams);
  	}
  }
}

function menuRollout(cellObject) {
cellObject.style.backgroundColor = '#B7090A';
}

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);