function RevealRecipient(anchor)
{
    var regEx  =  new RegExp("<.*>","g");
    var eml = anchor.innerHTML.replace(regEx, "@");
    document.location="mailto:"+eml;
    //anchor.href="mailto:".eml;
}

function RevealRecipientLink(anchor, box, host, subject)
{     
    document.location="mailto:"+box+"@"+host+"?subject="+subject;    
}

function SaveLanguageCookie(lang)
{
    var expires_date = new Date( new Date().getTime() + (365*24*3600*1000));    
    document.cookie = "LATEST_LANG_USED" + "=" + lang +  ";expires=" + expires_date.toGMTString() + ";path=/;domain="+document.domain;
}




