
// Copyright (c) Ken Lewis - www.highlighted.co.uk/
// 
// WRITE TEXT HERE FOR HIDDEN EMAIL ADDRESS
// Calling page
 
text0="<a "; 

// class setting based on calling page email address.
// the @ and site name uses hex %40
// asc codes are used for href="mailto:
// and for email name ie info contact office etc
// text1=' href="mailto:your-email@address.com?subject=';
// href="mailto:  %68%72%65%66%3D%22%6D%61%69%6C%74%6F%3A
// it will be hidden from spam robots, in fact all robots.
contact1='%';
contact2=contact1+'40';
// href="mailto: next line
contact3=(String.fromCharCode(104,114,101,102,61,34,109,97,105,108,116,111,58));
contact4=(String.fromCharCode(114,101,103,101,110,116,45,101,108,101,99,116,114,105,99,97,108));
contact5='%68%69%67%68%6C%69%67%68%74%65%64%2E%63%6F%2E%75%6B';
text1=' onMouseover="window.status=\'Contact Regent Electrical \'; return true" '+contact3+contact4+contact2+contact5+'?Bcc=reg'+contact2+contact5+'&subject=';

// set subject text on calling page
// next line optional set on calling page
// as text2 which will display from browser.

text2="&nbsp;Email&nbsp;Us&nbsp;";

// the great thing about this script is that you can put your 
// email address on every page of your site and should you start
// to get to many spam emails from people manually lifting your
// email address you can change it throughout the site
// by changing a single line in the [text1] variable above.

text3="</a> ";

