function INFO_NAV (){
	var tabInfo = new Array();
		tabInfo["surnom"]		= navigator.appCodeName; 	//surnom du navigateur
		tabInfo["nom"]			= navigator.appName; 		//nom officiel du navigateur
		tabInfo["version"]		= navigator.appVersion; 	//version du navigateur
		tabInfo["cookiesPerm"]	= navigator.cookieEnabled; 	//Cookies permis
		tabInfo["lang"]			= navigator.language; 		//langue du navigateur
		tabInfo["os"]			= navigator.platform; 		//plate-forme sur laquelle tourne le navigateur
		tabInfo["userAgent"]	= navigator.userAgent; 		//identification HTTP du navigateur
		return tabInfo;
}


function SUB_FORM(formulaire,name_action,value_action,debug){
  
	//===================  Action definit ====================

	switch(name_action){
		
		case("_self"):
			document.forms[formulaire].elements["action"].value=value_action;
		break;
		
	}//End switch(name_action)

	//===================  Debugeur ==========================
	if(debug == true ){
		var aff
		aff="\n";
		//document.forms[formulaire].elements["action"].value=value_action;
		aff= aff+"If name_action ="+name_action+" \nvalue_action ="+value_action+"\n";
		aff= aff+"nom: \""+document.forms[formulaire].elements["action"].name+"\" value :"+document.forms[formulaire].elements["action"].value+"  \n";
		for (var i=0; i<document.forms[formulaire].elements.length; i++) {
			aff= aff+" num= "+i+"  nom: \""+document.forms[formulaire].elements[i].name+"\" value :"+document.forms[formulaire].elements[i].value+"  \n";
		}	
		alert(aff);
	}//End if(debug == true )

	//===================  Soumission ========================
	document.forms[formulaire].submit();
}
//var tabInfo=INFO_NAV ();
//alert(tabInfo["surnom"]+"\n"+tabInfo["nom"]+"\n"+tabInfo["version"]+"\n"+tabInfo["cookiesPerm"]+"\n"+tabInfo["lang"]+"\n"+tabInfo["os"]+"\n"+tabInfo["userAgent"]);