var parentOpen="(";var parentClose=")";jQuery(document).ready(function(){$('.art-sheet').before($(".divDoofinder"));$('.art-sheet').before($("nav"));$('.art-sheet').before($(".flexslider"));});jQuery(document).ready(function(){jQuery('.fullBlog').jaliswall({item:'.divBlog'});});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');}}} $(document).ready(function(){$("#searchsubmit").click(function(){if($("#doo_s").val()!='') location.href="buscar-"+$("#doo_s").val();});});function pulsaTecla(e){tecla=(document.all)?e.keyCode:e.which;if(tecla==13){if($("#doo_s").val()!='') location.href="buscar-"+$("#doo_s").val();}} 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();});});(adsbygoogle=window.adsbygoogle||[]).push({});jQuery(document).ready(function(){setTimeout("openJSSocials();",2000);});function openJSSocials(){jQuery("#blog_6005").jsSocials({url:"https://www.buscadoresdeplenitud.com/el-perdon-y-la-autoestima-bibl-mario-vargas-llosa-bibliotecandomadrid",text:"El Perdón y la Autoestima (Bibl. MARIO VARGAS LLOSA) #bibliotecandomadrid",shareIn:"popup",showLabel:true,showCount:false,shares:["email","twitter","facebook","whatsapp"]});} jQuery(document).ready(function(){jQuery(".btnEscribir").click(function(){var id_review=$(this).data("review");grecaptcha.ready(function(){grecaptcha.execute("6LecO4MUAAAAACd76VNXkHVzwH6qdWnldjEg44Vz",{action:"action_name"}).then(function(token){$('[name="g-recaptcha-response"]').val(token);if(id_review!==undefined){$("#id_review").val(id_review);$(".user-rating").hide();$("#titulo").hide();$("#titulo").val(' ');}});});const{value:formValues}=Swal.fire({title:'Escribir una reseña',html:'
    '+''+''+''+''+''+''+''+''+''+' '+' '+' '+' '+' '+''+'
    ',focusConfirm:false,showCancelButton:true,preConfirm:()=>{if($("#frmRating #nombre").val()==''){Swal.showValidationMessage('Nombre obligatorio')}else{if($("#frmRating #email").val()==''||!isEmail($("#frmRating #email").val())){Swal.showValidationMessage('Email obligatorio')}else{if($("#frmRating #titulo").val()==''){Swal.showValidationMessage('Título obligatorio')}else{if($("#frmRating #comentario").val()==''){Swal.showValidationMessage('Comentario obligatorio')}else{jQuery.ajax({contentType:"application/x-www-form-urlencoded",type:"POST",url:"setajaxvars?clean=1",data:"action=setReview&"+$("#frmRating").serialize(),success:function(datos){location.href=location.href;}});}}}} $(".grecaptcha-badge").hide();return[]}});if(formValues){Swal.fire(JSON.stringify(formValues))}});});function isEmail(email){var regex=/^((([a-zA-Z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/;return regex.test(email);} window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);} gtag('js',new Date());gtag('config','UA-3938643-34');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=images/no-picture.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://buscadoresdeplenitud.com/el-perdon-y-la-autoestima-bibl-mario-vargas-llosa-bibliotecandomadrid',size:'medium',lang:'es-ES',annotation:''},facebook:{url:'http://buscadoresdeplenitud.com/el-perdon-y-la-autoestima-bibl-mario-vargas-llosa-bibliotecandomadrid',action:'like',layout:'button_count',width:'',send:'false',faces:'false',colorscheme:'',font:'',lang:'es_ES'},twitter:{url:'http://buscadoresdeplenitud.com/el-perdon-y-la-autoestima-bibl-mario-vargas-llosa-bibliotecandomadrid',count:'horizontal',via:'factinet_es',hashtags:'',related:'',lang:'es'},pinterest:{url:'http://buscadoresdeplenitud.com/el-perdon-y-la-autoestima-bibl-mario-vargas-llosa-bibliotecandomadrid',media:'https://www.factinet.com/uploads/grupos/8dbc674d85a82d45a2e9e23e93a5a00f_raices.jpg',description:'La Asociación Buscadores de Plenitud involucra a diferentes profesionales en el crecimiento personal, terapias alternativas y desarrollo social. Trabajamos en todo el territorio español teniendo nuestra sede en Madrid. Contamos con una amplia gama de talleres, actividades, charlas, terapias, cursos y capacitaciones sobre diversos conocimientos e intereses. Ofrecemos momentos de aprendizaje, motivación y auto-conocimiento. En nuestra web encontrarás todas las novedades que estamos r',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);}});});