/*
* E-Mail
*/

function getMailLink(encrypted)
{
  var decrypted = getMailText(encrypted);
  document.location = "mailto:" + decrypted;
}

function getMailText(encrypted)
{
  var characters = encrypted.split("|");
  var decrypted = "";
  for(var i=0;i<characters.length;i++)
  {
    decrypted += String.fromCharCode(characters[i]-i-543);
  }
  return decrypted;
}


