function setSearchUrl(n){var t=document.getElementById("search-type-select"),i=t.options[t.selectedIndex].value;searchUrl="/Search/"+n+"/"+i}function search(){var n=document.getElementById("search-type-select"),t=n.options[n.selectedIndex].value;if(t==="website"||t==="siteweb")document.getElementById("search-form").submit();else return window.location.href=searchUrl+"?text="+encodeURIComponent(document.getElementById("text-criteria").value),!1}var currentLanguage,searchUrl;$(document).scroll(function(){var n=$(this).scrollTop();n>800?$(".backToTop").fadeIn():$(".backToTop").fadeOut()});$(function(){var n=$("#ce-hoc-footer").outerHeight(!0);$(".backToTop").affix({offset:{bottom:n}})});currentLanguage="";$(function(){$(location).attr("href");var n=window.location.href,i=n.substr(n.lastIndexOf("/")+1),t=i.replace(/\.[^/.]+$/,"");currentLanguage=t.substr(t.length-1)});$(function(){var n,t,i;n=$(".web-banner").height()!==undefined?$(".web-banner").height():0;t=$("#ce-parl-header").height()+$("#ce-hoc-header").height()+n+20;i=$("#ce-hoc-footer").outerHeight(!0)+30;$("#sidebar").affix({offset:{top:t,bottom:i}}).on("affix.bs.affix",function(){$(this).css({width:$(this).outerWidth()})}).on("affix-bottom.bs.affix",function(){$(this).css("bottom","auto")});$("body").scrollspy({target:".bs-docs-sidebar"})});$(function(){"use strict";$(".bs-docs-sidebar a[href*='#']:not([href='#'])").click(function(){if(location.pathname.replace(/^\//,"")===this.pathname.replace(/^\//,"")&&location.hostname===this.hostname){var n=$(this.hash);n=n.length?n:$("[name="+this.hash.slice(1)+"]");n.length&&(n.focus(),$("html, body").animate({scrollTop:n.offset().top},500))}})});searchUrl=""