Disqus script not well formed
<p>Blogger keeps telling me that the script is not well formed, I have tried to test it in firebug, but I do not seem to detect the issue. Help out</p>

<pre><code>    &lt;script type='text/javascript'&gt;
    (function() {
        var links = document.getElementsByTagName('a');
        var query = '?';
        for(var i = 0; i &lt; links.length; i++) {
            if(links[i].href.indexOf('#disqus_thread') &gt;= 0) {
                query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&amp;';
            }
        }
        document.write('&lt;script type="text/javascript" src="http://disqus.com/forums/hi-tech/get_num_replies.js' + query + '"&gt;&lt;/' + 'script&gt;');
    })();
&lt;/script&gt;
</code></pre>
