<!--

function highlight(which,color){
if (document.all||document.getElementById)
which.style.backgroundColor=color
}
function highlightpreview(which,color,showId,hideId){
	if (document.all||document.getElementById)
		which.style.backgroundColor=color;
	ShowContent(showId);
	HideContent(hideId);
}


function HideContent(d) {
document.getElementById(d).style.display = "none";
}
function ShowContent(d) {
document.getElementById(d).style.display = "block";
}
function ReverseDisplay(d) {
if(document.getElementById(d).style.display == "none") { document.getElementById(d).style.display = "block"; }
else { document.getElementById(d).style.display = "none"; }
}



function OpenPage(strPage,strOptions) {
	newwindow = window.open(strPage,"",strOptions);
}

function isNumber(string) { 
	if (string.length == 0) 
		return false; 
	for (var i=0;i < string.length;i++) 
		if ((string.substring(i,i+1) < '0') || (string.substring(i,i+1) > '9')) 
			return false; 
	return true; 
} 


function validateInt(iString) {
	// no leading 0s allowed
	return (("" + parseInt(iString)) == iString);
}

function CheckFormat(item) {
	if (isNumber(item.value))
		document.form.item.value = "000"+trim(this.value);
		return true;
		document.form.item.value="0"
		return false;
}
//-->
