function init(){window.addEventListener("scroll",function(){var a=window.pageYOffset||document.documentElement.scrollTop,e=document.querySelector("header");a>70?classie.add(e,"smaller"):classie.has(e,"smaller")&&classie.remove(e,"smaller")})}$(function(){$("a.scroll[href*=#]:not([href=#])").click(function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var a=$(this.hash);if((a=a.length?a:$("[name="+this.hash.slice(1)+"]")).length)return $("html,body").animate({scrollTop:a.offset().top},1e3),!1}})}),window.onload=init(),$(function(){$('[data-toggle="tooltip"]').tooltip()}),$(window).scroll(function(){var a=$(this).scrollTop();$("#prueba").css("transform","translate(0px,"+a/4+"%)")}),$("#slider .owl-carousel").owlCarousel({items:1,merge:!1,loop:!0,margin:0,lazyLoad:!1,center:!0,nav:!0,navText:["",""],autoplay:!0,autoplayTimeout:1500,autoplayHoverPause:!0,dots:!0,dotsEach:!0}),$("#main-slider .owl-carousel").owlCarousel({items:1,merge:!1,loop:!0,margin:10,lazyLoad:!1,center:!0,nav:!0,navText:["",""],autoplay:!0,autoplayTimeout:2e3,autoplayHoverPause:!1,dots:!1,dotsEach:!1}),$("#artista-slider .owl-carousel").owlCarousel({items:1,merge:!1,loop:!1,margin:0,lazyLoad:!1,center:!0,nav:!0,navText:["",""],autoplay:!1,autoplayTimeout:7e3,autoplayHoverPause:!0,dots:!1,dotsEach:!1,autoHeight:!0}),$("#carousel .owl-carousel").owlCarousel({items:3,merge:!1,loop:!1,margin:10,lazyLoad:!1,center:!1,nav:!0,navText:["",""],autoplay:!1,dots:!1,dotsEach:!1}),$(".propiedad-slider .owl-carousel").owlCarousel({items:1,loop:!1,margin:10,lazyLoad:!1,center:!0,nav:!0,navText:["",""],autoplay:!1,dots:!0,video:!0,videoWidth:!0,videoHeight:!0}),$("[data-fancybox]").fancybox({thumbs:{showOnStart:!0,hideOnClosing:!0}}),$(document).ready(function(){(new WOW).init()});