function RunSwf(chemin,width,height,transparence,boucle)
{
    document.write('<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="0" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="'+width+'" height="'+height+'"> \n');
    document.write('<param name="movie" value="'+chemin+'" />\n');
    document.write('<param name="quality" value="High" />\n');
    document.write('<param name="wmode" value="'+transparence+'" />\n');
    document.write('<param name="loop" value="'+boucle+'" />\n');
    document.write('<embed src="'+chemin+'" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" wmode="'+transparence+'" width="'+width+'" height="'+height+'" quality="High" />\n');
    document.write('</object>\n');
}

function RunSwfV(chemin,width,height,transparence,boucle,variable)
{
    document.write('<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="0" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="'+width+'" height="'+height+'"> \n');
    document.write('<param name="movie" value="'+chemin+'" />\n');
    document.write('<param name="allowScriptAccess" value="always" />\n');
    document.write('<param name="quality" value="High" />\n');
    document.write('<param name="flashvars" value="'+variable+'" />');
    document.write('<param name="wmode" value="'+transparence+'" />\n');
    document.write('<param name="loop" value="'+boucle+'" />\n');
    document.write('<embed src="'+chemin+'" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" wmode="'+transparence+'" width="'+width+'" height="'+height+'" flashvars="'+variable+'" quality="High" />\n');
    document.write('</object>\n');
}


