Need a ROT47 JavaScript Implementation
<p>I found the following code to decode a ROT13 string and put it into a webpage with JavaScript:</p>

<pre><code>&lt;script type="text/javascript"&gt;
 document.write("string".replace(/[a-zA-Z]/g, 
 function(c){return String.fromCharCode((c&lt;="Z"?90:122)&gt;=(c=c.charCodeAt(0)+13)?c:c-26);}));
&lt;/script&gt;
</code></pre>

<p>I need a similar JavaScript code to decode ROT47.</p>

<p>I found a few functions, but I have no idea how to get it into the same script, so it will put the decoded string into a webpage.</p>

<p>One of them is here - <a href="http://www.visualco.de/ROTn.js.html" rel="nofollow">http://www.visualco.de/ROTn.js.html</a></p>

<p>Can someone please help?</p>

<p>Thanks a lot!</p>
