 
function fnWriteFooter() {


    document.writeln('<br>');
    document.writeln('<table border="0" cellpadding="0" cellspacing="0" width="468">');
    document.writeln('  <tr>');

    document.writeln('      <td class="legalfooter"><a href="#top">Back to Top of Page</a></td>');

    document.writeln('      <td class="legalfooter">|</td>');
    
    document.writeln('      <td class="legalfooter"><a href="http://www.hemscott.com/sitemap/map.htm" target="_top">Sitemap</a></td>');

    document.writeln('      <td class="legalfooter">|</td>');   

    document.writeln('      <td class="legalfooter"><a href="mailto:netwebmaster@hemscott.co.uk">Contact Us</a></td>');

    document.writeln('      <td class="legalfooter">|</td>');

    document.writeln('      <td class="legalfooter"><a href="http://www.hemscott.com/equities/main.htm" target="_blank">Legal Disclaimer</a></td>');

    document.writeln('      <td class="legalfooter">|</td>');

    document.writeln('      <td class="legalfooter">&copy; Hemscott</td>');

    document.writeln('  </tr>');
    document.writeln('</table>');
    //ord=Math.random()*10000000000000000;
    //document.writeln('      <SCRIPT language="JavaScript1.1" SRC="http://ad.uk.doubleclick.net/adj/compfund/;abr=!webtv;sz=1x1;ord=' + ord + '?"><\/SCRIPT>');


    var callFunction = true;
    
    var sPath_m = window.location.pathname;
    var sPath_m = sPath_m.indexOf('m.htm');
    if (sPath_m != -1) {
        callFunction = false;
    }

    var sPath_for = window.location.pathname;
    var sPath_for = sPath_for.indexOf('for');
    if (sPath_for != -1) {
        callFunction = false;
    }

    var sPath_pri = window.location.pathname;
    var sPath_pri = sPath_pri.indexOf('pri');
    if (sPath_pri != -1) {
        callFunction = false;
    }


    if (callFunction == true)
    {
        writeBrokerButtonsCompFund();
    }

}