<!--
var type = "IE";	//Variable used to hold the browser name

BrowserSniffer();

//detects the capabilities of the browser
function BrowserSniffer() {
	if (navigator.userAgent.indexOf("Opera")!=-1 && document.getElementById) type="OP";		//Opera
	else if (document.all) type="IE";														//Internet Explorer e.g. IE4 upwards
	else if (document.layers) type="NN";													//Netscape Communicator 4
	else if (!document.all && document.getElementById) type="MO";							//Mozila e.g. Netscape 6 upwards
	else type = "IE";		//I assume it will not get here
}


var state = 'hidden';

/*
function showHide(layer_ref){
	if (state == 'visible') {
		state = 'hidden';
		position = 'absolute';
	}
	else {
		state = 'visible';
		position = 'static';
	}
	
	if (type=="IE") document.all[layer_ref].style.visibility = state ;
	if (type=="NN") eval("document." + layer_ref + ".visibility='" + state + "'");
	if (type=="MO" || type=="OP") eval("document.getElementById('" + layer_ref + "').style.visibility='" + state + "'");
}
*/

function showhide(layer_ref) {

	if (type=="IE") { //IS IE 4 or 5 (or 6 beta)
		if (document.getElementById(layer_ref).style.visibility == 'visible') {
			state = 'hidden';
			position = 'absolute';
		}
		else {
			state = 'visible';
			position = 'static';
		}
		eval("document.getElementById('" + layer_ref + "').style.visibility='" + state + "'");
		eval("document.getElementById('" + layer_ref + "').style.position='" + position + "'");
	}
	if (type=="NN") { //IS NETSCAPE 4 or below
		if (document.layers[layer_ref].visibility == 'visible') {
			state = 'hidden';
			position = 'absolute';
		}
		else {
			state = 'visible';
			position = 'static';
		}
		document.layers[layer_ref].visibility = state;
		document.layers[layer_ref].position = position;
	}
	if (type=="MO" || type=="OP") {
		maxwell_smart = document.getElementById(layer_ref);
		if (maxwell_smart.style.visibility == 'visible') {
			state = 'hidden';
			position = 'absolute';
		}
		else {
			state = 'visible';
			position = 'static';
		}
		maxwell_smart.style.visibility = state;
		maxwell_smart.style.position = position;
	}
}
-->