<!--
function noclic(clic) {
	var mess="Droits de reproduction et de diffusion réservés\n© 2006 Centre France"; 
	if ((navigator.appName == 'Netscape' && clic.which==3) || (navigator.appName == 'Microsoft Internet Explorer' && event.button==2)) {
		alert(mess);
	}
}

function getconfirm() {
	if(confirm("Confirmez-vous l'effacement ?")) {
		return true;
	} else {
		return false;
	}
}

function popup_alert(msg) 
{
 alert(msg);
}

function JumpMenu(targ,selObj,restore, url){ //v3.0
  eval(targ+".location='"+url+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function Compteur_Texte(nTexte, nCompteur, nLimite) 
{
if (nTexte.value.length > nLimite) { nTexte.value = nTexte.value.substring(0, nLimite); alert('Vous ne pouvez insérer que '+nLimite+ ' caractères maximum');}
else{nCompteur.value = nLimite - nTexte.value.length;}
}

function mypopup(url, width, height)
{
window.open(url, 'crop', 'resizable=no, location=no, width='
						+width+', height='+height+', menubar=no, status=no, scrollbars=no, menubar=no');
}
function img_popup(fichier,w,h) {		
	ff=window.open(fichier,"galerie","left=10,top=10");			
	if(ff) {
		ff.focus() ;
		ff.resizeTo(w,h);
		}
	} 

// Formatage d'un champs mail
// <input type="text" name="nom" onKeypress="return valid_mail(event);">
function valid_mail(evt) {
	var keyCode = evt.which ? evt.which : evt.keyCode;
	var interdit = 'àâäãçéèêëìîïòôöõùûüñ &*?!:;,\t#~"^¨%$£?²¤§%*()[]{}<>|\\/`\'';
	if (interdit.indexOf(String.fromCharCode(keyCode)) >= 0) {
		return false;
	}
}
// -->