var parentOpen="";var parentClose="";$(document).ready(function(){$(".btnVerMas").before("
");var size=$(".listNinguno ul li").size();$(".listNinguno ul li").each(function(index){if(index>=size/2){$(this).appendTo("#Column2 ul");}});resizeHeader();$(document).ready(function(){vph=$(window).height();vpw=$(window).width();$(".youtube:not(.socialIcon)").colorbox({iframe:true,maxWidth:840,maxHeight:475,width:vpw,height:vph,fixed:true});});});$(window).resize(function(){resizeHeader();});function resizeHeader(){$("header.art-header.myHeader").height(Math.min($(".ws_images ul li:first-child").height(),600));$("header.art-header.myHeader").css({"overflow":"hidden"});} 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-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=ez&identificador=eljabardo&Id=424&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=images/no-picture.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();});});});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;});});var SITE_URL='https://www.factinet.com/';var IMGS_URL='https://www.factinet.com/includes/sliders/demo-2/data1';var lat='40.952555';var lon='-3.525124';var map;function createHomeLatLngMap(lat,lng){map=$("#map_canvas").goMap({zoom:15,maptype:'ROADMAP',mapTypeControl:true,places:"off",latitude:lat,longitude:lng,icon:'images/location.png',markers:[{latitude:lat,longitude:lng,id:'home',zIndex:999}]});} $(document).ready(function(){createHomeLatLngMap(lat,lon);});jQuery(document).ready(function(){jQuery('.wallDirectorio').jaliswall({item:'.headerDirectorio'});});function setMarker(titulo,descripcion,lat,lon,icon,w,h){var icon={url:icon,scaledSize:new google.maps.Size(w,h),};$.goMap.createMarker({title:titulo,html:{content:descripcion},latitude:lat,longitude:lon,icon:icon,zIndex:1});} $(document).ready(function(){setMarker('Udaco Berzosa','

    \'icono\'Udaco Berzosa

    Calle del Villar 18 Berzosa del Lozoya Madrid
    ',40.97536,-3.524819,'images/map_icons/winetasting.png',30,34.6875);setMarker('La Caperuza','

    \'icono\'La Caperuza

    Calle de Maruste 18 Bustarviejo Madrid
    ',40.858387,-3.704605,'images/map_icons/winetasting.png',30,34.6875);setMarker('Supermercado Supergargan Udaco','

    \'icono\'Supermercado Supergargan Udaco

    Plaza de Carlos Ruiz, 17 Gargantilla del Lozoya Madrid
    ',40.965286,-3.717352,'images/map_icons/winetasting.png',30,34.6875);setMarker('Tienda','

    \'icono\'Tienda

    Calle de Enmedio 1 La Hiruela Madrid
    ',41.078342,-3.454447,'images/map_icons/winetasting.png',30,34.6875);setMarker('\"Productos de la Sierra\"','

    \'icono\'\"Productos de la Sierra\"

    Calle Jerónimo Sastre 1 Miraflores de la Sierra Madrid
    ',40.813723,-3.766928,'images/map_icons/winetasting.png',30,34.6875);setMarker('\"Tienda Rosario 6\"','

    \'icono\'\"Tienda Rosario 6\"

    Calle del Rosario, 4 Rascafría Madrid
    ',40.903671,-3.879168,'images/map_icons/winetasting.png',30,34.6875);setMarker('Supermercado','

    \'icono\'Supermercado

    calle del Pino 17 Villavieja del Lozoya Madrid
    ',41.005649,-3.670535,'images/map_icons/winetasting.png',30,34.6875);});$(document).ready(function(){});$(document).ready(function(){$.goMap.fitBounds();$('.art-button').click(function(e){e.preventDefault();showLoader();setTimeout('location.href = "'+$(this).attr("href")+'"',3000);});});function hideLoader(){$(".se-pre-con").fadeOut("slow");} function showLoader(){$(".se-pre-con").fadeIn("slow");} $(document).ready(function(){window.setInterval(kenBurns,500);function kenBurns(){$("#full-width-slider .rsSlide:hidden img").removeClass("fx");$("#full-width-slider .rsSlide:visible img").addClass("fx");}});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://eljabardo.es/var/www/vhosts/factinet.com/httpdocs/webs/index.php?id_casa=eljabardo&page=directorio&categoria=tienda&pagina=1',size:'medium',lang:'es-ES',annotation:''},facebook:{url:'http://eljabardo.es/var/www/vhosts/factinet.com/httpdocs/webs/index.php?id_casa=eljabardo&page=directorio&categoria=tienda&pagina=1',action:'like',layout:'button',width:'',send:'false',faces:'false',colorscheme:'',font:'',lang:'es_ES'},twitter:{url:'http://eljabardo.es/var/www/vhosts/factinet.com/httpdocs/webs/index.php?id_casa=eljabardo&page=directorio&categoria=tienda&pagina=1',count:'horizontal',via:'factinet_es',hashtags:'',related:'',lang:'es'},pinterest:{url:'http://eljabardo.es/var/www/vhosts/factinet.com/httpdocs/webs/index.php?id_casa=eljabardo&page=directorio&categoria=tienda&pagina=1',media:'https://www.factinet.com/uploads/grupos/5cc46abf3bceb19482427fffdc962454_beekeeper_checking_beehives.jpg',description:'La Sociedad Agraria de Transformación (S.A.T.) \"El Jabardo\" está constituida por un grupo de apicultores y apicultoras de la Sierra Norte de Madrid que se dedican al cuidado y mantenimiento de colmenares para la posterior extracción de miel y otros productos derivados, con unos principios claros de compromiso con nuestro territorio y la apicultura.',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);}});});