JQuery plugins stop working on appending querystring parameters
<p>I'm new with Javascript programming, I need to insert this code in the body of a page, I take some Get parameters from URL and I attach them to the iframe string:</p>

<pre><code>&lt;script&gt;
document.write("&lt;iframe width='700' height='500' frameborder='0' src=https://www.mysite.com/abs/indexabs.php?stid=261&amp;lg=en&amp;step2=1&amp;"+unescape(window.location.href.slice(window.location.href.indexOf('?') + 1)))+"&gt;&lt;/iframe&gt;"
&lt;/script&gt;       
</code></pre>

<p>This code runs and loads the iframe content...but there are other jQuery elements on the page, that don't run anymore (i.e. Nivo slider, Jquery UI datepicker)</p>

<p>Is  there a different manner to do the same without jQuery incompatibility?</p>

<p>Thanks</p>
