// JavaScript Document

function spam_safe_email(pre_text,encrypted_addr,prompt_text,post_text) {
// eMail Obfuscator Script 2.1 by Tim Williams - freeware
	cipher = "aZbYcXdWeVfUgThSiRjQkPlOmNnMoLpKqJrIsHtGuFvEwDxCyBzA1234567890"
	shift=encrypted_addr.length
	link=""
	for (i=0; i<encrypted_addr.length; i++){
		if (cipher.indexOf(encrypted_addr.charAt(i))==-1){
			ltr=encrypted_addr.charAt(i)
			link+=(ltr)
		}
		else {     
			ltr = (cipher.indexOf(encrypted_addr.charAt(i))-shift+cipher.length) % cipher.length
			link+=(cipher.charAt(ltr))
		}				
    }
	document.write(pre_text+"<a href='mailto:"+link+"'>"+prompt_text+"</a>"+post_text)
}