function popup(url) {	window.open(url, "popup_mail", "directories=no,location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no,width=550,height=350");}function mentions(url, largeur, hauteur){	window.open(url, "popup_mail", "directories=no,location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no,width="+largeur+",height="+hauteur);	}// FONCTION XITI POUR COMPTER LES PAGES FLASHfunction xt_flash(typefl,page) {	Xt_r = document.referrer;	Xt_h = new Date();	xt_img = new Image();	Xt_i = 'http://logi8.xiti.com/hit.xiti?s=191361';	Xt_i += '&p='+page+'&type='+typefl+'&hl=' + Xt_h.getHours() + 'x' + Xt_h.getMinutes() + 'x' + Xt_h.getSeconds();	if(parseFloat(navigator.appVersion)>=4) {		Xiti_s=screen;Xt_i += '&r=' + Xiti_s.width + 'x' + Xiti_s.height + 'x' + Xiti_s.pixelDepth + 'x' + Xiti_s.colorDepth;	}	Xt_i += '&ref=' + Xt_r.replace(/[<>"]/g, '').replace(/&/g, '$');	xt_img.src = Xt_i;	return;}// FONCTION NOSSTATS POUR COMPTER LES PAGES FLASHfunction nosstats_ovh(nom_site, nom_vue) {	heure = new Date();	image = new Image();	source = 'http://w4-web235.nordnet.fr/nosstats/hit2.php?website=' + nom_site + '&nom_vue=' + nom_vue + '&appel=img';	source += '&dummy=' + heure.getHours() + 'h' + heure.getMinutes() + 'mn' + heure.getSeconds();	image.src = source;	return;}// Flash Version Detector  v1.1.5// http://www.dithered.com/javascript/flash_detect/index.html// code by Chris Nott (chris@NOSPAMdithered.com - remove NOSPAM)// with VBScript code from Alastair Hamiltonvar flashVersion = 0;function getFlashVersion() {	var agent = navigator.userAgent.toLowerCase(); 	   // NS3 needs flashVersion to be a local variable   if (agent.indexOf("mozilla/3") != -1 && agent.indexOf("msie") == -1) {      flashVersion = 0;   }   	// NS3+, Opera3+, IE5+ Mac (support plugin array):  check for Flash plugin in plugin array	if (navigator.plugins != null && navigator.plugins.length > 0) {		var flashPlugin = navigator.plugins['Shockwave Flash'];		if (typeof flashPlugin == 'object') { 			if (flashPlugin.description.indexOf('10.') != -1) flashVersion = 10;			else if (flashPlugin.description.indexOf('9.') != -1) flashVersion = 9;			else if (flashPlugin.description.indexOf('8.') != -1) flashVersion = 8;			else if (flashPlugin.description.indexOf('7.') != -1) flashVersion = 7;			else if (flashPlugin.description.indexOf('6.') != -1) flashVersion = 6;			else if (flashPlugin.description.indexOf('5.') != -1) flashVersion = 5;			else if (flashPlugin.description.indexOf('4.') != -1) flashVersion = 4;			else if (flashPlugin.description.indexOf('3.') != -1) flashVersion = 3;		}	}	// IE4+ Win32:  attempt to create an ActiveX object using VBScript	else if (agent.indexOf("msie") != -1 && parseInt(navigator.appVersion) >= 4 && agent.indexOf("win")!=-1 && agent.indexOf("16bit")==-1) {	   document.write('<scr' + 'ipt language="VBScript"\> \n');		document.write('on error resume next \n');		document.write('dim obFlash \n');		document.write('set obFlash = CreateObject("ShockwaveFlash.ShockwaveFlash.10") \n');		document.write('if IsObject(obFlash) then \n');		document.write('flashVersion = 10 \n');		document.write('else set obFlash = CreateObject("ShockwaveFlash.ShockwaveFlash.9") end if \n');		document.write('if flashVersion < 10 and IsObject(obFlash) then \n');		document.write('flashVersion = 9 \n');		document.write('else set obFlash = CreateObject("ShockwaveFlash.ShockwaveFlash.8") end if \n');		document.write('if flashVersion < 9 and IsObject(obFlash) then \n');		document.write('flashVersion = 8 \n');		document.write('else set obFlash = CreateObject("ShockwaveFlash.ShockwaveFlash.7") end if \n');		document.write('if flashVersion < 8 and IsObject(obFlash) then \n');		document.write('flashVersion = 7 \n');		document.write('else set obFlash = CreateObject("ShockwaveFlash.ShockwaveFlash.6") end if \n');		document.write('if flashVersion < 7 and IsObject(obFlash) then \n');		document.write('flashVersion = 6 \n');		document.write('else set obFlash = CreateObject("ShockwaveFlash.ShockwaveFlash.5") end if \n');		document.write('if flashVersion < 6 and IsObject(obFlash) then \n');		document.write('flashVersion = 5 \n');		document.write('else set obFlash = CreateObject("ShockwaveFlash.ShockwaveFlash.4") end if \n');		document.write('if flashVersion < 5 and IsObject(obFlash) then \n');		document.write('flashVersion = 4 \n');		document.write('else set obFlash = CreateObject("ShockwaveFlash.ShockwaveFlash.3") end if \n');		document.write('if flashVersion < 4 and IsObject(obFlash) then \n');		document.write('flashVersion = 3 \n');		document.write('end if');		document.write('</scr' + 'ipt\> \n');  }			// WebTV 2.5 supports flash 3	else if (agent.indexOf("webtv/2.5") != -1) flashVersion = 3;	// older WebTV supports flash 2	else if (agent.indexOf("webtv") != -1) flashVersion = 2;	// Can't detect in all other cases	else {		flashVersion = -1;	}	return flashVersion;}//Fonction pour le jeu de Benfunction PleinEcran(url){ 	var version ; 	version = parseInt(navigator.appVersion); 		if (navigator.appName.indexOf('Netscape') == -1) { 		browser = 'IE'; 	} else { 		browser = 'Netscape'; 	}		if (navigator.userAgent.indexOf('Win') == -1) { 		plateForme = 'Macintosh'; 	} else { 		plateForme = 'Windows'; 	}		if ((plateForme == 'Windows') && (browser == 'IE')) { 		var fenetre = window.open(url, "fenetreFull", "fullscreen=yes", "scrollbars=no"); 		fenetre.moveTo(0,0); 		fenetre.resizeBy(16,0); 	} else { 		if (plateForme == 'Windows') { 			if (browser == 'Netscape') { 				var decalLargeur = -12; 				var decalHauteur = 0; 				var largeurEcran = screen.availWidth + decalLargeur; 				var hauteurEcran = screen.availHeight + decalHauteur; 				var fenetre = window.open(url,"titre","width=" + largeurEcran + ",height=" +hauteurEcran); 				fenetre.moveTo(0 - decalLargeur,0 - decalHauteur); 			}	 		} else { 			if (plateForme == 'Macintosh') { 				if (browser == 'Netscape') { 					var decalLargeur = -10; 					var decalHauteur = -30; 					var largeurEcran = screen.availWidth + decalLargeur; 					var hauteurEcran = screen.availHeight + decalHauteur; 					var fenetre = window.open(url,"titre","width=" + largeurEcran + ",height=" +hauteurEcran); 					fenetre.moveTo(0,0); 				} 				if (browser == 'IE') { 					var decalLargeur = 0; 					var decalHauteur = 0; 					var largeurEcran = screen.availWidth + decalLargeur; 					var hauteurEcran = screen.availHeight + decalHauteur; 					var fenetre = window.open(url,"titre"); 					fenetre.moveTo(0,0); 					fenetre.resizeTo(largeurEcran,hauteurEcran); 				} 			} 		} 	} } 