<!--//  Breaks email address into into components/*call the following function like this.....put this line into HTML header:(*obviously changing the location of this file as required*)otherwise you'll get an "Object Expected" error. ie it couldnt find this file<script	src="bits/antispam.js"	type="text/javascript"	language="Javascript"></script>drop this into the HTML body where you want to put the visible linkfor this function "print_mail_to_link"<script language="JavaScript">print_mail_to_link('spam','agathos.co.uk','New exciting Email for you', 'redsquare', 'Email Spam');</script> is the same as writing<a href='mailto:spam@agathos.co.uk' class='redsquare'>Email Spam</a><script language="JavaScript">print_mail_to_link_with_image('spam', 'agathos.co.uk', 'Something or other', 'images/image1.gif');</script>is the same as writing<a href='mailto:spam@agathos.co.uk?Subject=Something or other'><img src='images/image1.gif'></a>*/function print_mail_to_link(lhs, rhs, subject, theclass, showtext){	// will produce the following output:	// <a href='mailto:exeter@western-electrical.co.uk?Subject=eddfgerg'>exeter@western-electrical.co.uk</a>	// or	// <a href='mailto:exeter@western-electrical.co.uk?Subject=eddfgerg'>Email Exeter</a>		document.write("<A HREF=\"mailto");	document.write(":" + lhs + "@");	document.write(rhs);	if(subject != '')	{		document.write("?Subject=" + subject);	}	document.write("\" class=\"" + theclass + "\">" + showtext + "<\/a>");}function print_mail_to_link_with_image(lhs, rhs, subject, image_name, alt_tag){	// will produce the following output:	// <a href='mailto:exeter@western-electrical.co.uk?Subject=eddfgerg'><img src='image.jpg'></a>		document.write("<A HREF=\"mailto");	document.write(":" + lhs + "@");	document.write(rhs);	if(subject != '')	{		document.write("?Subject=" + subject);	}	document.write("\"><img src=\"" + image_name + "\" border=\"0\" alt=\"" + alt_tag + "\"><\/a>");}// end hiding -->