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(2006, 9 - 1, 8, 00, 00, 0);

if (2006 == 1970) 
    end = new Date(3000, 0, 0, 0, 0);  // No expiration, set end year to 3000
else 
    end = new Date(2006, 10 - 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">Please answer the following survey and be entered in a drawing for a new Pelican case!	</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">This survey has expired	</p></td>';
    smsg = smsg + '</tr>';
    smsg = smsg + '</table>';
    document.write (smsg);
} else {
var shuzaicode = "";







shuzaicode = shuzaicode + '<form action="http://shuzai.canoekayak.com/" name="shz" method="post">';
shuzaicode = shuzaicode + '<input type="hidden" name="shuzai_id" value="16">';
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://canoekayak.com/interactive/polls/pelicansurvey/index.html">';
shuzaicode = shuzaicode + '<input type="hidden" name="next_page" value="http://canoekayak.com/interactive/polls/pelicansurvey/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">Do you play computer or video games?  </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_90" value="option_id_51"  > </td>';
shuzaicode = shuzaicode + '                     <td>Yes</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_90" value="option_id_52"  > </td>';
shuzaicode = shuzaicode + '                     <td>No</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             </table>';
shuzaicode = shuzaicode + '     </td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right"><span class="display">If you answered Yes above, please continue. &lt;br&gt;What is your occupation?</span></td>';
shuzaicode = shuzaicode + '	<td><input type="text" size="32" name="data_107" value="';
shuzaicode = shuzaicode + "";
shuzaicode = shuzaicode + '" maxlength="32"></td>';
shuzaicode = shuzaicode + '</tr>';shuzaicode = shuzaicode + '<tr><td align="right" valign="top"><span class="display">What is your age range?  </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_108" value="option_id_83"  > </td>';
shuzaicode = shuzaicode + '                     <td>18-21</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_108" value="option_id_84"  > </td>';
shuzaicode = shuzaicode + '                     <td>22-25</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_108" value="option_id_85"  > </td>';
shuzaicode = shuzaicode + '                     <td>26-30</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_108" value="option_id_86"  > </td>';
shuzaicode = shuzaicode + '                     <td>31-39</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_108" value="option_id_87"  > </td>';
shuzaicode = shuzaicode + '                     <td>40-49</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_108" value="option_id_88"  > </td>';
shuzaicode = shuzaicode + '                     <td>50-59</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_108" value="option_id_89"  > </td>';
shuzaicode = shuzaicode + '                     <td>60 or over</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             </table>';
shuzaicode = shuzaicode + '     </td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right" valign="top"><span class="display">How often do you play computer or video games?  </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_109" value="option_id_90"  > </td>';
shuzaicode = shuzaicode + '                     <td>1 hour per week</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_109" value="option_id_91"  > </td>';
shuzaicode = shuzaicode + '                     <td>1-3 hours per week</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_109" value="option_id_92"  > </td>';
shuzaicode = shuzaicode + '                     <td>3-6 hours per week</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_109" value="option_id_93"  > </td>';
shuzaicode = shuzaicode + '                     <td>6-10 horus per week</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_109" value="option_id_94"  > </td>';
shuzaicode = shuzaicode + '                     <td>10+ hours per week</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             </table>';
shuzaicode = shuzaicode + '     </td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right" valign="top"><span class="display">Do you play alone or with friends?  </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_110" value="option_id_95"  > </td>';
shuzaicode = shuzaicode + '                     <td>Alone</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_110" value="option_id_96"  > </td>';
shuzaicode = shuzaicode + '                     <td>With friends</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_110" value="option_id_97"  > </td>';
shuzaicode = shuzaicode + '                     <td>Both</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             </table>';
shuzaicode = shuzaicode + '     </td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right" valign="top"><span class="display">What type of computer or video game system do you use?  </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_111" value="option_id_98"  > </td>';
shuzaicode = shuzaicode + '                     <td>PC</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_111" value="option_id_99"  > </td>';
shuzaicode = shuzaicode + '                     <td>Console (X-Box, Playstation, or Game Cube)</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_111" value="option_id_100"  > </td>';
shuzaicode = shuzaicode + '                     <td>Handheld (Gameboy or PSP</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_111" value="option_id_101"  > </td>';
shuzaicode = shuzaicode + '                     <td>All of the above</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_111" value="option_id_102"  > </td>';
shuzaicode = shuzaicode + '                     <td>Other (cell phone, iPod, PDA)</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             </table>';
shuzaicode = shuzaicode + '     </td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right" valign="top"><span class="display">Where have you purchased computer or video games, accessories, or video game systems in the past? (Check all that apply.)  </span></td>';
shuzaicode = shuzaicode + '	<td valign="top">';
shuzaicode = shuzaicode + '		<table border="0" cellpadding="0" cellspacing="0">';
		
		
shuzaicode = shuzaicode + '		<tr><td><input type="checkbox" name="data_112" value="option_id_103"  ></td>';
shuzaicode = shuzaicode + '			<td>Electronic Super Stores (Best Buy, Fry&#39;s, Circuit City, etc)  </td>';
shuzaicode = shuzaicode + '		</tr>';
		
shuzaicode = shuzaicode + '		<tr><td><input type="checkbox" name="data_112" value="option_id_104"  ></td>';
shuzaicode = shuzaicode + '			<td>Specialty Electronic Stores (EB Games, Game Stop)  </td>';
shuzaicode = shuzaicode + '		</tr>';
		
shuzaicode = shuzaicode + '		<tr><td><input type="checkbox" name="data_112" value="option_id_105"  ></td>';
shuzaicode = shuzaicode + '			<td>Internet  </td>';
shuzaicode = shuzaicode + '		</tr>';
		
shuzaicode = shuzaicode + '		<tr><td><input type="checkbox" name="data_112" value="option_id_106"  ></td>';
shuzaicode = shuzaicode + '			<td>Infomercial  </td>';
shuzaicode = shuzaicode + '		</tr>';
		
shuzaicode = shuzaicode + '		<tr><td><input type="checkbox" name="data_112" value="option_id_107"  ></td>';
shuzaicode = shuzaicode + '			<td>Shopping Channel  </td>';
shuzaicode = shuzaicode + '		</tr>';
		

shuzaicode = shuzaicode + '		</table>';
shuzaicode = shuzaicode + '	</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_99_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_99_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_99_3" value="';
shuzaicode = shuzaicode + "";
shuzaicode = shuzaicode + '" maxlength="1"></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_106_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_106_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_106_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_106_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_106_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_106_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 subscribe to Canoe &amp; Kayak&#39;s e-mail newsletter?  </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_102" value="option_id_81"  checked> </td>';
shuzaicode = shuzaicode + '                     <td>Yes</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_102" value="option_id_82"  > </td>';
shuzaicode = shuzaicode + '                     <td>No</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             </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_105" value="';
shuzaicode = shuzaicode + "";
shuzaicode = shuzaicode + '" maxlength="40"></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);
}	
