﻿// JScript File

//function toggleLayer(whichLayer)
//{
//        If (document.getElementById) Then
//{
//// this is the way the standards work
//var style2 = document.getElementById(whichLayer).style;
//style2.display = style2.display? "":"block";
//}
//        ElseIf (document.all) Then
//{
//// this is the way old msie versions work
//var style2 = document.all[whichLayer].style;
//style2.display = style2.display? "":"block";
//}
//        ElseIf (document.layers) Then
//{
//// this is the way nn4 works
//var style2 = document.layers[whichLayer].style;
//style2.display = style2.display? "":"block";
//}
//}

function toggleLayer(name){
var obj = (document.getElementById)? document.getElementById(name) : eval("document.all[name]");
if (obj.style.display=="none"){
obj.style.display="block";
}else{
obj.style.display="none";
}
} 