function norobotmail(aUser, aDomain) { document.location = "mailto:" + aUser + "@" + aDomain; }

function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}