


function encEm(email, key){
	var inputVal  = '<a href="mailto:' + email + '">' + email + '</a>';
	var returnVal = "";
	for(var i = 0; i < inputVal.length; i++) {
		returnVal += String.fromCharCode(key ^ inputVal.charCodeAt(i));
	}
	return returnVal;
}

// This is a round about way to obscure the email address
function outputEm(){
	var key  = "5";	
	var html = encEm("medcon@got.net", key);
	for(var i = 0; i < html.length; i++) {
		document.write(String.fromCharCode( key ^ html.charCodeAt(i)));
	}	
}