function RunFoo(swf, hauteur, largeur, couleur, nom) {
	document.write("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" width=\""+hauteur+"\" height=\""+largeur+"\" id=\""+nom+"\" align=\"middle\">\n");
	document.write("<param name=\"allowScriptAccess\" value=\"sameDomain\" />\n");
	document.write("<param name=\"movie\" value=\""+swf+"\" /><param name=\"quality\" value=\"high\" /><param name=\"bgcolor\" value=\""+couleur+"\" /><embed src=\""+swf+"\" quality=\"high\" bgcolor=\""+couleur+"\" width=\""+hauteur+"\" height=\""+largeur+"\" name=\""+nom+"\" align=\"middle\" allowScriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />\n");
	document.write("</object>\n");
}

// pour un flash en background
function RunFooBack(swf, hauteur, largeur, couleur, nom) {
	document.write('<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
	document.write('WIDTH="'+largeur+'" HEIGHT="'+hauteur+'"');
	document.write('CODEBASE="http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0">');
	document.write('<PARAM NAME="MOVIE" VALUE="'+swf+'">');
	document.write('<PARAM NAME="PLAY" VALUE="true">');
	document.write('<PARAM NAME="LOOP" VALUE="true">');
	document.write('<PARAM NAME="WMODE" VALUE="opaque">');
	document.write('<PARAM NAME="QUALITY" VALUE="high">');
	document.write('<EMBED SRC="'+swf+'" WIDTH="'+largeur+'" HEIGHT="'+hauteur+'" PLAY="true" LOOP="true" WMODE="opaque" QUALITY="high"');
	document.write('PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">');
	document.write('</EMBED>');
	document.write('</OBJECT>');
}