

function clearText(thefield){
	if (thefield.defaultValue==thefield.value) {
		thefield.value = "";
	}
} 

function popwin(file, winwidth, winheight, scroll) {
	window.open(file, "listenwindow", "no,no,yes,height=" + winheight + ",width=" + winwidth + ",scrollbars=" + scroll + ",no,no,no,no,no");
}

function popwinNoScroll(file, winwidth, winheight) {
	window.open(file, "listenwindow", "no,no,no,height=" + winheight + ",width=" + winwidth + ",no,no,no,no,no,no");
}

	function navover(t, r, b, l) {
//firefox netscape	
//	document.getElementById("allon").style.clip = "rect(0px 700px 500px 0px)";
	var rstr = "rect(" + t + "px " + r + "px " + b + "px " + l + "px)";

	document.getElementById("navon").style.clip = rstr;
	document.getElementById("navon").style.visibility = "visible";
}

function navout() {
//firefox netscape	
	document.getElementById("navon").style.clip = "rect(0px 250px 150px 0px)";
	document.getElementById("navon").style.visibility = "hidden";
}
	
function navbarOver(elementName) {
//firefox netscape
	var elementNameOver;
	elementNameOver = elementName + "_on";	
	document.getElementById(elementName).src = document.getElementById(elementNameOver).src;
}
	
function navbarOut(elementName) {
//firefox netscape
	var elementNameOut;
	elementNameOut = elementName + "_normal";	
	document.getElementById(elementName).src = document.getElementById(elementNameOut).src;
}
	
