/* Embeds a flash movie, bypassing the prompt in IE

Usage:

	<script type="text/javascript" src="js/ieflash.js"></script>
	<script type="text/javascript">
		embedFlash('slideshow.swf',484,398);
	</script>

*/
function embedFlash(swf,width,height){
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="'+width+'" height="'+height+'"><param name="movie" value="'+swf+'" /><param name="quality" value="high" /><embed src="'+swf+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+width+'" height="'+height+'"></embed></object>');
}

