// fonction permettant ecrire flash
function flash_object(niveau, anim, width, height, texte){
	
	if(niveau == "1") url = "./";
	else if (niveau == "2") url = "../";
	else url = "./";
	
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+width+'" height="'+height+'">')
	document.write('<param name="movie" value="'+url+anim+'.swf?flashtexte4='+texte+'">')
	document.write('<param name="quality" value="high">')
	document.write('<embed src="'+url+anim+'.swf?flashtexte4='+texte+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+width+'" height="'+height+'">')
	document.write('</embed></object>')
}
