

function writeObject(idDiv, objectId, file, height, width)
{
	element = document.getElementById(idDiv);

	var swf= '\n<object type="application/x-shockwave-flash" id="'+objectId+'" align="middle" height="'+height+'" width="'+width+'" data="'+file+'" autoplay="true" loop="false">\n\t<param name="movie" value="'+file+'">\n\t<param name="quality" value="high">\n\t<param name="bgcolor" value="#ffffff">\n\t<param name="allowScriptAccess" value="sameDomain">\n\t<param name="pluginspage" value="http://www.macromedia.com/go/getflashplayer">\n\t<param name="type" value="application/x-shockwave-flash">\n\t <param name="autoplay" value="true">  <param name="loop" value="false"></object>';
	element.innerHTML = swf;
}


