// fix for the IE embedded flash issue
//
// include me in your document (i.e. <script language="JavaScript" src="/scripts/flash.js"></script>) and call the function
// supplying the ID of the DIV that you want to contain the flash object

function CreateFlashMovie(DivID,FlashID,FlashPath,VariableList){
	var oDiv=document.getElementById(DivID);
	var strHTML='';

	strHTML+='<object type="application/x-shockwave-flash" data="'+FlashPath+'?'+VariableList+'" id="'+FlashID+'">\n';
	strHTML+='<param name="movie" value="'+FlashPath+'?'+VariableList+'" />\n';
	strHTML+='<param name="quality" value="high" />\n';
	strHTML+='<param name="wmode" value="transparent" />\n';
	strHTML+='</object>\n';

	oDiv.innerHTML=strHTML;
}