/*------------------------------------------------------------------------
fonctions permettant de communiquer Flash et javascript
--------------------------------------------------------------------------*/

	var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the the FSCommand messages in a Flash movie

/*-----------------------------------------*/
/*---------------------Fonction Menu  ---------*/

function menu_DoFSCommand(commande, argument){
  	
  
	if ((commande == "biographie")&&(argument == "1"))
		{
		 window.open('ind_passion.htm',target='_parent');
		}
			
	if ((commande == "attelage")&&(argument == "1"))
		{
		window.open('Ind_attelage.htm',target='_parent');
		}
		
	if ((commande == "competition")&&(argument == "1"))
		{
		window.open('Ind_competition.htm',target='_parent');
		}
	if ((commande == "equipe")&&(argument == "1"))
		{
		window.open('Ind_equipe.htm',target='_parent');
		}
	if ((commande == "entrainement")&&(argument == "1"))
		{
		window.open('Ind_entrainement.htm',target='_parent');
		}
}

// 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 menu_FSCommand(ByVal command, ByVal args)\n');
	document.write('  call menu_DoFSCommand(command, args)\n');
	document.write('end sub\n');
	document.write('</SCRIPT\> \n');
}
/*-----------------------------------------*/

function MM_callJS(jsStr) { return eval(jsStr) }
