function OutGif(imgSrc) {
document.images[imgSrc].src = "/Fr/Images/"+ imgSrc + ".gif";
}

function OverGif(imgSrc) {
document.images[imgSrc].src = "/Fr/Images/"+ imgSrc + "_ov.gif";
}

function OutJpg(imgSrc) {
document.images[imgSrc].src = "Images/"+ imgSrc + ".jpg";
}

function OverJpg(imgSrc) {
document.images[imgSrc].src = "Images/"+ imgSrc + "_ov.jpg";
}

function popup(theURL,winName,features) {
window.open(theURL,winName,features);
}

function openThu(imgSrc) {

var OpenWindow=window.open("", "Image","width=660,height=520");
OpenWindow.document.write("<body link='#FFCC00' vlink='#FFCC00' alink='#FFCC00' text='#FFFFFF' bgcolor='#666666'>")
OpenWindow.document.write("<img src='Images/" + imgSrc + "_big.jpg'>")
OpenWindow.document.write("<br>")
OpenWindow.document.write("<center><a href='javascript:self.close()' target='_self'>Fermer</a></center>")
}

function checkmail(theForm) {

	<!-- Vérification du nom -->
	if (theForm.user_name.value == "")
	{
	theForm.user_error.value = "Veuillez entrer votre nom.";
	theForm.user_name.focus();
	return (false);
	}
	<!-- Vérification du email -->
	if (theForm.user_email.value == "")
	{
	theForm.user_error.value = "Veuillez entrer votre email.";
	theForm.user_email.focus();
	return (false);
	}
	var okEmail = theForm.user_email.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\..{2,2}))$)\b/gi);
	if (okEmail){
	ok = true;
	} else {
	theForm.user_error.value = "Veuillez entrer votre email.";
	theForm.user_email.focus();
	theForm.user_email.select();
	ok = false;
	return false;
	}
	<!-- Vérification du sujet -->
	if (theForm.user_subject.value == "")
	{
	theForm.user_error.value = "Veuillez entrer un sujet.";
	theForm.user_subject.focus();
	return (false);
	}
	<!-- Vérification du texte -->
	if (theForm.user_text.value == "")
	{
	theForm.user_error.value = "Veuillez écrire un message";
	theForm.user_text.focus();
	return (false);
	}
	<!-- Vérification du texte -->
	else
	{
	theForm.user_error.value = "Merci";
	}
} 

function browserDetect() {

	browser = navigator.appName
	ver = navigator.appVersion
	version = ver.substring(0,1)
	if (browser=="Netscape") {
	  if (version=="4")
	    document.location.href="shittybrowser.asp"
	}
}