var lingua='it'; function IsNumeric(sText) { var ValidChars = "0123456789."; var IsNumber=true; var Char; for (i = 0; i < sText.length && IsNumber == true; i++) { Char = sText.charAt(i); if (ValidChars.indexOf(Char) == -1) { IsNumber = false; } } return IsNumber; } function trasferiscicredito(importo,id_prezzo) { if(importo!=0) document.form_trasferiscicredito.importo.value=importo; else document.form_trasferiscicredito.importo.value=document.form_trasferiscicredito.importo.value.replace(",",".")*1; document.form_trasferiscicredito.id_prezzo=id_prezzo; if(document.form_trasferiscicredito.importo.value<0.1) { alert("Con questo sistema di pagamento il minimo che puoi pagare senza registrazione e' 0.10 euro"); document.form_trasferiscicredito.importo.value=""; document.form_trasferiscicredito.importo.focus(); return; } else document.form_trasferiscicredito.submit(); } function ricarica(importo) { if(importo!=0) document.form_pagamento.montant.value=importo; else document.form_pagamento.montant.value=document.form_pagamento.montant.value.replace(",",".")*1; if(document.form_pagamento.montant.value<15) { alert("Con questo sistema di pagamento il minimo che puoi pagare e' 15 euro"); document.form_pagamento.montant.value=15; document.form_pagamento.montant.focus(); return; } else { document.form_pagamento.action="https://www.mondocamgirls.com/jumpricarica.php"; document.form_pagamento.submit(); } } function Trim(StrToTrim) { if (typeof StrToTrim != "string") return StrToTrim; var StrBlank = StrToTrim.substring(0, 1); while (StrBlank == " ") { StrToTrim = StrToTrim.substring(1, StrToTrim.length); StrBlank = StrToTrim.substring(0, 1); } StrBlank = StrToTrim.substring(StrToTrim.length - 1, StrToTrim.length); while (StrBlank == " ") { StrToTrim = StrToTrim.substring(0, StrToTrim.length-1); StrBlank = StrToTrim.substring(StrToTrim.length-1, StrToTrim.length); } while (StrToTrim.indexOf(" ") != -1) { StrToTrim = StrToTrim.substring(0, StrToTrim.indexOf(" ")); StrToTrim += StrToTrim.substring(StrToTrim.indexOf(" ") + 1, StrToTrim.length); } return StrToTrim; } function urlencode(CODE){ var plaintext = CODE; var SAFECHARS = "0123456789" + "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + "abcdefghijklmnopqrstuvwxyz" + "-_.!~*'()’‘"; var HEX = "0123456789ABCDEF"; var encoded = ""; for (var i = 0; i < plaintext.length; i++ ) { var ch = plaintext.charAt(i); if (ch == " ") { encoded += "+"; } else if (SAFECHARS.indexOf(ch) != -1) { encoded += ch; } else { var charCode = ch.charCodeAt(0); if (charCode > 255) encoded += "+"; else { encoded += "%"; encoded += HEX.charAt((charCode >> 4) & 0xF); encoded += HEX.charAt(charCode & 0xF); } } } return encoded; } function mostradiv(div) { if(document.getElementById(div).style.display!="block") document.getElementById(div).style.display="block"; else document.getElementById(div).style.display="none"; } function controlla_login() { if(document.form_login.username.value=="" || document.form_login.password.value=="") { alert("Inserire username e password"); return false; } return true; } function info_certificata() { alert("Tutte le cam girls presenti sul sito sono certificate dallo staff di MondoCamGirls, ovvero vi garantiamo che sono ragazze realmente esistenti. Nessuna responsabilità potrà essere fatta valere nei confronti del titolare del servizio in caso di pagamento non effettuato direttamente dal sito."); return; } function bandiera(campo,lingua) { if(lingua=='it') { document.getElementById(campo+"_it").style.display='block'; document.getElementById("bandiera_it").className='bandiera_si'; document.getElementById(campo+"_en").style.display='none'; document.getElementById("bandiera_en").className='bandiera_no'; }else{ document.getElementById(campo+"_it").style.display='none'; document.getElementById("bandiera_it").className='bandiera_no'; document.getElementById(campo+"_en").style.display='block'; document.getElementById("bandiera_en").className='bandiera_si'; } } function n_add() { if(document.getElementById("n_email").value!="") location.href="https://www.mondocamgirls.com/"+lingua+"/newsletter.html?azione=iscriviti&email="+document.getElementById("n_email").value; } function n_del() { if(document.getElementById("n_email").value!="") location.href="https://www.mondocamgirls.com/"+lingua+"/newsletter.html?azione=cancellati&email="+document.getElementById("n_email").value; } function sms(id_camgirl) { window.open('https://www.mondocamgirls.com/sms.php?id='+id_camgirl+'&lingua='+lingua,'sms','width=400,height=270 ,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no'); } function comprafoto(id_foto) { if(confirm('Confermi di voler acquistare la foto?')) location.href="https://www.mondocamgirls.com/jumpfoto.php?id_foto="+id_foto+"&lingua="+lingua; else return; } window.addEventListener?window.addEventListener('load',so_init,false):window.attachEvent('onload',so_init); var d=document, imgs = new Array(), zInterval = null, current=0, pause=false; function so_init() { if(!d.getElementById || !d.createElement || !d.getElementById('slideshow'))return; imgs = d.getElementById('slideshow').getElementsByTagName('img'); imgs[0].style.display = 'block'; imgs[0].xOpacity = .99; for(i=1;i.99){ obj.xOpacity = .99; return; } obj.style.opacity = obj.xOpacity; obj.style.MozOpacity = obj.xOpacity; obj.style.filter = 'alpha(opacity=' + (obj.xOpacity*100) + ')'; } } function data() { var x=new Date; var anno=x.getFullYear(), mese=x.getMonth()+1, giorno=x.getUTCDate(), ora=x.getHours(), minuti=x.getMinutes(); if(mese<10) mese="0"+mese; if(giorno<10) giorno="0"+giorno; if(ora<10) ora="0"+ora; if(minuti<10) minuti="0"+minuti; return anno+""+mese+""+giorno+""+ora+""+minuti; } function apripaysa() { $("#mrw_overlay").fadeIn(500); $("#mrw_box").fadeIn(500); } $(document).ready(function(){ $("#mrw_close").click(function(){ $("#mrw_box").fadeOut(500); $("#mrw_overlay").fadeOut(500); }); }); (function(w){var F=w(window),u,f,G=-1,n,x,E,v,y,M,r,m=!window.XMLHttpRequest,s=[],l=document.documentElement,k={},t=new Image(),K=new Image(),I,a,g,p,J,d,H,c,B,z,L;w(function(){w("body").append(w([I=w('
')[0],a=w('
')[0],H=w('
')[0]]).css("display","none"));g=w('
').appendTo(a).append(p=w('
').append([J=w('').click(C)[0],d=w('').click(e)[0]])[0])[0];c=w('
').appendTo(H).append([w('').add(I).click(D)[0],z=w('
')[0],B=w('
')[0],L=w('
')[0],w('
')[0]])[0]});w.slimbox=function(P,O,N){u=w.extend({loop:false,overlayOpacity:0.8,overlayFadeDuration:400,resizeDuration:400,resizeEasing:"swing",initialWidth:250,initialHeight:250,imageFadeDuration:400,captionAnimationDuration:400,counterText:"",closeKeys:[27,88,67],previousKeys:[37,80],nextKeys:[39,78],facebookContent:""},N);if(typeof P=="string"){P=[[P,O]];O=0}y=F.scrollTop()+(F.height()/2);M=u.initialWidth;r=u.initialHeight;w(a).css({top:Math.max(0,y-(r/2)),width:M,height:r,marginLeft:-M/2}).show();v=m||(I.currentStyle&&(I.currentStyle.position!="fixed"));if(v){I.style.position="absolute"}w(I).css("opacity",u.overlayOpacity).fadeIn(u.overlayFadeDuration);A();j(1);f=P;u.loop=u.loop&&(f.length>1);return b(O)};w.fn.slimbox=function(N,Q,P){Q=Q||function(R){return[R.href,R.title]};P=P||function(){return true};var O=this;return O.unbind("click").click(function(){var T=this,V=0,U,R=0,S;U=w.grep(O,function(X,W){return P.call(T,X,W)});for(S=U.length;R=0)?D():(N(O,u.nextKeys)>=0)?e():(N(O,u.previousKeys)>=0)?C():false}function C(){return b(x)}function e(){return b(E)}function b(N){if(N>=0){G=N;n=f[G][0];x=(G||(u.loop?f.length:0))-1;E=((G+1)%f.length)||(u.loop?0:-1);q();a.className="lbLoading";k=new Image();k.onload=i;k.src=n}return false}function i(){a.className="";w(g).css({backgroundImage:"url("+n+")",visibility:"hidden",display:""});w(p).width(k.width);w([p,J,d]).height(k.height);if(u.facebookContent){w(z).html(u.facebookContent.replace("{url}",f[G][0]))}w(B).html(f[G][1]||"");w(L).html((((f.length>1)&&u.counterText)||"").replace(/{x}/,G+1).replace(/{y}/,f.length));if(x>=0){t.src=f[x][0]}if(E>=0){K.src=f[E][0]}M=g.offsetWidth;r=g.offsetHeight;var N=Math.max(0,y-(r/2));if(a.offsetHeight!=r){w(a).animate({height:r,top:N},u.resizeDuration,u.resizeEasing)}if(a.offsetWidth!=M){w(a).animate({width:M,marginLeft:-M/2},u.resizeDuration,u.resizeEasing)}w(a).queue(function(){w(H).css({width:M,top:N+r,marginLeft:-M/2,visibility:"hidden",display:""});w(g).css({display:"none",visibility:"",opacity:""}).fadeIn(u.imageFadeDuration,h)})}function h(){if(x>=0){w(J).show()}if(E>=0){w(d).show()}w(c).css("marginTop",-c.offsetHeight).animate({marginTop:0},u.captionAnimationDuration);H.style.visibility=""}function q(){k.onload=null;k.src=t.src=K.src=n;w([a,g,c]).stop(true);w([J,d,g,H]).hide()}function D(){if(G>=0){q();G=x=E=-1;w(a).hide();w(I).stop().fadeOut(u.overlayFadeDuration,j)}return false}})(jQuery); if (!/android|iphone|ipod|series60|symbian|windows ce|blackberry/i.test(navigator.userAgent)) { jQuery(function($) { $("a[rel^='lightbox']").slimbox({facebookContent: ''/* Put custom options here */}, function(el) { return [el.href, el.title]; }, function(el) { return (this == el) || ((this.rel.length > 8) && (this.rel == el.rel)); }); }); } function checkmin(importo) { if(importo<10) { if(document.getElementById('pagpag_checkout') !== null) document.getElementById('pagpag_checkout').style.opacity = "0.4"; if(document.getElementById('pagpag_paysitecash') !== null) document.getElementById('pagpag_paysitecash').style.opacity = "0.4"; if(document.getElementById('pagpag_centralpay') !== null) document.getElementById('pagpag_centralpay').style.opacity = "0.4"; }else{ if(document.getElementById('pagpag_checkout') !== null) document.getElementById('pagpag_checkout').style.opacity = "1.0"; if(document.getElementById('pagpag_paysitecash') !== null) document.getElementById('pagpag_paysitecash').style.opacity = "1.0"; if(document.getElementById('pagpag_centralpay') !== null) document.getElementById('pagpag_centralpay').style.opacity = "1.0"; } if(importo<5) { if(document.getElementById('pagpag_paysafecard') !== null) document.getElementById('pagpag_paysafecard').style.opacity = "0.4"; if(document.getElementById('pagpag_bitcoin') !== null) document.getElementById('pagpag_bitcoin').style.opacity = "0.4"; }else{ if(document.getElementById('pagpag_paysafecard') !== null) document.getElementById('pagpag_paysafecard').style.opacity = "1.0"; if(document.getElementById('pagpag_bitcoin') !== null) document.getElementById('pagpag_bitcoin').style.opacity = "1.0"; } if(importo<0.10) { if(document.getElementById('pagpag_credito') !== null) document.getElementById('pagpag_credito').style.opacity = "0.4"; }else{ if(document.getElementById('pagpag_credito') !== null) document.getElementById('pagpag_credito').style.opacity = "1.0"; } if(importo>350) { if(document.getElementById('pagpag_checkout') !== null) document.getElementById('pagpag_checkout').style.opacity = "0.4"; if(document.getElementById('pagpag_paysitecash') !== null) document.getElementById('pagpag_paysitecash').style.opacity = "0.4"; if(document.getElementById('pagpag_centralpay') !== null) document.getElementById('pagpag_centralpay').style.opacity = "0.4"; if(document.getElementById('pagpag_paysafecard') !== null) document.getElementById('pagpag_paysafecard').style.opacity = "0.4"; } } function multi_video(importo,id_camgirl,id_prezzo) { checkmin(importo); document.form_pagamento.montant.value=importo; document.getElementById('multi_importo').innerHTML=importo; document.form_pagamento.divers.value="video|"+id_camgirl+"|"+id_prezzo; document.form_pagamento.posData.value="video|"+id_camgirl+"|"+id_prezzo+"|0||it|"+document.getElementById('multi_email').value; } function multi_allvideo(importo,id_camgirl,id_prezzo) { checkmin(importo); document.form_pagamento.montant.value=importo; document.getElementById('multi_importo').innerHTML=importo; document.form_pagamento.divers.value="allvideo|"+id_camgirl+"|"+id_prezzo; document.form_pagamento.posData.value="allvideo|"+id_camgirl+"|"+id_prezzo+"|0||it|"+document.getElementById('multi_email').value; } function multi_show(importo,id_camgirl,id_prezzo) { if(importo!=0) document.form_pagamento.montant.value=importo; else { document.form_pagamento.montant.value=document.form_pagamento.montant.value.replace(",",".")*1; if(document.form_pagamento.montant.value==0) document.form_pagamento.montant.value=15; importo=document.form_pagamento.montant.value; } checkmin(importo); document.getElementById('multi_importo').innerHTML=importo; document.form_pagamento.divers.value="show|"+id_camgirl+"|"+id_prezzo; document.form_pagamento.posData.value="show|"+id_camgirl+"|"+id_prezzo+"|0||it|"+document.getElementById('multi_email').value; } function openLightbox() { Checkout.configure({ cardFormMode: 'cardTokenisation', publicKey: "pk_e03844f1-1c25-45d8-8aa0-e7be447beca1", customerEmail: document.getElementById('multi_email').value, value: document.form_pagamento.montant.value*100, currency: 'EUR', paymentMode: 'cards', renderMode: 0, localisation: 'IT-IT', cardTokenised: function(event) { var cardToken = event.data.cardToken; var paymentMethod = event.data.card.paymentMethod; var BIN = event.data.card.bin; $.ajax({ type: "POST", url: "jumpcheckout.php", data: {'cko-card-token':cardToken, 'lingua':'it', 'divers':document.form_pagamento.divers.value, 'amount':document.form_pagamento.montant.value*100, 'email': document.getElementById('multi_email').value}, success: function(result){ window.location = result; return false; } }); }, }); Checkout.open(); } function checkEmail(email) { var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/; if (email=='' || !filter.test(email)) { alert('Controlla l\'indirizzo e-mail inserito'); return false; }else return true; } function multi_utente() { if(document.form_pagamento.montant.value<0.10) alert("Con questo sistema di pagamento il minimo che puoi pagare senza registrazione e' 0.10 euro"); else location.href="http://www.mondocamgirls.com/jumputente.php?divers="+document.form_pagamento.divers.value+"&importo="+document.form_pagamento.montant.value+"&lingua=it"; } function multi_paysitecash() { document.getElementById('multi_email').value=document.getElementById('multi_email').value.trim(); if(document.form_pagamento.montant.value<10) { alert("Con questo sistema di pagamento il minimo che puoi pagare senza registrazione e' 10 euro.\nSe vuoi pagare cifre inferiori devi registrarti in Area Cliente, ricaricare con il metodo che vuoi, e poi utilizzare il credito anche per piccoli acquisti cliccando su Credito MondoCamGirls"); } else if(document.form_pagamento.montant.value>300) { alert("Con questo sistema di pagamento il massimo che puoi pagare e' 300 euro"); } else if(checkEmail(document.getElementById('multi_email').value)) { document.form_pagamento.action="https://www.mondocamgirls.com/it/jump.php?email="+document.getElementById('multi_email').value; document.form_pagamento.submit(); } } function multi_twispay() { document.getElementById('multi_email').value=document.getElementById('multi_email').value.trim(); if(document.form_pagamento.montant.value<10) { alert("Con questo sistema di pagamento il minimo che puoi pagare senza registrazione e' 10 euro.\nSe vuoi pagare cifre inferiori devi registrarti in Area Cliente, ricaricare con il metodo che vuoi, e poi utilizzare il credito anche per piccoli acquisti cliccando su Credito MondoCamGirls"); } else if(document.form_pagamento.montant.value>350) { alert("Con questo sistema di pagamento il massimo che puoi pagare e' 350 euro"); } else if(checkEmail(document.getElementById('multi_email').value)) { document.form_pagamento.action="https://www.mondocamgirls.com/it/jumptwispay.php?email="+document.getElementById('multi_email').value; document.form_pagamento.submit(); } } function multi_centralpay() { document.getElementById('multi_email').value=document.getElementById('multi_email').value.trim(); if(document.form_pagamento.montant.value<10) { alert("Con questo sistema di pagamento il minimo che puoi pagare senza registrazione e' 10 euro.\nSe vuoi pagare cifre inferiori devi registrarti in Area Cliente, ricaricare con il metodo che vuoi, e poi utilizzare il credito anche per piccoli acquisti cliccando su Credito MondoCamGirls"); } else if(document.form_pagamento.montant.value>350) { alert("Con questo sistema di pagamento il massimo che puoi pagare e' 350 euro"); } else if(checkEmail(document.getElementById('multi_email').value)) { document.form_pagamento.action="https://www.mondocamgirls.com/it/jumpcentralpay.php?email="+document.getElementById('multi_email').value; document.form_pagamento.submit(); } } function multi_checkout() { document.getElementById('multi_email').value=document.getElementById('multi_email').value.trim(); if(document.form_pagamento.montant.value<10) { alert("Con questo sistema di pagamento il minimo che puoi pagare senza registrazione e' 10 euro.\nSe vuoi pagare cifre inferiori devi registrarti in Area Cliente, ricaricare con il metodo che vuoi, e poi utilizzare il credito anche per piccoli acquisti cliccando su Credito MondoCamGirls"); } else if(document.form_pagamento.montant.value>350) { alert("Con questo sistema di pagamento il massimo che puoi pagare e' 350 euro"); }else if(checkEmail(document.getElementById('multi_email').value)) openLightbox(); } function multi_paysafecard() { document.getElementById('multi_email').value=document.getElementById('multi_email').value.trim(); if(document.form_pagamento.montant.value<5) { alert("Con questo sistema di pagamento il minimo che puoi pagare senza registrazione e' 5 euro.\nSe vuoi pagare cifre inferiori devi registrarti in Area Cliente, ricaricare con il metodo che vuoi, e poi utilizzare il credito anche per piccoli acquisti cliccando su Credito MondoCamGirls"); } else if(document.form_pagamento.montant.value>300) { alert("Con questo sistema di pagamento il massimo che puoi pagare e' 300 euro"); } else if(checkEmail(document.getElementById('multi_email').value)) { document.form_pagamento.action="https://www.mondocamgirls.com/paysafecard_execmulti.php?email="+document.getElementById('multi_email').value; document.form_pagamento.submit(); } } function multi_bitcoin() { document.getElementById('multi_email').value=document.getElementById('multi_email').value.trim(); if(document.form_pagamento.montant.value<5) { alert("Con questo sistema di pagamento il minimo che puoi pagare senza registrazione e' 5 euro.\nSe vuoi pagare cifre inferiori devi registrarti in Area Cliente, ricaricare con il metodo che vuoi, e poi utilizzare il credito anche per piccoli acquisti cliccando su Credito MondoCamGirls"); } else if(checkEmail(document.getElementById('multi_email').value)) { document.form_pagamento.action="https://www.mondocamgirls.com/it/jumpbitcoin.php?email="+document.getElementById('multi_email').value; document.form_pagamento.submit(); } } function multi_bitcoincoingate() { document.getElementById('multi_email').value=document.getElementById('multi_email').value.trim(); if(document.form_pagamento.montant.value<5) { alert("Con questo sistema di pagamento il minimo che puoi pagare senza registrazione e' 5 euro.\nSe vuoi pagare cifre inferiori devi registrarti in Area Cliente, ricaricare con il metodo che vuoi, e poi utilizzare il credito anche per piccoli acquisti cliccando su Credito MondoCamGirls"); } else if(checkEmail(document.getElementById('multi_email').value)) { document.form_pagamento.action="https://www.mondocamgirls.com/it/jumpbitcoincoingate.php?email="+document.getElementById('multi_email').value; document.form_pagamento.submit(); } } function multi_regalo(id_camgirl,id_prezzo) { document.form_pagamento.montant.value=document.getElementById("montant"+id_prezzo).value.replace(",",".")*1; importo=document.form_pagamento.montant.value; checkmin(importo); document.getElementById('multi_importo').innerHTML=importo; document.form_pagamento.divers.value="regalo|"+id_camgirl+"|"+id_prezzo; document.form_pagamento.posData.value="regalo|"+id_camgirl+"|"+id_prezzo+"|0||it|"+document.getElementById('multi_email').value; } var old_video, loop_video, i_video, array_video=new Array(); function slidevideo_on(id, f1,f2,f3,f4,f5) { array_video = []; if(f1 !== undefined) array_video.push(f1); if(f2 !== undefined) array_video.push(f2); if(f3 !== undefined) array_video.push(f3); if(f4 !== undefined) array_video.push(f4); if(f5 !== undefined) array_video.push(f5); var num=array_video.length; old_video=document.getElementById("antepvid"+id).src; document.getElementById("antepvid"+id).src="https://www.mondocamgirls.com/allegati/"+array_video[0]; i_video=1; loop_video = setInterval(function(){ document.getElementById("antepvid"+id).src="https://www.mondocamgirls.com/allegati/"+array_video[i_video]; if(++i_video==num) i_video=0; }, 500); } function slidevideo_off(id) { document.getElementById("antepvid"+id).src=old_video; clearTimeout(loop_video); } function libero(el) { if(el.value.indexOf("@libero.it")!=-1) { alert("Ti informiamo che spesso Libero blocca le nostre email, ti consigliamo di usare un'altra email se possibile"); return false; } }