").insertBefore(lnk);itm.addClass("ext");}});};})(jQuery);jQuery(window).load(menuExtendedCreate);function openMenuMobile(){return;jQuery(".responsive .art-menu li").on("click",function(e){jQuery(this).addClass("active");});}
jQuery(document).ready(function(){jQuery(".responsive .art-nav ul.art-hmenu li").on("click",function(e){jQuery(this).find("ul").addClass("visibleSubMenu");});setTimeout("openMenuMobile();",1500);});function removeQueryStringParameter(url,key){var urlparts=url.split('?');if(urlparts.length>=2){var prefix=encodeURIComponent(key)+'=';var pars=urlparts[1].split(/[&]/g);for(var i=pars.length;i-->0;)
if(pars[i].indexOf(prefix,0)==0)
pars.splice(i,1);if(pars.length>0)
return urlparts[0]+'?'+pars.join('&');else
return urlparts[0];}else
return url;}
function updateQueryStringParameter(uri,key,value){var re=new RegExp("([?&])"+key+"=.*?(&|#|$)","i");if(uri.match(re)){return uri.replace(re,'$1'+key+"="+value+'$2');}else{var hash='';if(uri.indexOf('#')!==-1){hash=uri.replace(/.*#/,'#');uri=uri.replace(/#.*/,'');}
var separator=uri.indexOf('?')!==-1?"&":"?";return uri+separator+key+"="+value+hash;}}
function getSearchParams(k){var p={};location.search.replace(/[?&]+([^=&]+)=([^&]*)/gi,function(s,k,v){p[k]=v})
return k?p[k]:p;}
function pushLocalStorage(variable,data){var a=[];a=JSON.parse(localStorage.getItem(variable))||[];a.push(data);localStorage.setItem(variable,JSON.stringify(a));}
function DrawCirclePoints(points,radius,x,y){slice=2*3.1416/points;for(i=0;i Puede encontrar toda la información en nuestra Política de Cookies.',delay:600,expires:30,link:'politica-de-cookies?clean=1',onAccept:function(){var myPreferences=jQuery.fn.ihavecookies.cookie();jQuery(".cookie-wrap").fadeOut("slow",function(){jQuery(this).remove();});},onReject:function(){var myPreferences=jQuery.fn.ihavecookies.cookie();jQuery(".cookie-wrap").fadeOut("slow",function(){jQuery(this).remove();});},onLoad:function(){jQuery(".cookie-wrap").show();},uncheckBoxes:true,acceptBtnLabel:'Aceptar',rejectBtnLabel:'Rechazar',moreInfoLabel:'Más información',advancedBtnLabel:'Personalizar',cookieTypesTitle:'Selecciona las cookies que quieres aceptar',fixedCookieTypeLabel:'Esenciales',fixedCookieTypeDesc:'Estas son las cookies esenciales para el correcto funcionamiento de la web.',cookieTypes:[{type:'Preferencia del sitio',value:'preferences',description:'Estas son cookies que están relacionadas con las preferencias de su sitio, p. Ej. recordar su nombre de usuario, colores del sitio, etc.'},{type:'Análisis',value:'analytics',description:'Cookies relacionadas con visitas al sitio, tipos de navegador, etc.'},{type:'Marketing',value:'marketing',description:'Cookies relacionadas con el marketing, p. Ej. boletines, redes sociales, etc.'}]}
jQuery(document).ready(function(){setTimeout('launchIHaveCookies()',3000);});function launchIHaveCookies(){jQuery('.cookie-wrap').ihavecookies(optionsIHaveCookies);if(jQuery.fn.ihavecookies.preference('marketing')===true){}
jQuery('#ihavecookiesBtn').on('click',function(){jQuery('.cookie-wrap').ihavecookies(optionsIHaveCookies,'reinit');});setTimeout('jQuery("div#gdpr-cookie-message a").colorbox({maxHeight:"600px", maxWidth:"700px", height:"80%", width:"80%"});',1000);} !function(e){e.fn.ihavecookies=function(n,c){var r=e(this),a=e.extend({cookieTypes:[{type:"Site Preferences",value:"preferences",description:"These are cookies that are related to your site preferences, e.g. remembering your username, site colours, etc."},{type:"Analytics",value:"analytics",description:"Cookies related to site visits, browser types, etc."},{type:"Marketing",value:"marketing",description:"Cookies related to marketing, e.g. newsletters, social media, etc"}],title:"Cookies & Privacy",message:"Cookies enable you to use shopping carts and to personalize your experience on our sites, tell us which parts of our websites people have visited, help us measure the effectiveness of ads and web searches, and give us insights into user behavior so we can improve our communications and products.",link:"/privacy-policy",delay:2e3,expires:30,moreInfoLabel:"More information",acceptBtnLabel:"Accept Cookies",rejectBtnLabel:"Rechazar Cookies",advancedBtnLabel:"Customise Cookies",cookieTypesTitle:"Select cookies to accept",fixedCookieTypeLabel:"Necessary",fixedCookieTypeDesc:"These are cookies that are essential for the website to work correctly.",onAccept:function(){},onReject:function(){},onLoad:function(){},rejectButton:!0,uncheckBoxes:!1},n),s=i("cookieControl"),p=i("cookieControlPrefs");if(s&&p&&"reinit"!=c){var d=!0;"false"==s&&(d=!1),o(d,a.expires)}else{e("#gdpr-cookie-message").remove();var l='
",setTimeout(function(){e(r).append(u),e("#gdpr-cookie-message").hide().fadeIn("slow",function(){"reinit"==c&&(e("#gdpr-cookie-advanced").trigger("click"),e.each(preferences,function(o,t){e("input#gdpr-cookietype-"+t).prop("checked",!0)}))}),a.onLoad.call(this)},a.delay),e("body").on("click","#gdpr-cookie-accept",function(){o(!0,a.expires),e('input[name="gdpr[]"][data-auto="on"]').prop("checked",!0);var i=[];e.each(e('input[name="gdpr[]"]').serializeArray(),function(e,o){i.push(o.value)}),t("cookieControlPrefs",encodeURIComponent(JSON.stringify(i)),365),a.onAccept.call(this)}),e("body").on("click","#gdpr-cookie-reject",function(){o(!0,a.expires),e('input[name="gdpr[]"]').prop("checked",!1);var i=[];e.each(e('input[name="gdpr[]"]').serializeArray(),function(e,o){i.push(o.value)}),t("cookieControlPrefs",encodeURIComponent(JSON.stringify(i)),365),a.onReject.call(this)}),e("body").on("click","#gdpr-cookie-advanced",function(){e('input[name="gdpr[]"]:not(:disabled)').attr("data-auto","off").prop("checked",!1),e("#gdpr-cookie-types").slideDown("fast",function(){e("#gdpr-cookie-advanced").prop("disabled",!0)})})}!0===a.uncheckBoxes&&e('input[type="checkbox"].ihavecookies').prop("checked",!1)},e.fn.ihavecookies.cookie=function(){var e=i("cookieControlPrefs");return JSON.parse(e)},e.fn.ihavecookies.preference=function(e){var o=i("cookieControl"),t=i("cookieControlPrefs");return t=JSON.parse(t),!1!==o&&(!1!==t&&-1!==t.indexOf(e))};var o=function(o,i){t("cookieControl",o,i),e("#gdpr-cookie-message").fadeOut("fast",function(){e(this).remove()})},t=function(e,o,t){var n=new Date;n.setTime(n.getTime()+24*t*60*60*1e3);var c="expires="+n.toUTCString();return document.cookie=e+"="+o+";"+c+";path=/",i(e)},i=function(e){for(var o=e+"=",t=decodeURIComponent(document.cookie).split(";"),i=0;i0&&(g.offset=parseInt(g.offset)/100*e.height);var i=g.scrollHorizontal?d.offset().left:d.offset().top,j=g.scrollHorizontal?i+d.width():i+d.height(),k=Math.round(i)+g.offset,l=g.scrollHorizontal?k+d.width():k+d.height();g.invertBottomOffset&&(l-=2*g.offset),kb?(d.removeClass(g.classToRemove),d.addClass(g.classToAdd),g.callbackFunction(d,"add"),j<=f&&i>=b?d.addClass(g.classToAddForFullView):d.removeClass(g.classToAddForFullView),d.data("vp-animated",!0),g.removeClassAfterAnimation&&d.one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){d.removeClass(g.classToAdd)})):d.hasClass(g.classToAdd)&&g.repeat&&(d.removeClass(g.classToAdd+" "+g.classToAddForFullView),g.callbackFunction(d,"remove"),d.data("vp-animated",!1))}})},("ontouchstart"in window||"onmsgesturechange"in window)&&a(document).bind("touchmove MSPointerMove pointermove",this.checkElements),a(c.scrollBox).bind("load scroll",this.checkElements),a(window).resize(function(b){e={height:a(c.scrollBox).height(),width:a(c.scrollBox).width()},d.checkElements()}),this.checkElements(),this}}(jQuery); (function($){$.fn.jaliswall=function(options){this.each(function(){var defaults={item:'.wall-item',columnClass:'.wall-column',resize:false}
var prm=$.extend(defaults,options);var container=$(this);var items=container.find(prm.item);var elemsDatas=[];var columns=[];var nbCols=getNbCols();init();function init(){nbCols=getNbCols();recordAndRemove();print();if(prm.resize){$(window).resize(function(){if(nbCols!=getNbCols()){nbCols=getNbCols();setColPos();print();}});}}
function getNbCols(){var instanceForCompute=false;if(container.find(prm.columnClass).length==0){instanceForCompute=true;container.append("");}
var colWidth=container.find(prm.columnClass).outerWidth(true);var wallWidth=container.innerWidth();if(instanceForCompute)container.find(prm.columnClass).remove();return Math.round(wallWidth/colWidth);}
function recordAndRemove(){items.each(function(index){var item=$(this);elemsDatas.push({content:item.html(),class:item.attr('class'),href:item.attr('href'),id:item.attr('id'),colid:index%nbCols});item.remove();});}
function setColPos(){for(var i in elemsDatas){elemsDatas[i].colid=i%nbCols;}}
function parseSelector(selector){return selector.slice(1,selector.length);}
function print(){var tree='';for(var i=0;i
";}
container.html(tree);for(var i in elemsDatas){var html='';var content=(elemsDatas[i].content!=undefined)?elemsDatas[i].content:'';var href=(elemsDatas[i].href!=href)?elemsDatas[i].href:'';var classe=(elemsDatas[i].class!=undefined)?elemsDatas[i].class:'';var id=(elemsDatas[i].id!=undefined)?elemsDatas[i].id:'';if(elemsDatas[i].href!=undefined){html+=""+content+"";}else{html+="
"+content+"
";}
var idAux=getAttr(id,'id');container.children(prm.columnClass).eq(i%nbCols).append(html);}}
function getAttr(attr,type){return(attr!=undefined)?type+"='"+attr+"'":'';}});return this;}})(jQuery); (function($){var counter=0;var modes={iframe:"iframe",popup:"popup"};var defaults={mode:modes.iframe,popHt:500,popWd:400,popX:200,popY:200,popTitle:'',popClose:false};var settings={};$.fn.printArea=function(options)
{$.extend(settings,defaults,options);counter++;var idPrefix="printArea_";$("[id^="+idPrefix+"]").remove();var ele=getFormData($(this));settings.id=idPrefix+counter;var writeDoc;var printWindow;switch(settings.mode)
{case modes.iframe:var f=new Iframe();writeDoc=f.doc;printWindow=f.contentWindow||f;break;case modes.popup:printWindow=new Popup();writeDoc=printWindow.doc;}
writeDoc.open();writeDoc.write(docType()+""+getHead()+getBody(ele)+"");writeDoc.close();printWindow.focus();printWindow.print();if(settings.mode==modes.popup&&settings.popClose)
printWindow.close();}
function docType()
{if(settings.mode==modes.iframe||!settings.strict)return"";var standard=settings.strict==false?" Trasitional":"";var dtd=settings.strict==false?"loose":"strict";return'';}
function getHead()
{var head=""+settings.popTitle+"";$(document).find("link").filter(function(){return $(this).attr("rel").toLowerCase()=="stylesheet";}).filter(function(){var media=$(this).attr("media");return(media.toLowerCase()==""||media.toLowerCase()=="print")}).each(function(){head+='';});head+="";return head;}
function getBody(printElement)
{return'
'+$(printElement).html()+'
';}
function getFormData(ele)
{$("input,select,textarea",ele).each(function(){var type=$(this).attr("type");if(type=="radio"||type=="checkbox")
{if($(this).is(":not(:checked)"))this.removeAttribute("checked");else this.setAttribute("checked",true);}
else if(type=="text")
this.setAttribute("value",$(this).val());else if(type=="select-multiple"||type=="select-one")
$(this).find("option").each(function(){if($(this).is(":not(:selected)"))this.removeAttribute("selected");else this.setAttribute("selected",true);});else if(type=="textarea")
{var v=$(this).attr("value");if($.browser.mozilla)
{if(this.firstChild)this.firstChild.textContent=v;else this.textContent=v;}
else this.innerHTML=v;}});return ele;}
function Iframe()
{var frameId=settings.id;var iframeStyle='border:0;position:absolute;width:0px;height:0px;left:0px;top:0px;';var iframe;try
{iframe=document.createElement('iframe');document.body.appendChild(iframe);$(iframe).attr({style:iframeStyle,id:frameId,src:""});iframe.doc=null;iframe.doc=iframe.contentDocument?iframe.contentDocument:(iframe.contentWindow?iframe.contentWindow.document:iframe.document);}
catch(e){throw e+". iframes may not be supported in this browser.";}
if(iframe.doc==null)throw"Cannot find document.";return iframe;}
function Popup()
{var windowAttr="location=yes,statusbar=no,directories=no,menubar=no,titlebar=no,toolbar=no,dependent=no";windowAttr+=",width="+settings.popWd+",height="+settings.popHt;windowAttr+=",resizable=yes,screenX="+settings.popX+",screenY="+settings.popY+",personalbar=no,scrollbars=no";var newWin=window.open("","_blank",windowAttr);newWin.doc=newWin.document;return newWin;}})(jQuery); (function($){$.fn.floatingWhatsApp=function(options){var settings=$.extend({phone:'',message:'',size:'72px',backgroundColor:'#25D366',position:'left',popupMessage:'',showPopup:false,showOnIE:true,autoOpenTimeout:0,headerColor:'#128C7E',headerTitle:'WhatsApp Chat',zIndex:0,buttonImage:'',},options);var isMobile=mobilecheck();this.addClass('floating-wpp');var $button=$(document.createElement('div'));var $buttonImageContainer=$(document.createElement('div'));var $popup=$(document.createElement('div'));var $header=$(document.createElement('div'));var $popupMessage=$(document.createElement('div'));var $btnSend=$(document.createElement('div'));var $inputMessage=$(document.createElement('div'));$buttonImageContainer.addClass('floating-wpp-button-image');$button.addClass('floating-wpp-button').append($(settings.buttonImage)).css({'width':settings.size,'height':settings.size,'background-color':settings.backgroundColor});if(!isInternetExplorer()||settings.showOnIE){$button.append($buttonImageContainer).appendTo(this);}
$button.on('click',function(){if(isMobile&&settings.showPopup){openPopup();}
else{sendWhatsappMessage();}});if(settings.showPopup){var $textarea=$(document.createElement('textarea'));var $closeBtn=$(document.createElement('strong'));var $sendIcon=$('')
$popup.addClass('floating-wpp-popup');$header.addClass('floating-wpp-head');$popupMessage.addClass('floating-wpp-message');$inputMessage.addClass('floating-wpp-input-message');$btnSend.addClass('floating-wpp-btn-send');$popupMessage.text(settings.popupMessage);$textarea.val(settings.message);if(!settings.popupMessage){$popupMessage.hide();}
$header.append(''+settings.headerTitle+'',$closeBtn).css('background-color',settings.headerColor);$btnSend.append($sendIcon);$inputMessage.append($textarea,$btnSend);$closeBtn.addClass('close').html('×');$popup.append($header,$popupMessage,$inputMessage).appendTo(this);$popupMessage.click(function(){});$closeBtn.click(function(){});$header.click(function(){$popup.removeClass('active');});$textarea.keypress(function(event){settings.message=$(this).val();if(event.keyCode==13&&!event.shiftKey&&!isMobile){event.preventDefault();$btnSend.click();}});$btnSend.click(function(){settings.message=$textarea.val();sendWhatsappMessage();});this.mouseenter(function(){openPopup();});if(settings.autoOpenTimeout>0){setTimeout(function(){openPopup();},settings.autoOpenTimeout);}
function openPopup(){if(!$popup.hasClass('active')){$popup.addClass('active');$textarea.focus();}}}
if(settings.zIndex){$(this).css('z-index',settings.zIndex);}
if(settings.position==='right'){this.css({left:'auto',right:'15px'});$popup.css('right','0');}
function sendWhatsappMessage(){const apilink='https://wa.me/'+settings.phone+'?text='+encodeURI(settings.message);window.open(apilink);}}
function isInternetExplorer(){var userAgent=window.navigator.userAgent;return userAgent.indexOf("MSIE")>=0||userAgent.match(/Trident.*rv\:11\./);}
function mobilecheck(){var check=false;(function(a){if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0,4)))check=true;})(navigator.userAgent||navigator.vendor||window.opera);return check;}}(jQuery));