');$('.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()){$(".desktop .art-nav").removeClass('capaFija');}else{$(".desktop .art-nav").addClass('capaFija');}}}
$(document).bind('scroll',onScroll);$(document).bind("touchmove",function(e){onScrollMobile();});function onScrollMobile(){if($(document).height()>$('body').height()+$("nav.art-nav.desktop-nav").height()){if(!forceCapaFija&&$('body').scrollTop()<$("nav.art-nav.desktop-nav").height()){$(".responsive .art-nav").removeClass('capaFija');}else{$(".responsive .art-nav").addClass('capaFija');}}}
$(window).load(function(){$('.flexslider').flexslider({animation:"fade",controlNav:false,slideshowSpeed:7000,animationSpeed:600,directionNav:false});});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();});});function searchToggle(obj,evt){var container=$(obj).closest('.search-wrapper');if(!container.hasClass('active')){container.addClass('active');evt.preventDefault();}
else if(container.hasClass('active')&&$(obj).closest('.input-holder').length==0){container.removeClass('active');container.find('.search-input').val('');container.find('.result-container').fadeOut(100,function(){$(this).empty();});}}
function submitFn(obj,evt){value=$(obj).find('.search-input').val().trim();_html="Yup yup! Your search text sounds like this: ";if(!value.length){_html="Yup yup! Add some text friend :D";}
else{_html+=""+value+"";}
$(obj).find('.result-container').fadeIn(100);if($("#flat_s").val()!='')
location.href="buscar-productos-"+$("#flat_s").val().replaceAll(" ","+");evt.preventDefault();}
$(document).ready(function(){$("#searchsubmit").click(function(){if($("#flat_s").val()!='')
location.href="buscar-productos-"+$("#flat_s").val().replaceAll(" ","+");});});function pulsaTecla(e){tecla=(document.all)?e.keyCode:e.which;if(tecla==13){if($("#flat_s").val()!='')
location.href="buscar-productos-"+$("#flat_s").val().replaceAll(" ","+");}}
jQuery(document).ready(function(){});jQuery(document).ready(function($){oSlider=$('#full-width-slider').royalSlider({arrows:true,arrowsAutoHide:true,arrowsNav:true,arrowsNavAutoHide:false,arrowLeft:"includes/css/images/arrow-left.png",arrowRight:"includes/css/images/arrow-right.png",loop:true,keyboardNavEnabled:true,controlsInside:false,imageScaleMode:'fill',autoScaleSlider:true,controlNavigation:'thumbnails',thumbsFitInViewport:true,navigateByClick:true,startSlideId:0,usePreloader:false,autoPlay:{enabled:true,pauseOnHover:false,delay:5000},transitionType:'fade',globalCaption:false}).data("royalSlider");$(".rsArrowLeft").css("top",($(window).height()/2)+"px");$(".rsArrowRight").css("top",($(window).height()/2)+"px");resizeRoyaSlider();});$(window).on("resize",function(){resizeRoyaSlider();});function resizeRoyaSlider(){$(".sliderContainer").css("height",$(".rsOverflow").height());$(".royalSlider").css("height",$(".rsOverflow").height());}
$(document).ready(function(){setTimeout('$(".arrow").css({"top":$(window).height() - 85}).show();',2000);});function reCaptchaOnFocus(){var head=document.getElementsByTagName('head')[0]
var script=document.createElement('script')
script.type='text/javascript';script.src='https://www.google.com/recaptcha/api.js?render=6LecO4MUAAAAACd76VNXkHVzwH6qdWnldjEg44Vz'
head.appendChild(script);grecaptcha.ready(function(){grecaptcha.execute("6LecO4MUAAAAACd76VNXkHVzwH6qdWnldjEg44Vz",{action:"action_name"}).then(function(token){jQuery('[name="g-recaptcha-response"]').val(token);});});document.getElementById('Nombre').removeEventListener('focus',reCaptchaOnFocus);document.getElementById('Email').removeEventListener('focus',reCaptchaOnFocus);}
jQuery(document).ready(function(){document.getElementById('Nombre').addEventListener('focus',reCaptchaOnFocus,false);document.getElementById('Email').addEventListener('focus',reCaptchaOnFocus,false);});jQuery(document).ready(function(){jQuery(".clkNormas").colorbox({maxHeight:"700px",height:"90%",maxWidth:"700px",width:"90%",fixed:true});jQuery(".clkAviso").colorbox({maxHeight:"700px",height:"90%",maxWidth:"700px",width:"90%",fixed:true});jQuery(".rgpd_1nivel").mouseover(function(){jQuery(this).css("height","initial");jQuery(this).css("overflow","unset");});jQuery(".rgpd_1nivel").mouseout(function(){jQuery(this).css("height","80px");jQuery(this).css("overflow","hidden");});});jQuery("#arqt").ready(function(){if(0){jQuery("#arqt").submit(function(event){event.preventDefault();});}
jQuery.validator.setDefaults({submitHandler:function(){if(0){jQuery.ajax({contentType:"application/x-www-form-urlencoded",type:"POST",url:"contacto.inc&clean=1",data:jQuery("#arqt").serialize()+"&plantillaEmail=",success:function(datos){jQuery("#arqt .divForm").text("");jQuery(".resultContacto").html(datos);;}});}else{Submit();}}});jQuery("#arqt").validate({rules:{Nombre:{required:true},Apellidos:{required:true},Asunto:{required:true},Mensaje:{required:true},Email:{required:true,email:true},Telefono:{required:false,phone:true},Acepto:{required:true}}});var rgpdHeight=jQuery("#arqt .rgpd_1nivel").css("height");jQuery("#arqt .rgpd_1nivel").mouseover(function(){jQuery(this).css("height","initial");jQuery(this).css("overflow","unset");});jQuery("#arqt .rgpd_1nivel").mouseout(function(){jQuery(this).css("height",rgpdHeight);jQuery(this).css("overflow","hidden");});});if(window.history.replaceState){window.history.replaceState(null,null,window.location.href);}
jQuery(document).ready(function(event){var $target=$('html,body');$target.animate({scrollTop:145},1000);});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://inyon.es/arquitectura',size:'medium',lang:'es-ES',annotation:''},facebook:{url:'http://inyon.es/arquitectura',action:'like',layout:'button_count',width:'',send:'false',faces:'false',colorscheme:'',font:'',lang:'es_ES'},twitter:{url:'http://inyon.es/arquitectura',count:'horizontal',via:'inyon_org',hashtags:'',related:'',lang:'es'},pinterest:{url:'http://inyon.es/arquitectura',media:'https://www.factinet.com/uploads/grupos/10dd6d7404bbc5431561acbe7d0e33e7_logo_nuevo.jpeg',description:'Empresa dedicada a la realización de fotografÃa inmobiliaria y de stock. Especialistas en la digitalización de espacios, casas de muñecas, fotogrametrÃa, tours virtuales, fotografÃa panorámica y el mundo 360º. Atendemos a toda España mediante cuatro equipos propios. Servicio de cita previa. Atención mediante WhatsApp. Nuestra sede está en Madrid. Somos partners de Ricoh, Canon y Tamron. Mercado inmobiliario, HORECA, Turismo rural, Grandes superficies de distribución, fotogr',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);}});});$(function(){$('#WAButton').floatingWhatsApp({phone:'34616429477',headerTitle:'Contáctanos por Whatsapp',popupMessage:'Hola, puedo ayudarte?',showPopup:true,buttonImage:'',position:'right'});});String.prototype.toUnicode=function(){var result="";for(var i=0;i