var goBack = function (){
	if (document.getElementById("back")){
		document.getElementById("back").onclick = function (){
			history.go(-1);
			return false;
		};
	}
}();

var doEmailReplace = function (){
	// init email address components
	var dom = "younson", sym = "@", fN = "sydna", dot = ".com", pro = "mailto:", el, aEml;
		
		
	if (document.getElementById("email-link")){
		el = document.getElementById("email-link");
		while (el.firstChild){
			el.removeChild(el.firstChild)
		}
		
		aEml = document.createElement("a");
		aEml.href = pro+fN+sym+dom+dot;
		aEml.appendChild(document.createTextNode(" " + fN+sym+dom+dot + " "));
		el.appendChild(aEml);
	}
}();
