/*
///////////////////////////////////////////////////////////////////////////////////////////////
Email Shield (eShield) v1.3 - Class version - by Jason Savage
///////////////////////////////////////////////////////////////////////////////////////////////
*/

//[Setup]/////////////
var $ATEase = new eShield('ateasellc','com');
//END[Setup]//////////

//class constructor function
function eShield(domain,service){
	this.domain=domain;
	this.service=service;
	this.e='';
	this.protect = function(username){
		if(username == null) return false;
		this.e = 'm'+'a'+'i'+'l'+'to:'+ username +'@'+ this.domain +'.'+ this.service;
		var tmp = window.location = this.e;
		this.e = '';
		
	}
	this.display = function(username){
		if(username == null) return '&nbsp;';
		this.e = username +'@'+ this.domain +'.'+ this.service;
		document.write(this.e); this.e = '';
	}
}
