var sc_project=7358216;var sc_invisible=1;var sc_security="a521eb31";window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);} gtag('js',new Date());gtag('config','UA-3938643-24');$(document).ready(function(){setTimeout('$("ul.art-hmenu>li:first-child>a").addClass("active");',3000);});jQuery(document).ready(function(){var isOpen=false;jQuery("#miniCart").hover(function(){if(!isOpen) jQuery("#miniCartDiv").not(":animated").slideDown('500').css('display','block');isOpen=true;},function(){jQuery("#miniCartDiv").slideUp('500');isOpen=false;});});$("#searchsubmit").click(function(){if($("#s").val()!='') location.href="buscar-"+$("#s").val();});function pulsaTecla(e){tecla=(document.all)?e.keyCode:e.which;if(tecla==13){if($("#s").val()!='') location.href="buscar-"+$("#s").val();}} jQuery("img").error(function(){jQuery(this).attr("title",jQuery(this).attr("src"));jQuery(this).attr("src","https://www.factinet.com/images/no-picture.png");jQuery(this).css({"width":"150px","opacity":"0.2"});});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(".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');});jQuery(document).ready(function(){jQuery('#shareme, .shareme').sharrre({share:{facebook:true,twitter:true,googlePlus:false,pinterest:false},buttons:{googlePlus:{url:'http://sombreropico7.ruralgia.com/',size:'medium',lang:'es-ES',annotation:''},facebook:{url:'http://sombreropico7.ruralgia.com/',action:'like',layout:'button_count',width:'',send:'false',faces:'false',colorscheme:'',font:'',lang:'es_ES'},twitter:{url:'http://sombreropico7.ruralgia.com/',count:'horizontal',via:'ruralgia',hashtags:'turismorural',related:'',lang:'es'},pinterest:{url:'http://sombreropico7.ruralgia.com/',media:'/uploads/grupos/c6b68cb2e019d16ee68e845208e51536_spico_c_naranja.jpg',description:'Conjunto de 5 casas en ambiente rural muy tranquilo (a 1 Km. de 2 pueblos con todos los servicios), rodeadas de huertos y jardines, y con excelentes vistas al mar y la montaña (a 15 minutos en coche de ambos), dotadas con todas las comodidades (TV satélite, nevera, microondas, lavadora, calefacción y/o chimenea...). Ideales para senderismo, campo y playa, y para disfrutar de rutas turísticas (Parque N. Caldera Taburiente, Reserva Biosfera Bosque Tilos, Ruta de Volcanes, Miradores) ',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);}});});