// JavaScript Document

function hideLayer(whichLayer) {

if (document.getElementById) {
// this is the way the standards work
// document.getElementById(whichLayer).style.display = "none";
document.getElementById(whichLayer).style.visibility = "hidden";
document.getElementById(whichLayer).style.position = "absolute";
document.getElementById(whichLayer).style.top = "-2000px";
}
else if (document.all) {
// this is the way old msie versions work
// document.all[whichlayer].style.display = "none";
document.all[whichlayer].style.visibility = "hidden";
document.all[whichlayer].style.position = "absolute";
document.all[whichlayer].style.top = "-2000px";
}
else if (document.layers) {
// this is the way nn4 works
// document.layers[whichLayer].display = "none";
document.layers[whichLayer].visibility = "hidden";
document.layers[whichLayer].visibility = "absolute";
document.layers[whichLayer].top = "-2000px";
}
}

// functions to show layers

function showLayer(whichLayer) {

if (document.getElementById) {
// this is the way the standards work
// document.getElementById(whichLayer).style.display = "block";
document.getElementById(whichLayer).style.visibility = "visible";
document.getElementById(whichLayer).style.position = "relative";
document.getElementById(whichLayer).style.top = "0px";
}
else if (document.all) {
// this is the way old msie versions work
// document.all[whichlayer].style.display = "block";
document.all[whichlayer].style.visibility = "visible";
document.all[whichlayer].style.position = "relative";
document.all[whichlayer].style.top = "0px";
}
else if (document.layers) {
// this is the way nn4 works
// document.layers[whichLayer].display = "block";
document.layers[whichLayer].visibility = "visible";
document.layers[whichLayer].visibility = "relative";
document.layers[whichLayer].top = "0px";
}
}