/* 
Make FLASH without the click to activate Flash Disruption / Anti !microsoft 
written out of utter necessity

To Use This Script:
Place an include in your <HEAD>:-    <script src="flash.js"></script>
Copy and paste this at your element position(including the <script> </script> tags) 
But replace the arguments with your own ('moviename', 'width', 'height', 'bgcolor', 'version');

<script>
EmbedFlash('title','100%','10%','000000','4,0,2,0');
</script>

This will display your flash elements as you originally intended, without the intervention of over zealous browsers.
There are other ways to browser hijack..

*/



function EmbedFlash(moviename, width, height, bgcolor, version) {
	document.write('<object align="middle" width="'+width+'" height="'+height+'" 		classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 		codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#'+version+'"><param name="QUALITY" 	value="high"><param name="SCALE" value="exactfit"><param name="menu" value="false"><param name="SRC" 		value="'+moviename+'.swf"><param name="SCALE" value="exactfit"><embed src="'+moviename+'.swf" width="'+width+'" 		height="'+height+'" bgcolor="#'+bgcolor+'" quality="high" align="middle" scale="exactfit" menu="false" 		pluginspage="http://www.macromedia.com/go/getflashplayer" 		type="application/x-shockwave-flash"></embed></object>');
}


//simply adds what you would place originally and as it includes the file, will run it properly, 
//till meecrosoft brake it align="middle"