window.onload=function(){document.body.style.overflowX='hidden';}
var $jq=jQuery.noConflict();var RecaptchaOptions={lang:'fr',theme:'white',tabindex:9};function aleo_champ_validator(texte,reponse,filtre)
{if(filtre=="nom")var filter=/^[a-zéèêâàîìôòùûëäïöüç&]+[a-zéèêâàîìôòùûëäïöüç&\'\-\. ]*[a-zéèêâàîìôòùûëäïöüç&]*$/i;else if(filtre=="login")var filter=/^([a-z0-9]+[\-_\.]{0,1}[a-z0-9]+)*$/i;else if(filtre=="email")var filter=/^[a-z0-9]+[a-z0-9\-_\.]*\@{1}[a-z0-9\-_\.]+\.{1}[a-z]{1,4}$/i;else if(filtre=="tel")var filter=/^(([0-9]{2}|[+0-9]{2,5}|[0-9]{2,6})(\.| )[0-9]{2}(\.| )[0-9]{2}(\.| )[0-9]{2}(\.| )[0-9]{2})|([+0-9]{10,13})$/;else if(filtre=="date_naissance")var filter=/^[0-9]{2}\/[0-9]{2}\/[0-9]{4}$/;else if(filtre=="url")var filter=/^(http:\/\/|www\.)+[a-z0-9\-_\.,?=+#~]+\.{1}[a-z]{1,4}$/i;else if(filtre=="champ")var filter=/^[^\<\>]*$/;else if(filtre=="num")var filter=/^[0-9]*$/;else if(filtre=="codep")var filter=/^[0-9\-]+$/;else if(filtre=="password")var filter=/^[^\<\>]{6,50}$/;else if(filtre=="hostname")var filter=/^[a-z0-9\-_\.]{3,25}$/i;else if(filtre=="name")var filter=/^[^\<\>\'\"\|\\/]{3,50}$/;else if(filtre=="pcw")var filter=/^[^\<\>\'\"\|\\/]{3,50}$/;if(!filter.test(texte))
document.getElementById(reponse).innerHTML='<img src="images/icons/error.png" alt="error" />';else
document.getElementById(reponse).innerHTML='<img src="images/icons/valid.png" alt="valid" />';}
function getXhr(){var xhr=null;if(window.XMLHttpRequest){xhr=new XMLHttpRequest();if(xhr.overrideMimeType){xhr.overrideMimeType('text/html; charset=utf-8');}}
else if(window.ActiveXObject){try{xhr=new ActiveXObject("Msxml2.XMLHTTP");}
catch(e){xhr=new ActiveXObject("Microsoft.XMLHTTP");}}
else{alert("Votre navigateur ne supporte pas les objets XMLHTTPRequest...");xhr=false;}
return xhr;}
function verif_numeric(variable){var exp=new RegExp("^[0-9]+$","g");return exp.test(variable);}
$jq(document).ready(function(){$jq("#boutique_reset").click(function(){$jq("#combo_slots").removeAttr("disabled");$jq("#combo_jours").removeAttr("disabled");$jq("#boutique_servers_slots_id").removeAttr("disabled");$jq("#boutique_servers_jours_id").removeAttr("disabled");});});function boutique_reset_button(type)
{if(type=="server")
{if(document.getElementById('divcombo_gchoix'))
document.getElementById('divcombo_gchoix').innerHTML="<img class='divcombo_pic1' src='images/icons/jeux/bf2.png' alt='bf2' /> Battlefield 2";if(document.getElementById('boutique_price'))
document.getElementById('boutique_price').innerHTML="17.5";}
if(type=="vocal")
{if(document.getElementById('divcombo_gchoix'))
document.getElementById('divcombo_gchoix0').innerHTML="<img class='divcombo_pic1' src='images/icons/ts.png' alt='TeamSpeak' /> TeamSpeak";if(document.getElementById('boutique_price'))
document.getElementById('boutique_price').innerHTML="2.4";}
if(type=="web")
{if(document.getElementById('boutique_price'))
document.getElementById('boutique_price').innerHTML="1";}}
function ajax_over(id)
{$jq("#ajax_blocki"+id).addClass("ajax_logo2");if(id==1)
{$jq("#ajax_picture_1").css("display","block");$jq("#ajax_picture_2").css("display","none");$jq("#ajax_picture_3").css("display","none");$jq("#ajax_picture_4").css("display","none");}
if(id==2)
{$jq("#ajax_picture_1").css("display","none");$jq("#ajax_picture_2").css("display","block");$jq("#ajax_picture_3").css("display","none");$jq("#ajax_picture_4").css("display","none");}
if(id==3)
{$jq("#ajax_picture_1").css("display","none");$jq("#ajax_picture_2").css("display","none");$jq("#ajax_picture_3").css("display","block");$jq("#ajax_picture_4").css("display","none");}
if(id==4)
{$jq("#ajax_picture_1").css("display","none");$jq("#ajax_picture_2").css("display","none");$jq("#ajax_picture_3").css("display","none");$jq("#ajax_picture_4").css("display","block");}}
function ajax_out(id)
{$jq("#ajax_blocki"+id).removeClass("ajax_logo2");}
function divcombo(id){if(document.getElementById(id).style.display=="block")
$jq("#"+id).css("display","none");else
$jq("#"+id).css("display","block");}
function divcombo_over(id){$jq("#"+id).css("background-color","#fba51d");}
function divcombo_out(id){$jq("#"+id).css("background-color","#ffffff");}
function divcombo_selected(id,jeu,combo,choix){document.getElementById("game").value=id;$jq("#"+combo).css("display","none");document.getElementById(choix).innerHTML="<img class='divcombo_pic1' src='images/icons/jeux/"+id+".png' alt='"+jeu+"' /> "+jeu;boutique_price_calculator();}
function combos_off(){$jq("#boutique_servers_slots_id").change(function(){$jq("#combo_slots").attr("disabled","disabled");});$jq("#boutique_servers_jours_id").change(function(){$jq("#combo_jours").attr("disabled","disabled");});$jq("#combo_slots").change(function(){$jq("#boutique_servers_slots_id").attr("disabled","disabled");});$jq("#combo_jours").change(function(){$jq("#boutique_servers_jours_id").attr("disabled","disabled");});}
function boutique_max(slots,max,element){if((slots>max)||(!verif_numeric(slots))&&(slots!=""))
{var element="boutique_servers_"+element+"_id";document.getElementById(element).value=max;}
var element3="boutique_servers_"+element+"_id";if(element=="slots"&&document.getElementById("game").value=="web"&&slots<1024&&slots!="")
document.getElementById(element3).value=1024;if(element=="slots"&&document.getElementById("game").value!="web"&&slots<2&&slots!="")
document.getElementById(element3).value=2;if(element=="jours"&&document.getElementById("game").value=="web"&&slots<31&&slots!="")
document.getElementById(element3).value=31;if(element=="jours"&&document.getElementById("game").value!="web"&&slots<7&&slots!="")
document.getElementById(element3).value=7;if(slots=="")
{$jq("#boutique_servers_slots_id").change(function(){$jq("#combo_slots").removeAttr("disabled");});$jq("#boutique_servers_jours_id").change(function(){$jq("#combo_jours").removeAttr("disabled");});}}
function boutique_price_calculator(){if(document.getElementById("boutique_servers_slots_id").value==""&&document.getElementById("boutique_servers_jours_id").value=="")
{slots=document.getElementById("combo_slots").value;jours=document.getElementById("combo_jours").value;}
if((document.getElementById("combo_slots").disabled==true&&document.getElementById("combo_jours").disabled==true)||((document.getElementById("combo_slots").disabled==false||document.getElementById("combo_jours").disabled==false)&&document.getElementById("boutique_servers_jours_id").value==""&&document.getElementById("boutique_servers_slots_id").value!="")||((document.getElementById("combo_slots").disabled==false||document.getElementById("combo_jours").disabled==false)&&document.getElementById("boutique_servers_jours_id").value!=""&&document.getElementById("boutique_servers_slots_id").value!=""))
{if(document.getElementById("boutique_servers_slots_id").value!=""&&document.getElementById("boutique_servers_jours_id").value!="")
{slots=document.getElementById("boutique_servers_slots_id").value;jours=document.getElementById("boutique_servers_jours_id").value;}}
if(document.getElementById("boutique_servers_slots_id").value!=""&&document.getElementById("boutique_servers_jours_id").value==""||(document.getElementById("boutique_servers_slots_id").value!=""&&document.getElementById("boutique_servers_jours_id").value==""&&document.getElementById("combo_slots").disabled==true))
{slots=document.getElementById("boutique_servers_slots_id").value;jours=document.getElementById("combo_jours").value;}
if(document.getElementById("boutique_servers_slots_id").value==""&&document.getElementById("boutique_servers_jours_id").value!=""||(document.getElementById("boutique_servers_slots_id").value==""&&document.getElementById("boutique_servers_jours_id").value!=""&&document.getElementById("combo_jours").disabled==true))
{slots=document.getElementById("combo_slots").value;jours=document.getElementById("boutique_servers_jours_id").value;}
var jeu=document.getElementById("game").value;var promotion=document.getElementById("boutique_promotion").value;var type=document.getElementById("combo_type").value;if(jeu=="l4d"||jeu=="l4d2")
{if(slots<=4)
{slots=4;document.getElementById("combo_slots").value=4;document.getElementById("boutique_servers_slots_id").disabled="disabled";}
else
{slots=8;document.getElementById("combo_slots").value=8;document.getElementById("boutique_servers_slots_id").disabled="disabled";}}
var xhr=getXhr();xhr.onreadystatechange=function()
{if(xhr.readyState==4&&xhr.status==200)
{document.getElementById('boutique_price').innerHTML=xhr.responseText;document.getElementById('input_boutique_price').value=xhr.responseText;}}
xhr.open("GET","includes/ajax/ajax_price.php?jeu="+escape(jeu)+"&slots="+escape(slots)+"&jours="+escape(jours)+"&promotion="+escape(promotion)+"&type="+escape(type),true);xhr.send(null);}
function add_to_panier(pack,game,slots,jours,promotion,type,prix,nombre){var xhr=getXhr();xhr.onreadystatechange=function()
{if(xhr.readyState==4&&xhr.status==200)
{document.getElementById('boutique_confirmation').innerHTML=xhr.responseText;}}
xhr.open("GET","includes/ajax/ajax_panier.php?pack="+escape(pack)+"&game="+escape(game)+"&slots="+escape(slots)+"&jours="+escape(jours)+"&promotion="+escape(promotion)+"&type="+escape(type)+"&prix="+escape(prix),true);xhr.send(null);var xhr2=getXhr();xhr2.onreadystatechange=function()
{if(xhr2.readyState==4&&xhr2.status==200)
{document.getElementById('panier_text1').innerHTML=xhr2.responseText;}}
xhr2.open("GET","includes/ajax/ajax_panier.php?nombre="+escape(nombre)+"&nombre1=1",true);xhr2.send(null);}
function panier_annuler(id){var xhr=getXhr();xhr.onreadystatechange=function()
{if(xhr.readyState==4&&xhr.status==200)
{document.getElementById('panier_ajax_informations').innerHTML=xhr.responseText;}}
xhr.open("GET","includes/ajax/ajax_panier.php?annuler="+escape(id),true);xhr.send(null);}
function panier_annuler_prix(prix,prixtotal){prixtotal-=prix;var xhr=getXhr();xhr.onreadystatechange=function()
{if(xhr.readyState==4&&xhr.status==200)
{document.getElementById('panier_liste_bas4').innerHTML=xhr.responseText;}}
xhr.open("GET","includes/ajax/ajax_panier.php?newprix="+escape(prixtotal)+"&newprix1=1",true);xhr.send(null);}
function panier_annuler_nombre(nombre){panier=nombre-1;var xhr=getXhr();xhr.onreadystatechange=function()
{if(xhr.readyState==4&&xhr.status==200)
{document.getElementById('panier_text1').innerHTML=xhr.responseText;}}
xhr.open("GET","includes/ajax/ajax_panier.php?newpanier="+escape(panier)+"&newpanier1=1",true);xhr.send(null);}
function panier_select_com(id,id2,jeu,slots,jours,type){var newpromo=document.getElementById(id2).value;var newjeu="images/icons/jeux/large_"+jeu+".png";if(newpromo)document.getElementById("panier_codepromo").value=newpromo;document.getElementById("panier_imgid").src=newjeu;document.getElementById("input_panier_promoselect1").value=id;$jq("#"+id+"x").animate({"opacity":"toggle"},150,function()
{$jq("#"+id+"x").animate({"opacity":"toggle"},150);});if(newpromo)$jq("#panier_promo_display").animate({marginTop:"0.338in"},500);else $jq("#panier_promo_display").animate({marginTop:"-0.338in"},600);}
function commander_navigation(page){switch(page)
{case"-1":{document.getElementById("panier_progress_icons_id_1").src="images/panier/caddie2.png";document.getElementById("panier_progress_icons_id_2").src="images/panier/maison1.png";document.getElementById("panier_progress_icons_id_3").src="images/panier/paye1.png";document.getElementById("panier_progress_icons_id_4").src="images/panier/valid1.png";$jq(".panier_progress_txt1").css("font-weight","bold");$jq(".panier_progress_txt2").css("font-weight","normal");$jq(".panier_progress_txt3").css("font-weight","normal");$jq(".panier_progress_txt4").css("font-weight","normal");$jq(".panier_progress_barre2").removeClass("panier_progress_barre2");$jq(".panier_progress_barre2").addClass("panier_progress_barre1");$jq("#commander_page_id_1").fadeIn("slow");$jq("#commander_page_id_1").css("display","block");$jq("#commander_page_id_2").css("display","none");$jq("#commander_page_id_3").css("display","none");$jq("#commander_page_id_4").css("display","none");break;}
case"+2":{document.getElementById("panier_progress_icons_id_1").src="images/panier/caddie1.png";document.getElementById("panier_progress_icons_id_2").src="images/panier/maison2.png";document.getElementById("panier_progress_icons_id_3").src="images/panier/paye1.png";document.getElementById("panier_progress_icons_id_4").src="images/panier/valid1.png";$jq(".panier_progress_txt1").css("font-weight","normal");$jq(".panier_progress_txt2").css("font-weight","bold");$jq(".panier_progress_txt3").css("font-weight","normal");$jq(".panier_progress_txt4").css("font-weight","normal");$jq(".panier_progress_barre1").addClass("panier_progress_barre2");$jq("#commander_page_id_2").fadeIn("slow");$jq("#commander_page_id_1").css("display","none");$jq("#commander_page_id_2").css("display","block");$jq("#commander_page_id_3").css("display","none");$jq("#commander_page_id_4").css("display","none");break;}
case"+3":{var valid7=document.getElementById('ins_validdd7').value;var valid8=document.getElementById('ins_validdd8').value;var valid9=document.getElementById('ins_validdd9').value;var valid10=document.getElementById('ins_validdd10').value;var valid11=document.getElementById('ins_validdd11').value;var valid12=document.getElementById('ins_validdd12').value;var valid13=document.getElementById('infos_persos_checkid2').value;if(valid7==3&&valid8==3&&valid9==3&&valid10==3&&valid11==3&&valid12==3&&valid13=="ON")
{var xhr5=getXhr();xhr5.onreadystatechange=function()
{if(xhr5.readyState==4&&xhr5.status==200)
{document.getElementById('commander_the_paiementliste').innerHTML=xhr5.responseText;}}
xhr5.open("GET","includes/ajax/ajax_commander.php?payer=1",true);xhr5.send(null);document.getElementById("panier_progress_icons_id_1").src="images/panier/caddie1.png";document.getElementById("panier_progress_icons_id_2").src="images/panier/maison1.png";document.getElementById("panier_progress_icons_id_3").src="images/panier/paye2.png";document.getElementById("panier_progress_icons_id_4").src="images/panier/valid1.png";$jq(".panier_progress_txt1").css("font-weight","normal");$jq(".panier_progress_txt2").css("font-weight","normal");$jq(".panier_progress_txt3").css("font-weight","bold");$jq(".panier_progress_txt4").css("font-weight","normal");$jq(".panier_progress_barre2").addClass("panier_progress_barre3");$jq("#commander_page_id_3").fadeIn("slow");$jq("#commander_page_id_1").css("display","none");$jq("#commander_page_id_2").css("display","none");$jq("#commander_page_id_3").css("display","block");$jq("#commander_page_id_4").css("display","none");}
break;}
case"+4":{document.getElementById("panier_progress_icons_id_1").src="images/panier/caddie1.png";document.getElementById("panier_progress_icons_id_2").src="images/panier/maison1.png";document.getElementById("panier_progress_icons_id_3").src="images/panier/paye1.png";document.getElementById("panier_progress_icons_id_4").src="images/panier/valid2.png";$jq(".panier_progress_txt1").css("font-weight","normal");$jq(".panier_progress_txt2").css("font-weight","normal");$jq(".panier_progress_txt3").css("font-weight","normal");$jq(".panier_progress_txt4").css("font-weight","bold");$jq(".panier_progress_barre3").addClass("panier_progress_barre4");$jq("#commander_page_id_4").fadeIn("slow");$jq("#commander_page_id_1").css("display","none");$jq("#commander_page_id_2").css("display","none");$jq("#commander_page_id_3").css("display","none");$jq("#commander_page_id_33").css("display","none");$jq("#commander_page_id_4").css("display","block");break;}
case"-3":{document.getElementById("panier_progress_icons_id_1").src="images/panier/caddie1.png";document.getElementById("panier_progress_icons_id_2").src="images/panier/maison1.png";document.getElementById("panier_progress_icons_id_3").src="images/panier/paye2.png";document.getElementById("panier_progress_icons_id_4").src="images/panier/valid1.png";$jq(".panier_progress_txt1").css("font-weight","normal");$jq(".panier_progress_txt2").css("font-weight","normal");$jq(".panier_progress_txt3").css("font-weight","bold");$jq(".panier_progress_txt4").css("font-weight","normal");$jq(".panier_progress_barre4").removeClass("panier_progress_barre4");$jq(".panier_progress_barre4").addClass("panier_progress_barre3");$jq("#commander_page_id_3").fadeIn("slow");$jq("#commander_page_id_1").css("display","none");$jq("#commander_page_id_2").css("display","none");$jq("#commander_page_id_3").css("display","block");$jq("#commander_page_id_33").css("display","block");$jq("#commander_page_id_4").css("display","none");break;}
case"-2":{document.getElementById("panier_progress_icons_id_1").src="images/panier/caddie1.png";document.getElementById("panier_progress_icons_id_2").src="images/panier/maison2.png";document.getElementById("panier_progress_icons_id_3").src="images/panier/paye1.png";document.getElementById("panier_progress_icons_id_4").src="images/panier/valid1.png";$jq(".panier_progress_txt1").css("font-weight","normal");$jq(".panier_progress_txt2").css("font-weight","bold");$jq(".panier_progress_txt3").css("font-weight","normal");$jq(".panier_progress_txt4").css("font-weight","normal");$jq(".panier_progress_barre3").removeClass("panier_progress_barre3");$jq(".panier_progress_barre3").addClass("panier_progress_barre2");$jq("#commander_page_id_2").fadeIn("slow");$jq("#commander_page_id_1").css("display","none");$jq("#commander_page_id_2").css("display","block");$jq("#commander_page_id_3").css("display","none");$jq("#commander_page_id_4").css("display","none");break;}
default:{document.getElementById("panier_progress_icons_id_1").src="images/panier/caddie2.png";document.getElementById("panier_progress_icons_id_2").src="images/panier/maison1.png";document.getElementById("panier_progress_icons_id_3").src="images/panier/paye1.png";document.getElementById("panier_progress_icons_id_4").src="images/panier/valid1.png";$jq(".panier_progress_txt1").css("font-weight","bold");$jq(".panier_progress_txt2").css("font-weight","normal");$jq(".panier_progress_txt3").css("font-weight","normal");$jq(".panier_progress_txt4").css("font-weight","normal");$jq(".panier_progress_barre3").removeClass("panier_progress_barre3");$jq(".panier_progress_barre2").removeClass("panier_progress_barre2");$jq(".panier_progress_barre4").removeClass("panier_progress_barre4");$jq(".panier_progress_barre4").addClass("panier_progress_barre1");$jq(".panier_progress_barre3").addClass("panier_progress_barre1");$jq(".panier_progress_barre2").addClass("panier_progress_barre1");$jq("#commander_page_id_1").fadeIn("slow");$jq("#commander_page_id_1").css("display","block");$jq("#commander_page_id_2").css("display","none");$jq("#commander_page_id_3").css("display","none");$jq("#commander_page_id_33").css("display","none");$jq("#commander_page_id_4").css("display","none");break;}}}
function inscription_validerror(texte,champid){function file(fichier)
{if(window.XMLHttpRequest)
xhr_object=new XMLHttpRequest();else if(window.ActiveXObject)
xhr_object=new ActiveXObject("Microsoft.XMLHTTP");else
return(false);xhr_object.open("GET",fichier,false);xhr_object.send(null);if(xhr_object.readyState==4)return(xhr_object.responseText);else return(false);}
if(champid==1)
{document.getElementById('ins_buttoninputok').disabled=true;$jq(".bouton_valider").addClass("bouton_valider_off");document.getElementById('ins_validdd1').value=2;var filter=/^([a-z0-9]+[\-_\.]{0,1}[a-z0-9]+)*$/i;var filter2=/^(^admin|aleo|administrator|administrateur|webmaster|webmastor|lol|123|azerty|abc)+$/i;if(texte!='')
{if(texte.length<3)
document.getElementById('ins_validerrorpic1').innerHTML='<img src="images/icons/error.png" alt="error" />';else if(!filter.test(texte))
document.getElementById('ins_validerrorpic1').innerHTML='<img src="images/icons/error.png" alt="error" />';else if(filter2.test(texte))
document.getElementById('ins_validerrorpic1').innerHTML='<img src="images/icons/error.png" alt="error" />';else if(texte=file('includes/ajax/ajax_inscription.php?login='+escape(texte)))
{if(texte==1)
document.getElementById('ins_validerrorpic1').innerHTML='<img src="images/icons/error.png" alt="error" />';else{document.getElementById('ins_validdd1').value=3;document.getElementById('ins_validerrorpic1').innerHTML='<img src="images/icons/valid.png" alt="valid" />';}}
else{document.getElementById('ins_validdd1').value=3;document.getElementById('ins_validerrorpic1').innerHTML='<img src="images/icons/valid.png" alt="valid" />';}}
else
document.getElementById('ins_validerrorpic1').innerHTML='<img src="images/icons/error.png" alt="error" />';}
if(champid==2)
{document.getElementById('ins_validerrorpic3').innerHTML='<img src="images/icons/error.png" alt="error" />';document.getElementById('ins_buttoninputok').disabled=true;$jq(".bouton_valider").addClass("bouton_valider_off");document.getElementById('ins_validdd2').value=2;var filter=/^[^\<\>\●]{6,50}$/;if(texte!='')
{if(texte.length<6)
document.getElementById('ins_validerrorpic2').innerHTML='<img src="images/icons/error.png" alt="error" />';else if(!filter.test(texte))
document.getElementById('ins_validerrorpic2').innerHTML='<img src="images/icons/error.png" alt="error" />';else{document.getElementById('ins_validdd2').value=3;document.getElementById('ins_validerrorpic2').innerHTML='<img src="images/icons/valid.png" alt="valid" />';}}
else
document.getElementById('ins_validerrorpic2').innerHTML='<img src="images/icons/error.png" alt="error" />';}
if(champid==3)
{document.getElementById('ins_buttoninputok').disabled=true;$jq(".bouton_valider").addClass("bouton_valider_off");document.getElementById('ins_validdd3').value=2;var filter=/^[^\<\>\●]{6,50}$/;if(texte!='')
{if(texte.length<6)
document.getElementById('ins_validerrorpic3').innerHTML='<img src="images/icons/error.png" alt="error" />';else if(!filter.test(texte))
document.getElementById('ins_validerrorpic3').innerHTML='<img src="images/icons/error.png" alt="error" />';else if(texte!=document.getElementById('ins_passwordid').value)
document.getElementById('ins_validerrorpic3').innerHTML='<img src="images/icons/error.png" alt="error" />';else{document.getElementById('ins_validdd3').value=3;document.getElementById('ins_validerrorpic3').innerHTML='<img src="images/icons/valid.png" alt="valid" />';}}
else
document.getElementById('ins_validerrorpic3').innerHTML='<img src="images/icons/error.png" alt="error" />';}
if(champid==4)
{document.getElementById('ins_buttoninputok').disabled=true;$jq(".bouton_valider").addClass("bouton_valider_off");document.getElementById('ins_validdd4').value=2;var filter=/^[a-z0-9]+[a-z0-9\-_\.]*\@{1}[a-z0-9\-_\.]+\.{1}[a-z]{1,4}$/i;if(texte!='')
{var splited=texte.split('@');var blacklist=new Array("yopmail.com","jetable.org","brefmail.com","uggsrock.com","link2mail.net","email-jetable.eu","destroy-spam.com","0-mail.com","ephemail.net","spamgourmet.com","tempomail.fr","trashmail.net","dodgit.com","haltospam.com","tempinbox.com","explodemail.com","nospamfor.us","zemail.be","anonymbox.com","guerrillamailblock.com","tempemail.net");for(x in blacklist)
{if(blacklist[x]==splited[1])var valid=1;}
if(texte.length<6)
document.getElementById('ins_validerrorpic4').innerHTML='<img src="images/icons/error.png" alt="error" />';else if(!filter.test(texte))
document.getElementById('ins_validerrorpic4').innerHTML='<img src="images/icons/error.png" alt="error" />';else if(valid==1)document.getElementById('ins_validerrorpic4').innerHTML='<img src="images/icons/error.png" alt="error" />';else if(texte=file('includes/ajax/ajax_inscription.php?email='+escape(texte)))
{if(texte==1)
document.getElementById('ins_validerrorpic4').innerHTML='<img src="images/icons/error.png" alt="error" />';else{document.getElementById('ins_validdd4').value=3;document.getElementById('ins_validerrorpic4').innerHTML='<img src="images/icons/valid.png" alt="valid" />';}}
else{document.getElementById('ins_validdd4').value=3;document.getElementById('ins_validerrorpic4').innerHTML='<img src="images/icons/valid.png" alt="valid" />';}}
else
document.getElementById('ins_validerrorpic4').innerHTML='<img src="images/icons/error.png" alt="error" />';}
if(champid==5)
{document.getElementById('ins_buttoninputok').disabled=true;$jq(".bouton_valider").addClass("bouton_valider_off");document.getElementById('infos_persos_checkid').value='OFF';if(document.getElementById('infos_persos_checkid').checked)
document.getElementById('infos_persos_checkid').value='ON';else
document.getElementById('infos_persos_checkid').value='OFF';}
if(champid==6)
{var texteyy=document.getElementById('recaptcha_challenge_field').value;var reponsex=document.getElementById('recaptcha_response_field').value;var xajax=null;if(window.XMLHttpRequest)xajax=new XMLHttpRequest();else if(window.ActiveXObject)xajax=new ActiveXObject("Microsoft.XMLHTTP");else return(false);var str="recaptcha_challenge_field="+texteyy+"&recaptcha_response_field="+escape(reponsex);xajax.open("POST","includes/ajax/ajax_inscription.php",false);xajax.setRequestHeader("Content-Type","application/x-www-form-urlencoded");xajax.send(str);if(xajax.readyState==4)
{if(xajax.responseText=="1"){document.getElementById('ins_validdd6').value=3;document.getElementById('ins_buttons_divcapt').disabled=true;$jq("#ins_buttons_divcaptdiv").css("display","block");}
else
Recaptcha.reload();}}
if(champid==11)
{document.getElementById('ins_buttoninputok').disabled=true;$jq(".bouton_valider").addClass("bouton_valider_off");document.getElementById('ins_validdd7').value=2;var filter=/^[a-zéèêâàîìôòùûëäïöüç&]+[a-zéèêâàîìôòùûëäïöüç&\'\-\. ]*[a-zéèêâàîìôòùûëäïöüç&]*$/i;if(texte!='')
{if(texte.length<2)
document.getElementById('ins_validerrorpic11').innerHTML='<img src="images/icons/error.png" alt="error" />';else if(!filter.test(texte))
document.getElementById('ins_validerrorpic11').innerHTML='<img src="images/icons/error.png" alt="error" />';else{document.getElementById('ins_validdd7').value=3;document.getElementById('ins_validerrorpic11').innerHTML='<img src="images/icons/valid.png" alt="valid" />';}}
else
document.getElementById('ins_validerrorpic11').innerHTML='<img src="images/icons/error.png" alt="error" />';}
if(champid==12)
{document.getElementById('ins_buttoninputok').disabled=true;$jq(".bouton_valider").addClass("bouton_valider_off");document.getElementById('ins_validdd8').value=2;var filter=/^[a-zéèêâàîìôòùûëäïöüç&]+[a-zéèêâàîìôòùûëäïöüç&\'\-\. ]*[a-zéèêâàîìôòùûëäïöüç&]*$/i;if(texte!='')
{if(texte.length<2)
document.getElementById('ins_validerrorpic12').innerHTML='<img src="images/icons/error.png" alt="error" />';else if(!filter.test(texte))
document.getElementById('ins_validerrorpic12').innerHTML='<img src="images/icons/error.png" alt="error" />';else{document.getElementById('ins_validdd8').value=3;document.getElementById('ins_validerrorpic12').innerHTML='<img src="images/icons/valid.png" alt="valid" />';}}
else
document.getElementById('ins_validerrorpic12').innerHTML='<img src="images/icons/error.png" alt="error" />';}
if(champid==13)
{document.getElementById('ins_buttoninputok').disabled=true;$jq(".bouton_valider").addClass("bouton_valider_off");document.getElementById('ins_validdd9').value=2;var filter=/^[a-z0-9éèêâàîìôòùûëäïöüç&\-_,;:& \.\']+$/i;if(texte!='')
{if(texte.length<1)
document.getElementById('ins_validerrorpic13').innerHTML='<img src="images/icons/error.png" alt="error" />';else if(!filter.test(texte))
document.getElementById('ins_validerrorpic13').innerHTML='<img src="images/icons/error.png" alt="error" />';else{document.getElementById('ins_validdd9').value=3;document.getElementById('ins_validerrorpic13').innerHTML='<img src="images/icons/valid.png" alt="valid" />';}}
else
document.getElementById('ins_validerrorpic13').innerHTML='<img src="images/icons/error.png" alt="error" />';}
if(champid==14)
{document.getElementById('ins_buttoninputok').disabled=true;$jq(".bouton_valider").addClass("bouton_valider_off");document.getElementById('ins_validdd10').value=2;var filter=/^[a-z0-9éèêâàîìôòùûëäïöüç&\-_,;:& \.\']+$/i;if(texte!='')
{if(texte.length<1)
document.getElementById('ins_validerrorpic14').innerHTML='<img src="images/icons/error.png" alt="error" />';else if(!filter.test(texte))
document.getElementById('ins_validerrorpic14').innerHTML='<img src="images/icons/error.png" alt="error" />';else{document.getElementById('ins_validdd10').value=3;document.getElementById('ins_validerrorpic14').innerHTML='<img src="images/icons/valid.png" alt="valid" />';}}
else
document.getElementById('ins_validerrorpic14').innerHTML='<img src="images/icons/error.png" alt="error" />';}
if(champid==15)
{document.getElementById('ins_buttoninputok').disabled=true;$jq(".bouton_valider").addClass("bouton_valider_off");document.getElementById('ins_validdd11').value=2;var filter=/^[0-9\-]+$/;if(texte!='')
{if(texte.length<1)
document.getElementById('ins_validerrorpic15').innerHTML='<img src="images/icons/error.png" alt="error" />';else if(!filter.test(texte))
document.getElementById('ins_validerrorpic15').innerHTML='<img src="images/icons/error.png" alt="error" />';else{document.getElementById('ins_validdd11').value=3;document.getElementById('ins_validerrorpic15').innerHTML='<img src="images/icons/valid.png" alt="valid" />';}}
else
document.getElementById('ins_validerrorpic15').innerHTML='<img src="images/icons/error.png" alt="error" />';}
if(champid==16)
{document.getElementById('ins_buttoninputok').disabled=true;$jq(".bouton_valider").addClass("bouton_valider_off");document.getElementById('ins_validdd12').value=2;var filter=/^[a-z0-9éèêâàîìôòùûëäïöüç&\-_ \.\']+$/i;if(texte!='')
{if(texte.length<1)
document.getElementById('ins_validerrorpic16').innerHTML='<img src="images/icons/error.png" alt="error" />';else if(!filter.test(texte))
document.getElementById('ins_validerrorpic16').innerHTML='<img src="images/icons/error.png" alt="error" />';else{document.getElementById('ins_validdd12').value=3;document.getElementById('ins_validerrorpic16').innerHTML='<img src="images/icons/valid.png" alt="valid" />';}}
else
document.getElementById('ins_validerrorpic16').innerHTML='<img src="images/icons/error.png" alt="error" />';}
if(champid==17)
{document.getElementById('ins_buttoninputok').disabled=true;$jq(".bouton_valider").addClass("bouton_valider_off");document.getElementById('infos_persos_checkid2').value='OFF';if(document.getElementById('infos_persos_checkid2').checked)
document.getElementById('infos_persos_checkid2').value='ON';else
document.getElementById('infos_persos_checkid2').value='OFF';}
if(document.getElementById('ins_validdd6'))
var nocaptchajs=document.getElementById('ins_validdd6').value;if(nocaptchajs=="nocaptcha")
{if(document.getElementById('ins_validdd1'))
var valid1=document.getElementById('ins_validdd1').value;if(document.getElementById('ins_validdd2'))
var valid2=document.getElementById('ins_validdd2').value;if(document.getElementById('ins_validdd3'))
var valid3=document.getElementById('ins_validdd3').value;if(document.getElementById('ins_validdd4'))
var valid4=document.getElementById('ins_validdd4').value;if(document.getElementById('infos_persos_checkid'))
var valid5=document.getElementById('infos_persos_checkid').value;if(document.getElementById('ins_validdd6'))
var valid6=document.getElementById('ins_validdd6').value;if(document.getElementById('ins_validdd7'))
var valid7=document.getElementById('ins_validdd7').value;if(document.getElementById('ins_validdd8'))
var valid8=document.getElementById('ins_validdd8').value;if(document.getElementById('ins_validdd9'))
var valid9=document.getElementById('ins_validdd9').value;if(document.getElementById('ins_validdd10'))
var valid10=document.getElementById('ins_validdd10').value;if(document.getElementById('ins_validdd11'))
var valid11=document.getElementById('ins_validdd11').value;if(document.getElementById('ins_validdd12'))
var valid12=document.getElementById('ins_validdd12').value;if(document.getElementById('infos_persos_checkid2'))
var valid13=document.getElementById('infos_persos_checkid2').value;if(valid1==3&&valid2==3&&valid3==3&&valid4==3&&valid5=="ON"&&valid6=="nocaptcha"&&valid7==3&&valid8==3&&valid9==3&&valid10==3&&valid11==3&&valid12==3&&valid13=="ON")
{$jq(".bouton_valider").removeClass("bouton_valider_off");$jq(".bouton_valider").addClass("bouton_valider_on");document.getElementById('ins_buttoninputok').disabled=false;}}
else
{if(document.getElementById('ins_validdd1'))
var valid1=document.getElementById('ins_validdd1').value;if(document.getElementById('ins_validdd2'))
var valid2=document.getElementById('ins_validdd2').value;if(document.getElementById('ins_validdd3'))
var valid3=document.getElementById('ins_validdd3').value;if(document.getElementById('ins_validdd4'))
var valid4=document.getElementById('ins_validdd4').value;if(document.getElementById('infos_persos_checkid'))
var valid5=document.getElementById('infos_persos_checkid').value;if(document.getElementById('ins_validdd6'))
var valid6=document.getElementById('ins_validdd6').value;if(valid1==3&&valid2==3&&valid3==3&&valid4==3&&valid5=="ON"&&valid6==3)
{$jq(".bouton_valider").removeClass("bouton_valider_off");$jq(".bouton_valider").addClass("bouton_valider_on");document.getElementById('ins_buttoninputok').disabled=false;}}}
function contact_cat(numid)
{var xhr=getXhr();xhr.onreadystatechange=function()
{if(xhr.readyState==4&&xhr.status==200)
{document.getElementById('contact_objectid').innerHTML=xhr.responseText;}}
xhr.open("GET","includes/ajax/ajax_contact.php?numid="+escape(numid),true);xhr.send(null);}
function commander_insorloginjs(id)
{if(id==1)
{$jq("#commander_divinscription").css("position","absolute");$jq("#commander_divinscription").css("padding-bottom","80px");}
else $jq("#commander_divinscription").css("position","relative");var xhr=getXhr();xhr.onreadystatechange=function()
{if(xhr.readyState==4&&xhr.status==200)
{document.getElementById('commander_divinscription').innerHTML=xhr.responseText;}}
xhr.open("GET","includes/ajax/ajax_commander.php?numid="+escape(id),true);xhr.send(null);}
function commander_inscription_submit()
{var login=document.getElementById('ins_loginid').value;var password=document.getElementById('ins_passwordid').value;var password2=document.getElementById('ins_password2id').value;var email=document.getElementById('ins_emailid').value;var civilite=document.getElementById('ins_civiliteid').value;var nom=document.getElementById('ins_nomid').value;var prenom=document.getElementById('ins_prenomid').value;var age=document.getElementById('date_jourid').value+"/"+document.getElementById('date_moisid').value+"/"+document.getElementById('date_anneeid').value;var adresse=document.getElementById('ins_adresseid').value;var ville=document.getElementById('ins_villeid').value;var codep=document.getElementById('ins_codepid').value;var pays=document.getElementById('ins_paysid').value;var xhr=getXhr();xhr.onreadystatechange=function()
{if(xhr.readyState==4&&xhr.status==200)
{document.getElementById('inscription_troisiemeddiv2').innerHTML="";$jq("#commander_divinscription").css("position","relative");$jq("#inscription_troisiemeddiv2").css("padding","0px");$jq("#inscription_troisiemeddiv2").css("padding-bottom","41px");$jq("#commander_divinscription").css("margin-bottom","-41px");$jq("#commander_divinscription").css("height","182px");document.getElementById('commander_divinscription').innerHTML=xhr.responseText;document.getElementById('commanderetoilelog').innerHTML="<div class=\"ins_etoiles2\"><strong><span style=\"color:#bb4545;\">*</span></strong> <span style=\"font-style:italic;\">Tous les champs sont obligatoires.</span></div>";}}
xhr.open("GET","includes/ajax/ajax_commander_inscription_login.php?login="+escape(login)+"&password="+escape(password)+"&password2="+escape(password2)+"&email="+escape(email)+"&civilite="+escape(civilite)+"&nom="+escape(nom)+"&prenom="+escape(prenom)+"&age="+escape(age)+"&adresse="+escape(adresse)+"&ville="+escape(ville)+"&codep="+escape(codep)+"&pays="+escape(pays),true);xhr.send(null);}
function commander_logme()
{var log_login=document.getElementById('log_loginid').value;var log_password=document.getElementById('log_passwordid').value;var xhr=getXhr();xhr.onreadystatechange=function()
{if(xhr.readyState==4&&xhr.status==200)
{document.getElementById('inscription_troisiemeddiv2').innerHTML="";$jq("#inscription_troisiemeddiv2").css("padding","0px");$jq("#inscription_troisiemeddiv2").css("padding-bottom","41px");$jq("#commander_divinscription").css("margin-bottom","-41px");document.getElementById('commander_divinscription').innerHTML=xhr.responseText;document.getElementById('commanderetoilelog').innerHTML="<div class=\"ins_etoiles2\"><strong><span style=\"color:#bb4545;\">*</span></strong> <span style=\"font-style:italic;\">Tous les champs sont obligatoires.</span></div>";}}
xhr.open("GET","includes/ajax/ajax_commander_inscription_login.php?log_login="+escape(log_login)+"&log_password="+escape(log_password),true);xhr.send(null);}
function commander_create_facture(typepaiement)
{var xhr=getXhr();xhr.onreadystatechange=function()
{if(xhr.readyState==4&&xhr.status==200)
{document.getElementById('commander_page_id_4').innerHTML=xhr.responseText;if(typepaiement=="allopass")window.location.href='allopass.html';if(typepaiement=="cheque")window.location.href='cheque.html';}}
xhr.open("GET","includes/ajax/ajax_commande_facture.php?facture=1&typepaiement="+escape(typepaiement),true);xhr.send(null);}
function commander_update_facture(typepaiement)
{var xhr=getXhr();xhr.onreadystatechange=function()
{if(xhr.readyState==4&&xhr.status==200)
{document.getElementById('commande_uppayer').innerHTML=xhr.responseText;if(typepaiement=="allopass")window.location.href='allopass.html';if(typepaiement=="cheque")window.location.href='cheque.html';}}
xhr.open("GET","includes/ajax/ajax_commande_facture.php?facture=2&typepaiement="+escape(typepaiement),true);xhr.send(null);}
function commander_create(nombre)
{var tableau_hostname=new Array();var tableau_name=new Array();var tableau_svpass=new Array();var tableau_rcon=new Array();var ifact1=0;do{tableau_hostname[ifact1]=document.getElementById('finhostname'+ifact1).value;tableau_name[ifact1]=document.getElementById('finname'+ifact1).value;tableau_svpass[ifact1]=document.getElementById('finsvpass'+ifact1).value;tableau_rcon[ifact1]=document.getElementById('finrcon'+ifact1).value;ifact1+=1;}while(nombre>ifact1+1);var hostname=tableau_hostname.join("|");var name=tableau_name.join("|");var svpass=tableau_svpass.join("|");var rcon=tableau_rcon.join("|");var xhr=getXhr();xhr.onreadystatechange=function()
{if(xhr.readyState==4&&xhr.status==200)
{document.getElementById('commander_pageid4').innerHTML=xhr.responseText;}}
xhr.open("GET","includes/ajax/ajax_commande_create.php?hostname="+escape(hostname)+"&name="+escape(name)+"&svpass="+escape(svpass)+"&rcon="+escape(rcon),true);xhr.send(null);}
function help_mail(texte)
{var filter=/^[a-z0-9]+[a-z0-9\-_\.]*\@{1}[a-z0-9\-_\.]+\.{1}[a-z]{1,4}$/i;if(!filter.test(texte))
document.getElementById('helpmail_id').innerHTML='<img src="images/icons/error.png" alt="error" />';else
document.getElementById('helpmail_id').innerHTML='<img src="images/icons/valid.png" alt="valid" />';}
function newpassword_test(texte,id)
{var filter=/^[^\<\>\●]{6,50}$/;if(id==1)
{if(texte!='')
{if(texte.length<6)
document.getElementById('nwpswworin1').innerHTML='<img src="images/icons/error.png" alt="error" />';else if(!filter.test(texte))
document.getElementById('nwpswworin1').innerHTML='<img src="images/icons/error.png" alt="error" />';else document.getElementById('nwpswworin1').innerHTML='<img src="images/icons/valid.png" alt="valid" />';}
else
document.getElementById('nwpswworin1').innerHTML='<img src="images/icons/error.png" alt="error" />';}
else
{if(texte!='')
{if(texte.length<6)
document.getElementById('nwpswworin2').innerHTML='<img src="images/icons/error.png" alt="error" />';else if(!filter.test(texte))
document.getElementById('nwpswworin2').innerHTML='<img src="images/icons/error.png" alt="error" />';else document.getElementById('nwpswworin2').innerHTML='<img src="images/icons/valid.png" alt="valid" />';}
else
document.getElementById('nwpswworin2').innerHTML='<img src="images/icons/error.png" alt="error" />';}}
function commande_fin_blacklist(texte)
{var blacklist=new Array("admin","administrator","administrateur","aleo","hakadel","forum","www","mail","mails","email","emails","sex","sexe","porn","porno","www2","http","hack","lol","mdr","omg","password");for(x in blacklist)
{if(blacklist[x]==texte)var valid=1;}
if(valid==1)return"error";}
