// Net Intelect JavaScript Document
// Prevents harvesting of mailto: links by those annoying bots
/* Add to html head of your document where the mailto link is to appear:

<script type="text/javascript" src="safemail.js"></script>

To create your mailto link use variation of this code:

<script type="text/javascript">safemail("mark", "netintelect.co.uk", "email us");</script>

*/


    function safemail(name, address, display){
        var link = name + "@" + address
        if(!display) { display = link; }
        document.write("<a href='mailto:" + link + "'>" + display + "</a>");
    }
	
