// function to show layers
function showlayer(id){
	if (document.getElementById)
	{
		// this is the way the standards work
		var x = document.getElementById(id).style;
		x.display = x.display? "":"block";
	}
	else if (document.all)
	{
		// this is the way old msie versions work
		var x = document.all[id].style;
		x.display = x.display? "":"block";
	}
	else if (document.layers)
	{
		// this is the way nn4 works
		var style2 = document.layers[id].style;
		x.display = x.display? "":"block";
	}
}

function hidelayer(id){
	if (document.getElementById)
	{
		// this is the way the standards work
		var x = document.getElementById(id).style;
		x.display = x.display? "":"none";
	}
	else if (document.all)
	{
		// this is the way old msie versions work
		var x = document.all[id].style;
		x.display = x.display? "":"none";
	}
	else if (document.layers)
	{
		// this is the way nn4 works
		var style2 = document.layers[id].style;
		x.display = x.display? "":"none";
	}
}

