// hideme.js - hides our internet addresses.  

/*
a -  user name
b -  host name 
c -  domain name
d -  optional variable should be set to display a name other than the address
*/

function frandzero()
{
	if( Math.round(Math.random()) == 0 )
		return '0';
	else
		return '';
}

function hideme(a,b,c,d)	
{
	em = a + "@" + b + "." + c;
	eem = "&#" + em.charCodeAt(0) + ";" + em.charAt(1)
	for( i=2; i<em.length; i++ ) {eem += "&#" + frandzero() + em.charCodeAt(i) + ";"}
	var eemv = d || eem;
	uc = '<a href=' + '"mai' + 'lto:' + eem + '">' + eemv + '</a>'
	document.write(uc)
}

