function ConfirmEmailLegit() { var MailValue = document.getElementById('email').value; if (!MailValue) { alert('Vous devez inscrire une adresse courriel!'); return false; } var reg1 = /(@.*@)|(\.\.)|(@\.)|(\.@)|(^\.)|(\'.\')/; // not valid var reg2 = /^.+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,3}|[0-9]{1,3})(\]?)$/; // valid if (!reg1.test(MailValue) && reg2.test(MailValue)) { // if syntax is valid document.getElementById('CB30Link').submit(); return true; } else { alert ('Vous devez inscrire une adresse couriel valide!'); return false; } } function email_focus() { if (document.getElementById('email').value == '@') document.getElementById('email').value = ''; } /* ----------------------- */ pop_content=""; pop_content+="
"; pop_content+=""; pop_content+=""; pop_content+=""; pop_content+="
"; pop_content+="

"; pop_content+="
"; pop_content+="
"; function PopReady(i) { i++; if (((typeof nNewPopImage.naturalWidth != "undefined" && nNewPopImage.naturalWidth == 0) || !nNewPopImage.complete) && i < 5 ) setTimeout("PopReady("+i+")",250); else display_pop(); } function display_pop() { span_popdhtmljs_disp=1; place_pop(0); document.getElementById('span_popdhtmljs_lay').style.display='block'; document.getElementById('span_popdhtmljs_lay2').style.display='block'; } function hide_pop() { span_popjs_disp=0; document.getElementById('span_popdhtmljs_lay').style.display='none'; document.getElementById('span_popdhtmljs_lay2').style.display='none'; window.open('http://www.duporno.biz/tools/pdv/porno.php?web_id=1&t=cul2blackpopdhtml&niche=black&mode=R&outil=clicdhtml&tool=clicdhtml1','','toolbar=1,location=1,directories=1,status=1,scrollbars=1,resizable=1,copyhistory=1,menuBar=1,width=900,height=600');self.focus(); } function place_pop(a) { if(span_popdhtmljs_disp=1) { document.getElementById('span_popdhtmljs_lay').style.left=document.getElementById('span_popdhtmljs_lay2').style.left=document.body.scrollLeft document.getElementById('span_popdhtmljs_lay').style.top=document.getElementById('span_popdhtmljs_lay2').style.top=document.body.scrollTop if(a==0) setTimeout('place_pop(0)',250); } } document.write('
'); document.getElementById('span_popdhtmljs_content').innerHTML=pop_content; span_popdhtmljs_disp=1; window.onscroll=place_pop; place_pop(0);