/*--- Avanquest WebEasy Custom Script ---*/

<form method='POST' name='BasicOptin5570' action='http://fitpronewsletter.fitproconnect.com/PGPost.aspx?CID=1947'> 
<table width="240" border="0" align="center" cellpadding="3" cellspacing="0" style="border: 1px solid #000000; background-color:#FFFFFF">  
  <tr> 
	<td><div align="center" style="font-family: Arial, Helvetica, sans-serif; font-size: 14px;font-weight: bold;color:#CC0000">Free Health and Fitness Newsletter <br/></div> 
		<div><p>Sign up for my free "HealthBeat" Newsletter and get motivating health and fitness tips and articles</p></div> 
		<table width="80%" border="0" align="center" cellpadding="2" cellspacing="0" style="font-family: Arial, Helvetica, sans-serif;font-size: 12px; margin-top: 5px"> 
		  <tr><td width='56' style='font-family:Arial, Helvetica, sans-serif; font-size:12px;color:#333333;font-weight:bold;'><div align='left'>Name</div></td><td width='126'><div align='left'><input type='text' id='txtName_5570' width='110px' maxlength=50 style='border:1px solid #cccccc;font-size:12px;font-family:Arial, Helvetica, sans-serif;'  /></div></td></tr><tr><td width='56' style='font-family:Arial, Helvetica, sans-serif; font-size:12px;color:#333333;font-weight:bold;'><div align='left'>Email</div></td><td width='126'><div align='left'><input type='text' id='txtEmail_5570' width='110px' maxlength=75 style='border:1px solid #cccccc;font-size:12px;font-family:Arial, Helvetica, sans-serif;'  /></div></td></tr><tr><td width='56' style='font-family:Arial, Helvetica, sans-serif; font-size:12px;color:#333333;font-weight:bold;'><div align='left'>Phone</div></td><td width='126'><div align='left'><input type='text' id='txtPhone_5570' width='110px' maxlength=20 style='border:1px solid #cccccc;font-size:12px;font-family:Arial, Helvetica, sans-serif;'  /></div></td></tr><tr><td width='56' style='font-family:Arial, Helvetica, sans-serif; font-size:12px;color:#333333;'><div align='left'>Address</div></td><td width='126'><div align='left'><input type='text' id='txtAddress_5570' width='110px' maxlength=200 style='border:1px solid #cccccc;font-size:12px;font-family:Arial, Helvetica, sans-serif;'  /></div></td></tr><tr><td width='56' style='font-family:Arial, Helvetica, sans-serif; font-size:12px;color:#333333;'><div align='left'>City</div></td><td width='126'><div align='left'><input type='text' id='txtCity_5570' width='110px' maxlength=75 style='border:1px solid #cccccc;font-size:12px;font-family:Arial, Helvetica, sans-serif;'  /></div></td></tr><tr><td width='56' style='font-family:Arial, Helvetica, sans-serif; font-size:12px;color:#333333;'><div align='left'>Zip</div></td><td width='126'><div align='left'><input type='text' id='txtZip_5570' width='110px' maxlength=10 style='border:1px solid #cccccc;font-size:12px;font-family:Arial, Helvetica, sans-serif;'  /></div></td></tr> 
		  <tr> 
			<td></td> 
			<td><div align="right"> 
			  <input type="submit" name="btnSub_5570" id="btnSub_5570" value="Click here now" onclick="return fnDoSubmit5570('5570','http://fitpronewsletter.fitproconnect.com/ImageStore/ListBuilders/default.html')" style="margin: 0px" /> 
			</div></td> 
		  </tr> 
		  <tr> 
			<td><input type='hidden' id='hdnReq5570' value='txtName_5570,txtEmail_5570,txtPhone_5570'> 
				<input type='hidden' id='hdnval' name='hdnval' value=''> 
				<input type='hidden' id='hdnty' value=''> 
				<input type="hidden" id="hdnpgcid5570" value="0"> 
			</td> 
		  </tr> 
	   </table> 
	</td> 
  </tr> 
</table> 
<script language="javascript"> 
        function fnDoSubmit5570(npg,surl) 
        { 
			var spg = "hdnpgcid"+npg;var objhc = document.getElementById(spg);var scid = objhc.value; 
			var ssep = "/RFPC/R";var sep = "/FFPC/R";var objhdn = document.getElementById("hdnReq"+npg); 
            var sreq;var scont = ""; 
            if (objhdn) sreq = objhdn.value; 
            var snam = "txtName_"+npg;var obj = document.getElementById(snam); 
            if (obj){if ((sreq.indexOf(snam) != -1) && (obj.value == "")){alert("Please enter name.");obj.focus();return false;}else{if (scont != "")scont += ssep;scont = "name"+sep+obj.value;}} 
            snam = "txtEmail_"+npg;obj = document.getElementById(snam);if (obj && (obj.value == "")){alert("Please enter email.");obj.focus();return false;} 
            if (obj && (IsEmailValid(obj.value) == false)){alert("Please enter a valid email id.");obj.focus();return false;} 
            if (scont != "") scont += ssep; 
            scont += "mail"+sep+obj.value;snam = "txtPhone_"+npg;obj = document.getElementById(snam);if (obj){if (sreq.indexOf(snam) != -1 && (obj.value == "")){alert("Please enter phone.");obj.focus();return false;}else{if (scont != "")scont += ssep;scont += "phone"+sep+obj.value;}} 
            snam = "txtAddress_"+npg;obj = document.getElementById(snam);if (obj){if ((sreq.indexOf(snam) != -1) && (obj.value == "")){alert("Please enter address.");obj.focus();return false;}else{if (scont != "")scont += ssep;scont += "addr"+sep+obj.value;}} 
            snam = "txtCity_"+npg;obj = document.getElementById(snam);if (obj) 
            {if ((sreq.indexOf(snam) != -1) && (obj.value == "")){alert("Please enter city.");obj.focus();return false;}else{if (scont != "")scont += ssep;scont += "city"+sep+obj.value;}} 
            snam = "txtProv_"+npg;obj = document.getElementById(snam); 
            if (obj){if ((sreq.indexOf(snam) != -1) && (obj.value == "")){alert("Please enter state.");obj.focus();return false;}else{if (scont != "") 
			scont += ssep;scont += "state"+sep+obj.value;}}else{snam = "ddlSt_"+npg;obj = document.getElementById(snam); 
                if (obj){if (scont != "")scont += ssep;scont += "state"+sep+obj.options[obj.selectedIndex].innerHTML;}} 
            snam = "txtZip_"+npg;obj = document.getElementById(snam);if (obj){if ((sreq.indexOf(snam) != -1) && (obj.value == "")){alert("Please enter zip.");obj.focus();return false;} 
            else{if (scont != "") scont += ssep; scont += "zip"+sep+obj.value;}}snam = "txtCountry_"+npg;obj = document.getElementById(snam); 
            if (obj){if ((sreq.indexOf(snam) != -1) && (obj.value == "")){alert("Please enter country.");obj.focus();return false;}else{if (scont != "")scont += ssep;scont += "country"+sep+obj.value;}} 
            if (scont != "")scont += ssep;scont += "url"+sep+surl;if (scont != "")scont += ssep;scont += "pgid"+sep+npg; 
            snam = "hdnval";var objval = document.getElementById(snam);objval.value = scont;return true;} 
		function IsEmailValid(strEmail){var strEmailExp = /^[A-Za-z](([_\.\-]?[a-zA-Z0-9]+)*)@([A-Za-z0-9]+)(([\.\-]?[a-zA-Z0-9]+)*)\.([A-Za-z]{2,})$/i; 
	        if(strEmail.match(strEmailExp) == null)return false;return true;}</script> 
</form>

/*--- EndOfFile ---*/

