var $jscomp={scope:{},findInternal:function(a,d,b){a instanceof String&&(a=String(a));for(var c=a.length,e=0;e .imgs").each(function(a){var d=0,b=$(this).parents(".tamimg5000"),c=parseInt(b.width()),e,f,g=$(this).find("img").length, h=$(this);h.find("img").each(function(a){var l=this,m=$(this).attr("data-src"),n=new Image;n.onload=function(){l.src=n.src;e=n.width;f=n.height;l.width=e;l.height=f;var m=parseInt(1.5*e),k=modificarUrlFoto(l.src,m)+" 1.5x, ",m=parseInt(2*e),k=k+(modificarUrlFoto(l.src,m)+" 2x");$(l).attr("srcset",k);$(l).removeClass("loading");0==d&&b.addClass("entero");0 *").trigger("configuration", {mousewheel:!1}));d++};n.src=modificarUrlFoto(m,c)})});$(".tipoimg1 .imgs > div:first-child").each(function(a){cargarCarrusel(this,a)});$(".imgs div[data-href]").each(function(a){a=$(this).attr("data-href");$(this).attr("data-href",modificarUrlTipo(a,10))});meterFotoPicker("div[data-gal^='prettyPhoto']");1 *").trigger("configuration",["items",c]).trigger("updateSizes")}}),1c&&(c=20),b.css("margin-top",c+"px")} function ajustarAltoPanelesCero(a){a=$(a).children();$(a).each(function(){var a=$(this).attr("class");void 0!=a&&"grupo"==a.substring(0,5)?ajustarAltoPanelesCero(this):$(this).css("min-height","")})} function ajustarAltoPaneles(a,d){var b=$(a).children(),c=0,e=[],f=0,g=0,h,k;void 0===d&&(d=!1);$(b).each(function(){var a=$(this).attr("class");k=d;/.*grupo(\d+).*/.exec(a)&&(ajustarAltoPaneles(this,d),k=!1);if(/.*tam(\d+).*/.exec(a)){switch(/.*tam(\d+).*/.exec(a)[1]){case "10":f+=100;break;case "9":f+=80;break;case "8":f+=75;break;case "7":f+=66;break;case "6":f+=60;break;case "5":f+=50;break;case "4":f+=40;break;case "3":f+=33;break;case "2":f+=25;break;case "1":f+=20}k&&(g=Math.max($(this).children("h1,h2,h3,h4").height(), g));if(98f){d&&$(this).children("h1,h2,h3,h4").height(g);c=parseInt(window.getComputedStyle(this,null).height);for(a=0;a",f=f+("

"+a.formatted_address+"

"),f=f+("

"+a.formatted_phone_number+"

");c.setContent(f);c.open(map,e);google.maps.event.addListener(e,"click",function(){b.setZoom(15);b.setCenter(e.getPosition());c.open(b,e)});streetViewMaxDistance=100;var g=a.geometry.location;a=new google.maps.StreetViewService;var h=new google.maps.StreetViewPanorama(document.getElementById(d)); a.getPanoramaByLocation(g,streetViewMaxDistance,function(a,b){if(b===google.maps.StreetViewStatus.OK){var c=g;g=a.location.latLng;var e=google.maps.geometry.spherical.computeHeading(g,c);h.setPosition(c);h.setPov({heading:e,zoom:1,pitch:0});h.setVisible(!0)}else borrarpano(d)})}function callback2(a,d){d==google.maps.places.PlacesServiceStatus.OK?createMarker(a,"pano",map,infowindow):borrarpano("pano")} function borrarpano(a){$("#"+a).remove();1section>*,body>section *[class^="grupo"]>*').css("min-height",""),ajustarAltoPaneles("header+*"))};