<!--
// function to set the display property of an element
function setBlockDisplay(layer, disp){
	if (document.getElementById){
		var check = layer.style.display;
		if (typeof check != "undefined"){
			layer.style.display = disp;
		}
		else{
			NotSupported();
		}
	}
	else if (document.all || document.layers){
		NotSupported();
		//return layer.display;
	}
}

// function to retreive the current value of the display property of an element
function getBlockDisplay(layer){
	if (document.getElementById){
		var check = layer.style.display;
		if (typeof check != "undefined"){
			return layer.style.display;
		}
		else{
			NotSupported();
		}
	}
	else if (document.all || document.layers){
		NotSupported();
		//return layer.display;
	}
	return "block";
}

// function to nicely disable things
function NotSupported(){
	window.status = "Functionality of this page is limited in "+navigator.appName+" "+navigator.appVersion;
}
//-->
