// JavaScript Document
/*****************************************************************
* Flash Fix script
* Fixes embedded object activation issues in Internet Explorer
*****************************************************************/

flashfix = function() {
theObjects = document.getElementsByTagName("object");
for (var i = 0; i < theObjects.length; i++) {
theObjects[i].outerHTML = theObjects[i].outerHTML;
}
} 

//if (window.attachEvent)
//window.attachEvent("onload", flashfix)
//else
//window.onload=flashfix;


function flashFile(w,h,loc){
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+w+'" height="'+h+'">')
	document.write('<param name="movie" value="'+loc+'">')
	document.write('<param name="WMODE" value="transparent">')
	document.write('<param name=quality value=high>')
	document.write('<embed src="'+loc+'" width="'+w+'" height="'+h+'" quality=high wmode="transparent" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"></embed></object>')
}
