/*--------------------loadFlashIE.js-----------------------
Created 22.12.2006 by Laurent Jeanmonod
Last modified: 22.12.3006
Descripiton : write a Flash content (swf) in a page. Correct a bug with IE7, use this function when you have to load a flash content in a page
Parameters :
------------
src : path of the swf file to load
height : height of the swf file
width : width of the swf file
*/
function RunFlash(src,width,height)
{
   document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="'+width+'" height="'+height+'" align="middle">\n');
   document.write('<param name="allowScriptAccess" value="sameDomain" />\n');
   document.write('<param name="movie" value="'+src+'" />\n');
   document.write('<param name="loop" value="false" />\n');
   document.write('<param name="quality" value="high" />\n');
   document.write('<param name="wmode" value="transparent" />\n');
   document.write('<param name="bgcolor" value="#ffffff" />\n');  
   document.write('<embed src="'+src+'" loop="false" quality="high" wmode="transparent" bgcolor="#ffffff" width="'+width+'" height="'+height+'" name="menuprudence" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\n');
   document.write('</object>\n');
}
