/*
This script is used to reconstruct an email address for an email link. The reason for doing this is to prevent robots from scanning the page for email links which is commonly used by spammers.
*/

function emailLink(name, server, text) {
	var email = name+"@"+server;	//reconstruct the email address
	if (text == null || text == "") text = email;	//text is optional - will use email address instead if left blank
	document.write('<a href="mailto:'+email+'" title="Send an email to '+email+'">'+text+'</a>');	//create the link
}