// JavaScript Document

function calculateVAT (fee)
{
var vatAmount = fee * vATPercent;//Calculate the amount of VAT payable
vatAmount = vatAmount.toFixed(2);//round to 2 digital longs
return vatAmount;
}

function totalAmount (fee)
{
var vat = fee * vATPercent;//Calculate the amount of VAT payable
var total = fee + vat;//round to 2 digital longs
total = total.toFixed(2);//round to 2 digital longs
return total;
}

document.write('<TABLE width=600 border=0 align=center cellPadding=0 cellSpacing=0 dwcopytype="CopyTableCell"><TBODY><TR><TD><P><SPAN><h1>Freehold Sale Costs<h1></SPAN><TABLE width=500 border=0 class="tableWriting"><TBODY><TR><td>Sale Price</TD><td><DIV align=right><B>Mark Young & Co Fees</B></DIV></TD><td><DIV align=right>VAT</DIV></TD><td><DIV align=right>Total</DIV></TD></TR><TR><td>£0 - £150,000</TD><td><DIV align=right><B>£');
//start off 1st set of fees
document.write(salesFeeUnder150000);
document.write('</B></B></DIV></TD><td><DIV align=right>£');
document.write(calculateVAT(salesFeeUnder150000));
document.write('</DIV></TD><td><DIV align=right>£');
document.write(totalAmount(salesFeeUnder150000));
document.write('</DIV></TD></TR><TR><td>£150,001 - £250,000</TD><td><DIV align=right><B>£');
//start off 2nd set of salesFees
document.write(salesFeeOver150001);
document.write('</B></B></DIV></TD><td><DIV align=right>£');
document.write(calculateVAT(salesFeeOver150001));
document.write('</DIV></TD><td><DIV align=right>£');
document.write(totalAmount(salesFeeOver150001));
document.write('</DIV></TD></TR><TR><td>£250,001 - £350,000</TD><td><DIV align=right><B>£');
//start off 3rd set of salesFees
document.write(salesFeeOver250001);
document.write('</B></B></DIV></TD><td><DIV align=right>£');
document.write(calculateVAT(salesFeeOver250001));
document.write('</DIV></TD><td><DIV align=right>£');
document.write(totalAmount(salesFeeOver250001));
document.write('</DIV></TD></TR><TR><td>£350,001 - £450,000</TD><td><DIV align=right><B>£');
//start off 4th set of salesFees
document.write(salesFeeOver350001);
document.write('</B></B></DIV></TD><td><DIV align=right>£');
document.write(calculateVAT(salesFeeOver350001));
document.write('</DIV></TD><td><DIV align=right>£');
document.write(totalAmount(salesFeeOver350001));
document.write('</DIV></TD></TR><TR><td>£450,001 - £550,000</TD><td><DIV align=right><B>£');
//start off 5nd set of salesFees
document.write(salesFeeOver450001);
document.write('</B></B></DIV></TD><td><DIV align=right>£');
document.write(calculateVAT(salesFeeOver450001));
document.write('</DIV></TD><td><DIV align=right>£');
document.write(totalAmount(salesFeeOver450001));
document.write('</DIV></TD></TR><TR><td>£550,001 +</TD><TD class=mainmid colSpan=3><DIV align=center>');
//start off 6th set of salesFees
document.write(salesFeeOver550001);
document.write('</DIV></TD></TR></TBODY></TABLE><P class=mainmid>In addition there is a fee payable of £8.00 to HM Land Registry to obtain office copy entries.</P>');
document.write('<TABLE width=600 border=0 align=center cellPadding=0 cellSpacing=0 dwcopytype="CopyTableCell"><TBODY><TR><TD><P><SPAN><h1>Leasehold Sale Costs<h1></SPAN><TABLE width=500 border=0 class="tableWriting"><TBODY><TR><td>Sale Price</TD><td><DIV align=right><B>Mark Young & Co Fees</B></DIV></TD><td><DIV align=right>VAT</DIV></TD><td><DIV align=right>Total</DIV></TD></TR><TR><td>£0 - £150,000</TD><td><DIV align=right><B>£');
//start off 1st set of fees
document.write(leasesalesFeeUnder150000);
document.write('</B></B></DIV></TD><td><DIV align=right>£');
document.write(calculateVAT(leasesalesFeeUnder150000));
document.write('</DIV></TD><td><DIV align=right>£');
document.write(totalAmount(leasesalesFeeUnder150000));
document.write('</DIV></TD></TR><TR><td>£150,001 - £250,000</TD><td><DIV align=right><B>£');
//start off 2nd set of leasesalesFees
document.write(leasesalesFeeOver150001);
document.write('</B></B></DIV></TD><td><DIV align=right>£');
document.write(calculateVAT(leasesalesFeeOver150001));
document.write('</DIV></TD><td><DIV align=right>£');
document.write(totalAmount(leasesalesFeeOver150001));
document.write('</DIV></TD></TR><TR><td>£250,001 - £350,000</TD><td><DIV align=right><B>£');
//start off 3rd set of leasesalesFees
document.write(leasesalesFeeOver250001);
document.write('</B></B></DIV></TD><td><DIV align=right>£');
document.write(calculateVAT(leasesalesFeeOver250001));
document.write('</DIV></TD><td><DIV align=right>£');
document.write(totalAmount(leasesalesFeeOver250001));
document.write('</DIV></TD></TR><TR><td>£350,001 - £450,000</TD><td><DIV align=right><B>£');
//start off 4th set of leasesalesFees
document.write(leasesalesFeeOver350001);
document.write('</B></B></DIV></TD><td><DIV align=right>£');
document.write(calculateVAT(leasesalesFeeOver350001));
document.write('</DIV></TD><td><DIV align=right>£');
document.write(totalAmount(leasesalesFeeOver350001));
document.write('</DIV></TD></TR><TR><td>£450,001 - £550,000</TD><td><DIV align=right><B>£');
//start off 5nd set of leasesalesFees
document.write(leasesalesFeeOver450001);
document.write('</B></B></DIV></TD><td><DIV align=right>£');
document.write(calculateVAT(leasesalesFeeOver450001));
document.write('</DIV></TD><td><DIV align=right>£');
document.write(totalAmount(leasesalesFeeOver450001));
document.write('</DIV></TD></TR><TR><td>£550,001 +</TD><TD class=mainmid colSpan=3><DIV align=center>');
//start off 6th set of leasesalesFees
document.write(leasesalesFeeOver550001);
document.write('</DIV></TD></TR></TBODY></TABLE><P class=mainmid>In addition there is a fee payable of £8.00 to HM Land Registry to obtain office copy entries.</P>');
document.write('<TABLE width=600 border=0 align=center cellPadding=0 cellSpacing=0 dwcopytype="CopyTableCell"><TBODY><TR><td><h1> Purchase Costs</h1><p>Purchase costs are calculated as the <B>Mark Young & Co</B> (above)plus the following costs:</P><OL><LI><B>Stamp Duty</B><TABLE border=0 class="tableWriting"><TBODY><TR><td>Property Value</TD><td>&nbsp;</TD><td>Cost</TD></TR><TR><td>£0 - £125,000</TD><td>&nbsp;</TD><td>zero</TD></TR><TR><td>£125,001 - £250,000</TD><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD><td>1% of property value</TD></TR><TR><td>£250,001 - £500,000</TD><td>&nbsp;</TD><td>3% of property value</TD></TR><TR><td>£500,001 +</TD><td>&nbsp;</TD><td>4% of property value</TD></TR></TBODY></TABLE><BR><LI><B>Land Registry</B><TABLE border=0 class="tableWriting"><TBODY><TR><td>Property Value</TD><td>&nbsp;</TD><td><DIV align=right>Cost</DIV></TD></TR><TR><td>£0 - £50,000</TD><td>&nbsp;</TD><td><DIV align=right>£40</DIV></TD></TR><TR><td>£50,001 - £80,000<BR></TD><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> <td><DIV align=right>£60</DIV></TD></TR><TR><td>£80,001 - £100,000</TD><td>&nbsp;</TD><td><DIV align=right>£100</DIV></TD></TR><TR><td>£100,001 - £200,000</TD><td>&nbsp;</TD><td><DIV align=right>£150</DIV></TD></TR><TR><td>£200,001 - £500,000</TD><td>&nbsp;</TD><td><DIV align=right>£250</DIV></TD></TR><TR><td>£500,001 - £1,000,000</TD> <td>&nbsp;</TD><td><DIV align=right>£450</DIV></TD></TR><TR><td>£1,000,001 +</TD> <td>&nbsp;</TD><td><DIV align=right>£750</DIV></TD></TR></TBODY></TABLE><BR><LI><B>Local Authority Searches</B><TABLE border=0 class="tableWriting"><TBODY><TR><td><P>Cost will vary dependent upon local council. Approximately between £100 and £200</P></TD></TR></TBODY></TABLE><BR><LI><B>Charges For Arranging Transfer Of Money Via Telegraphic Transfer</B><TABLE border=0 class="tableWriting"><TBODY><TR><td>£')
document.write(totalAmount(telegraphicTransferFee));
document.write(' (including VAT)</TD></TR></TBODY></TABLE><BR><LI><B>Land Registry Searches</B><TABLE border=0 class="tableWriting"><TBODY><TR><td>£')
document.write(landSearchFee);
document.write(' (no VAT)</TD></TR></TBODY></TABLE><BR><LI><B>Bankruptcy Searches</B><TABLE border=0 class="tableWriting"><TBODY><TR><td>£');
document.write(bankruptcyFee);
document.write(' (each  name no VAT)</TD></TR></TBODY></TABLE></LI></OL><P>Written quotations available on request.</P></TD></TR></TBODY></TABLE></P><P>&nbsp;</P></TD></TR></TBODY></TABLE>');