<!--

function leapto(form) {
var myindex=form.dest.selectedIndex
window.location.href=(form.dest.options[myindex].value);
}

function right(e)
{ 
var msg = "Copyright 2008 CNIEL";
if (navigator.appName == 'Netscape' && e.which == 3)
{
alert(msg);
}
else if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2)
{
alert(msg);
return false;
}
return true;
}

function keyw() {
if (document.Synomia.mot.value=="") {
	alert("Veuillez indiquer un ou plusieurs mots-clés.");
	document.Synomia.mot.focus();
	return false;
	}
}

function syn() {
if (document.synomia.mot.value=="") {
	alert("Veuillez indiquer un ou plusieurs mots-clés.");
	document.synomia.mot.focus();
	return false;
	}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function leapto(form) {
var myindex=form.dest.selectedIndex
window.location.href=(form.dest.options[myindex].value);
}

function fiche()
{
alert("Lien vers le site web www.metiers-industries-alimentaires.com");
}

function formation()
{
alert("Lien externe vers un site d'information : onisep, educagri...");
}

function lexico()
{
alert("Lien vers le lexique des diplômes");
}

function cidil()
{
window.location.href="quisommesnous.htm";
}

function Friend()
{
alert("Envoi de l'adresse de la page web par e-mail");
}

function agefaforia()
{
alert("Lien vers le site de l'AGEFAFORIA");
}

function printclose(){

if (confirm('Vous pouvez maintenant fermer cette fenêtre.')) {self.close();}}

function printme()
{
if (window.print)
 {
 window.print();
 window.setTimeout("printclose()",7000);
 }
else
 {
 alert('Veuillez utiliser le bouton \"Imprimer\" dans la barre d\'outils ci-dessus.');
 } 
}

function faq()
{
window.location.href="faq.htm";
}

function EntWeb()
{
alert("Lien externe vers le site web de l'entreprise");
}

function contact()
{
alert("Ouverture de la page avec formulaire de contact");
}

function aidetech()
{
window.location.href="outils.htm";
}

function mentions()
{
window.location.href="mentions.htm";
}

function plan()
{
alert("Affichage du plan du site");
}

function links()
{
alert("Liste de liens utiles");
}

function AlertBox()
{
if(confirm("Souhaitez-vous effacer les informations saisies ?"))
	{
	document.ecrire.reset()
	}
}

// xizi counter
function xt_clic(typecl,section,page,url,nvlle)
{
//alert('s2='+section+' p='+page);
Xt_r = document.referrer;
Xt_h = new Date();
xt_img = new Image();
Xt_i = 'http://logi3.xiti.com/hit.xiti?s=181545&s2='+section;
Xt_i += '&p='+page+'&clic='+typecl+'&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;
if ((url != null)&&(url!=undefined))
{ if ((nvlle=='')||(nvlle==null)) { document.location = url;} else {xfen = window.open(url,'xfen',''); xfen.focus();}}
else
{return;}

}

//-->