//														copyright© nh2b-systemss 2001//--------------------------------------------------------------------------------//Description   ://					fonctions gŽnŽriques////Version       : V1.0//---------------//Creation Date : 22/02/2001//--------------- //Author        : NHB//---------------////--------------------------------------------------------------------------------//Modifications ://---------------//					05/03/2001	ajout fonction nhswitchLayer////var nhDebug =true;var nhAg = window.navigator.userAgent;var nhVers = parseInt(nhAg.charAt(nhAg.indexOf("/")+1),10);function nhIsIE() { return nhAg.indexOf("MSIE") > 0;}function nhLang() {	return window.navigator.language;}function nhDebugStatus(msg){	if (nhDebug) {		parent.status = msg; 	}}function nhDebugAlert(msg){	if (nhDebug) {		alert(msg); 	}}function nhswitchLayer(layer1,layer2) {	if (!nhIsIE()) {		document.layers[layer2].visibility = "visible";		document.layers[layer1].visibility = "hiden";	} else { 		document.all[layer2].style.visibility = "visible";		document.all[layer2].style.display = "table";		document.all[layer1].style.display = "none";		document.all[layer1].style.zIndex = 1;		document.all[layer2].style.zIndex = 10;		parent.status = "nhswitchLayer " + layer1 +" "+layer2;	}	}		function nhfilename(URL) {	test = new String(URL);	n = test.lastIndexOf("/") + 1;	m = test.lastIndexOf(".");	if (m > 0) {		m = test.length - m; 	}	fileName = test.substring(n,test.length - m);		return fileName;}function nhExtractPath(URL) {	test = new String(URL);	n = test.lastIndexOf("/")+1;	path = test.substring(0,n);		return path;}		