function include(scriptUrl) {
/*document.write('');*/
document.write('');
}
function include2(scriptUrl) {
document.write('');
}
function isIE() {
var myNav = navigator.userAgent.toLowerCase();
return (myNav.indexOf('msie') != -1) ? parseInt(myNav.split('msie')[1]) : false;
};
include('js/jquery.cookie.js');
include('js/jquery.easing.1.3.js');
;
(function ($) {
if (isIE() && isIE() < 11) {
include('js/pointer-events.js');
$('html').addClass('lt-ie11');
$(document).ready(function () {
PointerEventsPolyfill.initialize({});
});
}
})(jQuery);
;
(function ($) {
var o = $('html');
if (o.hasClass('desktop')) {
include('js/tmstickup.js');
$(document).ready(function () {
$('#fijar_contenedor').TMStickUp({})
});
}
})(jQuery);
;
(function ($) {
var o = $('html');
if (o.hasClass('desktop')) {
include('js/jquery.ui.totop.js');
$(document).ready(function () {
$().UItoTop({
easingType: 'easeOutQuart',
containerClass: 'toTop fa fa-arrow-circle-up'
});
});
}
})(jQuery);
;
(function ($) {
var o = $('[data-equal-group]');
if (o.length > 0) {
include('js/jquery.equalheights.js');
}
})(jQuery);
;
(function ($) {
include('js/superfish.js');
})(jQuery);
;
(function ($) {
include('js/jquery.rd-navbar.js');
})(jQuery);
;
(function ($) {
var o = document.getElementById("google-map");
if (o) {
include2('//maps.google.com/maps/api/js?sensor=false');
include('js/jquery.rd-google-map.js');
$(document).ready(function () {
var o = $('#google-map');
if (o.length > 0) {
o.googleMap({
styles: [{
"featureType": "administrative",
"elementType": "labels.text.fill",
"stylers": [{"color": "#444444"}]
}, {
"featureType": "landscape",
"elementType": "all",
//"stylers": [{"color": "#f2f2f2"}]
}, {
"featureType": "poi",
"elementType": "all",
"stylers": [{"visibility": "off"}]
}, {
"featureType": "road",
"elementType": "all",
"stylers": [{"saturation": -100}, {"lightness": 45}]
}, {
"featureType": "road.highway",
"elementType": "all",
"stylers": [{"visibility": "simplified"}]
}, {
"featureType": "road.arterial",
"elementType": "labels.icon",
"stylers": [{"visibility": "off"}]
}, {
"featureType": "transit",
"elementType": "all",
"stylers": [{"visibility": "off"}]
}, {
"featureType": "water",
"elementType": "all",
"stylers": [{"color": "#46bcec"}, {"visibility": "on"}]
}]
});
}
});
}
})
(jQuery);
;
(function ($) {
var o = $('html');
if ((navigator.userAgent.toLowerCase().indexOf('msie') == -1 ) || (isIE() && isIE() > 9)) {
if (o.hasClass('desktop')) {
include('js/wow.js');
$(document).ready(function () {
new WOW().init();
});
}
}
})(jQuery);
;
(function ($) {
include('js/jquery.form.min.js');
include('js/jquery.rd-mailform.min.js');
})(jQuery);
$(function () {
// IPad/IPhone
var viewportmeta = document.querySelector && document.querySelector('meta[name="viewport"]'),
ua = navigator.userAgent,
gestureStart = function () {
viewportmeta.content = "width=device-width, minimum-scale=0.25, maximum-scale=1.6, initial-scale=1.0";
},
scaleFix = function () {
if (viewportmeta && /iPhone|iPad/.test(ua) && !/Opera Mini/.test(ua)) {
viewportmeta.content = "width=device-width, minimum-scale=1.0, maximum-scale=1.0";
document.addEventListener("gesturestart", gestureStart, false);
}
};
scaleFix();
// Menu Android
if (window.orientation != undefined) {
var regM = /ipod|ipad|iphone/gi,
result = ua.match(regM);
if (!result) {
$('.sf-menus li').each(function () {
if ($(">ul", this)[0]) {
$(">a", this).toggle(
function () {
return false;
},
function () {
window.location.href = $(this).attr("href");
}
);
}
})
}
}
});
var ua = navigator.userAgent.toLocaleLowerCase(),
regV = /ipod|ipad|iphone/gi,
result = ua.match(regV),
userScale = "";
if (!result) {
userScale = ",user-scalable=0"
}
document.write('');
;
(function ($) {
var o = $('#camera');
if (o.length > 0) {
if (!(isIE() && (isIE() > 9))) {
include('js/jquery.mobile.customized.min.js');
}
include('js/camera.js');
$(document).ready(function () {
o.camera({
autoAdvance: true,
time: '5000',
height: '61.561%',
minHeight: '300px',
pagination: false,
thumbnails: false,
playPause: false,
hover: false,
loader: 'none',
navigation: true,
navigationHover: false,
mobileNavHover: false,
fx: 'simpleFade'
})
});
}
})(jQuery);
;
(function ($) {
var o = $('.miniatura');
if (o.length > 0) {
include('js/jquery.fancybox.js');
include('js/jquery.fancybox-media.js');
include('js/jquery.fancybox-buttons.js');
$(document).ready(function () {
o.fancybox();
});
}
})(jQuery);
;
(function ($) {
var o = $('.vide');
if (o.length > 0) {
include('js/jquery.vide.js');
}
})(jQuery);
;
(function ($) {
include('js/jquery.rd-parallax.js');
})(jQuery);