<!--

	function pfv( page ) {
		document.write("<a href=\"javascript:centerPopUp( '" + page + "?q=printme', 'printer', 720, 800 )\">")
		//document.write("")
		document.write('<img src="pix/printer_friendly_on.gif" alt="" width="163" height="16" border="0">')
		document.write("</a>")
		
	}
	
	function centerPopUp( url, name, width, height ) {
		var str = "menubar=1,resizable=1,scrollbars=1,height=" + height + ",width=" + width;
		if ( window.screen ) {
			var ah = screen.availHeight - 30;
			var aw = screen.availWidth - 10;
	
			var xc = ( aw - width ) / 2;
			var yc = ( ah - height ) / 2;
	
			str += ",left=" + xc + ",screenX=" + xc;
			str += ",top=" + yc + ",screenY=" + yc;
		}
		window.open( url, name, str );
	}

	function SubmitForm() {
		err = false;
			// regex to valid e email address: (1) It allows usernames with 1 or 2 alphanum characters, or 3+ chars can have -._ in the middle.
			//username may NOT start/end with -._ or any other non alphanumeric character. (2) It allows heirarchical domain names (e.g. me@really.big.com).
			//Similar -._ placement rules there. (3) It allows 2-9 character alphabetic-only TLDs (that oughta cover museum and adnauseum :>).
			//(4) No IP email addresses though -- I don't want to accept that kind of address.
		var emailReg = /^([0-9a-zA-Z]([-._\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,9})$/;
		
		if (!(emailReg.test(document.cform.email.value))) {
			alert("Please make sure your email address is in proper format.");
			document.cform.email.focus();
			err = true;
			return;		
		}
	    required = Array("name","Contact Name");
	    for(i=0; i<required.length; i+=2) {
	      if(document.cform[required[i]].value == "") {
	        alert("\"" + required[i+1] + "\" is a required field.  Please enter a value.");
	        document.cform[required[i]].focus();
	        err = true;
	        break;
	    } }
	    if(!err) {
	      //centerPopUp('','responseWin',400,100);
	      document.cform.submit();
	    }
	  }
	
//-->