/*

*/
RessourcesTextes.add([["all.entrez_telephone","Entrez votre numéro de téléphone"]]);
(function(){
var C= window.Carriere= window.PVP.Carriere= new function(){
function init(){}
$j(document).ready(function(){
$j(init);});
this.FE= this.FormulaireEmploi= new function(){
this.emploiPosted= function(){

$j("#emp_msg_envoi").hide();
$j("#emp_msg_succes").show();
$j("#frmEmploi :input").val("");
$j("#frmEmploi :checkbox").attr('checked', false);
};
this.soumettre= function(){
if(Carriere.FormulaireEmploi.validerForm()){
document.frmEmploi.submit()
$j("#frmEmploi fieldset").hide();
$j("#emp_msg_envoi").show();}};
this.validerForm= function(){
$j.clearMessages();
var siErreurs=false;
var nom= $j("#frmEmploi #nom").val();
var telephone= $j("#frmEmploi #telephone").val();
var regEmail= /^[a-z0-9]+([_|\.|-]{1}[a-z0-9]+)*@[a-z0-9]+([_|\.|-]­{1}[a-z0-9]+)*[\.]{1}[a-z]{2,6}$/;
var courriel= $j("#frmEmploi #courriel").val();
if(courriel!="" && regEmail.test(courriel)== false){
siErreurs=true;
$j("#frmEmploi .lbl-courriel").message(_TR("all.erreur.email_invalide","L'adresse email est invalide."));}
if(courriel==""){
siErreurs=true;
$j("#frmEmploi .lbl-courriel").message(_TR("all.entrez_courriel","Entrez votre courriel"));}
if(nom==""){
siErreurs=true;
$j("#frmEmploi .lbl-nom").message(_TR("all.entrez_nom","Entrez votre nom"));}
if(telephone==""){
siErreurs=true;
$j("#frmEmploi .lbl-telephone").message(_TR("all.entrez_telephone","Entrez votre numéro de téléphone"));}
return !siErreurs;}}};})();