$(document).ready(function(){$('img.lazyload').Lazy({scrollDirection:'vertical',effect:'fadeIn',visibleOnly:true,onError:function(element){console.log('error loading '+element.data('src'));},afterLoad:function(element){}});});var parentOpen="(";var parentClose=")";jQuery(document).ready(function(){$('.art-sheet').before($(".divDoofinder"));$('.art-sheet').before($(".art-nav"));$('.art-sheet').before($(".flexslider"));$('.art-sheet').before($(".stellarnav"));$(".sm-gridotros ul").addClass("sm-drop-left");});$(function(){$('#WAButton').floatingWhatsApp({phone:'34662475589',headerTitle:'Contáctanos por Whatsapp',popupMessage:'Hola, puedo ayudarte?',showPopup:true,buttonImage:'Whatsapp',position:'right'});});var forceCapaFija=false;$(document).ready(function(){var altura=$("nav li").height();$('.art-nav>div>ul').prepend('
  • logo
  • ');$('.logoCapaFija img').css("height",altura-12);$('.logoCapaFija img').css("width","auto");$('.logoCapaFija img').css("max-height","89%");});$(document).bind('scroll',onScroll);function onScroll(){if($(document).height()>$(window).height()+$("nav.art-nav.desktop-nav").height()){if(!forceCapaFija&&$(window).scrollTop()<$("nav.art-nav.desktop-nav").height()){$(".art-nav").removeClass('capaFija');}else{$(".art-nav").addClass('capaFija');}}} function onScrollMobile(){if($(document).height()>$('body').height()+$("nav.art-nav.desktop-nav").height()){if(!forceCapaFija&&$('body').scrollTop()<$("nav.art-nav.desktop-nav").height()){$(".art-nav").removeClass('capaFija');}else{$(".art-nav").addClass('capaFija');}}} var api;$(document).ready(function(){api=$(".smartmenu").smartMenu({responsive:"switch-margin"});});jQuery(document).ready(function($){var path=window.location.pathname.split("/").pop();if(path==''){path='index.php';} var target=$('nav li[class="'+path+'"]');target.addClass('sm-active');$(".sm-close, .art-sheet, header").on("click",function(event){$(".sm-close").hide();});$(".sm-response-switch").on("click",function(event){if($(".smartmenu[class*='sm-response']>li.sm-responsive-toggle").is(":visible")) $(".sm-close").show();});});$(document).ready(function(){$("#searchsubmit").click(function(){if($("#doo_s").val()!='') location.href="buscar-productos-"+$("#doo_s").val().replaceAll(" ","+");});var timer=null;var texto='';$("#doo_s").keyup(function(){if(texto!=$("#doo_s").val()){clearTimeout(timer);timer=setTimeout(doStuff,100);texto=$("#doo_s").val();}});});function doStuff(){if($("#doo_s").val()!=''){jQuery.ajax({contentType:"application/x-www-form-urlencoded",type:"POST",url:"https://www.factinet.com/setAjaxVars.php",data:"action=searchProductos&letra=gw&identificador=lossecretosdemar&Id=352&MAIN=https://www.factinet.com/&search="+$("#doo_s").val()+"&all=",success:function(datos){if(datos!=''){$(".search-results").html(datos);$(".search-results").show();jQuery("img").error(function(){event.preventDefault();jQuery(this).attr("title",jQuery(this).attr("src"));jQuery(this).attr("src","/cacheimg?zc=2&w=400&h=400&src=https://www.factinet.com/uploads/casas/gw/lossecretosdemar/webs/logo_gris.png");jQuery(this).css({"width":"100%","opacity":"0.2"});});$(".search-results .h").click(function(){$(".search-results").hide();});}else{$(".search-results").hide();}}});}} function pulsaTecla(e){tecla=(document.all)?e.keyCode:e.which;if(tecla==13){if($("#doo_s").val()!='') location.href="buscar-productos-"+$("#doo_s").val().replaceAll(" ","+");}} $(document).ready(function(){$(".search-btn").click(function(){$(".divDoofinder").fadeToggle();$(function(){$(".search-form #doo_s").focus();});});$("#art-main").before($(".responsive .searchBtn a"))});$(document).ready(function(){$("#id_orden").on("change",function(){updateOrder();});});function updateOrder(){newUrl=updateQueryStringParameter(location.href,"pagina",'1');newUrl=updateQueryStringParameter(newUrl,"orden",$("#id_orden").val());location.href=newUrl;} $(document).ready(function(){jQuery(".modoCuadricula").click(function(){$(".productUL").removeClass("product_box_listado");localStorage.setItem("modoListado","cuadricula");});jQuery(".modoListado").click(function(){$(".productUL").addClass("product_box_listado");localStorage.setItem("modoListado","product_box_listado");});if(localStorage.getItem("modoListado")=='product_box_listado') $(".productUL").addClass("product_box_listado");else if(localStorage.getItem("modoListado")!=null) $(".productUL").removeClass("product_box_listado");});jQuery(document).ready(function(){jQuery(".clkNormas").colorbox({maxHeight:"700px",height:"90%",maxWidth:"700px",width:"90%",fixed:true});jQuery(".clkAviso").colorbox({maxHeight:"700px",height:"90%",maxWidth:"700px",width:"90%",fixed:true});jQuery(".rgpd_1nivel").mouseover(function(){jQuery(this).css("height","initial");jQuery(this).css("overflow","unset");});jQuery(".rgpd_1nivel").mouseout(function(){jQuery(this).css("height","80px");jQuery(this).css("overflow","hidden");});});function validar(){if(jQuery("#formNewsletter").valid()){addUserNewsletter();}} jQuery(document).ready(function(){jQuery("#btn_enviar").click(function(event){event.preventDefault();validar();});jQuery("#formNewsletter").validate({rules:{email:{required:true,email:true},politica:{required:true}}});var rgpdHeight=jQuery("#div_mini_newsletter .rgpd_1nivel").css("height");jQuery("#div_mini_newsletter .rgpd_1nivel").mouseover(function(){jQuery(this).css("height","initial");jQuery(this).css("overflow","unset");});jQuery("#div_mini_newsletter .rgpd_1nivel").mouseout(function(){jQuery(this).css("height",rgpdHeight);jQuery(this).css("overflow","hidden");});});function addUserNewsletter(){jQuery.ajax({contentType:"application/x-www-form-urlencoded",type:"POST",url:"addUserNewsletter&clean=1",data:jQuery("#formNewsletter").serialize(),success:function(datos){if(datos.status=='success'){Swal.fire({title:'Registro correcto!',text:datos.message,icon:'error',confirmButtonText:'Ok',onClose:()=>{jQuery("#div_mini_newsletter").html(datos.message);}})}else{if(datos.status=='error'){Swal.fire({title:'Error!',text:datos.error_msg,icon:'error',confirmButtonText:'Ok',onClose:()=>{jQuery("#div_mini_newsletter").html(datos.error_msg);}})}}},error:function(datos){}});} window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);} gtag('js',new Date());gtag('config','UA-23852747-1');jQuery("#div_descripcion div,#div_descripcion p,#div_descripcion span,#div_descripcion a").not(".button").css({'color':'','font-size':'','text-indent':'','background-color':'transparent'});jQuery("#div_descripcion img").css({'max-width':'700px'});jQuery(document).ready(function(){jQuery("img:not(.pixelCode)").error(function(){event.preventDefault();jQuery(this).attr("title",jQuery(this).attr("src"));jQuery(this).attr("src","/cacheimg?zc=2&w=400&h=400&src=https://www.factinet.com/uploads/casas/gw/lossecretosdemar/webs/logo_gris.png");jQuery(this).css({"width":"100%","opacity":"0.2"});});jQuery(".vlightbox1:not(.noColorbox)").colorbox({rel:'vlightbox1',maxWidth:'100%',maxHeight:'100%',slideshow:true,slideshowSpeed:600,slideshowStart:"Continuar",slideshowStop:"Parar",current:"{current} de {total}"});jQuery('a[href$=".jpg"], a[href$=".jpeg"], a[href$=".gif"], a[href$=".png"], a[href$=".JPG"], a[href$=".JPEG"], a[href$=".GIF"], a[href$=".PNG"]').not(".noColorbox").colorbox({maxWidth:'100%',maxHeight:'100%',slideshow:true,slideshowSpeed:6000});jQuery("a[href^='http']").not("[href*='"+location.host+"']").attr('target','_blank');if($(".readmore").length){$('').insertAfter($(".readmore"));$('.readmore').toggleClass("readmore__content__close");$('.readmore').css("height",$('.readmore').data("height"));jQuery(".readmore__toggle").click(function(){$(this).prev().toggleClass("readmore__content__close");if($(this).prev().hasClass("readmore__content__close")){$(this).text("Leer más...");$(this).prev().css("height",$('.readmore').data("height"));}else{$(this).text("Leer menos...");$(this).prev().css("height","initial");}});}});jQuery(document).ready(function(){jQuery('#shareme, .shareme').sharrre({share:{facebook:true,twitter:true,googlePlus:false,pinterest:false},buttons:{googlePlus:{url:'http://lossecretosdemar.com/buscar-productos-Pareja+-pagina-11',size:'medium',lang:'es-ES',annotation:''},facebook:{url:'http://lossecretosdemar.com/buscar-productos-Pareja+-pagina-11',action:'like',layout:'button_count',width:'',send:'false',faces:'false',colorscheme:'',font:'',lang:'es_ES'},twitter:{url:'http://lossecretosdemar.com/buscar-productos-Pareja+-pagina-11',count:'horizontal',via:'factinet_es',hashtags:'',related:'',lang:'es'},pinterest:{url:'http://lossecretosdemar.com/buscar-productos-Pareja+-pagina-11',media:'https://www.factinet.com/uploads/grupos/los_secretos_de_mar_logo_1485813658_1_.jpg',description:'Los Secretos de Mar - Tienda de Juguetes Eróticos en Madrid Descubre Los Secretos de Mar, tu tienda de juguetes eróticos en Madrid. Ubicados en Rivas Vaciamadrid, somos la tienda erótica ideal para mejorar tu vida sexual. Ofrecemos una amplia gama de productos, desde vibradores y lubricantes hasta lencería, fustas, esposas y látigos. Sex shop Arganda del Rey. Sex shop Rivas Vaciamadrid Tienda Erótica Ensanche Vallecas. Vibradores de alta calidad Lubricantes y aceites sensuales Le',layout:'horizontal'}},enableHover:false,enableCounter:false,enableTracking:true});$('a[href*="#"]:not([href="#"])').click(function(event){if(typeof($($.attr(this,'href')).offset())!='undefined'){event.preventDefault();$('html, body').animate({scrollTop:$($.attr(this,'href')).offset().top-($(".capaFija").is(":visible")*-100)-100},500);}});});