function encrypt(username,hostname,linktext){
var username = username || 'tbcounselling';
var hostname = hostname || 'tbsasa.org';
var address = username + '&#64;' + hostname;
var linktext = linktext || address;
var output = '<a href="&#109;&#97;&#105;&#108;' + '&#116;&#111;&#58;'+ address +'">'+ linktext +'</a>';
document.write(output);
}

function IEHoverPseudo() {

	var sideItems = document.getElementById("sidenav").getElementsByTagName("li");
	
	for (var i=0; i<sideItems.length; i++) {
		if(sideItems[i].className == "sideparent") {
			sideItems[i].onmouseover=function() {
			this.className += " over";
			this.style.zIndex = "1000";
			}
			sideItems[i].onmouseout=function() {
			this.style.zIndex = "0";
			this.className = "sideparent";
			}
		}
	}
}