var crypt_key = "kB.jfd@82EXSipy5h90KztVRPGTr-HZ3_u6wxJ4MC1DsNLFmUYcevlAIqa7oQnWbgO"; var chr_base = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz@.0123456789_-"; function Print_Mail(encoded, className) { document.write("<a hr"+"ef=\"ma"+"ilto"+":"+decode(encoded)+"\" class=\""+className+"\" onFocus=\"this.blur()\"></"+"a>"); } function decode(str) { return codec(crypt_key, chr_base, str); } function codec(from, to, str) { var codedResult = ""; for (i = 0; i < str.length; i++) { current = str.charAt(i); idx = from.indexOf(current); nextVal = (idx == -1) ? current : to.charAt(idx); codedResult += nextVal; } return codedResult; } 