function go_recherche()

{

	document.Frecherche.submit();

}



function verif_nb(valeur)



{



 if(isNaN(valeur) == true)



 {



  alert("Vous devez resaisir votre code postal car " + valeur + " n'est pas un code postal valide !");



  return false;



 }



 else return true;



}







function le_choix()



{



	ok=1;



	



	if (document.laforme.nom.value == "")



	{



		alert ("Vous devez saisir votre nom !");



		document.laforme.nom.focus();



		ok=0;



	}



	



	if ((document.laforme.prenom.value == "") && (ok==1))



	{



		alert ("Vous devez saisir votre prénom !");



		document.laforme.prenom.focus();



		ok=0;



	}



	



if ((document.laforme.profession.selectedIndex == 0) && (ok==1))



{



	alert ("Vous devez choisir une profession !");



	document.laforme.profession.focus();



	ok=0;



}



	



	if ((document.laforme.cp.value == "") && (ok==1))



	{



		alert ("Vous devez saisir votre code postal !");



		document.laforme.cp.focus();



		ok=0;



	}



	



	



	



	if ((!verif_nb (document.laforme.cp.value))  && (ok==1))



	{



		document.laforme.email.focus()



		ok = 0;



	}



	

		

		if ((document.laforme.cp.value.length < 5) && (ok==1))



	{



		alert ("Veuillez saisir un code postal comportant 5 caractères");



		document.laforme.cp.focus();



		ok=0;



	}

	





	



	if ((document.laforme.reglement.checked == false) && (ok==1))



	{



		alert("Veuillez approuver ci-dessous les conditions d'utilisation du site" );



		document.laforme.reglement.focus();



		ok=0;



	}







	



	if (ok==1) document.laforme.submit();







}











function pop_mentions(adr)



{



mentions = window.open(adr,"mentions",'scrollbars=1,screenX=10,screenY=10,status=0,location=0, menubar=0,toolbar=0,resizable=1,width=800,height=450');



}



















function pop_pt_fort(adr)



{



pt_fort = window.open(adr,"pt_fort",'scrollbars=1,screenX=10,screenY=10,status=0,location=0, menubar=0,toolbar=0,resizable=1,width=425,height=250');



}







function pop_anim(adr)



{



anim = window.open(adr,"anim",'scrollbars=1,screenX=10,screenY=10,status=0,location=0, menubar=0,toolbar=0,resizable=1,width=550,height=400');



}







function pop_part(adr)



{



pt_part = window.open(adr,"partenaires",'scrollbars=1,screenX=10,screenY=10,status=0,location=0, menubar=0,toolbar=0,resizable=0,width=425,height=600');



}







function pop_quizz(adr)



{



quizz = window.open(adr,"quizz",'scrollbars=1,screenX=10,screenY=10,status=0,location=0, menubar=0,toolbar=0,resizable=0,width=700, height=500');



}











function MM_reloadPage(init) {  //reloads the window if Nav4 resized



  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {



    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}



  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();



}



MM_reloadPage(true);







function MM_showHideLayers() { //v6.0



  var i,p,v,obj,args=MM_showHideLayers.arguments;



  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];



    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }



    obj.visibility=v; }



}







function MM_preloadImages() { 



  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();



    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)



    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}



}







function MM_findObj(n, d) { 



  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {



    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}



  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];



  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);



  if(!x && d.getElementById) x=d.getElementById(n); return x;



}







function MM_swapImage() { 



  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)



   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}



}











function MM_jumpMenu(targ,selObj,restore){ //v3.0



  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");



  if (restore) selObj.selectedIndex=0;



}







function MM_goToURL() { //v3.0



  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;



  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");



}











function MM_swapImgRestore() { 



  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;



}



















function go_list(index)



{



	T_url = eval(T1)



	if  (T_url[index] != "") document.location.href = "pays.php?id=" + T_url[index];



}







T1 = new Array("index.html","enjeux.html","enjeux1.html","enjeux2.html","enjeux3.html","enjeux4.html","enjeux5.html");



T2 = new Array("index.html","ce_quil_faut.html","ce_quil_faut1.html","ce_quil_faut2.html","ce_quil_faut3.html","ce_quil_faut4.html","ce_quil_faut5.html","ce_quil_faut6.html");



T3 = new Array("index.html","quefait.html","quefait1.html","quefait2.html","quefait3.html","quefait4.html","quefait5.html","quefait6.html");



T4 = new Array("index.html","liens_utiles.html","liens_utiles1.html","liens_utiles2.html","liens_utiles3.html","liens_utiles4.html","liens_utiles5.html","liens_utiles6.html","liens_utiles6.html");



