
// Copyright (c) Ken Lewis - http://www.highlighted.co.uk/
// The Free to use Hide Email Creator Tool can be found at
// http://web-tools.highlighted.co.uk/hide-email/
// all rights reserved ( Internet Business Promotions )
// You are given permission to copy / change this file for your own use
// as long as this 7 line accreditation remains in place unaltered
// and the <noscript> data remains unaltered on the calling script.

// class or style settings can be altered on the calling script.
// <a href="mailto: is also coded and you can choose from 3 versions
// of the variable contact3 which = [ href="mailto: ]
// ascii, Hex or Octal - Octal is live
//
// text1=' href="mailto:your-email@address.com?subject=';
// contact3= href="mailto: / Hex like %68%72%65%66%3D%22%6D%61%69%6C%74%6F%3A
// Ascii =   104,114,101,102,61,34,109,97,105,108,116,111,58
// it will be hidden from spam robots, in fact all robots we know of, including search engines.
// contact2=@
// contact4 email name
// contact5 = email domain name

text0="<a ";
contact1='%';
contact2=contact1+'40';
// Note the Variable contact3 is set as octal - change to Hex or ascii if required.
// contact3=(String.fromCharCode(104,114,101,102,61,34,109,97,105,108,116,111,58)); //ascii
// contact3="%68%72%65%66%3D%22%6D%61%69%6C%74%6F%3A"; // Hex
contact3='\150\162\145\146\75\42\155\141\151\154\164\157\72'; // octal
// next line = email namein ascii
contact4=(String.fromCharCode(101,109,97,105,108));
// next line = email domain name in hex
contact5="%68%61%70%70%79%74%79%72%65%73%2e%63%6f%2e%75%6b";
// next line = all vars joined to pass through to calling page
text1=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=" Email Us ";
// next line = closing anchor tab using this var prevents an error code in javascript and/or browser
text3="</a> ";

// 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 this JS file  via the contact4 variable above.



