today = new Date();

var month = "02";
if(month.charAt(0) == "0") 
    month = parseInt(month.substring(1, month.length));
else 
    month = parseInt(month);
month--;

today.setMonth(month);
today.setDate(09);
today.setFullYear(2010);

start = new Date(2007, 12 - 1, 26, 00, 00, 0);

if (1970 == 1970) 
    end = new Date(3000, 0, 0, 0, 0);  // No expiration, set end year to 3000
else 
    end = new Date(1970, 1 - 1, 1, 00, 00, 0);

var smsg = "";

if (start.getTime() > today.getTime()) {
    smsg = smsg + '<table border="0" cellpadding="2" cellspacing="2">';
    smsg = smsg + '<tr><td>&nbsp;&nbsp;&nbsp;</td>';
    smsg = smsg + '	<td><p class="display">Sorry, this page is not yet active.	</p></td>';
    smsg = smsg + '</tr>';
    smsg = smsg + '</table>';
    document.write (smsg);
} else if (end.getTime() < today.getTime()) {
    smsg = smsg + '<table border="0" cellpadding="2" cellspacing="2">';
    smsg = smsg + '<tr><td>&nbsp;&nbsp;&nbsp;</td>';
    smsg = smsg + '	<td><p class="display">Sorry, this page has expired	</p></td>';
    smsg = smsg + '</tr>';
    smsg = smsg + '</table>';
    document.write (smsg);
} else {
var shuzaicode = "";







shuzaicode = shuzaicode + '<form action="http://shuzai.surfingthemag.com/" name="shz" method="post">';
shuzaicode = shuzaicode + '<input type="hidden" name="shuzai_id" value="35">';
shuzaicode = shuzaicode + '<input type="hidden" name="page_number" value="1">';
shuzaicode = shuzaicode + '<input type="hidden" name="row_id" value="">';
shuzaicode = shuzaicode + '<input type="hidden" name="env_report" value="REMOTE_ADDR">';
shuzaicode = shuzaicode + '<input type="hidden" name="server_name" value="shuzaioutput.sourceinterlinkmedia.com">';
shuzaicode = shuzaicode + '<input type="hidden" name="linkback" value="http://www.surfingmagazine.com/news/surfing-pulse/vote-best-cover-2007/index.html">';
shuzaicode = shuzaicode + '<input type="hidden" name="next_page" value="http://www.surfingmagazine.com/news/surfing-pulse/vote-best-cover-2007/index.html">';

shuzaicode = shuzaicode + '<table border="0" cellpadding="2" cellspacing="2">';
shuzaicode = shuzaicode + '<tr><td align="right" valign="top"><span class="display">Vote for the best cover of 2007  </span></td>';
shuzaicode = shuzaicode + '     <td valign="top">';
shuzaicode = shuzaicode + '             <table border="0" cellpadding="0" cellspacing="0">';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_257" value="option_id_418"  > </td>';
shuzaicode = shuzaicode + '                     <td>JAN07</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_257" value="option_id_419"  > </td>';
shuzaicode = shuzaicode + '                     <td>FEB07</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_257" value="option_id_420"  > </td>';
shuzaicode = shuzaicode + '                     <td>MAR07</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_257" value="option_id_421"  > </td>';
shuzaicode = shuzaicode + '                     <td>APR07</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_257" value="option_id_422"  > </td>';
shuzaicode = shuzaicode + '                     <td>MAY07</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_257" value="option_id_423"  > </td>';
shuzaicode = shuzaicode + '                     <td>JUN07</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_257" value="option_id_424"  > </td>';
shuzaicode = shuzaicode + '                     <td>JUL07</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_257" value="option_id_425"  > </td>';
shuzaicode = shuzaicode + '                     <td>AUG07</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_257" value="option_id_426"  > </td>';
shuzaicode = shuzaicode + '                     <td>SEP07</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_257" value="option_id_427"  > </td>';
shuzaicode = shuzaicode + '                     <td>OCT07</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_257" value="option_id_428"  > </td>';
shuzaicode = shuzaicode + '                     <td>NOV07</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_257" value="option_id_429"  > </td>';
shuzaicode = shuzaicode + '                     <td>DEC07</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             </table>';
shuzaicode = shuzaicode + '     </td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right" valign="top"><span class="display">Why do you think this is the best cover of 2007?  </span></td>';
shuzaicode = shuzaicode + '	<td><textarea name="data_259" rows="5" cols="32" maxlength="1024">';
shuzaicode = shuzaicode + "";
shuzaicode = shuzaicode + '</textarea></td>';
shuzaicode = shuzaicode + '</tr>';

    shuzaicode = shuzaicode + '<tr><td><img src="http://images.thepirtgroup.com/all/spacer.gif" width="100" height="1" border="0"></td><td>&nbsp;</td></tr>';
    shuzaicode = shuzaicode + '<tr><td colspan="2" align="center"><input type="submit" value="Submit"></td></tr>';
    shuzaicode = shuzaicode + '<tr><td colspan="2" align="center"><p><p>Some components or processes referenced in this website may be subject to one or more of U.S. Patent Numbers 4,745,468, 4,876,592, 4,926,255, 5,034,807, 5,057,915, 5,128,752, 5,227,874, 5,249,044, 5,283,734, 5,368,129, 5,508,731, 5,697,844, 5,713,795, 5,759,101, 5,916,024, 6,443,840.</td></tr>';
    shuzaicode = shuzaicode + '</table>';
    shuzaicode = shuzaicode + '</form>';











    document.write (shuzaicode);
}	
