function convert(text)
{
    var newText = "";

    for (i=0; i<text.length; i++)
        newText += "&#" + text.charCodeAt(i) + ";";

    return newText;
}

function mail2(three, four, two, one, five)
{
   one = convert(one);
   two = convert(two);
   three = convert(three);
   four = convert(four);
	five = convert(five)
   var mailto = convert('mailto:');

   document.write('<a href="' + mailto + one + '@' + two + '.' + three + '.' + four + '" class="blue">' + five + '</a>');
}
function mail3(two, three, one, four)
{
   one = convert(one);
   two = convert(two);
   three = convert(three);
   four = convert(four);
   var mailto = convert('mailto:');

   document.write('<a href="' + mailto + one + '@' + two + '.' + three + '" class="blue">' + four + '</a>');
}
