floatX=10;floatY=10;layerwidth=234;layerheight=125;halign="left";valign="top";delayspeed=3;NS6=false;IE4=(document.all);if(!IE4){NS6=(document.getElementById)}NS4=(document.layers);function adjust(){if((NS4)||(NS6)){if(lastX==-1||delayspeed==0){lastX=window.pageXOffset+floatX;lastY=window.pageYOffset+floatY}else{var b=Math.abs(window.pageXOffset+floatX-lastX);var a=Math.abs(window.pageYOffset+floatY-lastY);var g=Math.sqrt(b*b+a*a);var h=Math.round(g/10);if(window.pageXOffset+floatX>lastX){lastX=lastX+delayspeed+h}if(window.pageXOffset+floatXlastY){lastY=lastY+delayspeed+h}if(window.pageYOffset+floatYlastX){lastX=lastX+delayspeed+h}if(e.scrollLeft+floatXlastY){lastY=lastY+delayspeed+h}if(e.scrollTop+floatY0){var texte=file('https://www.heberjahiz.com/en-gb/inc/alimpanier.php?action=packoblig&var='+Math.random());alrt +="Extensions : "+texte+" must be linked to a hosting package\n";}var check_condition=document.getElementById('check_condition');if(check_condition.checked==false)alrt +="You must read and accept the terms and conditions of use.\n";if(document.getElementById('check_nommage')!=null){if(document.getElementById('check_nommage').checked==false)alrt +="You must read and accept the «Décision ANRT/DG/N°12/14» as well as «procédure alternative de résolution des litiges».\n";}var exist_ssl=0;if(document.getElementById('check_ssl_0')!=null){for(var i=0; i<=document.getElementById('nbr_lien_cond_ssl').value*1; i++){if(document.getElementById('check_ssl_'+i).checked==false)exist_ssl++;};if(exist_ssl>0)alrt +="You must read and accept the terms and conditions of SSL Certificates.\n";};if(document.getElementById('check_proc')!=null){if(document.getElementById('check_proc').checked==false)alrt +="_LIRE_PROC\n";};if(document.getElementById('check_termes')!=null){if(document.getElementById('check_termes').checked==false)alrt +="You must read the reserved words list and verify that the .MA domains ordered are not listed.\n";};if(document.getElementById('check_conscient')!=null){if(document.getElementById('check_conscient').checked==false)alrt +="You must understand and accept that the .MA domains activation can take up to 5 business days.\n";};if(document.getElementById('check_pays')!=null){if(document.getElementById('check_pays').checked==false)alrt +="Applicants for .MA domain names residing abroad must designate Arcanes Technologies (Heberjahiz) as agent/administrative contact to complete the registration and management of their domain names.\n";};if(document.getElementById('check_enom')!=null){if(document.getElementById('check_enom').checked==false)alrt +="You must read and accept the Registration Agreement.\n";};if(alrt==""){if(document.getElementById("mdp_choisi_hidd").value==""){alrt +="Please choose a payment method\n";document.getElementById('other_mdp').style.display=='';}};if(alrt==""){if(logid!=1){alrt +='Please sign-in\n'; login("commande");}};if(alrt==""){if(("" != "" && "" == "renew")) {var texte=filep("https://www.heberjahiz.com/en-gb/inc/alimpanier.php","action=verif_login&from=renew&var="+Math.random());if(texte=="banned"){ alert("Votre compte a temporairement été verrouillé par mesure de sécurité. Merci de réessayer dans quelques minutes.");} else if(texte&&texte!="banned"){var affiche=texte.split("|");if(affiche[3]==1||document.getElementById('logindiv').style.display=="") {alert("Veuillez compléter/valider vos informations");return false;}}}if(confirm("You are about to confirm your order.\nDo you really want to continue?"))window.location.href='https://www.heberjahiz.com/en-gb/panier.php?action=commander';}else{alert(alrt);if(alrt.match("extensions")){var ids_oblig=document.getElementById("id_oblig").value;if(ids_oblig){var tab=ids_oblig.split("|");for(var k=0;k=nbr_max_prd){alert("You can not order more than 25 products at a time!");}else{$.each( $("tr[id^='trdom_']"),function (){$(this).hide();});$.each( $("img[id^='img_pl_']"),function (){$(this).attr("src",wwwroot+"images/add.gif");});if(document.getElementById('listpack').style.display==""){$('#listpack').hide("slow");};if(document.getElementById('logindiv').style.display==""){$('#logindiv').hide();};if(document.getElementById('ajoutdomdiv').style.display==""){$('#ajoutdomdiv').hide("slow");}document.getElementById('packdiv').innerHTML=divformpack1; if(cd_promo)document.getElementById('id_promo').value=cd_promo;if(document.getElementById('packdiv').style.display=="none"){$('#packdiv').show("slow");}}};function hideAllTrDom(active_td,active_id){$.each($("form[id^='id_formdom']"),function(){$(this).remove();});$.each($("tr[id^='trdom_']").not('[id^='+active_td+']'),function (){$(this).hide();});$.each($("tr[id^='trjdom_']").not('[id^='+active_td+']'),function(){$(this).hide();});$.each($("tr[id^='trssl_']").not('[id^='+active_td+']'),function (){$(this).hide();});$.each($("img[id^='img_pl_']").not('[id^=img_pl_'+active_id+']'),function(){$(this).attr("src",wwwroot+"images/add.gif");});$.each($("img[id^='img_jm_']").not('[id^=img_jm_'+active_td+']'),function (){$(this).attr("src",wwwroot+"images/add.gif");});$('#ajoutdomdiv').hide();$('#listpack').hide();$('#packdiv').hide();$('#logindiv').hide();$('#operationdom').empty();}function file_js(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);}var is_searched=0;var code_promo_final="";var promo_direct=0;var ligne_ssl=0;function verifformpack(os){var produit=document.getElementById("prd_choi").value;var id_promo=document.getElementById("id_promo").value;if(produit=='')alert("Choose a type of hosting");else if(os==''&&produit!='serveurs')alert("Choose an operating system:");else{goAjax('https://www.heberjahiz.com/en-gb/inc/alimpanier.php','action=showlistpack&div=listpack&heberg='+ produit +'&os='+ os +'&cd_promo='+id_promo,this,'listpack'); $('#listpack').show("slow");$('#tab_prd').hide("slow");if(id_promo)setTimeout("recup_total()",1500);}}function verifformpack3(produit,os,domaine,ext,trans,id_prd,stlds){if(os=='choix'){var prd='vps';document.getElementById("prd_choi").value=prd;document.getElementById("td_prd").innerHTML='  ';document.getElementById('packdiv').innerHTML=divformpack1;if(document.getElementById('packdiv').style.display=="none"){$('#packdiv').show("slow");}document.getElementById("td_prd").style.display="none";$('#td_prd').show("slow");$('#td_os').show("slow");continuer="non";}else{if(produit=="domaine"){ajout_dom_fn(domaine,ext,os,trans,'',stlds);if(stlds!="" && stlds!=null) domaine_commande_stlds(); else if(trans==1) domaine_commande();}else if(produit=="hebergement"&&os=="")verifformpack_promo('hebergement','');else if(produit=="vps"&&os==""){goAjax('https://www.heberjahiz.com/en-gb/inc/alimpanier.php','action=showlistpack&div=listpack&heberg=vps&os=linux',this,'listpack');$('#listpack').show("slow");}else if(produit=='ssl'){formpack(1,2);affiche_prd('ssl');}else{if(produit||os||id_prd){goAjax('https://www.heberjahiz.com/en-gb/inc/alimpanier.php','action=showlistpack&div=listpack&heberg='+ produit +'&os='+os+'&id_prd='+id_prd,this,'listpack');$('#listpack').show("slow");}else formpack(1,2);}}}function verifformpack_promo(produit,os,domaine,ext,trans,id_prd,cdpromo){if(os=='choix'){var prd='vps';document.getElementById("prd_choi").value=prd;document.getElementById("td_prd").innerHTML='  ';document.getElementById('packdiv').innerHTML=divformpack1; if(document.getElementById('packdiv').style.display=="none"){$('#packdiv').show("slow");}document.getElementById("td_prd").style.display="none";$('#td_prd').show("slow");$('#td_os').show("slow");continuer="non";}else{if(produit=="domaine")ajout_dom_fn(domaine,ext,os,trans,cdpromo);else if(produit=="vps"||produit=="serveurs"||produit=="hebergement"||produit=="rev"||produit=="ssl"||produit=="messagerie"){if(os==""){formpack(1,2,cdpromo);if(produit)affiche_prd(produit,cdpromo);}else{goAjax('https://www.heberjahiz.com/en-gb/inc/alimpanier.php','action=showlistpack&div=listpack&heberg='+ produit +'&os='+os+'&id_prd='+id_prd+'&cd_promo='+cdpromo,this,'listpack'); $('#listpack').show("slow");if(cdpromo)setTimeout("recup_total()",1500);}}else formpack(1,2,cdpromo);}}function sauve_mode(valeur,total_panier){if(valeur=="chq"&&total_panier<1){alert("Vous ne pouvez pas utiliser le paiement par chèque pour une somme inférieure à 250.00 DH TTC.");}else file("https://www.heberjahiz.com/en-gb/inc/alimpanier.php?action=sauve_mode&mode="+valeur+"&var="+Math.random());}function change_img(img){if(document.getElementById(img).src==wwwroot+"images/add.gif")document.getElementById(img).src=wwwroot+"images/moin.gif";else document.getElementById(img).src=wwwroot+"images/add.gif";}var port_eth_glob="";function domaine_commande(){if(document.getElementById("hidd_domaine_choix")!=null) verifdom(document.forms.frm0,'','operationdom');else setTimeout("domaine_commande()",300);}function domaine_commande_stlds(){if(document.getElementById("hidd_domaine_choix")!=null) verifdom_stlds(document.forms.frm0,'','operationdom');else setTimeout("domaine_commande_stlds()",300);}function non_espaces(valeur){var new_val='';for(var i=0; i<=valeur.length-1; i++){if(valeur.charAt(i)!=' '){new_val +=valeur.charAt(i);}}return new_val;};function verifdom(form,direct_trans,operationdom){var opdomaine="";var extension="";code_promo_final="";if(form!=2){is_searched=0;if(form.opdomaine[0].checked)opdomaine='crea';else if(form.opdomaine[1].checked)opdomaine='transf';else opdomaine='chngdns';var extension=document.getElementById('idext_'+opdomaine+'1').value;var cd_promo=document.getElementById('code_promotion').value;form.domaine_choix.value=form.domaine_choix.value.toLowerCase();};if(extension!=""||direct_trans==1){if(opdomaine=="crea"&&direct_trans!=1&&form.domaine_choix.value!="") goAjax_Domaines('https://www.heberjahiz.com/en-gb/inc/alimpanier.php','action=checkdom&domaine='+form.domaine_choix.value+'&extid='+extension+'&opdom='+opdomaine+'&j2='+form.j2_c.value+'&gamme='+form.gamme.value+'&cd_promo='+cd_promo+'&operationdom='+operationdom,form.verifier,operationdom);else{if(direct_trans!=1&&form.domaine_choix.value!="") goAjax('https://www.heberjahiz.com/en-gb/inc/alimpanier.php','action=checkdom&domaine='+form.domaine_choix.value+'&extid='+extension+'&opdom='+opdomaine+'&j2='+form.j2_c.value+'&gamme='+form.gamme.value+'&cd_promo='+cd_promo,form.verifier,operationdom);if(document.getElementById('idp1')==null)setTimeout("verifdom(2,1)",500);else load_promo(1,'dom');};if(document.getElementById(operationdom) && document.getElementById(operationdom).style.display=="none"){$('#'+operationdom).show("slow");}}else alert("Please select a TLD");document.getElementById("hidd_domaine_choix").value = document.getElementById("domaine_choix").value;};function verifdom_stlds(form,direct_trans,operationdom){var opdomaine="";var extension="";code_promo_final="";if(form!=2){is_searched=0;if(form.opdomaine[0].checked) opdomaine='crea';else if(form.opdomaine[1].checked) opdomaine='transf';else opdomaine='chngdns';var extension=document.getElementById('stlds_val').value;var cd_promo=document.getElementById('code_promotion').value;form.domaine_choix.value=form.domaine_choix.value.toLowerCase();};if(extension!=""||direct_trans==1){if(opdomaine=="crea"&&direct_trans!=1&&form.domaine_choix.value!=""){goAjax_Domaines_stlds('https://www.heberjahiz.com/en-gb/inc/alimpanier.php','action=checkdom_stlds&domaine='+form.domaine_choix.value+'&stlds='+extension+'&opdom='+opdomaine+'&j2='+form.j2_c.value+'&gamme='+form.gamme.value+'&cd_promo='+cd_promo+'&operationdom='+operationdom,form.verifier,operationdom);}else{if(direct_trans!=1&&form.domaine_choix.value!="") goAjax('https://www.heberjahiz.com/en-gb/inc/alimpanier.php','action=checkdom_stlds&domaine='+form.domaine_choix.value+'&stlds='+extension+'&opdom='+opdomaine+'&j2='+form.j2_c.value+'&gamme='+form.gamme.value+'&cd_promo='+cd_promo,form.verifier,operationdom);if(document.getElementById('idp1')==null) setTimeout("verifdom_stlds(2,1)",500);else load_promo(1,'dom');};if(document.getElementById(operationdom) && document.getElementById(operationdom).style.display=="none"){$('#'+operationdom).show("slow");}}else alert("Please select a TLD");document.getElementById("hidd_domaine_choix").value = document.getElementById("domaine_choix").value;};function goAjax_Domaines(page,data,Felement,contener,method){method='post';var xhr_object=null;var origclass=Felement.className;if(window.XMLHttpRequest)xhr_object=new XMLHttpRequest();else if(window.ActiveXObject)xhr_object=new ActiveXObject("Microsoft.XMLHTTP");else{alert("Your browser does not support XMLHTTPRequest objects");return;}xhr_object.onreadystatechange=function(){if(contener!="")document.getElementById(contener).innerHTML='
Please wait ...
';Felement.disabled=true;Felement.className=origclass+"_disabled";if(xhr_object.readyState==4){Felement.disabled=false;Felement.className=origclass;document.getElementById(contener).innerHTML=xhr_object.responseText;if(document.getElementById("val_total_dom")!=null){var total=document.getElementById("val_total_dom").value;var domaine=document.getElementById("domaine").value;var extension_choi=document.getElementById("idext_crea1").value;if(document.getElementById("verifier")!=null){document.getElementById("verifier").disabled=true;document.getElementById("verifier").className=origclass+"_disabled";}for(var i=0;i';image.disabled=true;if(xhr_object.readyState==4){image.disabled=false;image.innerHTML=xhr_object.responseText;is_searched++;if(is_searched==total){document.getElementById("btn_ajout_dom").disabled=false;document.getElementById("btn_ajout_dom").className=origclassn2;document.getElementById("verifier").disabled=false;document.getElementById("verifier").className=origclassn;};if((xhr_object.responseText.match("checked.png")||xhr_object.responseText.match("valide.png"))&&document.getElementById("btn_ajout_dom").style.display=="none")document.getElementById("btn_ajout_dom").style.display="";}else{image.disabled=true;}};if(method=='post'){xhr_object.open("POST",lien,true);xhr_object.setRequestHeader("Content-type","application/x-www-form-urlencoded");xhr_object.send(data);}}function verif_libre(){if(document.getElementById("operationdom").innerHTML.match("est libre")){document.getElementById("nobord").style.display="none";}else{setTimeout("verif_libre()",2000);}}function ext_reserve(i,ext){if(document.getElementById("check_"+i).src.match("valide")){if(document.getElementById("reserve_ext_"+i).title==1){var div='';if(ext=='press.ma'||ext=='ac.ma'){div="extension_press_ac";div1="ext_press_ac";if(ext=='press.ma'){document.getElementById("span_press_acc").innerHTML="PRESS.MA second-level domain is reserved for use exclusively by press organizations. You must prove that you have an activity in relation to the press (license, articles of association...). According to \"Décision ANRT/DG/N°12/14\", ANRT and Heberjahiz reserve the right to refuse the registration of any domain .press.ma to any applicant who has not proven his eligibility.";document.getElementById("expression").innerHTML="I have a business related to the press";}else{document.getElementById("span_press_acc").innerHTML="AC.MA second-level domain is reserved for use exclusively by academic establishments such as universities, colleges and research institutes. You must prove that you have an activity in relation to educational institutions (license, articles of association...). According to \"Décision ANRT/DG/N°12/14\", ANRT and Heberjahiz reserve the right to refuse the registration of any domain .ac.ma to any applicant who has not proven his eligibility.";document.getElementById("expression").innerHTML="I have a business related to education";}} else if(ext=='pro'){div="extension_pro";div1="ext_pro";}else{div="extension_reservee_message";div1="ext_reserv_aff";}$.fancybox({'href':'#'+div,padding:0,closeBtn:false,helpers:{overlay:{closeClick:false}}});document.getElementById(div1).title=i;};if(document.getElementById("reserve_dom_"+i).title==1){$.fancybox({'href':'#domaine_reservee_message',padding:0,closeBtn:false,helpers:{overlay:{closeClick:false}}});document.getElementById("dom_reserv_aff").title=i;}}}function chang_valide(i){var val=document.getElementById("check_"+i);if(val.src=="https://www.heberjahiz.com/en-gb/img/valide.png"){val.src="https://www.heberjahiz.com/en-gb/img/checked.png";}else{val.src="https://www.heberjahiz.com/en-gb/img/valide.png";}}function alimenter(laselect,dutext,form){document.getElementById('texto'+form).innerHTML=dutext;document.getElementById('idext_crea').style.display="none";document.getElementById('idext_transf').style.display="none";document.getElementById('idext_exist').style.display="none";document.getElementById('idext_'+laselect).style.display="";}function change_ext_for_all(selecte){document.getElementById('idext_transf1').value=selecte.value;document.getElementById('idext_chngdns1').value=selecte.value;}function promo_exist_dom(total,rel){var code_pr=document.getElementById("code_promo_d").value;if(code_promo_final!=''){code_pr=code_promo_final+document.getElementById("code_promo_d").value;}var is_renew="";if(document.getElementById("is_renew")!=null)is_renew=1;var incorrect=0; var existe1=0;if(document.getElementById("code_promo_d").value!="Enter your promo code"&&document.getElementById("code_promo_d").value!=""){for (var j=0;j< total;j++){var prd_id=document.getElementById("id_ext_"+j).value;var paiement=document.getElementById("periode"+j).value;if(is_renew==1)var destination_ajax="verif_promo_renew";else var destination_ajax="verif_promo_prd";var texte=file('https://www.heberjahiz.com/en-gb/inc/alimpanier.php?action='+destination_ajax+'&paiement='+paiement+'&code_p='+code_pr+'&prd_id='+prd_id+'&gamme=d&code_promo_ch='+document.getElementById("code_promo_d").value+'&var='+Math.random());var tab_result=texte.split("|");var tab_promo=code_promo_final.split("|");var fst_char=texte.substr(0,1);if(texte!="n"&&texte!="nn"&&!texte.match("err")&&fst_char!="n"&&tab_result[1]!=""){existe1++;if(tab_result[1]){if(document.getElementById("periode_span"+j)!=null)document.getElementById("periode_span"+j).innerHTML='';document.getElementById("promo_prix_"+j).value="oui";document.getElementById("cd_promo_"+j).value+=document.getElementById("code_promo_d").value+"|";document.getElementById('div_promo_d').innerHTML="";}}else{incorrect++;}} document.getElementById("chargement_promos").style.display="none";document.getElementById("block_n").style.display="none";if(incorrect > 0&&existe1=="0"){document.getElementById('div_promo_d').innerHTML="Incorrect promo code";document.getElementById("code_promo_d").value="";}else{if(rel!=1)code_promo_final +=document.getElementById("code_promo_d").value+"|";var text_codes=file('https://www.heberjahiz.com/en-gb/inc/alimpanier.php?action=detail_promos_utilses&compte='+total+'&gamme=dom&lst_codes='+code_promo_final.substring(0,((code_promo_final.length)-1))+'&var='+Math.random());document.getElementById("codes_utilises").innerHTML=text_codes;if(rel!=1)document.getElementById("cd_promo_d").value=code_promo_final;document.getElementById("code_promo_d").value="";}promo_direct=0;}}function check_domaines(total,div){if(!div) div="operationdom";if(document.getElementById("idext_crea1")) var ext_ch=document.getElementById("idext_crea1").value;else var ext_ch="";var cd_promo=document.getElementById("idp1").value;var ids="";var number_dom=0;if(document.getElementById("j2")!=null)var j2=document.getElementById("j2").value;if(document.getElementById("gamme1")!=null)var gamme=document.getElementById("gamme1").value;for(var i=0;i<=total;i++){if(document.getElementById("check_"+i)!=null){if(document.getElementById("check_"+i).src==wwwroot+"img/checked.png"){ids+=document.getElementById("check_"+i).name+"|";number_dom++;}}};if(''!='')var nbr_prd='';else var nbr_prd=0;var curr_prods=number_dom+(nbr_prd*1);if(curr_prods>25){alert("You can not order more than 25 products at a time!");}else{if(ids){var texte=file('https://www.heberjahiz.com/en-gb/inc/alimpanier.php?action=add_doms&extension_ch='+ext_ch+'&domaine='+encodeURIComponent(document.getElementById("hidd_domaine_choix").value)+'&extids='+ids+'&j2='+j2+'&gamme='+gamme+'&cdp1='+cd_promo+'&var='+Math.random());document.getElementById(div).innerHTML=texte;$('.ddrop').dropkick({theme:'normal'});if(cd_promo)setTimeout("recup_total()",1500);}else alert("Please select a domain name");}}function changer_image(index){var sel=document.forms.frm_cmd.cpu;var proc=sel.options[index].text;if(document.getElementById('action').value=='addcloud'){document.getElementById('img_proc').innerHTML = proc.replace(/ [0-9]{1}.[0-9]{1,2} Ghz\+/gi,'')+'

'+proc.replace(/[0-9]{1,2}x coeur(s)? /gi,'');document.getElementById('sp_ipmi').innerHTML="";document.getElementById('sp_et_ipmi').innerHTML="";}else{var action='affiche_image';var texte=file('https://www.heberjahiz.com/en-gb/inc/alimpanier.php?proc='+encodeURIComponent(proc)+'&action='+action+'&var='+Math.random());if(texte){var tab_txt=texte.split("|");document.getElementById("img_proc").src=wwwroot+'images/processeurs/'+tab_txt[0];if(tab_txt[1]==1){document.getElementById('sp_ipmi').innerHTML="_ADRESSE_IPMI";document.getElementById('sp_et_ipmi').innerHTML="* ";}else{document.getElementById('sp_ipmi').innerHTML="";document.getElementById('sp_et_ipmi').innerHTML="";}}}}function recalcule(){port_eth_glob=document.frm_cmd.port_eth.selectedIndex;var res=0;res+=parseFloat(document.getElementById("cpu").value);var remises=0;if(document.getElementById("action").value=="addcloud") var typep = "cloud";else var typep = "sd";var text=file('https://www.heberjahiz.com/en-gb/inc/alimpanier.php?action=GetRemise&periodicite='+document.getElementById("periodicite").value+'&res='+res+'&cpu='+encodeURIComponent(document.getElementById("hidd_cpu").value)+'&t='+typep+'&var='+Math.random());var tab_res=text.split("|");res=tab_res[0]*1;remises=tab_res[1]*1;var res_n_rem=res+remises;res_n_rem=format(res_n_rem);remises=format(remises);document.getElementById("ligne_remise").style.display="none";if(remises!=""&&remises!=0){document.getElementById("remise").innerHTML=remises+" DH";document.getElementById("ligne_remise").style.display="";}else{document.getElementById("remise").innerHTML="0 DH";document.getElementById("ligne_remise").style.display="none";}document.getElementById("total").innerHTML=format(res)+" DH";document.getElementById("hidd_total").value=res;document.getElementById("hidd_total_n_remise").value=(res_n_rem);}function change_val_hid(id_hidd,id_sel,slected,promo){selected_txt=document.getElementById(id_sel).options[slected].text;var sel_error=0;var affect_hidd=1;if(id_sel=="interface_ges"){if(!selected_txt.toLowerCase().match("cpanel")){selected_support=document.getElementById("support").options[document.frm_cmd.support.selectedIndex].text;if(!(selected_support.toLowerCase()).match("bas")){alert("Managed services are available for servers with cPanel/WHM servers only.");document.frm_cmd.support.selectedIndex=0;affect_hidd=0;}}selected_txt_os=document.getElementById('se').options[document.frm_cmd.se.selectedIndex].text;if(document.getElementById("action").value=="addcloud") var typep = "cloud";else var typep = "sd";var text=file('https://www.heberjahiz.com/en-gb/inc/alimpanier.php?action=GetCompa&composant='+encodeURIComponent(selected_txt)+'&os='+encodeURIComponent(selected_txt_os)+'&id_composant='+id_sel+'&t='+typep+'&var='+Math.random());if(text!=1){alert(text);document.frm_cmd.interface_ges.selectedIndex=0;document.getElementById("hidd_interface_ges").value=document.frm_cmd.interface_ges.options[0].text.replace(" - 0 MAD/month",'');affect_hidd=0;}};if(id_sel=="se"){document.frm_cmd.interface_ges.selectedIndex=0;document.getElementById("hidd_interface_ges").value=document.frm_cmd.interface_ges.options[0].text.replace(" - 0 MAD/month",'');if(document.getElementById('action').value!='addcloud') {document.frm_cmd.stats.selectedIndex=0;document.getElementById("hidd_stats").value=document.frm_cmd.stats.options[0].text.replace(" - 0 MAD/month",'');}document.frm_cmd.antivirus.selectedIndex=0;document.getElementById("hidd_antivirus").value=document.frm_cmd.antivirus.options[0].text.replace(" - 0 MAD/month",'');document.frm_cmd.support.selectedIndex=0;document.getElementById("hidd_support").value=document.frm_cmd.support.options[0].text.replace(" - 0 MAD/month",'');if((selected_txt.toLowerCase()).match("windows")){selected_interface=document.getElementById("interface_ges").options[document.frm_cmd.interface_ges.selectedIndex].text;if((selected_interface.toLowerCase()).match("cpanel")){var message="cPanel/WHM is not compatible with Windows.";document.frm_cmd.interface_ges.selectedIndex=0;selected_support=document.getElementById("support").options[document.frm_cmd.support.selectedIndex].text;if(!(selected_support.toLowerCase()).match("gratuit")){document.frm_cmd.support.selectedIndex=0;message +="\nManaged services are available for servers with cPanel/WHM servers only.";affect_hidd=0;}alert(message);}}};if(id_sel=="support"){if(!(selected_txt.toLowerCase()).match("gratuit")){selected_interface=document.getElementById("interface_ges").options[document.frm_cmd.interface_ges.selectedIndex].text;if(!(selected_interface.toLowerCase()).match("cpanel")){alert("Managed services are available for servers with cPanel/WHM servers only.");document.frm_cmd.support.selectedIndex=0;affect_hidd=0;}}};if(id_sel=="dd"){if((selected_txt.toLowerCase()).match("san")){selected_dd2=document.getElementById("dd2").options[document.frm_cmd.dd2.selectedIndex].text;if(!(selected_dd2.toLowerCase()).match("san") && !(selected_dd2.toLowerCase()).match("none")){alert("You can not mix the two modes of storage Local and SAN");document.frm_cmd.dd2.selectedIndex=0;affect_hidd=0;}}if((selected_txt.toLowerCase()).match("local")){selected_dd2=document.getElementById("dd2").options[document.frm_cmd.dd2.selectedIndex].text;if(!(selected_dd2.toLowerCase()).match("local") && !(selected_dd2.toLowerCase()).match("none")){alert("You can not mix the two modes of storage Local and SAN");document.frm_cmd.dd2.selectedIndex=0;affect_hidd=0;}}};if(id_sel=="dd2"){if((selected_txt.toLowerCase()).match("san")){selected_dd=document.getElementById("dd").options[document.frm_cmd.dd.selectedIndex].text;if(!(selected_dd.toLowerCase()).match("san")){alert("You can not mix the two modes of storage Local and SAN");document.frm_cmd.dd2.selectedIndex=0;affect_hidd=0;}}if((selected_txt.toLowerCase()).match("local")){selected_dd=document.getElementById("dd").options[document.frm_cmd.dd.selectedIndex].text;if(!(selected_dd.toLowerCase()).match("local")){alert("You can not mix the two modes of storage Local and SAN");document.frm_cmd.dd2.selectedIndex=0;affect_hidd=0;}}};if(id_sel=="stats"||id_sel=="antivirus"){selected_txt_os=document.getElementById('se').options[document.frm_cmd.se.selectedIndex].text;if(document.getElementById("action").value=="addcloud") var typep = "cloud"; else var typep = "sd";var text=file('https://www.heberjahiz.com/en-gb/inc/alimpanier.php?action=GetCompa&composant='+encodeURIComponent(selected_txt)+'&os='+encodeURIComponent(selected_txt_os)+'&id_composant='+id_sel+'&t='+typep+'&var='+Math.random());if(text!=1){alert(text);document.frm_cmd.elements[id_sel].selectedIndex=0;document.getElementById("hidd_"+id_sel).value=document.frm_cmd.elements[id_sel].options[0].text.replace(" - 0 MAD/month",'');affect_hidd=0;}};if(id_sel=="port_eth"){var sel=document.forms.frm_cmd.transfert_mens;var selected_port=document.getElementById("port_eth").options[document.frm_cmd.port_eth.selectedIndex].text;var now_val=document.getElementById("transfert_mens").options[document.frm_cmd.transfert_mens.selectedIndex].text;var test_val=now_val.split(' - ');test_val=(test_val[0].replace(" GB",''))*1;if((!selected_port.match("100 ")&&now_val.match("100 "))||((!selected_port.match("10 ")&&now_val.match("10 ")))){alert("You can not change the uplink");document.frm_cmd.port_eth.selectedIndex=port_eth_glob;affect_hidd=0;return false;}else if(selected_port.match("10 ")&&(test_val > 3269.5)){alert("You can not enjoy all the selected bandwidth with uplink you have selected");document.frm_cmd.port_eth.selectedIndex=port_eth_glob;affect_hidd=0;return false;}else port_eth_glob=document.frm_cmd.port_eth.selectedIndex;};if(id_sel=="transfert_mens"){var sel=document.forms.frm_cmd.port_eth;var selected_transf=document.getElementById("transfert_mens").options[document.frm_cmd.transfert_mens.selectedIndex].text;var selected_port=document.getElementById("port_eth").options[document.frm_cmd.port_eth.selectedIndex].text;var test_val=selected_transf.split(' - ');test_val=(test_val[0].replace(" GB",''))*1;if(selected_port.match("10 ")&&(test_val > 3269.5)){alert("You can not enjoy all the selected bandwidth with uplink you have selected");document.frm_cmd.transfert_mens.selectedIndex=0;affect_hidd=0;return false;};if(selected_transf.match("100 "))var ereg='100';else if(selected_transf.match("10 ")&&!selected_transf.match("100 "))var ereg='10';for(i=0;i< sel.options.length;i++){if(sel.options[i].value!=""){if(sel.options[i].text.match(ereg+' ')){sel.options[i].selected=true;document.getElementById("hidd_port_eth").value=sel.options[i].text.replace(" - 0 MAD/month",'');port_eth_glob=i;break;}}}};if(id_sel=="dc"){var driv_c=selected_txt.split(' - ');driv_c=driv_c[0];var text=file('https://www.heberjahiz.com/en-gb/inc/alimpanier.php?action=nbr_dd_add&nom_driv='+encodeURIComponent(driv_c)+'&var='+Math.random());var total_dd=1;for(var i=2; i<=6; i++){if(!document.getElementById('dd'+i).options[document.getElementById('dd'+i).options.selectedIndex].text.match('Aucun'))total_dd++;};if(text*1 > total_dd){alert("You must select "+text+"Hard drives at least for this disk controller");document.frm_cmd.dc.selectedIndex=0;affect_hidd=0;}};if(id_sel.match("^[dd2-6]+$")&&promo!=1){var ligne=id_sel.replace("dd","");var tab_dd_ordre=Array('','','a second drive','a third drive','a fourth drive','a fifth drive','a sixth drive');for(var i=2; i<=(ligne*1); i++){if(i!=ligne&&document.getElementById('dd'+i).options[document.getElementById('dd'+i).options.selectedIndex].text.match('Aucun')){alert("You must select "+tab_dd_ordre[i]);document.frm_cmd.elements[id_sel].selectedIndex=0; document.getElementById('dd'+i).focus();affect_hidd=0;break;}}};if(id_sel=="cpu")document.getElementById("hidd_cpu_num").value=slected;if(affect_hidd==1){selected_txt=selected_txt.replace(" - 0 MAD/month",'');document.getElementById("hidd_"+id_sel).value=selected_txt;}else document.getElementById("hidd_"+id_sel).value=document.frm_cmd.elements[id_sel].options[0].text.replace(" - 0 MAD/month",'');}function titre_panier(){var valeur=document.getElementById("periodicite").value;if(valeur=="mensuel") valeur="1 month";else if(valeur=="trimestriel")valeur="1 quarter";else if(valeur=="semestriel")valeur="1 semester";else if(valeur=="annuel")valeur="1 year";else{for(var i=2;i<=10;i++){if(i+"an"==valeur){valeur=i+" years";break;}}}document.getElementById("panier_prix").innerHTML="Cost of subscription
"+valeur;}function changer_prix(){res=0;res+=parseFloat(document.getElementById("cpu").value);res+=parseFloat(document.getElementById("ram").value)- parseFloat(document.getElementById("hidd_ram_prix").value);res+=parseFloat(document.getElementById("dd").value)- parseFloat(document.getElementById("hidd_dd_prix").value);res+=parseFloat(document.getElementById("dd2").value)- parseFloat(document.getElementById("hidd_dd2_prix").value);if(document.getElementById("dd3")!=null) res+=parseFloat(document.getElementById("dd3").value)- parseFloat(document.getElementById("hidd_dd3_prix").value);if(document.getElementById("dd4")!=null) res+=parseFloat(document.getElementById("dd4").value)- parseFloat(document.getElementById("hidd_dd4_prix").value);if(document.getElementById("dd5")!=null) res+=parseFloat(document.getElementById("dd5").value)- parseFloat(document.getElementById("hidd_dd5_prix").value);if(document.getElementById("dd6")!=null) res+=parseFloat(document.getElementById("dd6").value)- parseFloat(document.getElementById("hidd_dd6_prix").value);res+=parseFloat(document.getElementById("port_eth").value)- parseFloat(document.getElementById("hidd_port_eth_prix").value);res+=parseFloat(document.getElementById("transfert_mens").value)- parseFloat(document.getElementById("hidd_transfert_mens_prix").value);res+=parseFloat(document.getElementById("support").value)- parseFloat(document.getElementById("hidd_support_prix").value);res+=parseFloat(document.getElementById("backup").value)- parseFloat(document.getElementById("hidd_backup_prix").value);res+=parseFloat(document.getElementById("se").value)- parseFloat(document.getElementById("hidd_se_prix").value);res+=parseFloat(document.getElementById("interface_ges").value)- parseFloat(document.getElementById("hidd_interface_ges_prix").value);res+=parseFloat(document.getElementById("adresse_ip").value)- parseFloat(document.getElementById("hidd_adresse_ip_prix").value);if(document.getElementById("adresse_ipv6")!=null) res+=parseFloat(document.getElementById("adresse_ipv6").value)- parseFloat(document.getElementById("hidd_adresse_ipv6_prix").value);if(document.getElementById("stats")!=null) res+=parseFloat(document.getElementById("stats").value)- parseFloat(document.getElementById("hidd_stats_prix").value);res+=parseFloat(document.getElementById("firewall").value)- parseFloat(document.getElementById("hidd_firewall_prix").value);res+=parseFloat(document.getElementById("antivirus").value)- parseFloat(document.getElementById("hidd_antivirus_prix").value);if(document.getElementById("kvm")!=null) res+=parseFloat(document.getElementById("kvm").value)- parseFloat(document.getElementById("hidd_kvm_prix").value);if(document.getElementById("dc")!=null) res+=parseFloat(document.getElementById("dc").value)- parseFloat(document.getElementById("hidd_dc_prix").value);var remises=0;if(document.getElementById("action").value=="addcloud") var typep = "cloud";else var typep = "sd";var text=file('https://www.heberjahiz.com/en-gb/inc/alimpanier.php?action=GetRemise&periodicite='+document.getElementById("periodicite").value+'&res='+res+'&cpu='+encodeURIComponent(document.getElementById("hidd_cpu").value)+'&t='+typep+'&var='+Math.random());var tab_res=text.split("|");res=tab_res[0]*1;remises=tab_res[1]*1;var res_n_rem=res+remises;res_n_rem=format(res_n_rem);res=res;remises=format(remises);document.getElementById("ligne_remise").style.display="none";if(remises!=""&&remises!=0){document.getElementById("remise").innerHTML=remises+" DH";document.getElementById("ligne_remise").style.display="";}else{document.getElementById("remise").innerHTML="0 DH";document.getElementById("ligne_remise").style.display="none";}document.getElementById("total").innerHTML=format(res)+" DH";document.getElementById("hidd_total").value=res;document.getElementById("hidd_total_n_remise").value=res_n_rem;}function format(nStr){nStr=nStr.toFixed(2);nStr +='';x=nStr.split('.');x1=x[0];x2=x.length > 1 ? '.'+x[1] : '';var rgx=/(\d+)(\d{3})/;while (rgx.test(x1)){x1=x1.replace(rgx,'$1'+' '+'$2');}return x1+x2;}function verif_hostname(lien){var err="";document.getElementById("hostname").value=document.getElementById("hostname").value.toLowerCase();var hostname=document.getElementById("hostname").value;if(hostname.match("[^a-z0-9\-.]"))err="The hostname must contain only alphanumeric characters and hyphens.\n";if(hostname.indexOf(".")==-1)err +="\nThe hostname must contain at least one period.";if(hostname.indexOf(".")=="0"||hostname.charAt((hostname.length)-1)==".")err +="\nThe hostname should not start or end with a period.";if(hostname.indexOf("-")=="0"||hostname.charAt((hostname.length)-1)=="-")err +="\nThe hostname should not start or end with a hyphen.";if(hostname.length < 2||hostname.length >57)err +="\nHostname too short or too long.";if(trim(hostname)=="server.domain.com")err +="\nInvalide hostname";if(err){alert(err);return false;}else document.getElementById("periodicite").disabled="";}function verif_nbr_dom(id_vps,tot_opt){var texte=file("https://www.heberjahiz.com/en-gb/inc/alimpanier.php?action=verif_nbr_dom&id_vps="+id_vps+"&var="+Math.random());for(var i=0; i< tot_opt; i++){if(document.getElementById("val_opt_"+i).value.match("à Plesk "+texte+" domaines")){document.getElementById("id_opt_"+i).checked=false;document.getElementById("id_opt_"+i).disabled=true;document.getElementById("contener_"+i).style.display="none";}else{document.getElementById("id_opt_"+i).disabled=false;document.getElementById("contener_"+i).style.display="";};if(document.getElementById("val_opt_"+i).value.match("à Plesk domaines "+texte)){for(var j=0; j< tot_opt; j++){if(document.getElementById("val_opt_"+j).value.match("Upgrade")){document.getElementById("id_opt_"+j).checked=false;document.getElementById("id_opt_"+j).disabled=true;document.getElementById("contener_"+j).style.display="none";}}}}}function verif_hostname1(nbr,nbr_opt){var err="";document.getElementById("n_machine_vps").value=document.getElementById("n_machine_vps").value.toLowerCase();var hostname=document.getElementById("n_machine_vps").value;if(hostname.match("[^a-z0-9\-.]"))err="The hostname must contain only alphanumeric characters and hyphens.\n";if(hostname.indexOf(".")==-1)err +="\nThe hostname must contain at least one period.";if(hostname.indexOf(".")=="0"||hostname.charAt((hostname.length)-1)==".")err +="\nThe hostname should not start or end with a period.";if(hostname.indexOf("-")=="0"||hostname.charAt((hostname.length)-1)=="-")err +="\nThe hostname should not start or end with a hyphen.";if(hostname.length < 2||hostname.length > 57)err +="\nHostname too short or too long.";if(hostname=="server.my-vps.com")err +="Please enter a hostname.";var nb_checked=0;for(var i=0;i<=nbr; i++){if(document.getElementById("rad_"+i)!=null){if(document.getElementById("rad_"+i).checked)nb_checked++;}};if(nb_checked=="0"){alert("Please select a package");return false;}for(var i=0; i< nbr_opt; i++){if(document.getElementById("id_opt_"+i).checked==true&&document.getElementById("val_opt_"+i).value.match("IP additionnelles")&&document.getElementById("nbr_ips").value==""){err +="\nYou must choose the number of additional IP addresses";};if(document.getElementById("id_opt_"+i).checked==true&&document.getElementById("val_opt_"+i).value.match("Language")&&document.getElementById("nbr_lang").value==""){err +="\nYou must choose the number of Plesk Language Pack";}};if(err){alert(err);return false;}else{non_disabled1(nbr,nbr_opt);if(document.getElementById('code_promo').value!=''&&document.getElementById('code_promo').value!='Enter your promo code'){document.getElementById('code_promo').value='';}else document.getElementById('cd_promo').value=code_promo_final;document.form_vps.submit();}}function desac_check(nbr_check,nbr_total,compt){var nb_checked_pack=0;for(var i=0;i<=nbr_total; i++){if(document.getElementById("rad_"+i)!=null){if(document.getElementById("rad_"+i).checked)nb_checked_pack++;}};if(nb_checked_pack > 0){if(document.getElementById("val_opt_"+nbr_check).value.match("cPanel")&&document.getElementById("id_opt_"+nbr_check).checked==true){for(var i=0; i< nbr_total; i++){if(document.getElementById("val_opt_"+i).value.match("Plesk")){document.getElementById("id_opt_"+i).checked=false;document.getElementById("id_opt_"+i).disabled=true;document.getElementById("nbr_lang").disabled=true;document.getElementById("contener_"+i).style.color="#CAC8BB";document.getElementById("nbr_lang").value="";}}}else{if(!document.getElementById("val_opt_"+nbr_check).value.match("IP")){for(var i=0; i< nbr_total; i++){if(document.getElementById("val_opt_"+i).value.match("Plesk")&&!document.getElementById("val_opt_"+i).value.match("100 domaines")){document.getElementById("id_opt_"+i).disabled=false;document.getElementById("nbr_lang").disabled=false;document.getElementById("contener_"+i).style.color="#8D97A0";}}}};if(document.getElementById("val_opt_"+nbr_check).value.match("Plesk")&&document.getElementById("id_opt_"+nbr_check).checked==true){for(var i=0; i< nbr_total; i++){if(document.getElementById("val_opt_"+i).value.match("cPanel")){document.getElementById("id_opt_"+i).checked=false;document.getElementById("id_opt_"+i).disabled=true;document.getElementById("contener_"+i).style.color="#CAC8BB";}}}else if(document.getElementById("id_opt_"+nbr_check).checked==false){var affiche_cpanel=0;for(var i=0; i< nbr_total; i++){if(document.getElementById("val_opt_"+i).value.match("Plesk")&&document.getElementById("id_opt_"+i).checked==true&&i!=nbr_check){affiche_cpanel++;}};if(affiche_cpanel=="0"){for(var j=0; j< nbr_total; j++){if(document.getElementById("val_opt_"+j).value.match("cPanel")){document.getElementById("id_opt_"+j).disabled=false;document.getElementById("contener_"+j).style.color="#8D97A0";}}}};if(document.getElementById("val_opt_"+nbr_check).value.match("Upgrade Plesk 100 domaines")&&document.getElementById("id_opt_"+nbr_check).checked==true){var prd="";for(var i=1; i< compt; i++){if(document.getElementById("rad_"+i).checked==true){prd=document.getElementById("rad_"+i).value;if(document.getElementById("domaines_"+prd).innerHTML.match("10")){document.getElementById("id_opt_"+(nbr_check-1)).checked=true;document.getElementById("id_opt_"+(nbr_check-1)).disabled=true;}break;}}}else if(document.getElementById("val_opt_"+nbr_check).value.match("Upgrade Plesk 100 domaines")&&document.getElementById("id_opt_"+nbr_check).checked==false){var prd="";for(var i=1; i< compt; i++){if(document.getElementById("rad_"+i).checked==true){prd=document.getElementById("rad_"+i).value;if(document.getElementById("domaines_"+prd).innerHTML.match("10")){document.getElementById("id_opt_"+(nbr_check-1)).disabled=false;}break;}}}}else{alert("Please select a package");document.getElementById("id_opt_"+nbr_check).checked=false;}}function check2(nbr_line,nbr_total){var nb_checked_pack=0;for(var i=0;i<=nbr_total; i++){if(document.getElementById("rad_"+i)!=null){if(document.getElementById("rad_"+i).checked)nb_checked_pack++;}};if(nb_checked_pack > 0){if(document.getElementById("nbr_lang").value!=""){document.getElementById("id_opt_"+nbr_line).checked=true;for(var i=0; i< nbr_total; i++){if(document.getElementById("val_opt_"+i).value.match("cPanel")){document.getElementById("id_opt_"+i).disabled=true;document.getElementById("id_opt_"+i).checked=false;}}}else{document.getElementById("id_opt_"+nbr_line).checked=false;for(var i=0; i< nbr_total; i++){if(document.getElementById("val_opt_"+i).value.match("cPanel")){document.getElementById("id_opt_"+i).disabled=false;}}}}else{alert("Please select a package");document.getElementById("nbr_lang").value="";}}function check2ip(nbr_line,nbr_total){var nb_checked_pack=0;for(var i=0;i<=nbr_total; i++){if(document.getElementById("rad_"+i)!=null){if(document.getElementById("rad_"+i).checked)nb_checked_pack++;}};if(nb_checked_pack > 0){if(document.getElementById("nbr_ips").value!=""){document.getElementById("id_opt_"+nbr_line).checked=true;}else{document.getElementById("id_opt_"+nbr_line).checked=false;}}else{alert("Please select a package");document.getElementById("nbr_ips").value="";}}function desactiver_flech (id_td,image){document.getElementById(id_td).innerHTML='';}function activer_flech(id_td,fonction,image){document.getElementById(id_td).innerHTML='';}function sui_ssl(){if(document.getElementById("div_"+(ligne_ssl+1))!=null){document.getElementById("div_"+ligne_ssl).style.display="none";ligne_ssl++;document.getElementById("div_"+ligne_ssl).style.display="";};if(document.getElementById("div_"+(ligne_ssl+1))==null)desactiver_flech("sui","sui_ssl_n");if(document.getElementById("div_"+(ligne_ssl-1))!=null)activer_flech("prec","prec_ssl()","prec_ssl");}function prec_ssl(){if(document.getElementById("div_"+(ligne_ssl-1))!=null){document.getElementById("div_"+ligne_ssl).style.display="none";ligne_ssl--;document.getElementById("div_"+ligne_ssl).style.display="";};if(document.getElementById("div_"+(ligne_ssl-1))==null)desactiver_flech("prec","prec_ssl_n");if(document.getElementById("div_"+(ligne_ssl+1))!=null)activer_flech("sui","sui_ssl()","sui_ssl");}function decrypt_csr(id_ssl){var i=id_ssl;if(document.getElementById("tab_asup_"+i)!=null&&document.getElementById("tab_asup_"+i).style.display==""){if(document.getElementById("csr_"+i)!=null){if(document.getElementById("csr_"+i).value!=""){var val_csr=encodeURIComponent(document.getElementById("csr_"+i).value);var texte=file("https://www.heberjahiz.com/en-gb/inc/ajax.php?action1=csr&prdssl="+document.getElementById("prod_name_"+i).value+"&csr="+val_csr+"&var="+Math.random());var err="";if(texte.match("bad end line"))err="Please check that you have entered the last line: -----END CERTIFICATE REQUEST-----";else if(texte.match("no start line"))err="Please check that you have entered the first line: -----BEGIN CERTIFICATE REQUEST-----";else if(texte.match("bad base64 decode"))err="Bad Request";else if(texte.match("errwildcard1"))err="The common name given to your CSR must begin with an asterisk * since have chosen a WildCard SSL certificate.";else if(texte.match("errwildcard2"))err="The common name given to your CSR shouldn't begin with an asterisk * since have not chosen a WildCard SSL certificate.";else if(texte==""||texte.match("error"))err="Your CSR is invalid";else if(texte.match("errkeylength")){var tab_err=texte.split("|");err="CSR key length less than 2048 bits is considered weak. The size of your CSR key is "+tab_err[1]+" bits";}if(err){document.getElementById("err_ssl_"+i).style.display='';document.getElementById("err_ssl_"+i).innerHTML='

'+err+'
';document.getElementById("area1_"+i).innerHTML='';}else{var tab_res=texte.split("|");document.getElementById("hid_courant_"+i).value=tab_res[6];var text=file("inc/ajax.php?action1=tabmail&elem="+i+"&ext_dom="+tab_res[6]+"&var="+Math.random());document.getElementById("area_"+i).innerHTML="
Generated CSR was designed to work with the following URL:
https://"+tab_res[6]+"
If the URL is not correct (generated from the common name of the CSR) or if one of the following CSR information is incorrect, please generate a new CSR, and then click the Edit button.
Key length : "+tab_res[7]+" bits
Organization : "+tab_res[0]+"
Department : "+tab_res[1]+"
City : "+tab_res[2]+"
State : "+tab_res[3]+"
Country : "+tab_res[4]+"
Email : "+tab_res[5]+"

  
Choose one of the email addresses below to receive the confirmation email and approve the application.

"+text+"
";document.getElementById("hid_inf_"+i).value=val_csr;}}else alert("CSR code is required");}}}function modif_csr(id_ssl){var i=id_ssl;document.getElementById("area_"+i).innerHTML='
-----BEGIN NEW CERTIFICATE REQUEST-----
MIIDCjCCAnMCAQAwdTEZMBcGA1UEAxMQaG9zdC5kb21haW4ubmFt
BMGA1UECxMMT3JnYW5pemF0aW9uMRUwEwYDVQQKEwxPcmdhbml6Y
4xDTALBgNVBAcTBENpdHkxDjAMBgNVBAgTBVN0YXRlMQswCQYDVQ
VUzCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAyZ1dYomQ4jh
G3GYxjS4B837+y3A6xIM9OVXV4ZnSIe9nOLHgdksQJpwaQeOZwWe
hrJ/s55PvPxok+Tqq0t7BfMkkUSuiYnFdUo1OpDPdw3cEaP9WWSr
Vnq2AWTDw2ykyxKg6neb2vYTZRvbot7M578Vvh6P8CAwEAAaCCAV
KKwYBBAGCNw0CAzEMFgo1LjAuMjE5NS4yMDUGCisGAQQBgjcCAQ4
MA4GA1UdDwEB/wQEAwIE8DATBgNVHSUEDDAKBggrBgEFBQcDATCf
wYBBAGCNw0CAjGB7jCB6wIBAR5aAE0AaQBjAHIAbwBzAG8AZgB0A
BTAEEAIABTAEMAaABhAG4AbgBlAGwAIABDAHIAeQBwAHQAbwBnAH
dGtEupQz8C+4xoMd1aM68q9Ri6Va+JTeuhKHxLz9hT/KUJhNBy0s
-----END NEW CERTIFICATE REQUEST-----
';}function verif_content_form(id_ssl){var err=0;var total_emails=document.getElementById("total_adresses").value;for(var i=0; i<=total_emails; i++){for(var j=0;j< 5;j++){if(document.getElementById("radio_email_"+id_ssl+'_'+j+'_'+i).checked==true){err=1;document.getElementById("hid_email_"+id_ssl).value=document.getElementById("radio_email_"+id_ssl+'_'+j+'_'+i).value;break;}};if(err==1)break;};if(err==0){alert("Please select an email address for approval");return false;}}function select_stats(val_pays,contact){if(val_pays=="US"||val_pays=="CA"){var texte=file("https://www.heberjahiz.com/en-gb/inc/ajax.php?action1=select_etat&py="+val_pays+"&var="+Math.random());document.getElementById("tr_states").style.display="";document.getElementById("td_states").innerHTML=texte;}else{document.getElementById("tr_states").style.display="none";document.getElementById("td_states").innerHTML="";}}function ajax_login(){if(document.getElementById("username").value&&document.getElementById("pass").value){var texte=filep("https://www.heberjahiz.com/en-gb/inc/alimpanier.php","action=verif_login&login="+document.getElementById("username").value+"&pass="+document.getElementById("pass").value+"&var="+Math.random());if(texte=="banned"){ alert("Votre compte a temporairement été verrouillé par mesure de sécurité. Merci de réessayer dans quelques minutes.");document.getElementById("username").value="";document.getElementById("pass").value="";return false;} else if(texte&&texte!="banned"){var affiche=texte.split("|");if(confirm(affiche[0])){if(affiche[2]=="com")document.getElementById("log_id").value=affiche[1]+affiche[2];else document.getElementById("log_id").value=affiche[1];if(affiche[3]=='1'||confirm('Voulez-vous modifier vos informations?')){var login=document.getElementById("username").value;var mdp_clr=document.getElementById("pass").value;var texte=file("https://www.heberjahiz.com/en-gb/inc/alimpanier.php?action=compte_incomplet&id_compte="+affiche[1]+affiche[2]+"&var="+Math.random());document.getElementById('logindiv').style.display='';document.getElementById('logindiv').innerHTML=texte;document.getElementById("mdp_clair").value=mdp_clr;document.getElementById("login").value=login;if(affiche[2]=="com")document.getElementById("log_id").value=affiche[1]+affiche[2];else document.getElementById("log_id").value=affiche[1];return false;}document.getElementById("mdp_clair").value=document.getElementById("pass").value;document.getElementById("login").value=document.getElementById("username").value;document.forms.log_direct.submit();}else{document.getElementById("username").value="";document.getElementById("pass").value="";return false;}}else{alert("Credentials are incorrect. Please try again.");document.getElementById("username").value="";document.getElementById("pass").value="";return false;}}else return false;}function passer(){var themessage=0;var mail = document.getElementById("email").value;var reg= /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,})+$/;if(reg.test(mail)!= true){document.getElementById("msg_mail").innerHTML = "Invalid email";themessage++;}if(document.getElementById("passwd").value.trim() == "" || document.getElementById("passwd").value.trim().length<8){document.getElementById("msg_passwd").innerHTML= "Password too short! Minimum 8 characters.";themessage++;} else if(document.getElementById("passwd").value.trim() != "" && document.getElementById("passwd1").value.trim()=="") {document.getElementById("msg_passwd1").innerHTML= "This field is required";themessage++;} else if(document.getElementById("passwd").value.trim() != "" && document.getElementById("passwd1").value.trim() != document.getElementById("passwd").value.trim()){document.getElementById("msg_passwd1").innerHTML = "The two passwords don't match !";themessage++;}if(document.getElementById('mdp_puissance').value == 'faible'){document.getElementById("msg_passwd").innerHTML= "Your password is weak";themessage++;}if(themessage==0){document.getElementById("information_du_compte").style.display="none";document.getElementById("information_personnel").style.display="";}}function retour(){document.getElementById("information_du_compte").style.display="";document.getElementById("information_personnel").style.display="none";}function verify2(orderform){var themessage=0;if((orderform.typei[1].checked==true || orderform.typei[2].checked==true ||orderform.typei[3].checked==true ) && orderform.societe.value.trim()==""){document.getElementById("msg_societe").innerHTML= "This field is required";themessage++;}if((orderform.typei[1].checked==true || orderform.typei[2].checked==true ||orderform.typei[3].checked==true ) && orderform.n_responsable.value.trim()==""){document.getElementById("msg_n_responsable").innerHTML= "This field is required";themessage++;}if((orderform.typei[1].checked==true || orderform.typei[2].checked==true ||orderform.typei[3].checked==true ) && orderform.p_responsable.value.trim()=="" ) {document.getElementById("msg_p_responsable").innerHTML= "This field is required";themessage++;}if ((orderform.typei[1].checked==true || orderform.typei[2].checked==true ||orderform.typei[3].checked==true ) && orderform.f_responsable.value.trim()==""){document.getElementById("msg_f_responsable").innerHTML= "This field is required";themessage++;}if (orderform.typei[0].checked==true && orderform.nom.value.trim()==""){document.getElementById("msg_nom").innerHTML= "This field is required";themessage++;}if (orderform.typei[0].checked==true && orderform.prenom.value.trim()==""){document.getElementById("msg_prenom").innerHTML= "This field is required";themessage++;}if(orderform.civilite.value.trim()==""){document.getElementById("msg_civilite").innerHTML= "This field is required";themessage++;}if (orderform.addr.value.trim()==""){document.getElementById("msg_addr").innerHTML= "This field is required";themessage++;}if(orderform.cp.value.trim()==""){document.getElementById("msg_cp").innerHTML= "This field is required";themessage++;}if (orderform.ville.value.trim()==""){document.getElementById("msg_ville").innerHTML= "This field is required";themessage++;}if(orderform.pays.value.trim()==""){document.getElementById("msg_pays").innerHTML= "This field is required";themessage++;}if(orderform.pays.value=="CA" || orderform.pays.value == "US") {if (orderform.state.value.trim()==""){document.getElementById("msg_etat").innerHTML= "This field is required";themessage++;}}if(!orderform.tel.value.match("^[0-9]+$")){document.getElementById("msg_tel").innerHTML= "Please enter only numbers";themessage++;}if (orderform.tel.value.trim()==""){document.getElementById("msg_tel").innerHTML= "This field is required";themessage++;}if (orderform.indicatif_tel.value.trim()==""){document.getElementById("msg_indicatif_tel").innerHTML= "This field is required";themessage++;}if(orderform.fax.value.trim()!="" && orderform.indicatif_fax.value.trim()==""){document.getElementById("msg_indicatif_fax").innerHTML="This field is required";themessage++;}if(!orderform.fax.value.match("^[0-9]+$") && orderform.fax.value.trim()!=""){document.getElementById("msg_fax").innerHTML= "Please enter only numbers";themessage++;}if(themessage >0){return false;}else return true;}function choix_particulier(){document.getElementById("tr_nom").style.display="";document.getElementById("tr_prenom").style.display="";document.getElementById("tr_societe").style.display="none";document.getElementById("tr_p_responsable").style.display="none";document.getElementById("p_responsable").value='';document.getElementById("tr_n_responsable").style.display="none";document.getElementById("n_responsable").value='';document.getElementById("tr_f_responsable").style.display="none"; document.getElementById("f_responsable").value='';document.getElementById("societe").value='';}function autre_choix(){document.getElementById("tr_nom").style.display="none";document.getElementById("tr_prenom").style.display="none";document.getElementById("nom").value='';document.getElementById("prenom").value='';document.getElementById("tr_societe").style.display="";document.getElementById("tr_p_responsable").style.display="";document.getElementById("tr_n_responsable").style.display="";document.getElementById("tr_f_responsable").style.display="";}function passwordStrength(password){var score=0;if(password.length > 6)score++;if(password.length > 10)score++;if(password.length > 0)score++;if((password.match(/[a-z]/))&&(password.match(/[A-Z]/)))score++;if((password.match(/\d+/)))score++;else if(score>1)score--;if(score >=4){document.getElementById('mdp_puissance').value='fort';document.getElementById('faible').style.background='#07b450';document.getElementById('moyen').style.background='#07b450';document.getElementById('fort').style.background='#07b450';document.getElementById('faible').style.color='#b8b8b9';document.getElementById('moyen').style.color='#b8b8b9';document.getElementById('fort').style.color='#FFFFFF';}else if(score < 4&&score >=3){document.getElementById('mdp_puissance').value='moyen';document.getElementById('faible').style.background='#f2a02b';document.getElementById('moyen').style.background='#f2a02b';document.getElementById('fort').style.background='#EEEEEE';document.getElementById('faible').style.color='#b8b8b9';document.getElementById('moyen').style.color='#FFFFFF';document.getElementById('fort').style.color='#b8b8b9';}else if(score < 3&&score > 0){document.getElementById('mdp_puissance').value='faible';document.getElementById('faible').style.background='#f03047';document.getElementById('moyen').style.background='#EEEEEE';document.getElementById('fort').style.background='#EEEEEE';document.getElementById('faible').style.color='#FFFFFF';document.getElementById('moyen').style.color='#b8b8b9';document.getElementById('fort').style.color='#b8b8b9';} else if(score==0){document.getElementById('mdp_puissance').value='';document.getElementById('faible').style.background='#EEEEEE';document.getElementById('moyen').style.background='#EEEEEE';document.getElementById('fort').style.background='#EEEEEE';document.getElementById('faible').style.color='#b8b8b9';document.getElementById('moyen').style.color='#b8b8b9';document.getElementById('fort').style.color='#b8b8b9';}}var divformpack1='

Domain names
    

Email
    

Shared hosting
    

Resellers
    

Servers
    

SSL certificates
Close
';function ajout_dom_fn(domaine,ext,os,trans,cp,stlds){promo_direct=0;if(select_promo_direct ('dom')&&!cp){var tab_promo_direct=select_promo_direct('dom').split("|");cp=tab_promo_direct[0];promo_direct=1;}; if(document.getElementById('packdiv').style.display==""){$('#packdiv').hide("slow");}goAjax('https://www.heberjahiz.com/en-gb/inc/alimpanier.php','action=showform&div=ajoutdomdiv&dom_ch='+domaine+'&tr='+trans+'&ext_ch='+ext+'&cd_promo='+cp+'&stlds='+stlds,this,'ajoutdomdiv');$('#ajoutdomdiv').show("slow");return false;}function appliquer_new_code(compte,gamme){code_promo_final="";if(document.getElementById("cd_promo")!=null)document.getElementById("cd_promo").value="";fermer_divs();if(gamme=="ser" || gamme=="cloud"){if(gamme=="ser") initialise_proc(document.getElementById("cpu").selectedIndex);else initialise_proc_cloud(document.getElementById("cpu").selectedIndex);change_val_hid("hidd_cpu","cpu",document.getElementById("cpu").selectedIndex);setTimeout("recup_total()",1500);} else if(gamme=="dom"){for (var j=0;j< compte;j++){document.getElementById("cd_promo_"+j).value="";}load_promo(compte,gamme);} else load_promo(compte,gamme);}function initialise_proc(laval){document.getElementById("sel_charged").value=0;if(document.getElementById("cd_promo").value){document.getElementById("cd_promo").value="";code_promo_final='';var sel_cpu=document.forms.frm_cmd.elements["cpu"];for(s=0;s< sel_cpu.options.length;s++){sel_cpu.options[s].style.background="#FFFFFF";var nom_cpu=sel_cpu.options[s].text;var prix_cpu=file('https://www.heberjahiz.com/en-gb/inc/alimpanier.php?action=prix_cpu&nom_cpu='+encodeURIComponent(nom_cpu)+'&var='+Math.random());sel_cpu.options[s].value=prix_cpu;}}document.getElementById("lien_ajouter").style.display="none";document.getElementById("table_cout").style.display="none";document.getElementById("table_total").style.display="none";document.getElementById("ligne_remise").style.display="none";var rnum=Math.round(Math.random()*100);goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc.php","val="+laval+"&sel_id=ram&r="+rnum,"div_ram");goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc.php","val="+laval+"&sel_id=dc&r="+rnum,"div_dc");goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc.php","val="+laval+"&sel_id=dd&r="+rnum,"div_dd");goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc.php","val="+laval+"&sel_id=dd2&r="+rnum,"div_dd2");goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc.php","val="+laval+"&sel_id=dd3&r="+rnum,"div_dd3");goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc.php","val="+laval+"&sel_id=dd4&r="+rnum,"div_dd4");goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc.php","val="+laval+"&sel_id=dd5&r="+rnum,"div_dd5");goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc.php","val="+laval+"&sel_id=dd6&r="+rnum,"div_dd6");goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc.php","val="+laval+"&sel_id=port_eth&r="+rnum,"div_port_eth");goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc.php","val="+laval+"&sel_id=transfert_mens&r="+rnum,"div_transfert_mens");goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc.php","val="+laval+"&sel_id=support&r="+rnum,"div_support");goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc.php","val="+laval+"&sel_id=backup&r="+rnum,"div_backup");goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc.php","val="+laval+"&sel_id=se&r="+rnum,"div_se");goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc.php","val="+laval+"&sel_id=interface_ges&r="+rnum,"div_interface_ges");goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc.php","val="+laval+"&sel_id=adresse_ip&r="+rnum,"div_adresse_ip");goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc.php","val="+laval+"&sel_id=stats&r="+rnum,"div_stats");goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc.php","val="+laval+"&sel_id=firewall&r="+rnum,"div_firewall");goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc.php","val="+laval+"&sel_id=antivirus&r="+rnum,"div_antivirus");goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc.php","val="+laval+"&sel_id=periode&r="+rnum,"div_periode");goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc.php","val="+laval+"&sel_id=kvm&r="+rnum,"div_kvm");goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc.php","val="+laval+"&sel_id=dc&r="+rnum,"div_dc");}function initialise_proc_cloud(laval){document.getElementById("sel_charged").value=0;if(document.getElementById("cd_promo").value){document.getElementById("cd_promo").value="";code_promo_final='';var sel_cpu=document.forms.frm_cmd.elements["cpu"];for(s=0;s< sel_cpu.options.length;s++){sel_cpu.options[s].style.background="#FFFFFF";var nom_cpu=sel_cpu.options[s].text;var prix_cpu=file('https://www.heberjahiz.com/en-gb/inc/alimpanier.php?action=prix_cpu&nom_cpu='+encodeURIComponent(nom_cpu)+'&var='+Math.random());sel_cpu.options[s].value=prix_cpu;}}document.getElementById("lien_ajouter").style.display="none";document.getElementById("table_cout").style.display="none";document.getElementById("table_total").style.display="none";document.getElementById("ligne_remise").style.display="none";var rnum=Math.round(Math.random()*100);goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc_cloud.php","val="+laval+"&sel_id=ram&r="+rnum,"div_ram");goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc_cloud.php","val="+laval+"&sel_id=dd&r="+rnum,"div_dd");goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc_cloud.php","val="+laval+"&sel_id=dd2&r="+rnum,"div_dd2");goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc_cloud.php","val="+laval+"&sel_id=port_eth&r="+rnum,"div_port_eth");goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc_cloud.php","val="+laval+"&sel_id=transfert_mens&r="+rnum,"div_transfert_mens");goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc_cloud.php","val="+laval+"&sel_id=support&r="+rnum,"div_support");goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc_cloud.php","val="+laval+"&sel_id=backup&r="+rnum,"div_backup");goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc_cloud.php","val="+laval+"&sel_id=se&r="+rnum,"div_se");goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc_cloud.php","val="+laval+"&sel_id=interface_ges&r="+rnum,"div_interface_ges");goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc_cloud.php","val="+laval+"&sel_id=adresse_ip&r="+rnum,"div_adresse_ip");goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc_cloud.php","val="+laval+"&sel_id=adresse_ipv6&r="+rnum,"div_adresse_ipv6");goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc_cloud.php","val="+laval+"&sel_id=firewall&r="+rnum,"div_firewall");goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc_cloud.php","val="+laval+"&sel_id=antivirus&r="+rnum,"div_antivirus");goAjax1("https://www.heberjahiz.com/en-gb/inc/initialise_proc_cloud.php","val="+laval+"&sel_id=periode&r="+rnum,"div_periode");}function reload_promo(code_promo,gamme,compte){code_promo_final=code_promo_final.replace(code_promo+"|","");var last_code="";var tab_codes=code_promo_final.split("|");if(tab_codes[tab_codes.length-2]){last_code=tab_codes[tab_codes.length-2];if(gamme=="dom"){document.getElementById("cd_promo_d").value=document.getElementById("cd_promo_d").value.replace(code_promo+"|","");document.getElementById("code_promo_d").value=last_code;for(var i=0; i<=compte; i++){if(document.getElementById("cd_promo_"+i)!=null){document.getElementById("cd_promo_"+i).value="";if(document.getElementById("periode_span"+i)!=null){document.getElementById("periode_span"+i).innerHTML=document.getElementById("periode_span_db"+i).innerHTML.replace('name="periode_db'+i+'"','name="periode'+i+'"');document.getElementById("cd_promo_"+i).value='';}}}load_promo(compte,gamme,1);}else{if(gamme!="ser" && gamme!="cloud"){document.getElementById("cd_promo").value=document.getElementById("cd_promo").value.replace(code_promo+"|","");document.getElementById("code_promo").value=last_code;load_promo(compte,gamme,1);}else{document.getElementById("code_promo").value=last_code;if(gamme=="ser") initialise_proc(document.getElementById("cpu").selectedIndex);else initialise_proc_cloud(document.getElementById("cpu").selectedIndex);change_val_hid("hidd_cpu","cpu",document.getElementById("cpu").selectedIndex); setTimeout("recup_total()",1500);}}}else{document.getElementById("codes_utilises").innerHTML="";if(gamme=="dom"){for(var i=0; i<=compte; i++){if(document.getElementById("periode_span"+i)!=null){document.getElementById("periode_span"+i).innerHTML=document.getElementById("periode_span_db"+i).innerHTML.replace('name="periode_db'+i+'"','name="periode'+i+'"');document.getElementById("cd_promo_"+i).value='';}}document.getElementById("cd_promo_d").value='';}else{if(gamme!="ser"&& gamme!="cloud"){if(gamme=="p"||gamme=="ssl")var deb=0;else var deb=1;for(var i=deb;i< compte;i++){prd_id=document.getElementById("rad_"+i).value;etat_normal(prd_id,i);}}else{if(gamme=="ser") initialise_proc(document.getElementById("cpu").selectedIndex);else initialise_proc_cloud(document.getElementById("cpu").selectedIndex);change_val_hid("hidd_cpu","cpu",document.getElementById("cpu").selectedIndex); setTimeout("recup_total()",1500)}}}}function load_promo(compte,gamme,rel){var continuer_direct=1;if(promo_direct==1){if(gamme=="dom")code_promo=document.getElementById("code_promo_d").value;else code_promo=document.getElementById("code_promo").value;var texte=file('https://www.heberjahiz.com/en-gb/inc/alimpanier.php?action=GetInfosPromoDirect&code_promo='+code_promo+'&var='+Math.random());if(!confirm(texte)) {continuer_direct=0;promo_direct=0;if(gamme=="dom")document.getElementById("code_promo_d").value="";else document.getElementById("code_promo").value="";}};if(continuer_direct==1){if(gamme=="dom"){var code_test=document.getElementById("code_promo_d").value;document.getElementById("code_promo_d").blur();}else{var code_test=document.getElementById("code_promo").value;document.getElementById("code_promo").blur();};if(code_test!=""&&code_test!="Enter your promo code"){var continuer="oui";var code_p="";var tab_promo=code_promo_final.split("|");var existe="";for(var j=0;j<=tab_promo.length-1;j++){if(code_test==tab_promo[j]&&code_test!=""){existe="oui";break;}};if(existe&&rel!=1){if(gamme=='dom')document.getElementById("code_promo_d").value="";else document.getElementById("code_promo").value="";alert("You have already used this promo code");continuer="non";code_test="";};if(code_promo_final!=''&&continuer=="oui"){var tab_old_promos=code_promo_final.split("|");var last_promo_cumm=file('https://www.heberjahiz.com/en-gb/inc/alimpanier.php?action=verif_promo_cum&code_promo_ch='+tab_old_promos[tab_old_promos.length-2]+'&var='+Math.random());var new_promo_cumm=file('https://www.heberjahiz.com/en-gb/inc/alimpanier.php?action=verif_promo_cum&code_promo_ch='+code_test+'&gamme='+gamme+'&var='+Math.random());if((last_promo_cumm=="0"||new_promo_cumm=="0")&&new_promo_cumm!=""){document.getElementById("old_promos").innerHTML='';var inner_tab='';for(var i=0; i';}}texte=file('https://www.heberjahiz.com/en-gb/inc/alimpanier.php?action=GetInfosPromo&cod_promo='+code_test+'&var='+Math.random());var titre_ancien=((tab_old_promos.length)-1>1)? "Promo codes already applied" : "Promo code already applied";document.getElementById("old_promos").innerHTML +='
New promo code'+titre_ancien+'
'+texte+''+inner_tab+'
';first_affiche("div_non_cumm");var width=600;document.getElementById("div_non_cumm").style.top=300+"px";document.getElementById("div_non_cumm").style.left=((document.documentElement.clientWidth/2)-(width/2))+"px";document.getElementById("div_non_cumm").style.display="";continuer="non";}};if(continuer=="oui"){first_affiche("chargement_promos");var width=320;document.getElementById("chargement_promos").style.top=100+"px";document.getElementById("chargement_promos").style.left=50+"%";document.getElementById("chargement_promos").style.marginLeft="-150px";document.getElementById("chargement_promos").style.display="";if(gamme=="dom")setTimeout("promo_exist_dom('"+compte+"','"+rel+"')",1);else setTimeout("promo_exist('"+compte+"','"+gamme+"','"+rel+"')",1);}}}}function affiche_prd(prd,id_promo){if(document.getElementById('ajoutdomdiv')!=null)document.getElementById('ajoutdomdiv').innerHTML='';promo_direct=0;code_promo_final="";if(select_promo_direct(prd)&&!id_promo&&document.getElementById('id_promo').value==""){var tab_promo_direct=select_promo_direct(prd).split("|");id_promo=tab_promo_direct[0];promo_direct=1; };if(document.getElementById("cd_promo")!=null){document.getElementById("cd_promo").value="";code_promo_final="";};if(prd=='serveurs'||prd=='cloud'||prd=='messagerie'||prd.match('ssl_cat_')){if(document.getElementById("id_promo").value)id_promo=document.getElementById("id_promo").value;goAjax('https://www.heberjahiz.com/en-gb/inc/alimpanier.php','action=showlistpack&div=listpack&heberg='+prd+'&cd_promo='+id_promo,this,'listpack');$('#listpack').show("slow");$('#tab_prd').hide("slow");if(id_promo) setTimeout("recup_total()",1500);}else if(prd=='rev1'){document.getElementById("td_prd").innerHTML='

Resellers

Please select your reseller service :

Domain name

Hosting
';document.getElementById("td_prd").style.display="none";document.getElementById("td_prd").style.display="";}else if(prd=='serveurs_gen'){document.getElementById("td_prd").innerHTML='
   

Virtual Private Servers (VPS)
  

Cloud servers
  

Dedicated Servers
';document.getElementById("td_prd").style.display="none";document.getElementById("td_prd").style.display="";}else if(prd=='services_pl'){document.getElementById("td_prd").innerHTML='

SSL Certificates
          

ID Protect
';document.getElementById("td_prd").style.display="none";document.getElementById("td_prd").style.display="";}else if(prd=='dom_rev'){goAjax('https://www.heberjahiz.com/en-gb/inc/alimpanier.php','action=showlistpack&div=listpack&heberg=dom_rev',this,'listpack');$('#listpack').show("slow");$('#tab_prd').hide("slow");}else if(prd=='ssl'){var tds='';var nbr_td=0;nbr_td=10;tds +='Symantec';tds +='Thawte';tds +='Comodo';tds +='Geotrust';tds +='Certum';document.getElementById("td_prd").innerHTML='

SSL Certificates
'+tds+'
Choose a SSL brand:
';document.getElementById("td_prd").style.display="none";document.getElementById("td_prd").style.display="";}else{if(prd=="hebergement") var val_aff='

Shared hosting';if(prd=="rev")var val_aff='

Resellers';if(prd=="vps")var val_aff='

Virtual Private Servers (VPS)';document.getElementById("prd_choi").value=prd;if(id_promo)document.getElementById("id_promo").value=id_promo;var inner_td_os="";inner_td_os='';inner_td_os +='';inner_td_os +='';inner_td_os +='
Select the operating system :

WindowsLinux
';inner_td_os +='';document.getElementById("insert_sup").style.display="";document.getElementById("insert_sup").width="200";document.getElementById("td_prd").style.display="none";if(prd=="vps")var padd_top="90px";else padd_top="107px";document.getElementById("td_prd").innerHTML='

'+val_aff+'

';document.getElementById("td_prd").style.display="";$('#td_os').show("slow");setTimeout('document.getElementById("insert_sup").width="1"',40);}}function non_disabled(compte){for(var i=0;i< compte;i++){if(document.getElementById("paiement_"+i)!=null)document.getElementById("paiement_"+i).disabled="";}}function promo_exist(compte,gamme,rel){if(gamme=="p"||gamme=="ssl")var deb=0;else var deb=1;var number_continue=0;var code_pr=document.getElementById("code_promo").value;var code_pr_choisi=document.getElementById("code_promo").value;if(code_pr_choisi){if(document.getElementById("cd_promo").value!=''){code_pr=document.getElementById("cd_promo").value+document.getElementById("code_promo").value;}var continuer="oui";var val_cum=0;var prd_id="";var paiement="";var element=0;var lst_per=Array();if(continuer=="oui"){if(gamme=="ser"){var periode_choisi=document.getElementById("periodicite").value;var prix_cpu=document.getElementById('cpu').value;var nom_cpu=document.forms.frm_cmd.cpu.options[document.forms.frm_cmd.cpu.options.selectedIndex].text;var texte=file('https://www.heberjahiz.com/en-gb/inc/alimpanier.php?action=verif_promo_serveurs&periode_choisi='+periode_choisi+'&code_p='+code_pr+'&nom_cpu='+encodeURIComponent(nom_cpu)+'&code_promo_ch='+code_pr_choisi+'&var='+Math.random());var tab_promo=document.getElementById("cd_promo").value.split("|");var tab_if_cumm=texte.split("#");texte=tab_if_cumm[(tab_if_cumm.length)-2];if(texte&&texte!="n"&&texte!="nn"&&texte!="id_err"&&texte!="id_errn"&&texte!="id_err1"&&texte!="id_errid_errn"&&texte!="id_err1||||||"){var tab_result=texte.split("}");var texte_ch=file('https://www.heberjahiz.com/en-gb/inc/alimpanier.php?action=champs_promo_serveurs&champs='+tab_result[0]+'&pos='+tab_result[5]+'&id_process='+tab_result[6]+'&var='+Math.random());var tab_champs=texte_ch.split(',');valeur=tab_result[1];lst_per=tab_result[2].split(",");id_cpu=tab_result[3];number_continue ++;if(number_continue==1){if(rel!=1)code_promo_final +=code_pr_choisi+"|";var text_codes=file('https://www.heberjahiz.com/en-gb/inc/alimpanier.php?action=detail_promos_utilses&compte='+compte+'&gamme='+gamme+'&lst_codes='+code_promo_final.substring(0,((code_promo_final.length)-1))+'&var='+Math.random());document.getElementById("codes_utilises").innerHTML=text_codes;if(rel!=1)document.getElementById("cd_promo").value+=code_pr_choisi+"|";}var options_per="";for(var c=0; c< tab_champs.length; c++){var tab_ch_val=tab_champs[c].split("@");tab_champs[c]=tab_ch_val[0];valeur=tab_ch_val[1];if(tab_champs[c].substr(0,5)=="prix_"){var champs1=tab_champs[c].replace("prix_","");var sel=document.forms.frm_cmd.elements[champs1];for(s=0;s< sel.options.length;s++){if(sel.options[s].value!=""){var tab_text=sel.options[s].text.split(" - ");var prix_act=tab_text[1].replace(" MAD/month","");var new_prix=file('https://www.heberjahiz.com/en-gb/inc/alimpanier.php?action=val_after_promo&valeur='+valeur+'&det_sel='+prix_act+'&periode_choisi='+periode_choisi+'&var='+Math.random());sel.options[s].text=tab_text[0]+" - "+new_prix+" MAD/month";sel.options[s].value=new_prix;sel.options[s].style.background="#E4F8E4";}document.getElementById("hidd_"+champs1+"_prix").value=document.getElementById(champs1).value;change_val_hid('hidd_'+champs1,champs1,sel.selectedIndex,1);}}else if(tab_champs[c]!="prix"&&tab_champs[c].substr(0,4)!="mes_"){var champs1=tab_champs[c];var sel=document.forms.frm_cmd.elements[champs1];for(s=0;s< sel.options.length;s++){var unite="";if(sel.options[s].value!=""){var tab_text=sel.options[s].text.split(" - ");var val_act=tab_text[0];if(val_act.match(" MB")){unite=" MB";val_act=val_act.substr(0,val_act.indexOf(" MB"));}else if(val_act.match(" GB")){if(champs1=='ram')val_act=(val_act.substr(0,val_act.indexOf(" GB")))*1024;else val_act=val_act.substr(0,val_act.indexOf(" GB"));unite=" GB";}else if(val_act.match(" Mbps")){val_act=val_act.substr(0,val_act.indexOf(" Mbps"));unite=" Mbps";}else if(val_act.match(" Gbps")){if(champs1=='port_eth')val_act=(val_act.substr(0,val_act.indexOf(" Gbps")))*1024;else val_act=val_act.substr(0,val_act.indexOf(" Gbps"));unite=" Gbps";}var new_val=file('https://www.heberjahiz.com/en-gb/inc/alimpanier.php?action=val_after_promo&valeur='+valeur+'&det_sel='+val_act+'&champs='+champs1+'&periode_choisi='+periode_choisi+'&var='+Math.random());if(val_act=="None"||val_act=="None")new_val=val_act;if(champs1=='ram'||champs1=='port_eth')sel.options[s].text=new_val+" - "+tab_text[1];else sel.options[s].text=new_val+unite+" - "+tab_text[1];sel.options[s].style.background="#E4F8E4";}change_val_hid('hidd_'+champs1,champs1,sel.selectedIndex,1);}}else if(tab_champs[c].substr(0,4)=="mes_"){var sel=document.forms.frm_cmd.elements["periodicite"];for(s=0;s< sel.options.length;s++){var val=tab_champs[c].replace("mes_","");if(sel.options[s].value==val){var tab_text=sel.options[s].text.split("Setup ");var val_act=tab_text[1].replace(" MAD","");var new_val=file('https://www.heberjahiz.com/en-gb/inc/alimpanier.php?action=val_after_promo&valeur='+valeur+'&det_sel='+val_act+'&periode_choisi='+periode_choisi+'&var='+Math.random());options_per +='';}}}else if(tab_champs[c]=="prix"){var sel=document.forms.frm_cmd.elements["cpu"];for(s=0;s< sel.options.length;s++){if(sel.options[s].value!=""){var prix_act=sel.options[s].value;var new_prix=file('https://www.heberjahiz.com/en-gb/inc/alimpanier.php?action=val_after_promo&valeur='+valeur+'&det_sel='+prix_act+'&periode_choisi='+periode_choisi+'&var='+Math.random());sel.options[s].value=new_prix;sel.options[s].style.background="#E4F8E4";}change_val_hid('hidd_cpu','cpu',sel.selectedIndex,1);}}changer_prix();};if(options_per!="")document.getElementById("div_periode").innerHTML='';}}else{for(var i=deb;i< compte;i++){prd_id=document.getElementById("rad_"+i).value;element=i;var texte=file('https://www.heberjahiz.com/en-gb/inc/alimpanier.php?action=verif_promo_prd&code_p='+code_pr+'&prd_id='+prd_id+'&gamme='+gamme+'&code_promo_ch='+code_pr_choisi+'&paiement='+paiement+'&var='+Math.random());var tab_promo=document.getElementById("cd_promo").value.split("|");var tab_result1=texte.split("|");if(texte=="n"){document.getElementById("chargement_promos").style.display="none";document.getElementById("block_n").style.display="none";if(number_continue=="0"){document.getElementById('div_promo').innerHTML="Incorrect promo code";document.getElementById("chargement_promos").style.display="none";document.getElementById("block_n").style.display="none";}break;}etat_normal(prd_id,i);if((texte.match("option")||texte.match("'+tab_result[1]+'';document.getElementById("promo_prix_"+prd_id).value="oui";};if(tab_result[2]){if(document.getElementById("disk_"+prd_id)!=null)document.getElementById("disk_"+prd_id).innerHTML=" "+tab_result[2]+"";};if(tab_result[3]){if(document.getElementById("traffic_"+prd_id)!=null)document.getElementById("traffic_"+prd_id).innerHTML=" "+tab_result[3]+"";};if(tab_result[4]){if(document.getElementById("domaines_"+prd_id)!=null)document.getElementById("domaines_"+prd_id).innerHTML=" "+tab_result[4]+"";};if(tab_result[5]){if(document.getElementById("adr_ip_"+prd_id)!=null)document.getElementById("adr_ip_"+prd_id).innerHTML=" "+tab_result[5]+"";};if(tab_result[6]){if(document.getElementById("ram_"+prd_id)!=null)document.getElementById("ram_"+prd_id).innerHTML=" "+tab_result[6]+"";}change_value(document.getElementById('paiement_'+element).value,code_pr_choisi,element,prd_id,gamme);}}}document.getElementById("chargement_promos").style.display="none";document.getElementById("block_n").style.display="none";if(number_continue=="0"){document.getElementById('div_promo').innerHTML="Incorrect promo code";document.getElementById("chargement_promos").style.display="none";document.getElementById("block_n").style.display="none";}promo_direct=0;}}document.getElementById("code_promo").value="";}function etat_normal(prd_id,i){if(document.getElementById("hidd_detail_db_"+i)!=null&&document.getElementById("td_detail_"+i)!=null){var idnorm=new RegExp("(idnorm_)", "g");document.getElementById("td_detail_"+i).innerHTML=document.getElementById("hidd_detail_db_"+i).innerHTML.replace(idnorm,"");}if(document.getElementById("hidd_paiement_db_"+i)!=null&&document.getElementById("paiement_span_"+i)!=null){var inner=document.getElementById("hidd_paiement_db_"+i).innerHTML.replace("paiement_"+prd_id+"_db","paiement_"+prd_id);document.getElementById("paiement_span_"+i).innerHTML=inner;}}function change_value(paiement,cd_promo,ligne,id_prd,gamme){var texte=file('https://www.heberjahiz.com/en-gb/inc/alimpanier.php?action=change_value&code_p='+cd_promo+'&prd_id='+id_prd+'&gamme='+gamme+'&paiement='+paiement+'&var='+Math.random());tab_result=texte.split("|");if(tab_result[0]){if(document.getElementById("disk_"+id_prd)!=null)document.getElementById("disk_"+id_prd).innerHTML=" "+tab_result[0]+"";};if(tab_result[1]){if(document.getElementById("traffic_"+id_prd)!=null)document.getElementById("traffic_"+id_prd).innerHTML=" "+tab_result[1]+"";};if(tab_result[2]){if(document.getElementById("domaines_"+id_prd)!=null)document.getElementById("domaines_"+id_prd).innerHTML=" "+tab_result[2]+"";};if(tab_result[3]){if(document.getElementById("adr_ip_"+id_prd)!=null)document.getElementById("adr_ip_"+id_prd).innerHTML=" "+tab_result[3]+"";};if(tab_result[4]){if(document.getElementById("ram_"+id_prd)!=null)document.getElementById("ram_"+id_prd).innerHTML=" "+tab_result[4]+"";}}function varif_check_pack(total){var nb_checked=0;for(var i=0;i<=total; i++){if(document.getElementById("rad_"+i)!=null){if(document.getElementById("rad_"+i).checked)nb_checked++;}};if(nb_checked=="0"){alert("Please select a package");return false;}}var type='';function mdp_oublie(){var reg= /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,})+$/;var identifiant = document.getElementById('username').value;var text = '';if(!reg.test(identifiant) && identifiant) {text = file('inc/ajax.php?action1=mdp_oublie1&login='+identifiant+'&var='+Math.random());if(text){var tab_res = text.split('|');for(var i=0; i

Domain names';inner +='';inner +='

Email';inner +='

Shared hosting';inner +='

Revendeurs Hébergement';inner +='';inner +='

Virtual Private Servers (VPS)';inner +='

Dedicated Servers';inner +='

RD Plan';inner +='';document.getElementById('div_mdp_oublie').innerHTML = inner;first_affiche('div_mdp_oublie');break;}}}else alert('This username does not exist.');}else if(reg.test(identifiant) || !identifiant) alert("To reset your password, please enter your username in the appropriate field and click on \'Forgot Password\'.");}function mdp_oublie1(tp) {if(tp == 'renew' || tp == 'renew_rd') type = tp;var identifiant = document.getElementById('username').value;if(type) {var text = file('inc/ajax.php?action1=mdp_oublie&login='+identifiant+'&type='+type+'&ref=ac&var='+Math.random());alert(text);}else alert("Please choose the type of your product");}function verif_webnom(id,num){for(var ii=0;ii