function PrintContestHeader(){var a="";a+='<table width="100%" border="0" cellspacing="0" cellpadding="0">\n';a+=" <tr>\n";a+=' <td bgcolor="#000000" onmouseover="style.backgroundColor=\'#9F9F9F\';" onmouseout="style.backgroundColor=\'#000000\'" height="30" width="20%">\n';a+=' <div align="center"><a href="/contest/rules.htm"><font color="#FFFFFF"><strong>COMPLETE\n';a+=" RULES</strong></font></a></div>\n";a+=" </td>\n";a+=' <td bgcolor="#000000" onmouseover="style.backgroundColor=\'#9F9F9F\';" onmouseout="style.backgroundColor=\'#000000\'" height="30" width="20%">\n'; a+=' <div align="center"><a href="/contest/reg.htm"><strong><font color="#FFFFFF">REGISTRATION</font></strong></a></div>\n';a+=" </td>\n";a+=' <td bgcolor="#000000" width="20%" onmouseover="style.backgroundColor=\'#9F9F9F\';" onmouseout="style.backgroundColor=\'#000000\'" height="30">\n';a+=' <div align="center"><a href="/contest/data/wager_list.htm"><font color="#FFFFFF"><strong>PLAY&nbsp;THE\n';a+=" CONTEST</strong></font></a> </div>\n";a+=" </td>\n";a+=' <td bgcolor="#000000" width="20%" onmouseover="style.backgroundColor=\'#9F9F9F\';" onmouseout="style.backgroundColor=\'#000000\'" height="30">\n'; a+=' <div align="center"><a href="/contest/data/results.shtml"><strong><font color="#FFFFFF">RESULTS\n';a+=" BOARD</font></strong></a></div>\n";a+=" </td>\n";a+=' <td bgcolor="#000000" width="20%" onmouseover="style.backgroundColor=\'#9F9F9F\';" onmouseout="style.backgroundColor=\'#000000\'" height="30">\n';a+=' <div align="center"><a href="/contest/help.htm"><strong><font color="#FFFFFF">HELP\n';a+=" </font></strong></a></div>\n";a+=" </td>\n";a+=" </tr>\n";a+=" <tr>\n"; a+=' <td colspan="5">&nbsp;</td>\n';a+=" </tr>\n";a+=" </table>\n";document.write(a)}function PrintContestFooter(){var a=(new Date).getYear()} function openRegSubmit(){var a="";if(document.reg.fName.value.length==0)a+="You must enter your first name\n";if(document.reg.lName.value.length==0)a+="You must enter your last name\n";if(document.reg.email.value.length==0)a+="You must enter your email address\n";else if(document.reg.email2.value.length==0)a+="You must verify your email address\n";else if(document.reg.email2.value!=document.reg.email.value)a+="Your email address must be entered the same way each time\n";if(document.reg.Customer.value.length== 0)a+="Please let us know your status as a customer\n";if(document.reg.userid.value.length==0)a+="You must enter a userid\n";else if(document.reg.userid.value.length<4)a+='The userid "'+document.reg.userid.value+'" is too short (it must be 4 characters)\n';if(document.reg.password.value.length==0)a+="You must enter a password\n";else if(document.reg.password.value.length<8)a+='The password "'+document.reg.password.value+'" is too short (it must be 8 characters)\n';if(a.length==0){alert("The Contest uses a pop up window to add wagers. A similar pop up will now be opened to allow the registration to complete. If this window does not open, you will need to address this issue before registering (see our help section)"); registerChild=window.open("reg_submit.htm","finishReg","resizable=yes,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,width=750,height=280,top=5,left=5")}else{a+="Please correct this before trying to register";alert(a)}}function submitReg(){opener.sendReg();self.close()}function sendReg(){document.forms.reg.submit()};
