function toggleLayer(layerID) {


if (document.getElementById) {
// this is the way the standards work
var state = document.getElementById(layerID).style.display;
	if(state=="")
	{
		document.getElementById(layerID).style.display = "block";
	}
	else
	{
		document.getElementById(layerID).style.display = "";
	}
}

else if (document.all) {
// this is the way old msie versions work
var state = document.all[layerID].style.display;
	if(state=="")
	{
		document.all[layerID].style.display = "block";
	}
	else
	{
		document.all[layerID].style.display = "";
	}
}

else if (document.layers) {
// this is the way nn4 works
var state = document.layers[layerID].display;
	if(state=="")
	{
		document.layers[layerID].display = "block";
	}
	else
	{
		document.layers[layerID].display = "";
	}
	
}

}

function hideLayer(layerID) {

if (document.getElementById) {
// this is the way the standards work
document.getElementById(layerID).style.display = "";
}
else if (document.all) {
// this is the way old msie versions work
document.all[layerID].style.display = "";
}
else if (document.layers) {
// this is the way nn4 works
document.layers[layerID].display = "";
}

}
