// JavaScript Document

function displayFlash(swf, largeur, hauteur, alternatif)
{
	document.write('<object type="application/x-shockwave-flash" data="'+swf+'" width="'+largeur+'" height="'+hauteur+'">');
	document.write('<param name="allowScriptAccess" value="sameDomain" />');
	document.write('<param name="movie" value="'+swf+'" />');
	
	if (alternatif !== "") { //si la variable alternatif contient qqch
		document.write('<img src=\"'+alternatif+'\" alt=\"\"/>');
	} else {
	document.write('<div class="noflash"><p>This content requires the Adobe Flash Player and a browser with JavaScript enabled.<br/><a href="http://www.adobe.com/go/getflash/" target="_blank">Click here to get Adobe Flash Player</a></p></div>');
	}
	document.write('</object>');
}
	