var alfabet = "abcdefghijklmnopqrstuvwxyz.@1234567890-_ABCDEFGHIJKLMNOPQRSTUVWXYZ"

function encode()
{
}

function decode(email)
{
    var nyEpost = "" ;
    var ePosten = document.getElementById(email) ;
    for (j=0 ; j<ePosten.title.length ; j++)
    {
        position = alfabet.indexOf(ePosten.title.charAt(j)) ;
        if ( position >= 0 ) 
        {
            nyPosition = (position+(alfabet.length/2)) % alfabet.length ;
            nyEpost += alfabet.charAt(nyPosition) ;
        }
        else
        {
            nyEpost += ePosten.title.charAt(j) ;
        }
    }
    ePosten.href      = "mailto:"+nyEpost ;
    ePosten.title     = nyEpost ;
    ePostenText = document.createTextNode(nyEpost) ;
    ePosten.appendChild(ePostenText) ;
}

function generate()
{
}
