// JavaScript Document // var lightbox1_width = 700, lightbox1_height= 600; var lightbox1_width = 826, lightbox1_height= 426; var larg = screen.width; var haut = screen.height; document.write(""); document.write("
"); function paybox() { var arrayPageSize = getPageSize(); document.getElementById('overlay').style.width = (arrayPageSize[0] + 'px'); document.getElementById('overlay').style.height = (arrayPageSize[1] + 'px'); document.getElementById('popup').style.left = ( ( ( arrayPageSize[0] / 2 ) - ( lightbox1_width / 2 ) ) + 'px'); document.getElementById('popup').style.top = ( ( getPageScroll() + (( haut / 2 ) - ( lightbox1_height / 2 ) - 100 )) + 'px'); document.getElementById('popup').style.display='block'; document.getElementById('popup').style.width = lightbox1_width+'px'; document.getElementById('popup').style.height = lightbox1_height+'px'; document.getElementById('overlay').style.display='block'; html_mil="
\n"; html_mil+="\n"; html_mil+="
\n"; html_mil+="

ACCÈS GRATUIT

\n"; html_mil+="

Vidéos XXX - Dvd - Live show

\n"; html_mil+="
\n"; html_mil+="
\n"; html_mil+="
\n"; html_mil+=" \n"; html_mil+=" \n"; html_mil+=" \n"; html_mil+=" \n"; html_mil+=" \n"; html_mil+=" \n"; html_mil+=" \n"; html_mil+=" \n"; html_mil+=" \n"; html_mil+=" \n"; html_mil+="
Entre un mail valide pour recevoir ton accès gratuit

\n"; html_mil+=" \n"; html_mil+=" \n"; html_mil+=" \n"; html_mil+=" \n"; html_mil+=" \n"; html_mil+=" \n"; html_mil+=" \n"; html_mil+="
 

\n"; html_mil+="
\n"; html_mil+=" \n"; html_mil+=" \n"; html_mil+="
\n"; html_mil+="
\n"; html_mil+="
\n"; html_mil+="
"; Xt_param = 's=416593&p=paybox'; try {Xt_r = top.document.referrer;} catch(e) {Xt_r = document.referrer; } Xt_h = new Date(); Xt_i = "=4) {Xt_s=screen;Xt_i+='&r='+Xt_s.width+'x'+Xt_s.height+'x'+Xt_s.pixelDepth+'x'+Xt_s.colorDepth;} html_mil+=Xt_i+"&ref="+Xt_r.replace(/[<>"]/g, '').replace(/&/g, '$')+"\">
"; document.getElementById('popup').innerHTML = html_mil; //alert(); couleur(); } function closepopup() { document.getElementById('popup').style.display='none'; document.getElementById('overlay').style.display='none'; } function getPageScroll() { var theTop = 0; var old = 0; if (window.innerHeight) { pos = window.pageYOffset } else if (document.documentElement && document.documentElement.scrollTop) { pos = document.documentElement.scrollTop } else if (document.body) { pos = document.body.scrollTop } return pos; } function getPageSize(){ var xScroll, yScroll; if (window.innerHeight && window.scrollMaxY) { xScroll = document.body.scrollWidth; yScroll = window.innerHeight + window.scrollMaxY; } else if (document.body.scrollHeight > document.body.offsetHeight){ // all but Explorer Mac xScroll = document.body.scrollWidth; yScroll = document.body.scrollHeight; } else { // Explorer Mac...would also work in Explorer 6 Strict, Mozilla and Safari xScroll = document.body.offsetWidth; yScroll = document.body.offsetHeight; } var windowWidth, windowHeight; if (self.innerHeight) { // all except Explorer windowWidth = self.innerWidth; windowHeight = self.innerHeight; } else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode windowWidth = document.documentElement.clientWidth; windowHeight = document.documentElement.clientHeight; } else if (document.body) { // other Explorers windowWidth = document.body.clientWidth; windowHeight = document.body.clientHeight; } // for small pages with total height less then height of the viewport if(yScroll < windowHeight){ pageHeight = windowHeight; } else { pageHeight = yScroll; } // for small pages with total width less then width of the viewport if(xScroll < windowWidth){ pageWidth = windowWidth; } else { pageWidth = xScroll; } arrayPageSize = new Array(pageWidth,pageHeight,windowWidth,windowHeight) return arrayPageSize; } var theTop = 0; var old = 0; function movelayer() { var pos; if (window.innerHeight) { pos = window.pageYOffset } else if (document.documentElement && document.documentElement.scrollTop) { pos = document.documentElement.scrollTop } else if (document.body) { pos = document.body.scrollTop } if (pos < theTop) pos = theTop else pos += ((haut-lightbox1_height)/2)-120; if (pos == old) document.getElementById("popup").style.top = pos + "px" old = pos setTimeout("movelayer()",20); } function sendform() { var mail = String(document.formpay.mailpp.value); var emailDomain = /^[\w_\-\.]+@[\w_\-\.]+\.[a-zA-Z]{2,3}$/ var emailIP = /^[\w_\-\.]+@\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/ if (document.formpay.mailpp.value=="" || document.formpay.mailpp.value=="Entre ton mail"){ //alert("L\'adresse email est requise !"); //L'adresse email est requise ! document.getElementById('ppmsg').innerHTML="L\'adresse email est requise !"; document.formpay.mailpp.focus(); return false; } else if (document.formpay.mailpp.value!="" || document.formpay.mailpp.value!="Entre ton mail") { if ((emailDomain.test(mail)) || (emailIP.test(mail))) { //return true; return surNews('formpay'); } else { //alert("");//L'adresse email semble fausse ! document.getElementById('ppmsg').innerHTML="L\'adresse email semble fausse !"; document.formpay.mailpp.focus(); //return false; } } } function surNews(formpay) { var mail = String(document.formpay.mailpp.value); var msg="Êtes vous sûr de la saisie de votre mail ?\n"+mail+"\n"; res=confirm(msg); if(res=="1") { document.formpay.submit(); return true; } } function changeMessage(lang) { var msg; if(lang=='eng') msg='Select your language'; if(lang=='deu') msg='Wählen Sie Ihren language aus'; if(lang=='ita') msg='Selezionate il vostro language'; if(lang=='esp') msg='Seleccione su language'; if(lang=='fra') msg='Sélectionnez votre language'; document.getElementById("blocPP").innerHTML = msg; } function Add_Event( obj_, event_, func_, mode_){ if( obj_.addEventListener) obj_.addEventListener( event_, func_, mode_? mode_:false); else obj_.attachEvent( 'on'+event_, func_); } Add_Event( window, 'load', movelayer); i=0; function couleur() { tabColoris = new Array ("#ff0000","#ffcc00");// Vous pouvez changer les couleurs ou en rajouter if (i+1 == tabColoris.length) i=0; else i++; document.getElementById("blink").style.color=tabColoris[i]; setTimeout("couleur()",200); }