document.write('<style type="text/css">table select {font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: normal; color:#2a4f79; line-height: 14px;}</style>');
document.write('<table width="100%" border="0" cellpadding="0" cellspacing="0">');
document.write('  <tr>');
document.write('    <td style="height: 25px; text-align: center; background-color:#5d9de2; font-family: Tahoma, Helvetica, sans-serif; font-size: 11px; line-height: 25px; color:#fff; font-weight: bold;">Mortgage Calculator</td>');
document.write('  </tr>');
document.write('</table>');
document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0">');
document.write('  <tr>');
document.write('    <td bgcolor="#EAF3FC">');
document.write('<table width="99%" border="0" cellpadding="0" cellspacing="0" style="margin:10px 0px;">');
document.write('<form name="mtgCalcFrmV" method="get" action="http://www.bankrate.com/calculators/mortgages/mortgage-calculator.aspx" style="margin:0px;padding:0px;" onSubmit="return validateMtgCalcVals()"><input type="hidden" name="pid" value="p:hmc">	');
document.write('      <tr>');
document.write('        <td width="120" style="font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: normal; color:#4d4d4d; line-height: 14px; text-align: left; text-indent: 10px;">Mortgage amount  </td>');
document.write('        <td width="5"></td>');
document.write('        <td><input type="text" value="" name="mortgageamount" style="width:90%;height:18px;font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: normal; color:#2a4f79; line-height: 14px;" maxlength="12"></td>');
document.write('      </tr>');
document.write('	  <tr><td height="10" colspan="3"></td></tr>');
document.write('      <tr>');
document.write('        <td style="font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: normal; color:#4d4d4d; line-height: 14px; text-align: left; text-indent: 10px;">Loan term (yrs)  </td>');
document.write('        <td width="5"></td>');
document.write('        <td> <input type="text" value="" name="mortgageterm"  style="width:90%;height:18px;font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: normal; color:#2a4f79; line-height: 14px;" maxlength="5"></td>');
document.write('      </tr>');
document.write('	  <tr><td height="10" colspan="3"></td></tr>');
document.write('	  <tr>');
document.write('       <td style="font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: normal; color:#4d4d4d; line-height: 14px; text-align: left; text-indent: 10px;">Interest rate (%)  </td>');
document.write('        <td width="10"></td>');
document.write('        <td><input type="text" value="" name="mortgagerate" style="width:90%;height:18px;font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: normal; color:#2a4f79; line-height: 14px;" maxlength="5"></td>');
document.write('      </tr>');
document.write('	  <tr><td height="5" colspan="3"></td></tr>');
//document.write('	  <tr>');
//document.write('       <td style="font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: normal; color:#4d4d4d; line-height: 14px; text-align: left; text-indent: 10px;">Mortgage start date: </td>');
//document.write('        <td width="5"></td>');
//document.write('        <td>');
//document.write(dateSelector('start'));
//document.write('<input type="hidden" value="" size="6" name="monthlyPayment" id="Text1"></td>');
//document.write('      </tr>');
document.write('      <tr>');
document.write('        <td>&nbsp;</td>');
document.write('        <td>&nbsp;</td>');
document.write('        <td align="left">');
document.write('		  <input type="image" value="Calculate Time" src="http://www.bankrate.com/images_MRA/Buttons/NLbuttons.gif" width="65" height="16" border="0" name="submit" id="Submit1" style="margin:5px 0px 0px 0px;"></td>');
document.write('      </tr>');
document.write('	  	</form>');
document.write('    </table>	</td>');
document.write('  </tr>');
document.write('  <tr>');
document.write('    <td height="24" align="right" style="background-color:#EAF3FC;">');
document.write('<a href="http://www.bankrate.com/hmc"><img src="http://www.bankrate.com/images_MRA/brmlogos/logo-w-powered-nobk.gif" width="162" height="20" style="margin:0px 10px 0px 0px;" border="0" /></a> ');
document.write('</td>');
document.write('  </tr>');
document.write('</table>');

