<!--
// JavaScript Document
function PopUp(lien,nom,l,h) 
{
window.open(''+lien+'',''+nom+'','toolbar=0,location=0,directories=0,status=0,scrollbars=1,resizable=0,copyhistory=0,menuBar=0,width='+l+',height='+h+',leftmargin=0,topmargin=0 marginwidth=0 marginheight=0');return(false);
}
function CtrlUpdatePage(){
var a;
a = document.forms[0].elements[0].value;
if (a.length == 0)
{	
	window.alert ("Le champ Titre est obligatoire !");
	return false;
}	
a = document.forms[0].elements[1].value;
if (a.length == 0)
{	
	window.alert ("Le champ Texte est obligatoire !");
	return false;
}}
function CtrlMail(){
var a;
var i;
var b = "+/()0123456789:<>@;,";
var l = "[a-zA-Z-+/()\.\:]";
var t = "0123456789+.\/()"
var c;
a = document.forms[0].elements[0].value;
if (a.length == 0)
{	
	window.alert ("Veuillez saisir votre Nom !")
	return false;
}
a = document.forms[0].elements[1].value;
if (a.length == 0)
{	
	window.alert ("Veuillez saisir votre Prénom !")
	return false;
}
a = document.forms[0].elements[2].value;
if (a.length == 0)
	{	
	window.alert ("Veuillez saisir votre E-mail !")
	return false;
	}
	
a = document.forms[0].elements[2].value;
var at = a.indexOf("@",1);
var point = a.indexOf(".",at+1);
	if ((at==-1)||(a.length<6)||(point==-1))
		{
		alert("Votre adresse E-Mail est invalide !");
		return false;
		}
}
function CtrlCandidat(){
var a;
var i;
var b = "+/()0123456789:<>@;,";
var l = "[a-zA-Z-+/()\.\:]";
var t = "0123456789+.\/()"
var c;
a = document.forms[0].elements[0].value;
if (a.length == 0)
{	
	window.alert ("Veuillez saisir votre Prénom !")
	return false;
}
a = document.forms[0].elements[1].value;
if (a.length == 0)
{	
	window.alert ("Veuillez saisir votre Nom !")
	return false;
}
a = document.forms[0].elements[2].value;
if (a.length == 0)
	{	
	window.alert ("Veuillez saisir votre Adresse !")
	return false;
	}
a = document.forms[0].elements[3].value;
if (a.length==0)
	{	
	window.alert ("Veuillez saisir le N° Postal !")
	return false;
	}
if (isNaN(a))
	{	
	window.alert ("La saisie de votre N° Postal est incorrecte !")
	return false;
	}
a = document.forms[0].elements[4].value;
if (a.length == 0)
	{	
	window.alert ("Veuillez saisir la Ville !")
	return false;
	}
a = document.forms[0].elements[5].value;
if (a.length == 0)
{	
	window.alert ("Veuillez saisir votre N° de Téléphone ou de Natel!")
	return false;
}
a = document.forms[0].elements[8].value;
if (a.length == 0)
	{	
	window.alert ("Veuillez saisir votre E-mail !")
	return false;
	}
	
a = document.forms[0].elements[8].value;
var at = a.indexOf("@",1);
var point = a.indexOf(".",at+1);
	if ((at==-1)||(a.length<6)||(point==-1))
		{
		alert("Votre adresse E-Mail est invalide !");
		return false;
		}
}
function CtrlCde(){
var a;
var i;
var b = "+/()0123456789:<>@;,";
var l = "[a-zA-Z-+/()\.\:]";
var t = "0123456789+.\/()"
var c;
a = document.forms[0].elements[2].value;
if (a.length == 0)
{	
	window.alert ("Veuillez saisir votre Prénom !")
	return false;
}
a = document.forms[0].elements[3].value;
if (a.length == 0)
{	
	window.alert ("Veuillez saisir votre Nom !")
	return false;
}
a = document.forms[0].elements[4].value;
if (a.length == 0)
	{	
	window.alert ("Veuillez saisir votre Adresse !")
	return false;
	}
a = document.forms[0].elements[5].value;
if (a.length==0)
	{	
	window.alert ("Veuillez saisir le N° Postal !")
	return false;
	}
if (isNaN(a))
	{	
	window.alert ("La saisie de votre N° Postal est incorrecte !")
	return false;
	}
a = document.forms[0].elements[6].value;
if (a.length == 0)
	{	
	window.alert ("Veuillez saisir la Ville !")
	return false;
	}
a = document.forms[0].elements[7].value;
if (a.length == 0)
{	
	window.alert ("Veuillez saisir votre N° de Téléphone ou de Natel!")
	return false;
}
a = document.forms[0].elements[11].value;
if (a.length == 0)
	{	
	window.alert ("Veuillez saisir votre E-mail !")
	return false;
	}
	
a = document.forms[0].elements[11].value;
var at = a.indexOf("@",1);
var point = a.indexOf(".",at+1);
	if ((at==-1)||(a.length<6)||(point==-1))
		{
		alert("Votre adresse E-Mail est invalide !");
		return false;
		}
}
function CtrlUpdateContact(){
var a;
var i;
var b = "+/()0123456789:<>@;,";
var l = "[a-zA-Z-+/()\.\:]";
var t = "0123456789+.\/()"
var c;
a = document.forms[0].elements[0].value;
if (a.length == 0)
{	
	window.alert ("Veuillez saisir le Nom de votre Entreprise !");
	return false;
}	
a = document.forms[0].elements[1].value;
if (a.length == 0)
{	
	window.alert ("Veuillez saisir votre Prénom !")
	return false;
}
a = document.forms[0].elements[2].value;
if (a.length == 0)
{	
	window.alert ("Veuillez saisir votre Nom !")
	return false;
}
a = document.forms[0].elements[3].value;
if (a.length == 0)
	{	
	window.alert ("Veuillez saisir votre Adresse !")
	return false;
	}
a = document.forms[0].elements[4].value;
if (a.length==0)
	{	
	window.alert ("Veuillez saisir le N° Postal !")
	return false;
	}
if (isNaN(a))
	{	
	window.alert ("La saisie de votre N° Postal est incorrecte !")
	return false;
	}
a = document.forms[0].elements[5].value;
if (a.length == 0)
	{	
	window.alert ("Veuillez saisir la Ville !")
	return false;
	}
a = document.forms[0].elements[6].value;
if (a.length == 0)
{	
	window.alert ("Veuillez saisir votre N° de Téléphone !")
	return false;
}
a = document.forms[0].elements[7].value;
if (a.length == 0)
{	
	window.alert ("Veuillez saisir votre N° de Natel !")
	return false;
}
a = document.forms[0].elements[8].value;
if (a.length == 0)
{	
	window.alert ("Veuillez saisir votre N° de Fax !")
	return false;
}
a = document.forms[0].elements[9].value;
if (a.length == 0)
	{	
	window.alert ("Veuillez saisir votre E-mail !")
	return false;
	}
	
a = document.forms[0].elements[9].value;
var at = a.indexOf("@",1);
var point = a.indexOf(".",at+1);
	if ((at==-1)||(a.length<6)||(point==-1))
		{
		alert("Votre adresse E-Mail est invalide !");
		return false;
		}
}
function CtrlUpdateName(){
var a;
a = document.forms[0].elements[0].value;
if (a.length == 0)
{	
	window.alert ("Le champ Nom du Site est obligatoire !");
	return false;
}	
a = document.forms[0].elements[1].value;
if (a.length == 0)
{	
	window.alert ("Le champ Secteur d'Activités est obligatoire !");
	return false;
}
a = document.forms[0].elements[2].value;
if (a.length == 0)
{	
	window.alert ("Le champ Description du Site est obligatoire !");
	return false;
}	
a = document.forms[0].elements[3].value;
if (a.length == 0)
{	
	window.alert ("Le champ Mots-Clés est obligatoire !");
	return false;
}
}
function WinStat(){
window.defaultStatus = "siteXpress >>> Votre site internet dynamique pour 250.-- par an !";
}
function PopUp(lien,nom,l,h) 
{
window.open(''+lien+'',''+nom+'','toolbar=0,location=0,directories=0,status=0,scrollbars=1,resizable=0,copyhistory=0,menuBar=0,width='+l+',height='+h+',leftmargin=0,topmargin=0 marginwidth=0 marginheight=0');return(false);
}

//-->
