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(2009, 8 - 1, 16, 10, 50, 0);

if (2009 == 1970) 
    end = new Date(3000, 0, 0, 0, 0);  // No expiration, set end year to 3000
else 
    end = new Date(2009, 9 - 1, 16, 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.skateboardermag.com/" name="shz" method="post">';
shuzaicode = shuzaicode + '<input type="hidden" name="shuzai_id" value="110">';
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://skateboardermag.com/entertowin/ben-harper-album-deck-giveaway/index.html">';
shuzaicode = shuzaicode + '<input type="hidden" name="next_page" value="http://skateboardermag.com/entertowin/ben-harper-album-deck-giveaway/index.html">';

shuzaicode = shuzaicode + '<table border="0" cellpadding="2" cellspacing="2">';
shuzaicode = shuzaicode + '<tr><td align="right" valign="top"><span class="required">*&nbsp;</span><span class="display">Why should YOU win?  </span></td>';
shuzaicode = shuzaicode + '	<td><textarea name="data_1026" rows="5" cols="32" maxlength="1024">';
shuzaicode = shuzaicode + "";
shuzaicode = shuzaicode + '</textarea></td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right"><span class="required">*&nbsp;</span><span class="display">First Name:</span></td>';
shuzaicode = shuzaicode + '	<td><input type="text" size="20" name="data_1018_1" value="';
shuzaicode = shuzaicode + "";
shuzaicode = shuzaicode + '" maxlength="40"></td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right"><span class="required">*&nbsp;</span><span class="display">Last Name:</span></td>';
shuzaicode = shuzaicode + '	<td><input type="text" size="20" name="data_1018_2" value="';
shuzaicode = shuzaicode + "";
shuzaicode = shuzaicode + '" maxlength="40"></td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right"><span class="display">Middle Initial:</span></td>';
shuzaicode = shuzaicode + '	<td><input type="text" size="1" name="data_1018_3" value="';
shuzaicode = shuzaicode + "";
shuzaicode = shuzaicode + '" maxlength="1"></td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right"><span class="display"><span class="required">*&nbsp;</span>E-mail  </span></td>';
shuzaicode = shuzaicode + '	<td><input type="text" size="20" name="data_1020" value="';
shuzaicode = shuzaicode + "";
shuzaicode = shuzaicode + '" maxlength="40"></td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right"><span class="required">*&nbsp;</span><span class="display">Address  </span></td>';
shuzaicode = shuzaicode + '	<td><input type="text" size="20" name="data_1022_1" value="';
shuzaicode = shuzaicode + "";
shuzaicode = shuzaicode + '" maxlength="128"></td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right"><span class="display">&nbsp;</span></td>';
shuzaicode = shuzaicode + '	<td><input type="text" size="20" name="data_1022_2" value="';
shuzaicode = shuzaicode + "";
shuzaicode = shuzaicode + '" maxlength="128"></td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right"><span class="required">*&nbsp;</span><span class="display">City:</span></td>';
shuzaicode = shuzaicode + '	<td><input type="text" size="20" name="data_1022_3" value="';
shuzaicode = shuzaicode + "";
shuzaicode = shuzaicode + '" maxlength="128"></td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right"><span class="required">*&nbsp;</span><span class="display">State/Province/Region:</span></td>';
shuzaicode = shuzaicode + '	<td><input type="text" size="20" name="data_1022_4" value="';
shuzaicode = shuzaicode + "";
shuzaicode = shuzaicode + '" maxlength="128"></td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right"><span class="required">*&nbsp;</span><span class="display">Zip Code:</span></td>';
shuzaicode = shuzaicode + '	<td><input type="text" size="5" name="data_1022_5" value="';
shuzaicode = shuzaicode + "";
shuzaicode = shuzaicode + '" maxlength="5"></td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right"><span class="required">*&nbsp;</span><span class="display">Country:</span></td>';
shuzaicode = shuzaicode + '	<td><input type="text" size="20" name="data_1022_6" value="';
shuzaicode = shuzaicode + "";
shuzaicode = shuzaicode + '" maxlength="128"></td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right" valign="top"><span class="required">*&nbsp;</span><span class="display">Would you like to sign up for the Skateboarder Magazine Newsletter for your chance to WIN more FREE stuff?  </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_1024" value="option_id_484"  > </td>';
shuzaicode = shuzaicode + '                     <td>YES</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_1024" value="option_id_485"  > </td>';
shuzaicode = shuzaicode + '                     <td>no</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             </table>';
shuzaicode = shuzaicode + '     </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 + '</table>';
    shuzaicode = shuzaicode + '</form>';











    document.write (shuzaicode);
}	
