

document.write("\\
			<div id=\"mailSpicerHaartForPropertyForm\"> \\
<div class=\"MailForm_Formatting\" onclick=\"initValidation_spicer();\">\\
	\\
		<p class=\"small\">The information you provide in this form is forwarded to the agent and not sent to any other organisation.</p>\\
	\\
		<form name=\"contactagentform\" action=\"/uk-property-to-rent/mailBranch/\" id=\"contactagentform_spicer\" onsubmit=\"return contactAgent(this,contactGateway);\" class=\"form_form_page\">\\
			<input name=\"panelId\" value=\"\" type=\"hidden\" />\\
			<input name=\"resultId\" value=\"\" type=\"hidden\" />\\
			<input name=\"formId\" value=\"\" type=\"hidden\" />\\
	\\
		<input name=\"formType\" value=\"spicerHaart\" type=\"hidden\" />\\
		<input name=\"formContactAgentSource\" value=\"uk-property-to-rent.details\" type=\"hidden\" />\\
		<input name=\"referenceID\" value=\"\" type=\"hidden\" />\\
		<input name=\"agentCode\" value=\"\" type=\"hidden\" />\\
		\\
			<input name=\"formContactAgentType\" value=\"\" type=\"hidden\" />\\
		\\
		<p><strong>Required information marked with an *</strong></p>\\
<div class=\"full_width\">\\
		<span id=\"spryselect_senderTitle_spicer\">\\
			<label class=\"leftlabel\" for=\"senderTitle_spicer\">\\
				title *\\
				<span class=\"selectRequiredMsg\"><img src=\"/images/SHimg/sitewide/icons/form_alerts/alert_error.gif\" alt=\"required\" /> required</span>\\
			</label>\\
			<select name=\"senderTitle\" id=\"senderTitle_spicer\">\\
				<option value=\"\">Select...</option>\\
				<option value=\"Mr\">Mr</option> <option value=\"Mrs\">Mrs</option> <option value=\"Ms\">Ms</option> <option value=\"Miss\">Miss</option> <option value=\"Dr\">Dr</option> \\
			</select>\\
		</span>\\
</div>\\
\\
<div class=\"full_width\">\\
        <span id=\"sprytextfield_senderFirstname_spicer\">\\
            <label class=\"leftlabel\" for=\"senderFirstname_spicer\">\\
            first name *\\
            <span class=\"textfieldRequiredMsg\"><img src=\"/images/SHimg/sitewide/icons/form_alerts/alert_error.gif\" alt=\"required\" /> required</span>\\
            </label>\\
        <input name=\"senderFirstname\" id=\"senderFirstname_spicer\" value=\"\" type=\"text\" maxlength=\"49\"  class=\"leftinputs_text\"class=\"leftinputs_text\"/>\\
        </span>\\
</div>\\
\\
<div class=\"full_width\">\\
		<span id=\"sprytextfield_senderLastname_spicer\">\\
	 		<label class=\"leftlabel\" for=\"senderLastname_spicer\">\\
		 		last name *\\
				<span class=\"textfieldRequiredMsg\"><img src=\"/images/SHimg/sitewide/icons/form_alerts/alert_error.gif\" alt=\"required\" /> required</span>\\
		 	</label>\\
			<input name=\"senderLastname\" id=\"senderLastname_spicer\" value=\"\" type=\"text\" maxlength=\"49\"  class=\"leftinputs_text\"/>\\
		</span>\\
</div>\\
\\
<div class=\"full_width\">\\
		<span id=\"sprytextfield_senderEmail_spicer\">\\
			<label class=\"leftlabel\" for=\"senderEmail_spicer\">\\
				email *\\
				<span class=\"textfieldInvalidFormatMsg\"><img src=\"/images/SHimg/sitewide/icons/form_alerts/alert_error.gif\" alt=\"required\" /> invalid email</span>\\
				<span class=\"textfieldRequiredMsg\"><img src=\"/images/SHimg/sitewide/icons/form_alerts/alert_error.gif\" alt=\"required\" /> required</span>\\
			</label>\\
			<input name=\"senderEmail\" id=\"senderEmail_spicer\" value=\"\" type=\"text\" maxlength=\"49\"  class=\"leftinputs_text\"/>\\
		</span>\\
</div>\\
<div class=\"full_width\">\\
\\
		<strong>address</strong>\\
		<br />\\
</div>\\
\\
\\
<div class=\"full_width\">\\
		<span id=\"sprytextfield_senderAddressHouseNumber_spicer\">\\
			<label class=\"leftlabel\" for=\"senderAddressHouseNumber_spicer\">\\
				house name/number *\\
				<span class=\"textfieldRequiredMsg\"><img src=\"/images/SHimg/sitewide/icons/form_alerts/alert_error.gif\" alt=\"required\" /> required</span>\\
			</label>\\
			<input name=\"senderAddressHouseNumber\" id=\"senderAddressHouseNumber_spicer\" value=\"\" type=\"text\" maxlength=\"49\"  class=\"leftinputs_text\"/>\\
		</span>\\
</div>\\
\\
\\
<div class=\"full_width\">\\
		<span id=\"sprytextfield_senderAddressStreet_spicer\">\\
			<label class=\"leftlabel\" for=\"senderAddressStreet_spicer\">\\
				street *\\
				<span class=\"textfieldRequiredMsg\"><img src=\"/images/SHimg/sitewide/icons/form_alerts/alert_error.gif\" alt=\"required\" /> required</span>\\
			</label>\\
			<input name=\"senderAddressStreet\" id=\"senderAddressStreet_spicer\" value=\"\" type=\"text\" maxlength=\"49\"  class=\"leftinputs_text\"/>\\
		</span>\\
</div>\\
\\
<div class=\"full_width\">	\\
		<label class=\"leftlabel\" for=\"senderAddressLocality_spicer\">locality</label>\\
		<input name=\"senderAddressLocality\" id=\"senderAddressLocality_spicer\" value=\"\" type=\"text\" maxlength=\"49\" class=\"leftinputs_text\"/>\\
</div>\\
\\
<div class=\"full_width\">	\\
		<span id=\"sprytextfield_senderAddressTown_spicer\">\\
			<label class=\"leftlabel\" for=\"senderAddressTown_spicer\">\\
				town *\\
				<span class=\"textfieldRequiredMsg\"><img src=\"/images/SHimg/sitewide/icons/form_alerts/alert_error.gif\" alt=\"required\" /> required</span>\\
			</label>\\
			<input name=\"senderAddressTown\" id=\"senderAddressTown_spicer\" value=\"\" type=\"text\" maxlength=\"49\"  class=\"leftinputs_text\"/>\\
		</span>\\
</div>\\
\\
<div class=\"full_width\">	\\
    <label class=\"leftlabel\" for=\"senderAddressCounty_spicer\">county</label>\\
    <input name=\"senderAddressCounty\" id=\"senderAddressCounty_spicer\" value=\"\" type=\"text\" maxlength=\"49\" class=\"leftinputs_text\"/>\\
</div>\\
\\
<div class=\"full_width\">\\
    <span id=\"sprytextfield_senderAddressPostCode_spicer\">\\
    <label class=\"leftlabel\" for=\"senderAddressPostCode_spicer\">postcode *\\
    <span class=\"textfieldRequiredMsg\"><img src=\"/images/SHimg/sitewide/icons/form_alerts/alert_error.gif\" alt=\"required\" /> required</span>\\
    </label>\\
    <input name=\"senderAddressPostCode\" id=\"senderAddressPostCode_spicer\" value=\"\" type=\"text\" maxlength=\"49\"  class=\"leftinputs_text\"/>\\
    </span>\\
</div>\\
\\
<div class=\"full_width\">	\\
<span id=\"sprytextfield_senderTelephoneNumber_spicer\">\\
        <label class=\"leftlabel\" for=\"senderTelephoneNumber_spicer\">telephone number *\\
        <span class=\"textfieldRequiredMsg\"><img src=\"/images/SHimg/sitewide/icons/form_alerts/alert_error.gif\" alt=\"required\" /> required</span>\\
        </label>\\
        <input name=\"senderTelephoneNumber\" id=\"senderTelephoneNumber_spicer\" value=\"\" type=\"text\" maxlength=\"49\"  class=\"leftinputs_text\"/>\\
        </span>\\
</div>\\
\\
\\
\\
        \\
<div class=\"full_width\">\\
    <label for=\"senderValuationRequested_spicer\" class=\"leftlabel_checkbox\">would you like your property valued ?</label>\\
        <input  name=\"senderValuationRequested\"  \\
                id=\"senderValuationRequested_spicer\" \\
                type=\"checkbox\" value=\"1\"  \\
                class=\"leftinputs_checkbox\"/>\\
</div>\\
        \\
<div class=\"full_width\">\\
        <label for=\"senderFSRequested_spicer\" class=\"leftlabel_checkbox\">do you require mortgage advice ?</label>    \\
        <input 	name=\"senderFSRequested\" \\
        id=\"senderFSRequested_spicer\" \\
        type=\"checkbox\" value=\"1\"  \\
        class=\"leftinputs_checkbox\" />\\
</div>\\
		\\
<div class=\"full_width\">\\
        <label for=\"senderPropToSell_spicer\" class=\"leftlabel_checkbox\">do you have a property to sell ?</label>\\
        <input name=\"senderPropToSell\"  id=\"senderPropToSell_spicer\" type=\"checkbox\" value=\"1\"  /class=\"leftinputs_checkbox\">\\
</div>\\
    \\
<div class=\"full_width\">\\
        <label for=\"senderFTB_spicer\" class=\"leftlabel_checkbox\">are you a first time buyer ?</label>\\
        <input  name=\"senderFTB\" id=\"senderFTB_spicer\" type=\"checkbox\" value=\"1\"   class=\"leftinputs_checkbox\"/>\\
</div>\\
        \\
<div class=\"full_width\">\\
        <span id=\"sprytextarea_senderMessage_spicer\">\\
        <label class=\"leftlabel\" for=\"senderMessage_spicer\">\\
        <strong>message</strong>\\
        <br />\\
        </label>\\
        <textarea name=\"senderMessage\" id=\"senderMessage_spicer\" rows=\"4\"></textarea>\\
        </span>\\
</div>\\
        \\
\\
\\
\\
		\\
            \\
            <div class=\"full_width\">\\
			<input type=\"hidden\" id=\"p_reg_spicer\" name=\"p_reg\" value=\"\"/>\\
\\
			<label for=\"show_reg_spicer\" class=\"leftlabel_checkbox\">\\
			Register with Primelocation.com to have your contact information prefilled next time you contact an agent?\\
			</label>\\
			<input type=\"checkbox\" id=\"show_reg_spicer\" name=\"show_reg\" value=\"true\" checked=\"checked\" class=\"leftinputs_checkbox\"/>\\
			</div>\\
		\\
         <div class=\"full_width\">\\
		<input type=\"submit\" name=\"send\" value=\"send\" class=\"formbutton\" />\\
      	</div>			\\
	</form>\\
</div>\\
\\
\\
</div>\\
		");


function initValidation_spicer(){
	if(typeof validation_spicer=="undefined"){
		var spryselect_senderTitle_spicer = new Spry.Widget.ValidationSelect("spryselect_senderTitle_spicer",{validateOn:["blur"],invalidValue:""});
		var sprytextfield_senderFirstname_spicer = new Spry.Widget.ValidationTextField("sprytextfield_senderFirstname_spicer", "none", {validateOn:["blur"]});
		var sprytextfield_senderLastname_spicer = new Spry.Widget.ValidationTextField("sprytextfield_senderLastname_spicer", "none", {validateOn:["blur"]});
		var sprytextfield_senderEmail_spicer = new Spry.Widget.ValidationTextField("sprytextfield_senderEmail_spicer", "email", {validateOn:["blur"]});
		var sprytextfield_senderAddressHouseNumber_spicer = new Spry.Widget.ValidationTextField("sprytextfield_senderAddressHouseNumber_spicer", "none", {validateOn:["blur"]});
		var sprytextfield_senderAddressStreet_spicer = new Spry.Widget.ValidationTextField("sprytextfield_senderAddressStreet_spicer", "none", {validateOn:["blur"]});
		var sprytextfield_senderAddressTown_spicer = new Spry.Widget.ValidationTextField("sprytextfield_senderAddressTown_spicer", "none", {validateOn:["blur"]});
		var sprytextfield_senderAddressPostCode_spicer = new Spry.Widget.ValidationTextField("sprytextfield_senderAddressPostCode_spicer", "none", {validateOn:["blur"]});
		var sprytextfield_senderTelephoneNumber_spicer = new Spry.Widget.ValidationTextField("sprytextfield_senderTelephoneNumber_spicer", "none", {validateOn:["blur"]});
		var sprytextarea_senderMessage_spicer = new Spry.Widget.ValidationTextarea("sprytextarea_senderMessage_spicer",{validateOn:["blur"],isRequired:false,maxChars:2000});
	}
	validation_spicer = true;
}
