// Email Camouflage version 1.2
//
// This script copyright 2004 agitprop_mainman
//
// This is a free script by agitprop_mainman that is released under the
// Open Source copyright conventions. Please note that NO technical
// assistance is offered with this script.
//
// ----------
//
// Change the 'name'and 'site' variables below to suit the email address
// you want to hide.
//
// Change the variable called 'name' to the first part of your email
// address; then change the variable named 'site' to the second part of
// your email address.
//
// For example, if your email address is minion@underling.com.au, then
// change it to:
// name="minion"
// site="underling.com.au"

name="Les"
site="screpairs.co.uk"

// ----------
//
// Don't change anything between here and the next line unless you know
// what you're doing.

protocol="mailto:"

p=""
for (i=0;i<protocol.length;i++)
	{
	p+="&#"+protocol.charCodeAt(i)+";"
	}

n=""
for (i=0;i<name.length;i++)
	{
	n+="&#"+name.charCodeAt(i)+";"
	}

h = "&#064;"

s=""
for (i=0;i<site.length;i++)
	{
	s+="&#"+site.charCodeAt(i)+";"
	}

// ----------
//
// Change the image location variable ('src') to your image name and
// location. For example, if your image is a jpg called 'email_image.jpg'
// and its stored in a subfolder/subdirectory called 'graphics', then change
// the next line to:
// document.write("<input type=image src='graphics/email_image.jpg' onMouseOver=\"window.status='")

document.write("<input type=image src='images/send_email.gif' onMouseOver=\"window.status='")

// Change this to whatever you want, but insure its bracketed within
// double quotes.

document.write("This email address has been hidden from spammers")

document.write("'\" onMouseOut=\"window.status='")

// Again, change this to whatever you want, but make sure its bracketed
// within double quotes.

document.write("")

document.write("'\" onclick=\"location.href='")
document.write(""+p+n+h+s+"'")
document.write("\">")

