// eMail Obfuscator Script 2.1 by Tim Williams - freeware
function eMail_Decrypte(coded)
{
	cipher = "aZbYcXdWeVfUgThSiRjQkPlOmNnMoLpKqJrIsHtGuFvEwDxCyBzA1234567890"
	shift=coded.length
	link=""
	for (i=0; i<coded.length; i++)
	{
		if (cipher.indexOf(coded.charAt(i))==-1)
		{
			ltr=coded.charAt(i)
			link+=(ltr)
		}
		else
		{
			ltr = (cipher.indexOf(coded.charAt(i))-shift+cipher.length) % cipher.length
			link+=(cipher.charAt(ltr))
		}				
	}
	return(link)
}

function eMail_Crypte(adresse)
{
	address = adresse.toLowerCase()
	coded = ""
	cipher = "aZbYcXdWeVfUgThSiRjQkPlOmNnMoLpKqJrIsHtGuFvEwDxCyBzA1234567890"
	shift = address.length
	for (j=0; j<address.length; j++)
	{
		if (cipher.indexOf(address.charAt(j)) == -1 )
		{
			chr = address.charAt(j)
			coded += address.charAt(j)
		}
		else
		{
			chr = (cipher.indexOf(address.charAt(j)) + shift) % cipher.length
			coded += cipher.charAt(chr)
		}
	}
	return(coded)
}

