today = new Date();

today.setMonth(02 - 1);
today.setDate(09);
today.setFullYear(2010);

start = new Date(2005, 6 - 1, 14, 08, 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 = "";
var cookie = false;



if (cookie) {
        smsg = smsg + '<table border="0" cellpadding="2" cellspacing="2">';
        smsg = smsg + '<tr><td>&nbsp;&nbsp;&nbsp;</td>';
        smsg = smsg + ' <td><p class="display">        </p></td>';
        smsg = smsg + '</tr>';
        smsg = smsg + '</table>';
        document.write (smsg);
} else {
    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">Thanks for playing...sniff	</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="6">';
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="linkback" value="http://skateboardermag.com/skateboarder-news-features/contest/bnswhlgvawy/index.html">';
shuzaicode = shuzaicode + '<input type="hidden" name="next_page" value="http://skateboardermag.com/skateboarder-news-features/contest/bnswhlgvawy/index.html">';

shuzaicode = shuzaicode + '<table border="0" cellpadding="2" cellspacing="2">';

shuzaicode = shuzaicode + '<tr><td align="right"><span class="display">Guess the number of allergy pills left in the bottle.</span></td>';
shuzaicode = shuzaicode + '	<td><input type="text" size="32" name="data_46" value="';
shuzaicode = shuzaicode + "";
shuzaicode = shuzaicode + '" maxlength="32"></td>';
shuzaicode = shuzaicode + '</tr>';shuzaicode = shuzaicode + '<tr><td align="right"><span class="display">First Name:</span></td>';
shuzaicode = shuzaicode + '	<td><input type="text" size="20" name="data_37_1" value="';
shuzaicode = shuzaicode + "";
shuzaicode = shuzaicode + '" maxlength="40"></td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right"><span class="display">Last Name:</span></td>';
shuzaicode = shuzaicode + '	<td><input type="text" size="20" name="data_37_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_37_3" value="';
shuzaicode = shuzaicode + "";
shuzaicode = shuzaicode + '" maxlength="1"></td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right"><span class="display">Age  </span></td>';
shuzaicode = shuzaicode + '	<td><input type="text" size="5" name="data_38" value="';
shuzaicode = shuzaicode + "";
shuzaicode = shuzaicode + '" maxlength="3"></td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right"><span class="display">Birth Date  </span></td>';
shuzaicode = shuzaicode + '	<td><select name="data_39_1">';
shuzaicode = shuzaicode + '		<option value="">mm</option>';
shuzaicode = shuzaicode + '		<option value="01" [an error occurred while processing this directive]>01</option>';
shuzaicode = shuzaicode + '		<option value="02" [an error occurred while processing this directive]>02</option>';
shuzaicode = shuzaicode + '		<option value="03" [an error occurred while processing this directive]>03</option>';
shuzaicode = shuzaicode + '		<option value="04" [an error occurred while processing this directive]>04</option>';
shuzaicode = shuzaicode + '		<option value="05" [an error occurred while processing this directive]>05</option>';
shuzaicode = shuzaicode + '		<option value="06" [an error occurred while processing this directive]>06</option>';
shuzaicode = shuzaicode + '		<option value="07" [an error occurred while processing this directive]>07</option>';
shuzaicode = shuzaicode + '		<option value="08" [an error occurred while processing this directive]>08</option>';
shuzaicode = shuzaicode + '		<option value="09" [an error occurred while processing this directive]>09</option>';
shuzaicode = shuzaicode + '		<option value="10" [an error occurred while processing this directive]>10</option>';
shuzaicode = shuzaicode + '		<option value="11" [an error occurred while processing this directive]>11</option>';
shuzaicode = shuzaicode + '		<option value="12" [an error occurred while processing this directive]>12</option>';
shuzaicode = shuzaicode + '    </select>&nbsp;/&nbsp;';
  
shuzaicode = shuzaicode + '    <select name="data_39_2">';
shuzaicode = shuzaicode + '    <option value="">dd</option><option value="01" [an error occurred while processing this directive]>01</option><option value="02" [an error occurred while processing this directive]>02</option><option value="3" [an error occurred while processing this directive]>03</option>';
shuzaicode = shuzaicode + '    <option value="04" [an error occurred while processing this directive]>04</option><option value="05" [an error occurred while processing this directive]>05</option><option value="06" [an error occurred while processing this directive]>06</option>';
shuzaicode = shuzaicode + '    <option value="07" [an error occurred while processing this directive]>07</option><option value="08" [an error occurred while processing this directive]>08</option><option value="09" [an error occurred while processing this directive]>09</option>';
shuzaicode = shuzaicode + '    <option value="10" [an error occurred while processing this directive]>10</option><option value="11" [an error occurred while processing this directive]>11</option><option value="12" [an error occurred while processing this directive]>12</option>';
shuzaicode = shuzaicode + '    <option value="13" [an error occurred while processing this directive]>13</option><option value="14" [an error occurred while processing this directive]>14</option><option value="15" [an error occurred while processing this directive]>15</option>';
shuzaicode = shuzaicode + '    <option value="16" [an error occurred while processing this directive]>16</option><option value="17" [an error occurred while processing this directive]>17</option><option value="18" [an error occurred while processing this directive]>18</option>';
shuzaicode = shuzaicode + '    <option value="19" [an error occurred while processing this directive]>19</option><option value="20" [an error occurred while processing this directive]>20</option><option value="21" [an error occurred while processing this directive]>21</option>';
shuzaicode = shuzaicode + '    <option value="22" [an error occurred while processing this directive]>22</option><option value="23" [an error occurred while processing this directive]>23</option><option value="24" [an error occurred while processing this directive]>24</option>';
shuzaicode = shuzaicode + '    <option value="25" [an error occurred while processing this directive]>25</option><option value="26" [an error occurred while processing this directive]>26</option><option value="27" [an error occurred while processing this directive]>27</option>';
shuzaicode = shuzaicode + '    <option value="28" [an error occurred while processing this directive]>28</option><option value="29" [an error occurred while processing this directive]>29</option><option value="30" [an error occurred while processing this directive]>30</option>';
shuzaicode = shuzaicode + '    <option value="31" [an error occurred while processing this directive]>31</option></select>&nbsp;/&nbsp;';

shuzaicode = shuzaicode + '    <select name="data_39_3">';
shuzaicode = shuzaicode + '    <option value="">yyyy</option><option value="2001" [an error occurred while processing this directive]>2001</option><option value="2000" [an error occurred while processing this directive]>2000</option><option value="1999" [an error occurred while processing this directive]>1999</option><option value="1998" [an error occurred while processing this directive]>1998</option><option value="1997" [an error occurred while processing this directive]>1997</option><option value="1996" [an error occurred while processing this directive]>1996</option><option value="1995" [an error occurred while processing this directive]>1995</option><option value="1994" [an error occurred while processing this directive]>1994</option><option value="1993" [an error occurred while processing this directive]>1993</option><option value="1992" [an error occurred while processing this directive]>1992</option><option value="1991" [an error occurred while processing this directive]>1991</option><option value="1990" [an error occurred while processing this directive]>1990</option>';
shuzaicode = shuzaicode + '    <option value="1989" [an error occurred while processing this directive]>1989</option><option value="1988" [an error occurred while processing this directive]>1988</option><option value="1987" [an error occurred while processing this directive]>1987</option><option value="1986" [an error occurred while processing this directive]>1986</option><option value="1985" [an error occurred while processing this directive]>1985</option><option value="1984" [an error occurred while processing this directive]>1984</option><option value="1983" [an error occurred while processing this directive]>1983</option><option value="1982" [an error occurred while processing this directive]>1982</option><option value="1981" [an error occurred while processing this directive]>1981</option><option value="1980" [an error occurred while processing this directive]>1980</option>';
shuzaicode = shuzaicode + '    <option value="1979" [an error occurred while processing this directive]>1979</option><option value="1978" [an error occurred while processing this directive]>1978</option><option value="1977" [an error occurred while processing this directive]>1977</option><option value="1976" [an error occurred while processing this directive]>1976</option><option value="1975" [an error occurred while processing this directive]>1975</option><option value="1974" [an error occurred while processing this directive]>1974</option><option value="1973" [an error occurred while processing this directive]>1973</option><option value="1972" [an error occurred while processing this directive]>1972</option><option value="1971" [an error occurred while processing this directive]>1971</option><option value="1970" [an error occurred while processing this directive]>1970</option>';
shuzaicode = shuzaicode + '    <option value="1969" [an error occurred while processing this directive]>1969</option><option value="1968" [an error occurred while processing this directive]>1968</option><option value="1967" [an error occurred while processing this directive]>1967</option><option value="1966" [an error occurred while processing this directive]>1966</option><option value="1965" [an error occurred while processing this directive]>1965</option><option value="1964" [an error occurred while processing this directive]>1964</option><option value="1963" [an error occurred while processing this directive]>1963</option><option value="1962" [an error occurred while processing this directive]>1962</option><option value="1961" [an error occurred while processing this directive]>1961</option><option value="1960" [an error occurred while processing this directive]>1960</option>';
shuzaicode = shuzaicode + '    <option value="1959" [an error occurred while processing this directive]>1959</option><option value="1958" [an error occurred while processing this directive]>1958</option><option value="1957" [an error occurred while processing this directive]>1957</option><option value="1956" [an error occurred while processing this directive]>1956</option><option value="1955" [an error occurred while processing this directive]>1955</option><option value="1954" [an error occurred while processing this directive]>1954</option><option value="1953" [an error occurred while processing this directive]>1953</option><option value="1952" [an error occurred while processing this directive]>1952</option><option value="1951" [an error occurred while processing this directive]>1951</option><option value="1950" [an error occurred while processing this directive]>1950</option>';
shuzaicode = shuzaicode + '    <option value="1949" [an error occurred while processing this directive]>1949</option><option value="1948" [an error occurred while processing this directive]>1948</option><option value="1947" [an error occurred while processing this directive]>1947</option><option value="1946" [an error occurred while processing this directive]>1946</option><option value="1945" [an error occurred while processing this directive]>1945</option><option value="1944" [an error occurred while processing this directive]>1944</option><option value="1943" [an error occurred while processing this directive]>1943</option><option value="1942" [an error occurred while processing this directive]>1942</option><option value="1941" [an error occurred while processing this directive]>1941</option><option value="1940" [an error occurred while processing this directive]>1940</option>';
shuzaicode = shuzaicode + '    <option value="1939" [an error occurred while processing this directive]>1939</option><option value="1938" [an error occurred while processing this directive]>1938</option><option value="1937" [an error occurred while processing this directive]>1937</option><option value="1936" [an error occurred while processing this directive]>1936</option><option value="1935" [an error occurred while processing this directive]>1935</option><option value="1934" [an error occurred while processing this directive]>1934</option><option value="1933" [an error occurred while processing this directive]>1933</option><option value="1932" [an error occurred while processing this directive]>1932</option><option value="1931" [an error occurred while processing this directive]>1931</option><option value="1930" [an error occurred while processing this directive]>1930</option>';
shuzaicode = shuzaicode + '    <option value="1929" [an error occurred while processing this directive]>1929</option><option value="1928" [an error occurred while processing this directive]>1928</option><option value="1927" [an error occurred while processing this directive]>1927</option><option value="1926" [an error occurred while processing this directive]>1926</option><option value="1925" [an error occurred while processing this directive]>1925</option><option value="1924" [an error occurred while processing this directive]>1924</option><option value="1923" [an error occurred while processing this directive]>1923</option><option value="1922" [an error occurred while processing this directive]>1922</option><option value="1921" [an error occurred while processing this directive]>1921</option><option value="1920" [an error occurred while processing this directive]>1920</option></select></td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right"><span class="display">Sex  </span></td>';
shuzaicode = shuzaicode + '	<td>';
shuzaicode = shuzaicode + '		<table border="0" cellpadding="0" cellspacing="2">';
shuzaicode = shuzaicode + '		<tr><td><input type="radio" name="data_40" value="m" ></td>';
shuzaicode = shuzaicode + '			<td>Male</td><td>&nbsp;&nbsp;&nbsp;&nbsp;</td>';
shuzaicode = shuzaicode + '			<td><input type="radio" name="data_40" value="f" ></td>';
shuzaicode = shuzaicode + '			<td>Female</td>';
shuzaicode = shuzaicode + '		</tr></table>';
shuzaicode = shuzaicode + '	</td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right"><span class="display">E-mail  </span></td>';
shuzaicode = shuzaicode + '	<td><input type="text" size="20" name="data_41" value="';
shuzaicode = shuzaicode + "";
shuzaicode = shuzaicode + '" maxlength="40"></td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right"><span class="display">Address  </span></td>';
shuzaicode = shuzaicode + '	<td><input type="text" size="20" name="data_42_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_42_2" value="';
shuzaicode = shuzaicode + "";
shuzaicode = shuzaicode + '" maxlength="128"></td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right"><span class="display">City:</span></td>';
shuzaicode = shuzaicode + '	<td><input type="text" size="20" name="data_42_3" value="';
shuzaicode = shuzaicode + "";
shuzaicode = shuzaicode + '" maxlength="128"></td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right"><span class="display">State/Province/Region:</span></td>';
shuzaicode = shuzaicode + '	<td><input type="text" size="20" name="data_42_4" value="';
shuzaicode = shuzaicode + "";
shuzaicode = shuzaicode + '" maxlength="128"></td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right"><span class="display">Zip Code:</span></td>';
shuzaicode = shuzaicode + '	<td><input type="text" size="5" name="data_42_5" value="';
shuzaicode = shuzaicode + "";
shuzaicode = shuzaicode + '" maxlength="5"></td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right"><span class="display">Country:</span></td>';
shuzaicode = shuzaicode + '	<td><input type="text" size="20" name="data_42_6" value="';
shuzaicode = shuzaicode + "";
shuzaicode = shuzaicode + '" maxlength="128"></td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right"><span class="display">State  </span></td>';
shuzaicode = shuzaicode + '	<td><select name="data_43">';
shuzaicode = shuzaicode + '    <option value=""></option><option value="AK" >AK</option><option value="AL" >AL</option><option value="AR" >AR</option>';
shuzaicode = shuzaicode + '    <option value="AZ" >AZ</option><option value="CA" >CA</option><option value="CO" >CO</option>';
shuzaicode = shuzaicode + '    <option value="CT" >CT</option><option value="DC" >DC</option><option value="DE" >DE</option>';
shuzaicode = shuzaicode + '    <option value="FL" >FL</option><option value="GA" >GA</option><option value="HI" >HI</option>';
shuzaicode = shuzaicode + '    <option value="IA" >IA</option><option value="ID" >ID</option><option value="IL" >IL</option>';
shuzaicode = shuzaicode + '    <option value="IN" >IN</option><option value="KS" >KS</option><option value="KY" >KY</option>';
shuzaicode = shuzaicode + '    <option value="LA" >LA</option><option value="MA" >MA</option><option value="MD" >MD</option>';
shuzaicode = shuzaicode + '    <option value="ME" >ME</option><option value="MI" >MI</option><option value="MN" >MN</option>';
shuzaicode = shuzaicode + '    <option value="MO" >MO</option><option value="MS" >MS</option><option value="MT" >MT</option>';
shuzaicode = shuzaicode + '    <option value="NC" >NC</option><option value="ND" >ND</option><option value="NE" >NE</option>';
shuzaicode = shuzaicode + '    <option value="NH" >NH</option><option value="NJ" >NJ</option><option value="NM" >NM</option>';
shuzaicode = shuzaicode + '    <option value="NV" >NV</option><option value="NY" >NY</option><option value="OH" >OH</option>';
shuzaicode = shuzaicode + '    <option value="OK" >OK</option><option value="OR" >OR</option><option value="PA" >PA</option>';
shuzaicode = shuzaicode + '    <option value="PR" >PR</option><option value="RI" >RI</option><option value="SC" >SC</option>';
shuzaicode = shuzaicode + '    <option value="SD" >SD</option><option value="TN">TN</option><option value="TX" >TX</option>';
shuzaicode = shuzaicode + '    <option value="UT" >UT</option><option value="VA" >VA</option><option value="VI" >VI</option>';
shuzaicode = shuzaicode + '    <option value="VT" >VT</option><option value="WA" >WA</option><option value="WI" >WI</option>';
shuzaicode = shuzaicode + '    <option value="WV" >WV</option><option value="WY" >WY</option>';
shuzaicode = shuzaicode + '    </select>';
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);
        }
    }
}	
