broken javascript
<p>I have a javascript function <strong>defined somewhere</strong> in the middle of my html/php based page like this - </p>

<pre><code>&lt;script language="javascript" type="text/javascript"&gt;
function popitup2() 
{
    newwindow2=window.open('','name','height=265,width=350');
    var tmp = newwindow2.document;
tmp.write('&lt;html&gt;&lt;head&gt;&lt;title&gt;Coupon&lt;/title&gt;');
tmp.write('&lt;link rel="stylesheet" href="&lt;?php echo get_bloginfo('wpurl'); ?&gt;/wp-content/themes/street/coupon.css"&gt;');
tmp.write('&lt;script src="/street/coupon.js"&gt; &lt;/script&gt;');
tmp.write('&lt;script src="http://code.jquery.com/jquery-1.4.2.min.js"&lt;/script&gt;');
</code></pre>

<p>...
/*some other code which is working fine */</p>

<p>Now this web page appears broken when i open it. But if i remove the the following 2 lines from javascript the error goes and page appears fine.</p>

<pre><code>tmp.write('&lt;script src="/street/coupon.js"&gt;&lt;/script&gt;');
tmp.write('&lt;script src="http://code.jquery.com/jquery-1.4.2.min.js"&gt;&lt;/script&gt;');
</code></pre>

<p>Can someone tell what is wrong with coding of these lines.</p>
