module and plugin to add google adsense to joomla based websites
ITM FINANCIAL ITM FINANCIAL! - Real Estate and Loan; Serving the community http://www.itmfinancial.com/index.php 2012-05-21T00:27:12Z Joomla! 1.5 - Open Source Content Management Agents 2011-02-12T08:02:31Z 2011-02-12T08:02:31Z http://www.itmfinancial.com/index.php?option=com_content&view=article&id=48:agents&catid=1:latest-news Administrator admin@itmfinancial.com <table width="631" border="0" height="323"> <tbody> <tr> <td><img src="http://www.khemaratimes.com//itmfinancial/images/stories/HenryPhoto200x240.jpg" /></td> <td><img src="http://www.khemaratimes.com//itmfinancial/images/stories/Kundy200x250.jpg" /></td> <td><img src="http://www.khemaratimes.com//itmfinancial/images/stories/Soung200x260.jpg" /></td> </tr> <tr> <td> <p>Henry Heang</p> <p>Phone: (562)773-8202</p> <p>Email: info@bizvcs.com</p> </td> <td> <p>Kundy Kol</p> <p>Phone: (562)234-4050</p> <p>Email: kundykol@yahoo.com</p> </td> <td> <p>Soung Monh</p> <p>Phone (562)882-8892</p> <p>Email: soungmonh@yahoo.com</p> </td> </tr> </tbody> </table> <table style="border: 2px solid #57a86d; background-color: #629d63;" width="630" border="2" height="26"> <tbody> <tr> <td style="text-align: center;"><span style="font-size: 12pt;"><strong><span style="color: #ffffff;">MORTGAGE CALCULATOR</span></strong></span></td> </tr> </tbody> </table> <!-- START: Modules Anywhere --><script type="text/javascript" language="javascript"> function calculate_loan_amount() { var form = document.mortgage_calc_form; form.loan.value = (form.total_property_value.value - form.deposit.value); } function calculate_mortgage() { var form = document.mortgage_calc_form; // do field validation if (form.loan.value == ""){ alert( "Loan amount is required." ); } else if (form.duration.value == ""){ alert( "Duration is required." ); } else if (form.interest_rate.value == ""){ alert( "Interest rate is required." ); } else { var loan = form.loan.value; loan = loan.replace(",",""); // Remove commas //Round instead of replace decimal //loan = loan.replace(".",""); // Remove preiods loan = Math.round(loan); form.loan.value = loan; // refresh loan amount in form without commas or periods if (form.duration_units.value == 1) { // Duration in years var duration = (form.duration.value*12); // in months } else { // Duration in months var duration = form.duration.value; // in months } var interest_rate = form.interest_rate.value.replace(",","."); // Replace comma with period form.interest_rate.value = interest_rate; // refresh duration in form without commas interest_rate = (interest_rate/12); // monthly var quote = (loan * interest_rate) / ( 100 * ( 1 - Math.pow ( ( 1 + (interest_rate/100) ), -duration ) ) ); if (quote.toFixed) { //if browser supports toFixed() method quote = quote.toFixed(2); } form.quote.value = quote; // monthly // Calculate total to be repaid var total = (quote * duration); form.total.value = total; // total } } var mortgage_calc_popUpWin=0; function mortgage_calc_popUpWindow(URLStr, left, top, width, height) { if(mortgage_calc_popUpWin) { if(!mortgage_calc_popUpWin.closed) mortgage_calc_popUpWin.close(); } mortgage_calc_popUpWin = open(URLStr, 'mortgage_calc_popUpWin', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+''); } </script> <form action="index.php" name="mortgage_calc_form" id="mortgage_calc_form" method="post"> <table class="moduletable_" border="0" cellpadding="3" cellspacing="1" width="100%"> <tr> <td>Loan amount:</td> <td> <input type="text" name="loan" id="loan" size="12" maxlength="12" value="0" class="inputbox" /> (Use "." for Decimals) </td> <td align="right"> </td> </tr> <tr> <td>Duration:</td> <td colspan="2"> <input type="text" name="duration" id="duration" size="2" maxlength="2" value="" class="inputbox" /> years <input type="hidden" name="duration_units" value="1" /> </td> </tr> <tr> <td>Interest rate:</td> <td colspan="2"><input type="text" name="interest_rate" id="interest_rate" value="4.5" size="3" class="inputbox" style="background-color:#F0F0F0;" />%</td> </tr> <tr> <td>Monthly repayments:</td> <td colspan="2"> USD <input type="text" name="quote" id="quote" size="12" readonly style="background-color:#CCCCCC;" class="inputbox" /> </td> </tr> <tr> <td>Total to be re-paid:</td> <td colspan="2"> USD <input type="text" name="total" id="total" size="12" readonly style="background-color:#CCCCCC;" class="inputbox" /> </td> </tr> <tr> <td colspan="3"><input type="button" name="submit" value="Calculate" onClick="calculate_mortgage();" class="button" /></td> </tr> </table> </form><!-- END: Modules Anywhere --> <table width="631" border="0" height="323"> <tbody> <tr> <td><img src="http://www.khemaratimes.com//itmfinancial/images/stories/HenryPhoto200x240.jpg" /></td> <td><img src="http://www.khemaratimes.com//itmfinancial/images/stories/Kundy200x250.jpg" /></td> <td><img src="http://www.khemaratimes.com//itmfinancial/images/stories/Soung200x260.jpg" /></td> </tr> <tr> <td> <p>Henry Heang</p> <p>Phone: (562)773-8202</p> <p>Email: info@bizvcs.com</p> </td> <td> <p>Kundy Kol</p> <p>Phone: (562)234-4050</p> <p>Email: kundykol@yahoo.com</p> </td> <td> <p>Soung Monh</p> <p>Phone (562)882-8892</p> <p>Email: soungmonh@yahoo.com</p> </td> </tr> </tbody> </table> <table style="border: 2px solid #57a86d; background-color: #629d63;" width="630" border="2" height="26"> <tbody> <tr> <td style="text-align: center;"><span style="font-size: 12pt;"><strong><span style="color: #ffffff;">MORTGAGE CALCULATOR</span></strong></span></td> </tr> </tbody> </table> <!-- START: Modules Anywhere --><script type="text/javascript" language="javascript"> function calculate_loan_amount() { var form = document.mortgage_calc_form; form.loan.value = (form.total_property_value.value - form.deposit.value); } function calculate_mortgage() { var form = document.mortgage_calc_form; // do field validation if (form.loan.value == ""){ alert( "Loan amount is required." ); } else if (form.duration.value == ""){ alert( "Duration is required." ); } else if (form.interest_rate.value == ""){ alert( "Interest rate is required." ); } else { var loan = form.loan.value; loan = loan.replace(",",""); // Remove commas //Round instead of replace decimal //loan = loan.replace(".",""); // Remove preiods loan = Math.round(loan); form.loan.value = loan; // refresh loan amount in form without commas or periods if (form.duration_units.value == 1) { // Duration in years var duration = (form.duration.value*12); // in months } else { // Duration in months var duration = form.duration.value; // in months } var interest_rate = form.interest_rate.value.replace(",","."); // Replace comma with period form.interest_rate.value = interest_rate; // refresh duration in form without commas interest_rate = (interest_rate/12); // monthly var quote = (loan * interest_rate) / ( 100 * ( 1 - Math.pow ( ( 1 + (interest_rate/100) ), -duration ) ) ); if (quote.toFixed) { //if browser supports toFixed() method quote = quote.toFixed(2); } form.quote.value = quote; // monthly // Calculate total to be repaid var total = (quote * duration); form.total.value = total; // total } } var mortgage_calc_popUpWin=0; function mortgage_calc_popUpWindow(URLStr, left, top, width, height) { if(mortgage_calc_popUpWin) { if(!mortgage_calc_popUpWin.closed) mortgage_calc_popUpWin.close(); } mortgage_calc_popUpWin = open(URLStr, 'mortgage_calc_popUpWin', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+''); } </script> <form action="index.php" name="mortgage_calc_form" id="mortgage_calc_form" method="post"> <table class="moduletable_" border="0" cellpadding="3" cellspacing="1" width="100%"> <tr> <td>Loan amount:</td> <td> <input type="text" name="loan" id="loan" size="12" maxlength="12" value="0" class="inputbox" /> (Use "." for Decimals) </td> <td align="right"> </td> </tr> <tr> <td>Duration:</td> <td colspan="2"> <input type="text" name="duration" id="duration" size="2" maxlength="2" value="" class="inputbox" /> years <input type="hidden" name="duration_units" value="1" /> </td> </tr> <tr> <td>Interest rate:</td> <td colspan="2"><input type="text" name="interest_rate" id="interest_rate" value="4.5" size="3" class="inputbox" style="background-color:#F0F0F0;" />%</td> </tr> <tr> <td>Monthly repayments:</td> <td colspan="2"> USD <input type="text" name="quote" id="quote" size="12" readonly style="background-color:#CCCCCC;" class="inputbox" /> </td> </tr> <tr> <td>Total to be re-paid:</td> <td colspan="2"> USD <input type="text" name="total" id="total" size="12" readonly style="background-color:#CCCCCC;" class="inputbox" /> </td> </tr> <tr> <td colspan="3"><input type="button" name="submit" value="Calculate" onClick="calculate_mortgage();" class="button" /></td> </tr> </table> </form><!-- END: Modules Anywhere -->