var addy = 'info' + '@' + 'eastoncourt.co.uk';
var formhtml = '<form action="/cgi-sys/FormMail.cgi" method="post">';
formhtml += '<input type="hidden" name="recipient" value="' + addy + '" />';
formhtml += '<input type="hidden" name="subject" value="Website Enquiry Form" />';
formhtml += '<input type="hidden" name="redirect" value="http://www.eastoncourt.co.uk/thankyou.php" />';
formhtml += '<table cellspacing="0px" cellpadding="0px" id="contactform">';
formhtml += '<tr>';
formhtml += '<td style="text-align: right;">Name:</td>';
formhtml += '<td><input name="Name" type="text" id="Name" size="30" style="border: 1px solid #FFCC00;" /></td>';
formhtml += '</tr>';
formhtml += '<tr>';
formhtml += '<td style="text-align: right;">Email Address:</td>';
formhtml += '<td><input name="email" type="text" id="Email-Address" size="30" style="border: 1px solid #FFCC00;" /></td>';
formhtml += '</tr>';
formhtml += '<tr>';
formhtml += '<td style="text-align: right;">Phone number:</td>';
formhtml += '<td><input name="email" type="text" id="Phone" size="30" style="border: 1px solid #FFCC00;" /></td>';
formhtml += '</tr>';
formhtml += '<tr>';
formhtml += '<td style="text-align: right;">Your message:</td>';
formhtml += '<td><textarea name="Message" cols="34" rows="3" id="Message" style="border: 1px solid #FFCC00;"></textarea></td>';
formhtml += '</tr>';
formhtml += '<tr>';
formhtml += '<td style="text-align: right;">Your address:</td>';
formhtml += '<td><textarea name="Address" cols="34" rows="3" id="Address" style="border: 1px solid #FFCC00;"></textarea></td>';
formhtml += '</tr>';
formhtml += '<tr>';
formhtml += '<td style="text-align: right;">Send a brochure?</td>';
formhtml += '<td><input type="checkbox" name="Brochure" value="checkbox" /></td>';
formhtml += '</tr>';
formhtml += '<tr>';
formhtml += '<td>&nbsp;</td>';
formhtml += '<td><input name="Submit" type="submit" class="submit" value="Send" /></td>';
formhtml += '</tr>';
formhtml += '</table>';
formhtml += '</form>';
formhtml += '<p>&nbsp;</p>';
formhtml += '<p>Our email address is: <a href="mailto:info@eastoncourt.co.uk">info@eastoncourt.co.uk</a></p>';
document.write(formhtml);
