function init() {
IE = (document.all)
NC = (document.layers)
Opera = (document.getElementById)
}

function hiddenLayer(vdiv) {

init();
if(IE) eval('document.all[vdiv].style.visibility = "hidden"')
if(NC) eval('document.layers[vdiv].visibility = "hidden"')
if(Opera) eval('document.getElementById(vdiv).style.visibility = "hidden"')
}

function showLayer(vdiv,event) {
init();
if (IE) {
  x = window.event.clientX + document.documentElement.scrollLeft
    + document.body.scrollLeft;
  y = window.event.clientY + document.documentElement.scrollTop
    + document.body.scrollTop;
}
else {
  x = event.clientX + window.scrollX;
  y = event.clientY + window.scrollY;
}

y1 = y+30;
x1 = x-200;
if(IE) document.all[vdiv].style.top = y1;
if(IE) document.all[vdiv].style.left = x1;
if(IE) eval('document.all[vdiv].style.visibility = "visible"')

if(NC) document.layers[vdiv].top = y1;
if(NC) document.layers[vdiv].left = x1;
if(NC) eval('document.layers[vdiv].visibility = "visible"')

if(Opera) document.getElementById(vdiv).style.top = y1;
if(Opera) document.getElementById(vdiv).style.left = x1;
if(Opera) eval('document.getElementById(vdiv).style.visibility = "visible"')

}
