
	//print function
	function printPage(pT) {
		window.open("content_2.0.asp?" + pT + "&pv=1", "example1", "width=650, height=500, location=no, menubar=no, status=no, toolbar=no, scrollbars=yes, resizable=no");
	}

	
	//validate form (c) James Haley
	var errorStr = ""

	var theargs
	function jh_checkform() {
	
	theargs = jh_checkform.arguments;
	var errorStr = "Sorry - Some fields are required  \n\nPlease fill in the highlighted fields before trying to perform that action.    "
	
	var errno = 0
	
		for (i=2; i<theargs.length; i++) {
			if (eval(theargs[0]+"."+theargs[i]+".value") == "") {
				document.getElementById(theargs[i]).style.color = '#FF0000';
				document.getElementById(theargs[i]).style.fontWeight = 'Bold';
				errno--
			} else {
				document.getElementById(theargs[i]).style.color = '#000000';
				document.getElementById(theargs[i]).style.fontWeight = 'normal';
				errno++
			}
		}
	
		if (errno == theargs.length-2) {
			return true
		} else {
			alert(errorStr)
			errorStr=""
			return false
		}
	}