// 									 \\
//***********************************\\
//  fonction menuSection(laSection)  \\
// 									 \\
//***********************************\\
// laSection :	nom de la page       \\
//-------------- 					 \\
// Cette fonction recois en paramètre\\
// le nom de la page et envoit de    \\
// l'information au flash. Il va     \\
// modifier la variable "section"    \\
// du flash et lui passer en         \\
// paramètre le nom de la page       \\
// contenu dans laSection.           \\
// 				     \\
//***********************************\\
// 									 \\
// Créé par : Guillaume Tremblay	 \\
// Date : 2006-08-29				 \\
// 									 \\
var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the FSCommand messages in a Flash movie.
function flashrealisation_DoFSCommand(command, args) {
	var flashrealisationObj = isInternetExplorer ? document.all.flashrealisation : document.flashrealisation;
	//
	// Place your code here.
	if (command == "showText") {
		document.getElementById("realizationText").innerHTML = args;
	}
	if (command == "showBigImg"){
		document.getElementById("realizationImg").innerHTML = "<img src='" + args + "'>";
	}
	//
}

// Hook for Internet Explorer.
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
	document.write('<script language=\"VBScript\"\>\n');
	document.write('On Error Resume Next\n');
	document.write('Sub flashrealisation_FSCommand(ByVal command, ByVal args)\n');
	document.write('	Call flashrealisation_DoFSCommand(command, args)\n');
	document.write('End Sub\n');
	document.write('</script\>\n');
}