
// 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));
// name in front of at sign
contact4=(String.fromCharCode(110,101,116,45,101,110,113,117,105,114,121));
// domain name in hex can be in ascii if you wish
contact5='%72%65%67%65%6E%74%65%6C%65%63%74%72%69%63%61%6C%2E%63%6F%6D';
text1=' onMouseover="window.status=\'Contact Regent Electrical \'; return true" '+contact3+contact4+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> ";

