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, 10 - 1, 26, 00, 01, 0);

if (2007 == 1970) 
    end = new Date(3000, 0, 0, 0, 0);  // No expiration, set end year to 3000
else 
    end = new Date(2007, 12 - 1, 6, 23, 59, 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 sweepstakes is now closed.	</p></td>';
    smsg = smsg + '</tr>';
    smsg = smsg + '</table>';
    document.write (smsg);
} else {
var shuzaicode = "";







shuzaicode = shuzaicode + '<form action="http://shuzai.equisearch.com/" name="shz" method="post">';
shuzaicode = shuzaicode + '<input type="hidden" name="shuzai_id" value="70">';
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.equisearch.com/equus/30thsweeps_102607/index.aspx">';
shuzaicode = shuzaicode + '<input type="hidden" name="next_page" value="http://www.equisearch.com/equus/30thsweeps_102607/index.aspx">';

shuzaicode = shuzaicode + '<table border="0" cellpadding="2" cellspacing="2">';
shuzaicode = shuzaicode + '<tr><td align="right"><span class="required">*&nbsp;</span><span class="display">Age  </span></td>';
shuzaicode = shuzaicode + '	<td><input type="text" size="5" name="data_1075" value="';
shuzaicode = shuzaicode + "";
shuzaicode = shuzaicode + '" maxlength="3"></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="32" name="data_1060" value="';
shuzaicode = shuzaicode + "";
shuzaicode = shuzaicode + '" maxlength="32"></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="32" name="data_1061" value="';
shuzaicode = shuzaicode + "";
shuzaicode = shuzaicode + '" maxlength="32"></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="32" name="data_1062" value="';
shuzaicode = shuzaicode + "";
shuzaicode = shuzaicode + '" maxlength="32"></td>';
shuzaicode = shuzaicode + '</tr>';shuzaicode = shuzaicode + '<tr><td align="right"><span class="display">Address 2</span></td>';
shuzaicode = shuzaicode + '	<td><input type="text" size="32" name="data_1063" value="';
shuzaicode = shuzaicode + "";
shuzaicode = shuzaicode + '" maxlength="32"></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="32" name="data_1064" value="';
shuzaicode = shuzaicode + "";
shuzaicode = shuzaicode + '" maxlength="32"></td>';
shuzaicode = shuzaicode + '</tr>';shuzaicode = shuzaicode + '<tr><td align="right"><span class="required">*&nbsp;</span><span class="display">State  </span></td>';
shuzaicode = shuzaicode + '	<td><select name="data_1065">';
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 align="right"><span class="required">*&nbsp;</span><span class="display">Zip  </span></td>';
shuzaicode = shuzaicode + '	<td><input type="text" size="5" name="data_1066" value="';
shuzaicode = shuzaicode + "";
shuzaicode = shuzaicode + '" maxlength="5"></td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right"><span class="display"><span class="required">*&nbsp;</span>Email  </span></td>';
shuzaicode = shuzaicode + '	<td><input type="text" size="20" name="data_1067" 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">Phone  </span></td>';
shuzaicode = shuzaicode + '	<td><input type="text" size="12" name="data_1068" value="';
shuzaicode = shuzaicode + "";
shuzaicode = shuzaicode + '" maxlength="20"></td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right" valign="top"><span class="display">I want to win  </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_1069" value="option_id_767"  ></td>';
shuzaicode = shuzaicode + '			<td>Nelson automatic horse waterer  </td>';
shuzaicode = shuzaicode + '		</tr>';
		
shuzaicode = shuzaicode + '		<tr><td><input type="checkbox" name="data_1069" value="option_id_768"  ></td>';
shuzaicode = shuzaicode + '			<td>Wintec 500 All-Purpose Saddle  </td>';
shuzaicode = shuzaicode + '		</tr>';
		
shuzaicode = shuzaicode + '		<tr><td><input type="checkbox" name="data_1069" value="option_id_769"  ></td>';
shuzaicode = shuzaicode + '			<td>SafeChoice horse feed  </td>';
shuzaicode = shuzaicode + '		</tr>';
		
shuzaicode = shuzaicode + '		<tr><td><input type="checkbox" name="data_1069" value="option_id_770"  ></td>';
shuzaicode = shuzaicode + '			<td>Parelli DVD Kit  </td>';
shuzaicode = shuzaicode + '		</tr>';
		
shuzaicode = shuzaicode + '		<tr><td><input type="checkbox" name="data_1069" value="option_id_771"  ></td>';
shuzaicode = shuzaicode + '			<td>Rhino Plus turnout blanket  </td>';
shuzaicode = shuzaicode + '		</tr>';
		
shuzaicode = shuzaicode + '		<tr><td><input type="checkbox" name="data_1069" value="option_id_772"  ></td>';
shuzaicode = shuzaicode + '			<td>Mountain Horse winter boots  </td>';
shuzaicode = shuzaicode + '		</tr>';
		
shuzaicode = shuzaicode + '		<tr><td><input type="checkbox" name="data_1069" value="option_id_773"  ></td>';
shuzaicode = shuzaicode + '			<td>Intervet Winter Critical Care Kit  </td>';
shuzaicode = shuzaicode + '		</tr>';
		
shuzaicode = shuzaicode + '		<tr><td><input type="checkbox" name="data_1069" value="option_id_774"  ></td>';
shuzaicode = shuzaicode + '			<td>Strongid C2X kit  </td>';
shuzaicode = shuzaicode + '		</tr>';
		
shuzaicode = shuzaicode + '		<tr><td><input type="checkbox" name="data_1069" value="option_id_775"  ></td>';
shuzaicode = shuzaicode + '			<td>ReitSport HA-100  </td>';
shuzaicode = shuzaicode + '		</tr>';
		
shuzaicode = shuzaicode + '		<tr><td><input type="checkbox" name="data_1069" value="option_id_776"  ></td>';
shuzaicode = shuzaicode + '			<td>Formula4 Feet  </td>';
shuzaicode = shuzaicode + '		</tr>';
		
shuzaicode = shuzaicode + '		<tr><td><input type="checkbox" name="data_1069" value="option_id_777"  ></td>';
shuzaicode = shuzaicode + '			<td>Eous fleece rug  </td>';
shuzaicode = shuzaicode + '		</tr>';
		
shuzaicode = shuzaicode + '		<tr><td><input type="checkbox" name="data_1069" value="option_id_778"  ></td>';
shuzaicode = shuzaicode + '			<td>NutriBalance  </td>';
shuzaicode = shuzaicode + '		</tr>';
		
shuzaicode = shuzaicode + '		<tr><td><input type="checkbox" name="data_1069" value="option_id_779"  ></td>';
shuzaicode = shuzaicode + '			<td>STARHORSE gift certificate  </td>';
shuzaicode = shuzaicode + '		</tr>';
		
shuzaicode = shuzaicode + '		<tr><td><input type="checkbox" name="data_1069" value="option_id_780"  ></td>';
shuzaicode = shuzaicode + '			<td>Tractor Supply gift card  </td>';
shuzaicode = shuzaicode + '		</tr>';
		
shuzaicode = shuzaicode + '		<tr><td><input type="checkbox" name="data_1069" value="option_id_781"  ></td>';
shuzaicode = shuzaicode + '			<td>Devonshire fleece jacket  </td>';
shuzaicode = shuzaicode + '		</tr>';
		
shuzaicode = shuzaicode + '		<tr><td><input type="checkbox" name="data_1069" value="option_id_782"  ></td>';
shuzaicode = shuzaicode + '			<td>Extend-A-Cool kit  </td>';
shuzaicode = shuzaicode + '		</tr>';
		
shuzaicode = shuzaicode + '		<tr><td><input type="checkbox" name="data_1069" value="option_id_783"  ></td>';
shuzaicode = shuzaicode + '			<td>Founder Free  </td>';
shuzaicode = shuzaicode + '		</tr>';
		
shuzaicode = shuzaicode + '		<tr><td><input type="checkbox" name="data_1069" value="option_id_784"  ></td>';
shuzaicode = shuzaicode + '			<td>Purina Mills Equine Senior Feed  </td>';
shuzaicode = shuzaicode + '		</tr>';
		
shuzaicode = shuzaicode + '		<tr><td><input type="checkbox" name="data_1069" value="option_id_785"  ></td>';
shuzaicode = shuzaicode + '			<td>Leather New gift package  </td>';
shuzaicode = shuzaicode + '		</tr>';
		
shuzaicode = shuzaicode + '		<tr><td><input type="checkbox" name="data_1069" value="option_id_786"  ></td>';
shuzaicode = shuzaicode + '			<td>Lioness book  </td>';
shuzaicode = shuzaicode + '		</tr>';
		

shuzaicode = shuzaicode + '		</table>';
shuzaicode = shuzaicode + '	</td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right" valign="top"><span class="display">I would like to receive EquiSearch&#39;s e-newsletter and special offers from EquiSearch on horse care, events, product giveaways and more.  </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_1074" value="option_id_796"  checked> </td>';
shuzaicode = shuzaicode + '                     <td>yes</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_1074" value="option_id_797"  > </td>';
shuzaicode = shuzaicode + '                     <td>no</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             </table>';
shuzaicode = shuzaicode + '     </td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right" valign="top"><span class="display">I would like to receive horse-related information directly from EquiSearch partners.  </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_1073" value="option_id_794"  checked> </td>';
shuzaicode = shuzaicode + '                     <td>yes</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_1073" value="option_id_795"  > </td>';
shuzaicode = shuzaicode + '                     <td>no</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             </table>';
shuzaicode = shuzaicode + '     </td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right" valign="top"><span class="display">I am a horseowner  </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_1070" value="option_id_787"  > </td>';
shuzaicode = shuzaicode + '                     <td>yes</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_1070" value="option_id_788"  > </td>';
shuzaicode = shuzaicode + '                     <td>no</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             </table>';
shuzaicode = shuzaicode + '     </td>';
shuzaicode = shuzaicode + '</tr>';
shuzaicode = shuzaicode + '<tr><td align="right" valign="top"><span class="display">I primarily ride  </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_1071" value="option_id_789"  > </td>';
shuzaicode = shuzaicode + '                     <td>English</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_1071" value="option_id_790"  > </td>';
shuzaicode = shuzaicode + '                     <td>Western</td>';
shuzaicode = shuzaicode + '             </tr>';
                
shuzaicode = shuzaicode + '             <tr>';
shuzaicode = shuzaicode + '                     <td><input type="radio" name="data_1071" value="option_id_791"  > </td>';
shuzaicode = shuzaicode + '                     <td>Both</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 + '<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);
}	
