/* ===========================================================================   catbox.js						 jB  Sat 042410 =========================================================================== */// catbox()   jB  Sat 042410 function catbox() { 	document.write('<FORM Action="http://jebrown.us/cgi-bin/cgiemail/punchcardreader.com/js/catbox.eml" Method="POST" onSubmit="return catbox_validateAndSubmit(this)">'); 	document.write('<P Align="center">Questions? &nbsp; <INPUT Type=Text Name="Question" Style="color: cyan; background-color: rgb(0,40,20);" SIZE="60" Value="Ask Customer Service a question.">&nbsp; E-mail: <INPUT Type=Text Name="ContactEMailAddress" Style="color: cyan; background-color: rgb(40,0,20);" SIZE="20"><INPUT Type=Hidden Name="date" Value="' + new Date() + '"> '); 	document.write('<INPUT TYPE=submit VALUE="Send">'); 	document.write('<INPUT TYPE="hidden" NAME="success"  VALUE="http://PunchCardReader.com/js/CatBoxFormRcvdThanks.html">'); 	document.write('<INPUT TYPE="hidden" NAME="Subject" VALUE="Customer Question from Home Page">'); 	document.write('<INPUT TYPE="hidden" NAME="cgiemail-mailopt" VALUE="sync">'); 	document.write('</FORM>'); } // <B>Ask our Customer Service Rep:</B><BR> // goto_catbox_button()   jB  M 062110 function goto_catbox_button(text_to_the_left, button_text, hash_text) {	document.write('<FORM>' + text_to_the_left + ' <INPUT Type="button" Align="center" Value="' + button_text + '" onClick="location=\'infocardform.html#'  + escape(hash_text) + '\'"></FORM>'); }// catbox_validateAndSubmit()  jB  Sat 111310 //		from validateAndSubmit()function catbox_validateAndSubmit(theform) {	return (   1			&& validate_forms_are_working() 			&& validate_text(theform.Question, 						"Question") 			&& validate_bool(theform.Question.value != "Ask Customer Service a question.", theform.Question, "Question") 			&& validate_email_address(theform.ContactEMailAddress,  "E-mail Address") 		   ) }
