function introFlash(fichier,largeur,hauteur)
{
	// Vérification du nombre d'arguments passés dans cette fonction
	if (arguments.length > 3)
		{
		var transparence  = arguments[3];
		if (arguments[4] == null) { version = 6 }
		else 
			{ version = arguments[4]; }

		if (arguments[5] == null) { link = '' }
			else
				{link = arguments[5] }

		}
		
	// BLOCS PRINCIPAUX
//	document.write('<div class="bloc_flash">');
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="hdr"');
	document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version="' + version + '.0.0.0" ');
	document.write(' width="' + largeur + '" height="' + hauteur + '">');
	document.write('<param name=movie value="' + fichier + '" />');
	document.write('<param name=menu value=false />');
	document.write('<param name=quality value=high />');
	if (transparence) { document.write('<param name="wmode" value="transparent" />');	}
	if (link != null) { document.write('<param name="FlashVars" value="lien=' + link + '" />');	}
	document.write('<embed src="' + fichier + '" quality=high');
	document.write(' width="' + largeur + '" height="' + hauteur + '" ');
	if (transparence) { document.write('wmode="transparent"');	}
//	if (link != null) { document.write(' FlashVars="lien=' + link + '"');}
	if (link != null) { document.write(' FlashVars="lien=' + link + '"');	}
	document.write(' type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">');
	document.write('</embed>');
	document.write('</object>');
//	document.write('</div>');
}

// FONCTION DE CENTRAGE HAUTEUR => A CAUSE DU COMPORTEMENT DE 'IE'
function getWindowHeight() {
	var windowHeight = 0;
	if (typeof(window.innerHeight) == 'number') {
		windowHeight = window.innerHeight;
	} else {
		if (document.documentElement && document.documentElement.clientHeight) {
			windowHeight = document.documentElement.clientHeight;
		} else {
			if (document.body && document.body.clientHeight)
			{
				windowHeight = document.body.clientHeight;
			}
		}
	}
	return windowHeight;
}



function toggle( targetId ){
if (document.getElementById){
target = document.getElementById( targetId );
	if (target.style.display == "none"){
	target.style.display = "";
	} else {
	target.style.display = "none";
	}
}
}
