var parentOpen="(";var parentClose=")";$('a[href*=#]').click(function(event){$('html, body').animate({scrollTop:$($.attr(this,'href')).offset().top},500);event.preventDefault();});$(document).ready(function(){$('.button[data-slide="aromas"]').attr("data-slide","que-hacemos");$("#btnAromas").colorbox({inline:true,href:"#aromas .art-post",width:"95%",height:"80%",onComplete:function(){$(this).colorbox.resize();}});$("#btnBiblioteca").colorbox({inline:true,href:"#biblioteca .art-post",width:"95%",height:"80%",onComplete:function(){$(this).colorbox.resize();}});var isiPad=navigator.userAgent.match(/iPhone/i)!=null;if(isiPad){$(".imgHome").addClass("iPad");} if(window.location.hash.replace("#","")=="ingredientes"){$(".boxProductPrice").hide();$(".boxCartButton").hide();$(".divRatings").hide();$(".relatedProducts").hide();$("div#ribbon-container").hide();$(".productos_titulo").insertBefore(".divProducto") $(".divProducto").hide();$(".productos_descripcion").hide();$("table#table").css({'width':'100%','display':'inline-table'});}});$(document).ready(function(){$(window).scroll(function(){var scroll=$(window).scrollTop();if(scroll>=500){$(".logo3RealesFijo").addClass("visible");} else{$(".logo3RealesFijo").removeClass("visible");}});});jQuery(document).ready(function(){$(".art-menu-logo").html('');jQuery(".art-menu-logo").click(function(){location.href="/";});});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 lat='40.842151';var lon='-3.49466';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('TAPEA GASTROBAR','

TAPEA GASTROBAR

AVENIDA DE TALGO 204, ARAVACA-MADRID, 28023 Aravaca Madrid
https://tapea-gastrobar.eatbu.com/
',40.448041,-3.784685,'images/map_icons/24_7_365.png',30,34.6875);setMarker('VINARIS','

VINARIS

C. Del Quejigo 77, 28109, Alcobendas (Madrid)
https://vinaris.es/
',40.526282,-3.634358,'images/map_icons/24_7_365.png',30,34.6875);setMarker('MERAKI COFFEE & BAKERY','

MERAKI COFFEE & BAKERY

CC Valgreen, Av. de Pico Ocejón, 2, Local 21, Villanueva de la Torre, Guadalajara 19209 Villanueva de la Torre Guadalajara
https://www.facebook.com/Meraki.coffeebakery
',40.583024,-3.297843,'images/map_icons/24_7_365.png',30,34.6875);setMarker('LA CANÍBAL','

LA CANÍBAL

Argumosa 28, 28012, Madrid Madrid
915 39 60 57
https://lacanibal.com/
',40.407515,-3.696451,'images/map_icons/24_7_365.png',30,34.6875);setMarker('DE PINGO','

DE PINGO

Avda. Puente Cultural, 1 28702, Sanse San Sebastián De Los Reyes Madrid
91 663 68 20
hola@depingobistro.com
https://depingobistro.com/
',40.571623,-3.607152,'images/map_icons/24_7_365.png',30,34.6875);setMarker('EL REY DE PATONES','

EL REY DE PATONES

C. Azas 13, 28189, Patones de Arriba Madrid Patones de Arriba
918 43 20 37
reservasreydepatones@gmail.com
https://www.reydepatones.com/
',40.865999,-3.492467,'images/map_icons/24_7_365.png',30,34.6875);setMarker('MANTUANO BISTRÓ','

MANTUANO BISTRÓ

Calle Antonia Herranz 22, Bajo Izq, 28860, Paracuellos de Jarama Paracuellos De Jarama Madrid
info@mantuanobistro.es
https://mantuanobistro.es/
',40.506455,-3.530793,'images/map_icons/24_7_365.png',30,34.6875);setMarker('EL BUEN VIVIR','

EL BUEN VIVIR

Plaza del Capitan Boixareu Rivera, 81, Parque de la Concordia, 19002, Guadalajara Guadalajara
949 22 38 39
www.elbuenvivir.es
',40.629834,-3.162153,'images/map_icons/24_7_365.png',30,34.6875);setMarker('EL RINCON LENTO','

EL RINCON LENTO

C/ Marqués de Santillana, 13, 19002, Guadalajara Guadalajara
949 23 50 85
elrinconlento@gmail.com
www.elrinconlento.org
',40.627227,-3.161159,'images/map_icons/24_7_365.png',30,34.6875);setMarker('SAMINHAAM','

SAMINHAAM

C. Castilla, 15, Monteagudo de las Vicarías, Castilla y León Monteagudo de las Vicarías Castilla y León
saminhaan.es
',41.36552,-2.1701,'images/map_icons/24_7_365.png',30,34.6875);});$(document).ready(function(){setMarker('MUYUMMY CASUAL FOOD','

MUYUMMY CASUAL FOOD

Calle de la Virgen de la Cabeza, 26, 28821, Coslada Coslada Madrid
912 85 65 71
info@muyummy.es
www.muyummy.es
',40.430864,-3.561856,'images/map_icons/24_7_365.png',30,34.6875);setMarker('LA CASA PERTENERA','

LA CASA PERTENERA

Uceda Guadalajara
https://www.airbnb.es/rooms/1100743642474005444?source_impression_id=p3_1736960905_P3h9_ffN3jAnKszJ
',40.836549,-3.449835,'images/map_icons/24_7_365.png',30,34.6875);setMarker('KI-JOTE','

KI-JOTE

Calle San Diego, 3, interior. Alcalá de Henares, Madrid. Alcalá de Henares Madrid
info@ki-jote.com
https://ki-jote.es/
',40.484143,-3.361899,'images/map_icons/24_7_365.png',30,34.6875);setMarker('TAMPU RESTAURANTE','

TAMPU RESTAURANTE

Calle de Prim, 13, 28004 Madrid Madrid
91 564 19 13
https://tampurestaurante.com/
',40.422032,-3.693526,'images/map_icons/24_7_365.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(){$("#menuSlide").height($(document).height());});$(document).ready(function(){$("body").click(function(){if($("#menuSlide").css("right")=='0px') $("#menuSlide").css("right",'-363px');});$(".arrow, #menuSlide").click(function(){if($("#menuSlide").css("right")=='0px') $("#menuSlide").css("right",'-363px');else $("#menuSlide").css("right",'0px');});});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://3reales.com/var/www/vhosts/factinet.com/httpdocs/webs/index.php?id_casa=tresreales&page=directorio&categoria=&pagina=1',size:'medium',lang:'es-ES',annotation:''},facebook:{url:'http://3reales.com/var/www/vhosts/factinet.com/httpdocs/webs/index.php?id_casa=tresreales&page=directorio&categoria=&pagina=1',action:'like',layout:'button_count',width:'',send:'false',faces:'false',colorscheme:'',font:'',lang:'es_ES'},twitter:{url:'http://3reales.com/var/www/vhosts/factinet.com/httpdocs/webs/index.php?id_casa=tresreales&page=directorio&categoria=&pagina=1',count:'horizontal',via:'factinet_es',hashtags:'',related:'',lang:'es'},pinterest:{url:'http://3reales.com/var/www/vhosts/factinet.com/httpdocs/webs/index.php?id_casa=tresreales&page=directorio&categoria=&pagina=1',media:'https://www.factinet.com/uploads/grupos/de05892751c5ce20c80c0700f27026bb_image_123650291__1_.jpg',description:'Grupo activo que lidera la recuperación de la variedad listán prieto en españa referente internacional y especializados en su localización y certificación.',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);}});});