function init_(){
var CacheTexte_SUGGEST = new Object();
var texte_SUGGEST = new Object();
if ($('bt_SUGGEST')) $('bt_SUGGEST').replace('' + $('bt_SUGGEST').innerHTML + '');
CacheTexte_SUGGEST['label_SUGGEST_name']=$('label_SUGGEST_name').innerHTML;
CacheTexte_SUGGEST['label_SUGGEST_email']=$('label_SUGGEST_email').innerHTML;
CacheTexte_SUGGEST['label_SUGGEST_email']=$('label_SUGGEST_email').innerHTML;
CacheTexte_SUGGEST['label_SUGGEST_captcha']=$('label_SUGGEST_captcha').innerHTML;
CacheTexte_SUGGEST['label_SUGGEST_body']=$('label_SUGGEST_body').innerHTML;
//submit
Event.observe($('bt_SUGGEST'),'click',function(){
var isValid = true;
var tx = [];
if ($F('SUGGEST_name')=='' || $F('SUGGEST_name')==''){
isValid = false;
tx['label_SUGGEST_name'] = true;
texte_SUGGEST['label_SUGGEST_name'] = ' Ce champ est obligatoire';
}
var expr=new RegExp("[A-Za-z0-9]([-_.]?[A-Za-z0-9])*@[A-Za-z0-9]([-_.]?[A-Za-z0-9])*\.([a-z]{2,4})$");
if (!expr.test($F('SUGGEST_email'))){
isValid = false;
tx['label_SUGGEST_email'] = true;
texte_SUGGEST['label_SUGGEST_email'] = ' Cet e-mail ne semble pas valide';
}
if ($F('SUGGEST_email')=='' || $F('SUGGEST_email')==''){
isValid = false;
tx['label_SUGGEST_email'] = true;
texte_SUGGEST['label_SUGGEST_email'] = ' Ce champ est obligatoire';
}
if ($F('SUGGEST_captcha')=='' || $F('SUGGEST_captcha')==''){
isValid = false;
tx['label_SUGGEST_captcha'] = true;
texte_SUGGEST['label_SUGGEST_captcha'] = ' Ce champ est obligatoire';
}
if ($F('SUGGEST_body')=='' || $F('SUGGEST_body')==''){
isValid = false;
tx['label_SUGGEST_body'] = true;
texte_SUGGEST['label_SUGGEST_body'] = ' Ce champ est obligatoire';
}
for (key in texte_SUGGEST){
if($(key)){
$(key).update(CacheTexte_SUGGEST[key] + texte_SUGGEST[key]);
}
if (typeof (tx[key]) != 'undefined') texte_SUGGEST[key]='';
}
if (isValid) {
$('SUGGEST').submit();
}else{
}
});//fin
}