Need help loading flash object last using javascript

I am using chatango chat on my site and I am trying to make it load last. Someone told me I could use this code to do that, but I don’t know how exactly everything is suppose to be written out and what goes where. I am a noob at javascript sorry.

script:


<script>

document.getElementById (“chat”).innerHTML = “[put your chatango code here – make sure it only uses single quotes]”;

</script>

chat (example code):


<object width="200" height="300" id="obj_1267514622010"><param name="movie" value="http://swk-.chatango.com/group"/><param name="wmode" value="transparent"/><param name="AllowScriptAccess" VALUE="always"/><param name="AllowNetworking" VALUE="all"/><param name="AllowFullScreen" VALUE="true"/><param name="flashvars" value="cid=1267514622010&b=60&f=50&l=999999&q=999999&r=100&s=1"/><embed id="emb_1267514622010" src="http://swk-.chatango.com/group" width="200" height="300" wmode="transparent" allowScriptAccess="always" allowNetworking="all" type="application/x-shockwave-flash" allowFullScreen="true" flashvars="cid=1267514622010&b=60&f=50&l=999999&q=999999&r=100&s=1"></embed></object> 

thanks