function reverseText(text) {
	ret = "";
	for(i = text.length - 1; i >=0; i--)
	ret += text[i];
	return ret;
}

function emailScrambled(revExt, revUser, linkText) {
	document.write("<a href='mailto:");
	document.write(reverseText(revUser) + "@" + reverseText(revExt));
	document.write("'>" + linkText + "</a>");
}

function redirect(delay, url)
{
	document.write("Please update your bookmark. You will be automatically redirected in " +
					delay + " seconds. The impatient may click this <a href = '" + url +"'>link</a>.");
	setTimeout("location.href = '" + url + "'", delay * 1000);
}