function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i'; document.getElementById("dyn_drapeau2").innerHTML = tableau; } function change_numero(num) { document.getElementById("dyn_numero2").innerHTML = '        Appelez le numéro suivant :  '+numero[num]+''; document.getElementById("dyn_prix2").innerHTML = ' ('+prix[num]+')'; } function change_numero_2(num) { document.getElementById("dyn_numero2").innerHTML = '        Appelez le numéro suivant :  '+num+''; document.getElementById("dyn_prix2").innerHTML = ' ('+num+')'; } function change_numero_3(num) { document.getElementById("dyn_numero2").innerHTML = 'Appelez le numéro suivant :  '+num+''; document.getElementById("dyn_prix2").innerHTML = ' ('+num+')'; } function popupcentree(page,largeur,hauteur,options) { var top=(screen.height-hauteur)/2; var left=(screen.width-largeur)/2; window.open(page,"","top="+top+",left="+left+",width="+largeur+",height="+hauteur+","+options); } function open_xacces(source,partxp,id,sdom,categ,host) { if(sdom =='') { sdom='www'; } code1 = document.formulaire.code1.value; code3 = document.formulaire2.code1.value; if(code3 != '') { code1 = code3; } var url = domain_name+'/controle_code.php?code1='+code1+'&partXP='+partxp+'&source='+source+'&cat='+categ+'&dest='+sdom+'|'+id+'|video|'+partxp; javascript:popupcentree(url,'400','250','menubar=no,scrollbars=no,statusbar=no'); } function Valider() { if(document.form_cb.prenom.value.length==0 || document.form_cb.nom.value.length==0 || document.form_cb.email.value.length==0) { alert("Un des champs est vide !"); return false; } if(document.form_cb.email.value.indexOf("@")==-1 || document.form_cb.email.value.indexOf(".")==-1) { alert("Le email semble invalide !"); return false; } return true; } function updateChamp(champa,oform) { oform.value= champa; } function support(){ var left = (screen.width-480)/2; var top = (screen.height-560)/2; window.open('http://support.achat-cb.com/formulaire.php?siteID=PP','Fenetre','toolbar=0,location=0,scrollbars=1, status=0,width=480,height=560,top='+top+',left='+left); } function support_form(){ var left = (screen.width-480)/2; var top = (screen.height-560)/2; window.open('http://support.achat-cb.com/formulaire.php?siteID=PP#formulaire','Fenetre','toolbar=0,location=0,scrollbars=1, status=0,width=480,height=560,top='+top+',left='+left); } function pop_up(lien){ window.open(lien,'_blank','toolbar=0, location=0, directories=0, status=0, scrollbars=0, resizable=0, copyhistory=0, menuBar=0, width=565, height=392'); } function pop_up2(lien){ window.open(lien,'_blank','toolbar=0, location=0, directories=0, status=0, scrollbars=0, resizable=0, copyhistory=0, menuBar=0, width=350, height=290'); } function popupcentree(page,largeur,hauteur,options) { var top=(screen.height-hauteur)/2; var left=(screen.width-largeur)/2; window.open(page,"","top="+top+",left="+left+",width="+largeur+",height="+hauteur+","+options); } function VerifForm(){ valid=true; var controle=/^([0-9])+$/; if (valid) if(form.code.value == "") { alert("Vous devez entrer votre code"); valid=false; } if(valid) if (!controle.test(form.code.value)) { alert("Le code doit etre uniquement composé de chiffres."); document.form.code.focus(); valid = false; } if (valid) document.form.submit(); } function confirme(lien) { if (confirm ("Si vous désirez accéder à l'intégralité de notre contenu vidéo haute qualité (plus de 150 films en archive, mises à jour toutes les deux jours), abonnez vous pour seulement 39€ par mois (transaction bancaire sécurisée)")) { document.location.href=lien } } function support(){ var left = (screen.width-480)/2; var top = (screen.height-560)/2; window.open('http://support.achat-cb.com/formulaire.php?siteID=MTV','Fenetre','toolbar=0,location=0,scrollbars=1, status=0,width=480,height=560,top='+top+',left='+left); } function support_form(){ var left = (screen.width-480)/2; var top = (screen.height-560)/2; window.open('http://support.achat-cb.com/formulaire.php?siteID=MTV#formulaire','Fenetre','toolbar=0,location=0,scrollbars=1, status=0,width=480,height=560,top='+top+',left='+left); }