// Fix* for the IE Embedded Flash Issue - V1.1
// Copyright Wida Group Ltd
// by Matthew "Melek" Ellis
//
// Thanks go to Scott for his input re:css compliancy and accessibility
//
// Include me in your document Head (i.e. <script type="text/javascript" src="/scripts/ie_flash_fix.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+='</object>\n';

	oDiv.innerHTML=strHTML;
}

// * - not technically a fix but hey... no other browser has the issue
