Object expected, javascript error
<p><strong>Please check out this code? why do i get object xpected error? Thank you...</strong>    </p>

<pre><code> var object_url = "http://test.com/flash/custom-freechat/";
        var param_url = "category=boy&amp;amp;subcategory=18_22&amp;amp;tags=boy,18_22&amp;amp;ismember=false&amp;amp;appletbrand=jasmin&amp;amp;subbrand=livejasmin&amp;amp;size=1&amp;amp;appletcol=&amp;amp;txtcolor1=&amp;amp;txtcolor2=&amp;amp;txtcolor3=&amp;amp;txtcolor4=&amp;amp;txtcolor5=&amp;amp;txtcolor6=&amp;amp;txtcolor7=&amp;amp;txtcolor8=&amp;amp;txtcolor9=&amp;amp;txtcolor10=&amp;amp;membcol=&amp;amp;guestcol=&amp;amp;asc=GGGGGG&amp;amp;lowCamFeed=false&amp;amp;muteAudio=false&amp;amp;as=0111111011110010&amp;amp;ato=0&amp;amp;isproxy=1&amp;amp;sessionid=572e1f4258ca212116c2ea18de9ddee0&amp;amp;appletroot=" + object_url + "&amp;amp;appletlang=appletlang.xml&amp;amp;appletservers=servers069.xml&amp;amp;freeskin=appletskin.swf&amp;amp;appleturls=appleturls020.xml&amp;amp;appletstream=sharevideo_livejasmin009.swf&amp;amp;tipAnim=3.swf&amp;amp;nxt=exit_chat&amp;amp;performerid=TooHotJack&amp;amp;type=40&amp;amp;serverid=inner4q7opo85n9f0d5q7o4psli6e2712msv9&amp;amp;psid=awempire&amp;amp;pstour=t1&amp;amp;psprogram=REVS&amp;amp;pstool=&amp;amp;isad=true&amp;amp;livefeed=livefeed&amp;amp;issb=1&amp;amp;nodeid=HUBUD&amp;amp;memberip=109.71.162.34@583a56ac26afb30b952b3e0ea39bf66f&amp;amp;proxyip=109.71.162.193:8080&amp;amp;";

        function init() {
            document.getElementById('object_container').innerHTML = "&lt;object width=\"710px\" height=\"284px\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" id=\"flash\"&gt;&lt;param value=\"" + object_url + "memberchat001.swf\" name=\"movie\"&gt;&lt;param value=\"high\" name=\"quality\"&gt;&lt;param value=\"always\" name=\"AllowScriptAccess\"&gt;&lt;param value=\"\" name=\"bgcolor\"&gt;&lt;param value=\"" + param_url + "\" name=\"FlashVars\"&gt;&lt;embed width=\"710px\" height=\"284px\" flashvars=\"" + param_url + "\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" quality=\"high\" bgcolor=\"\" allowscriptaccess=\"always\" src=\"" + object_url + "memberchat001.swf\"&gt;&lt;/object&gt;";
        }

        window.onload = init;
</code></pre>

<p><strong>I call this script like this: I cannot edit the script cause it's from another server, an affiliate program. I can edit only the way i call it, which is displayed below:</strong></p>

<pre><code>&lt;script type="text/javascript" language="javascript" src="http://test.com/fca/scripts.php?size=1&amp;flags=1&amp;appletcol=7A0000&amp;txtcolor1=00CCFF&amp;txtcolor2=FFCC00&amp;txtcolor3=AAAAFF&amp;txtcolor4=FFFFFF&amp;txtcolor5=FF8484&amp;txtcolor6=FFCC00&amp;txtcolor7=FFCC00&amp;txtcolor8=FFFFFF&amp;txtcolor9=FFFFFF&amp;txtcolor10=FFCC00&amp;membcol=A180C5&amp;guestcol=F06724&amp;addcol1=850000&amp;addcol2=7E0101&amp;addcol3=E33335&amp;addcol4=400000&amp;addcol5=C10A09&amp;addcol6=920000&amp;addcol7=900000&amp;psid=.....&amp;psprogram=PPS&amp;pstour=t1&amp;campaign_id=32339&amp;pstool=61_1&amp;muteAudio=1&amp;site=jsm"&gt;&lt;/script&gt;

**&lt;div id="object_container"&gt;&lt;/div&gt;**
</code></pre>
