function InitLayers() {
  if(navigator.appName=="Netscape") {
     layerStyleRef="layer.";
	 layerRef="document.layers";
	 styleSwitch="";
  }
  else {
     layerStyleRef="layer.style.";
	 layerRef="document.all";
	 styleSwitch=".style";
  }
}

function ShowLayer(pLayerName) {eval(layerRef+'["'+pLayerName+'"]'+styleSwitch+'.visibility="visible"');}
function HideLayer(pLayerName) {eval(layerRef+'["'+pLayerName+'"]'+styleSwitch+'.visibility="hidden"');}
function SetLayerTop(pLayerName,ypos) {eval(layerRef+'["'+pLayerName+'"]'+styleSwitch+'.top='+ypos);}
