function mailit(name,domain) {status="mailto:" + name + "@" + domain;locationstring = "mailto:" + name + "@" + domain;window.location = locationstring;}function checkEmail(myForm) {if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(myForm.email.value)){return (true);}alert("L'adresse courriel fournie est invalide!") ;               return (false);}/*   -------------------------------   *//* showhide.js - http://www.howtocreate.co.uk/jslibs/  *//* var myalternative = "LOCATION OF ALTERNATIVE PAGE, JUST IN CASE THEIR BROWSER DOESN'T GET IT RIGHT";  */window.onerror = null;      //initialise all variablesvar olddiv = 0;   //this will become a reference to the object that is being shown or was last shown; in all cases, the object that is shown/hidden will be a <div ..> elementfunction getRefToDivNest( divID, oDoc ) {	if( !oDoc ) { oDoc = document; }	if( document.layers ) {		if( oDoc.layers[divID] ) { return oDoc.layers[divID]; } else {			for( var x = 0, y; !y && x < oDoc.layers.length; x++ ) {				y = getRefToDivNest(divID,oDoc.layers[x].document); }			return y; } }	if( document.getElementById ) { return document.getElementById(divID); }	if( document.all ) { return document.all[divID]; }	return document[divID];}function showdiv(thisdiv) {	hidediv(); //this function shows the div; first, hide the last one; convert the name of the div into a reference to it. Basically, get a reference to the object	olddiv = getRefToDivNest(thisdiv);	if( !olddiv ) {		notifyFail();  //Nothing found. This browser is not compliant with any!		return;	}	if( olddiv.style ) {  //Make the object visible				olddiv.style.visibility = 'visible';  //DOM compliant	} else {		if( olddiv.visibility ) {			olddiv.visibility = 'show';  //Netscape and old versions of Mozilla compliant		} else {			notifyFail();  //Nothing found, no known way of changing the style			return;		}	}	divshown = 1;}function hidediv() {	if( olddiv ) {		if( olddiv.style ) {  //DOM compliant			olddiv.style.visibility = 'hidden';		} else {  //Netscape and old versions of Mozilla compliant			olddiv.visibility = 'hide';		}  //No need for else notifyFail(); if it was going to fail, it would have failed while it was being shown	}	olddiv = false;}function notifyFail() {  //oops, I guess nothing works in this browser	if( window.myalternative ) {		if( window.confirm( "You are having problems displaying some components of this page.\n"+			"\nWould you like to try the other page design?" ) ) { location.href = myalternative; }	} else {		window.alert( "You are having problems displaying some components of this page.\n\n"+			"Sorry, but there is not yet an alternative page." );	}}