var atsynonym = '%asd!-as%'; var dotsynonym = 'xrdfg&rx'; function decodeString(myEncStr) { var tmp; var atsynonym = '%asd!-as%'; var dotsynonym = 'xrdfg&rx'; tmp = myEncStr.replace( eval("/" + atsynonym + "/"), '@'); tmp = tmp.replace( eval("/" + dotsynonym + "/g"), '.'); var atsynonym = '%asd!-as%'; var dotsynonym = 'xrdfg&rx'; tmp = tmp.replace( eval("/" + atsynonym + "/"), '@'); tmp = tmp.replace( eval("/" + dotsynonym + "/g"), '.'); return(tmp); } function printLink(myEncStr, withclass) { var decStr = decodeString(myEncStr); with ( document ) { open(); if ( withclass && withclass != '') { document.writeln("" + decStr + ""); } else { document.writeln("" + decStr + ""); } close(); } }