//Prevents the 'Click to Activate and use this Control' thingy

//Requires:
// - The ID of the html element in which the code will be written
// - The path to the .swf file
// - The width and height of the file
function flashFix(elementID, filePath, width, height)
{
		document.getElementById(elementID).innerHTML = 
		'<div><object type="application/x-shockwave-flash" data="' + filePath + '" width="' + width + '" height="' + height + '" >' +
        	'<param name="movie" value="' + filePath + '" />' +
        	'<param name="quality" value="high" />' +
			'<param name="loop" value="false" />' +
        '</object></div>';
}