{"id":3473,"date":"2010-08-21T01:32:44","date_gmt":"2010-08-20T17:32:44","guid":{"rendered":"http:\/\/www.fastmotoring.com\/index.php\/"},"modified":"2010-08-21T01:33:48","modified_gmt":"2010-08-20T17:33:48","slug":"car-insurance-calculator","status":"publish","type":"page","link":"https:\/\/www.fastmotoring.com\/index.php\/car-insurance-calculator\/","title":{"rendered":"Car Insurance Calculator"},"content":{"rendered":"<fb:like \n\t\thref=\"https:\/\/www.fastmotoring.com\/index.php\/car-insurance-calculator\/\" \n\t\tlayout=\"button_count\" \n\t\tshow_faces=\"true\" \n\t\twidth=\"450\" \n\t\theight=\"30\"\n\t\taction=\"like\" \n\t\tcolorscheme=\"light\" \n\t\tstyle=\"margin-top:5px;\"\n\t\tclass=\"fb_edge_widget_with_comment fb_iframe_widget\"><\/fb:like><script language=\"JavaScript\">\r\nfunction mRounding(n) { \r\n \r\n  ans = (Math.round(n * 100))\/100 + \"\" \r\n  dot = ans.indexOf(\".\",0) \r\n  if (dot == -1) {ans = ans + \".00\"} \r\n  else if (dot == ans.length - 2) {ans = ans + \"0\"} \r\n  return ans \r\n} \r\n \r\nfunction InsuranceCalc()\r\n{\r\n\tform = document.frmInsuranceCalc\r\n\tLoanAmount= form.LoanAmount.value\r\n\t\tcc = (form.cc.value)\r\n\tDownPayment= \"0\"\r\n\tAnnualInterestRate = 100\r\n\t\tMultiplyerVal = (((LoanAmount-1000)\/1000)*26)+(cc*1)\r\n\t\t\r\n\tYears= (form.NumberOfYears.value)*MultiplyerVal\r\n\t\tGTotal = MultiplyerVal-Years\r\n\t\tMonthRate=AnnualInterestRate\/12\r\n\tNumPayments=mRounding(GTotal)\r\n\tPrin=LoanAmount+cc\r\n\t\r\n\tMonthPayment=Math.floor((Prin*MonthRate)\/(1-Math.pow((1+MonthRate),(-\r\n1*NumPayments)))*100)\/100\r\n\t\tform.NumberOfPayments.value=NumPayments\r\n\t\r\n}\r\n       <\/script>  \r\n\r\n <form name=\"frmInsuranceCalc\" action=\"POST\"> \r\n<table border=\"0\" cellspacing=\"1\" id=\"table3\" width=\"282\">\r\n  <tr>\r\n    <td width=\"66%\"><p align=\"right\"><b>SUM INSURED(RM)<\/b><\/p><\/td>\r\n    <td width=\"31%\"><p align=\"center\"> \r\n      <input size=\"10\" name=\"LoanAmount\" onblur=\"InsuranceCalc()\" \r\nonchange=\"InsuranceCalc()\" \r\nstyle=\"float: left\" \/>\r\n     <\/p><\/td>\r\n  <\/tr>\r\n  <tr>\r\n    <td width=\"66%\"><p align=\"right\"><b> Engine CC<\/b><\/p><\/td>\r\n    <td width=\"31%\"><p align=\"left\"> \r\n      <!--<input type=\"text\" size=\"10\" name=\"LoanAmount\" \r\n onblur=\"InsuranceCalc()\" onchange=\"InsuranceCalc()\">-->\r\n      <select style=\"font-size: 11px;\" name=\"cc\" size=\"1\" onblur=\"InsuranceCalc()\" \r\nonchange=\"InsuranceCalc()\">\r\n        <option value=\"0\">CC<\/option>\r\n        <option value=\"225.20\">0 - 1400<\/option>\r\n        <option value=\"251.50\">1401 - 1650<\/option>\r\n        <option value=\"277.90\">1651 - 2200<\/option>\r\n        <option value=\"304.20\">2201 - 3050<\/option>\r\n        <option value=\"330.50\">3051 - 4100<\/option>\r\n      <\/select>\r\n     <\/p><\/td>\r\n  <\/tr>\r\n  <tr>\r\n    <td width=\"66%\"><p align=\"right\"><b>NCB %<\/b><\/p><\/td>\r\n    <td align=\"right\" width=\"31%\"><p align=\"left\"> \r\n      <select style=\"font-size: 11px;\" name=\"NumberOfYears\" size=\"1\" \r\nonblur=\"InsuranceCalc()\" \r\nonchange=\"InsuranceCalc()\">\r\n        <option value=\"0\">0 %<\/option>\r\n        <option value=\"0.25\">25 %<\/option>\r\n        <option value=\"0.30\">30 %<\/option>\r\n        <option value=\"0.38333333\">38 1\/3 %<\/option>\r\n        <option value=\"0.45\">45 %<\/option>\r\n        <option value=\"0.55\">55 %<\/option>\r\n      <\/select>\r\n      <!--<input type=\"text\" size=\"3\" name=\"NumberOfYears\" \r\nonblur=\"InsuranceCalc()\" onchange=\"InsuranceCalc()\">-->\r\n  <\/p><\/td>\r\n  <\/tr>\r\n  <tr>\r\n    <td width=\"66%\"><p align=\"right\"> \r\n      <input name=\"morgcal\" value=\"Calculate\" language=\"JavaScript\" \r\nonclick=\"InsuranceCalc()\" \r\ntype=\"button\" \/>\r\n   <\/p><\/td>\r\n    <td width=\"31%\"><b> \r\n      <input size=\"10\" name=\"NumberOfPayments\" type=\"text\" \/>\r\n  <\/b><\/td>\r\n  <\/tr>\r\n<\/table>\r\n<\/form>\n<fb:like \n\t\thref=\"https:\/\/www.fastmotoring.com\/index.php\/car-insurance-calculator\/\" \n\t\tlayout=\"button_count\" \n\t\tshow_faces=\"true\" \n\t\twidth=\"450\" \n\t\theight=\"30\"\n\t\taction=\"like\" \n\t\tcolorscheme=\"light\" \n\t\tstyle=\"margin-top:5px;\"\n\t\tclass=\"fb_edge_widget_with_comment fb_iframe_widget\"><\/fb:like>","protected":false},"excerpt":{"rendered":"<p>SUM INSURED(RM) Engine CC CC 0 &#8211; 1400 1401 &#8211; 1650 1651 &#8211; 2200 2201 &#8211; 3050 3051 &#8211; 4100 NCB % 0 % 25 % 30 % 38 1\/3 % 45 % 55 %<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":1,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-3473","page","type-page","status-publish",""],"_links":{"self":[{"href":"https:\/\/www.fastmotoring.com\/index.php\/wp-json\/wp\/v2\/pages\/3473","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fastmotoring.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.fastmotoring.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.fastmotoring.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fastmotoring.com\/index.php\/wp-json\/wp\/v2\/comments?post=3473"}],"version-history":[{"count":3,"href":"https:\/\/www.fastmotoring.com\/index.php\/wp-json\/wp\/v2\/pages\/3473\/revisions"}],"predecessor-version":[{"id":3476,"href":"https:\/\/www.fastmotoring.com\/index.php\/wp-json\/wp\/v2\/pages\/3473\/revisions\/3476"}],"wp:attachment":[{"href":"https:\/\/www.fastmotoring.com\/index.php\/wp-json\/wp\/v2\/media?parent=3473"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}