Provident Fund Loan Calculator
<form name=formt action= "" method=post>
<TBODY>
<tr bgcolor= #ffffff >
<TD width= "52%" align= "center" bgcolor= "#ffffff"
Class=font> Price:
<input maxlength=6 size=10
Name=dj2> Yuan/<br> area: <input maxlength=7 size=10
Name=mj2>
<BR> loan-to-value ratio: <select style= "font-size:12px"
Size=1 name=chsh2>
<option value=8 selected>8 </OPTION> <option
Value=7>7 </OPTION> <option value=6>6 </OPTION>
<option
Value=5>5 </OPTION> <option value=4>4 </OPTION>
<option
Value=3>3 into </OPTION> <option value=2>2
</OPTION></SELECT>
<BR> years of Mortgage: <select style= "font-size:12px" size=1
Name=nsh2>
<option value=2>2 Year (phase 24) </OPTION> <option
Value=3>3 year (36) </OPTION> <option value=4>4 Year (48
Period) </OPTION>
<option value=5>5 Year (phase 60) </OPTION> <option
Value=6>6 Year (72) </OPTION> <option value=7>7 Year (84
Period) </OPTION>
<option value=8>8 Year (phase 96) </OPTION> <option
Value=9>9 year (phase 108) </OPTION> <option
VALUE=10>10 year (phase 120) </OPTION> <option value=15
SELECTED>15 year (phase 180) </OPTION> <option
VALUE=20>20 year (phase 240) </OPTION> <option
VALUE=25>25 year (phase 300) </OPTION> <option
Value=30>30 year (360) </OPTION></SELECT> </TD>
<TD class=font width= "48%" rowspan=2> the total amount of room money: <input
size=10
Name=fkz2> <BR> Total loans: <input size=10 name=dkz2>
RMB <BR> downpayment Payment:
<input size=10 name=shf2> Yuan <BR> monthly repayment: <input
size=10 name=yj2>
Total <BR> repayment: <input size=10 name=hkz2> Yuan <BR> payment
Interest Payment: <input size=10
Name=lxfd2> Yuan </TD></TR>
<TR align= "center" bgcolor= #ffffff >
<TD width= "52%" Class=font><input onclick=runjs2
(this.form) Type=button value= start calculation name=math2>
<input Type=reset value= Recalculation name=submit22>
</TD></TR></FORM>
<script language=javascript>
function runjs2 (obj) {dj2=parsefloat (obj.dj2.value)
Chsh2=parseint ( Obj.chsh2.value)/10
Nsh2=parseint (obj.nsh2.value)
Qsh=12*nsh2
{if (nsh2<6) lx=parsefloat (0.036)
if (nsh2>=6) lx=parsefloat (0.0405)}
YLX=LX/12
Mj2=parsefloat (obj.mj2.value)
Fkz2=dj2*mj2
dkz2= FKZ2*CHSH2
Yj2= (ylx/(1/(Math.pow (1+ylx,qsh))) *dkz2
Hkz2=yj2*qsh
Obj.dkz2.value=math.round (dkz2* 100,5)/100
Obj.shf2.value=math.round ((FKZ2-DKZ2) *100,5)/100
Obj.yj2.value=math.round (yj2*100,5)/100
Obj.fkz2.value=math.round (fkz2*100,5)/100
Obj.lxfd2.value=math.round ((HKZ2-DKZ2) *100,5)/100
Obj.hkz2.value=math.round (hkz2*100,5)/100}
</script>