function InitializeRequest(n,t){document.body.style.cursor="wait",$get("boxprogress")&&($get("boxprogress").className="progress progressactive"),t!=null&&$get(t._postBackElement.id)&&($get(t._postBackElement.id).disabled=!0,$("#"+t._postBackElement.id).addClass("disabled"))}function EndRequest(n){document.body.style.cursor="auto",$get("boxprogress")&&($get("boxprogress").className=""),n!=null&&n._postBackSettings.sourceElement&&$get(n._postBackSettings.sourceElement.id)&&($get(n._postBackSettings.sourceElement.id).disabled=!1,$("#"+n._postBackSettings.sourceElement.id).removeClass("disabled"))}function Zone(n,t,i,r,u,f){var e=null;this.zoneElement=n,this.zoneIndex=t,this.webParts=[],this.uniqueID=i,this.isVertical=r,this.allowLayoutChange=u,this.allowDrop=!1,this.webPartTable=e,this.highlightColor=f,this.savedBorderColor=e!=null?e.style.borderColor:null,this.dropCueElements=[],this.AddWebPart=Zone_AddWebPart,this.GetWebPartIndex=Zone_GetWebPartIndex,this.ToggleDropCues=Zone_ToggleDropCues,this.UpdatePosition=Zone_UpdatePosition,this.Dispose=Zone_Dispose}function Zone_Dispose(){for(var n in this.webParts)this.webParts[n].Dispose()}function GetWindowWidth(){var n=0;return typeof window.innerWidth=="number"?n=window.innerWidth:document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)?n=document.documentElement.clientWidth:document.body&&(document.body.clientWidth||document.body.clientHeight)&&(n=document.body.clientWidth),n}function GetWindowHeight(){return typeof window.innerWidth=="number"?window.innerHeight:document.documentElement&&document.documentElement.clientHeight?document.documentElement.clientHeight:document.body&&document.body.clientHeight?document.body.clientHeight:0}function ResizeW(n){n==null&&(n=25);var t=GetWindowWidth();typeof maxwidth!="undefined"&&t>maxwidth||(control&&(control.width=t-n),typeof control2!="undefined"&&control2&&(control2.width=t-n))}function ResizeH(){var n=GetWindowHeight();typeof maxheight!="undefined"&&n>maxheight||(control&&(control.height=n-20),typeof control2!="undefined"&&control2&&(control2.height=n-20))}function KeyDownHandler(n,t){n.keyCode==13&&(n.returnValue=!1,n.cancel=!0,__doPostBack(t,""))}function createCookie(n,t,i){var u="",r;i&&(r=new Date,r.setTime(r.getTime()+i*864e5),u="; expires="+r.toGMTString()),document.cookie=n+"="+t+u+"; path=/"}function readCookie(n){for(var u=n+"=",r=document.cookie.split(";"),t,i=0;i<r.length;i++){for(t=r[i];t.charAt(0)==" ";)t=t.substring(1,t.length);if(t.indexOf(u)==0)return t.substring(u.length,t.length)}return null}function eraseCookie(n){createCookie(n,"",-1)}function shiftOpacity(n,t){document.getElementById(n).style.opacity==0?opacity(n,0,100,t):(opacity(n,100,0,0),opacity(n,0,100,t))}function opacity(n,t,r,u){var e=Math.round(u/100),f=0;if(t>r)for(i=t;i>=r;i--)setTimeout("changeOpac("+i+",'"+n+"')",f*e),f++;else if(t<r)for(i=t;i<=r;i++)setTimeout("changeOpac("+i+",'"+n+"')",f*e),f++}function changeOpac(n,t){var i=document.getElementById(t).style;i.opacity=n/100,i.MozOpacity=n/100,i.KhtmlOpacity=n/100,i.filter="alpha(opacity="+n+")"}function HidePanel(n,t){n.style.visibility="Hidden",createCookie(t,!0,1)}function ShowPanel(n,t){n.style.visibility="Visible",createCookie(t,!0,1)}function PositionPanel(n){if(n){var r=document.all?document.body.scrollTop:pageYOffset,i=document.all?document.body.scrollLeft:pageXOffset,t=document.all?document.body.clientWidth:window.innerWidth;document.all||document.getElementById?(n.style.left=(parseInt(i)+parseInt(t)-parseInt(n.style.width))/2,n.style.top=r+405):document.layers&&(n.left=i+t-parseInt(n.width)-5,n.top=r+305)}}function SetObjectMaxHeight(n,t){n.style.height="100%",t.style.visibility="Hidden"}function SetObjectHeight(n,t){n.style.height=t}function RefreshParent(n){window.parent.location.href=n}function textCounter(n,t,i){var u=document.getElementById(t),f=document.getElementById(i);u&&(f&&u.value.length<=n?f.value="Posledni "+String(n-u.value.length)+" znak(y).":u.value=u.value.substring(0,n))}function setFooter(){var r,t,i,n,u;document.getElementById&&(r=GetWindowHeight(),r>0&&(t=document.getElementById("ctl00_ewpz1_mainTemplateCtrl"),i=t.offsetHeight,t.offsetHeight?i=t.offsetHeight:t.style.pixelHeight&&(i=t.style.pixelHeight),n=document.getElementById("footer"),n&&(u=n.offsetHeight,r-(i+u)>=0?(n.style.position="relative",n.style.top=r-(i+u)+"px"):n.style.position="static")))}function getElement(n){return document.getElementById?document.getElementById(n):document.all[n]}function getIFrameDocument(n){var t=null,i=getElement(n);return t=i.contentDocument?i.contentDocument:document.frames[n].document}function adjustFrameHeight(n){var i=getElement(n),t=getIFrameDocument(n);i.height=t.body.scrollHeight}function AutoComplete_PopulatedUrl(n){for(var r=n.get_completionList().childNodes,i=0;i<r.length;i++)r[i]._value!=""&&(r[i].innerHTML="<a href='"+r[i]._value+"'>"+r[i].innerHTML+"</a>")}function AutoComplete_ItemSelectedUrl(n){var i=n._selectIndex,r=n.get_completionList().childNodes;i>=0&&r[i]!=null&&r[i]._value!=""&&(window.location="/"+r[i]._value)}function webtrekkUnload(n){var t,e,r,f,u,o;for(i=0;i<webtrekkUnloadObjects.length;i++){if(webtrekkUnloadObjects[i].cookie!="1"||webtrekkUnloadObjects[i].optOut||webtrekkUnloadObjects[i].deactivatePixel||webtrekkUnloadObjects[i].firstParty(),webtrekkUnloadObjects[i].beforeUnloadPixel!=!1&&webtrekkUnloadObjects[i].beforeUnloadPixel(),t="",webtrekkUnloadObjects[i].config.linkId&&(t+="&ct="+webtrekkUnloadObjects[i].wtEscape(webtrekkUnloadObjects[i].maxlen(webtrekkUnloadObjects[i].config.linkId,255)),t&&(webtrekkUnloadObjects[i].linktrackOut&&(t+="&ctx=1"),e=webtrekkUnloadObjects[i].ccParams,typeof e=="string"&&e!=""&&(t+=e))),webtrekkUnloadObjects[i].wtEp)if(webtrekkUnloadObjects[i].wtEpEncoded)t+=webtrekkUnloadObjects[i].wtEp;else if(r=webtrekkUnloadObjects[i].wtEp,typeof r=="string"&&r!="")for(r=r.split(/;/),f=0;f<r.length;f++)webtrekkUnloadObjects[i].wtTypeof(r[f])&&(u=r[f].split(/=/),webtrekkUnloadObjects[i].checkSC("custom")&&(u[1]=webtrekkUnloadObjects[i].decrypt(u[1])),u[1]=webtrekkUnloadObjects[i].wtEscape(u[1]),t+="&"+u[0]+"="+u[1]);webtrekkUnloadObjects[i].formObject&&n!="noForm"&&(o=webtrekkUnloadObjects[i].gatherForm(),o&&(t+="&fn="+(webtrekkUnloadObjects[i].formName?webtrekkUnloadObjects[i].formName:webtrekkUnloadObjects[i].contentId.split(";")[0])+"|"+(webtrekkUnloadObjects[i].formSubmit?"1":"0"),t+="&ft="+webtrekkUnloadObjects[i].wtEscape(o))),(t!=""||webtrekkUnloadObjects[i].config.sendOnUnload)&&(webtrekkUnloadObjects[i].isChrome?webtrekkUnloadObjects[i].quicksend(webtrekkUnloadObjects[i].wtEscape(webtrekkUnloadObjects[i].contentId.split(";")[0])+",1,"+webtrekkUnloadObjects[i].baseparams(),t,!1,"saveRequest"):webtrekkUnloadObjects[i].quicksend(webtrekkUnloadObjects[i].wtEscape(webtrekkUnloadObjects[i].contentId.split(";")[0])+",1,"+webtrekkUnloadObjects[i].baseparams(),t,!1,"sendRequest"),webtrekkUnloadObjects[i].config.linkId="",webtrekkUnloadObjects[i].ccParams="",webtrekkUnloadObjects[i].wtEp=""),webtrekkUnloadObjects[i].afterUnloadPixel!=!1&&webtrekkUnloadObjects[i].afterUnloadPixel()}}function webtrekkLinktrack(n){var t,e,r,u,i,s,f,o;for(z=0;z<webtrekkLinktrackObjects.length;z++)if(n.which&&n.which==1||n.button&&n.button==1){for(t=document.all?window.event.srcElement:this,i=0;i<4;i++)t.tagName&&t.tagName.toLowerCase()!="a"&&t.tagName.toLowerCase()!="area"&&(t=t.parentElement);if(t.lname=webtrekkLinktrackObjects[z].getAttribute(t,"name"),webtrekkLinktrackObjects[z].getCCParams(t),webtrekkLinktrackObjects[z].linkTrackAttribute&&(e="",e=webtrekkLinktrackObjects[z].getAttribute(t,webtrekkLinktrackObjects[z].linkTrackAttribute),e&&(t.lname=e)),t.lpos=0,!webtrekkLinktrackObjects[z].wtLength(t.lpos)&&t.tagName)for(c=document.links,d=0;d<webtrekkLinktrackObjects[z].wtLength(c);d++)if(t==c[d]){t.lpos=d+1;break}if(t.lpos){if(webtrekkLinktrackObjects[z].linkTrack=="link")for(r=t.href.indexOf("//"),r=r>=0?t.href.substr(r+2):t.href,webtrekkLinktrackObjects[z].linkTrackPattern&&(webtrekkLinktrackObjects[z].linkTrackReplace||(webtrekkLinktrackObjects[z].linkTrackReplace=""),r=r.replace(webtrekkLinktrackObjects[z].linkTrackPattern,webtrekkLinktrackObjects[z].linkTrackReplace)),webtrekkLinktrackObjects[z].config.linkId=(t.lname?t.lname+".":"")+r.split("?")[0].replace(/\//g,"."),u="",webtrekkLinktrackObjects[z].linkTrackParams&&(u=webtrekkLinktrackObjects[z].linkTrackParams.replace(/;/g,",").split(",")),i=0;i<u.length;i++)s=webtrekkLinktrackObjects[z].urlParam(r,u[i],""),s&&(webtrekkLinktrackObjects[z].config.linkId+="."+u[i]+"."+s);else webtrekkLinktrackObjects[z].linkTrack=="standard"&&t.lname&&(webtrekkLinktrackObjects[z].config.linkId=t.lname);if(webtrekkLinktrackObjects[z].isDownloadFile=!1,webtrekkLinktrackObjects[z].linkTrackDownloads)for(f=t.href.split("."),f=f.pop(),o=webtrekkLinktrackObjects[z].linkTrackDownloads.split(";"),i=0;i<o.length;i++)if(o[i]==f){webtrekkLinktrackObjects[z].isDownloadFile=!0;break}webtrekkLinktrackObjects[z].config.linkId&&webtrekkLinktrackObjects[z].domain&&!webtrekkLinktrackObjects[z].isOwnDomain(t.href)&&(webtrekkLinktrackObjects[z].linktrackOut=!0),(webtrekkLinktrackObjects[z].isSafari||webtrekkLinktrackObjects[z].isOpera||webtrekkLinktrackObjects[z].isChrome||webtrekkLinktrackObjects[z].isDownloadFile||webtrekkLinktrackObjects[z].config.linkId&&t.target!=""&&t.target!="_self")&&webtrekkLinktrackObjects[z].sendinfo(webtrekkLinktrackObjects[z].config)}}}function webtrekkHeatmapClick(n){var s=navigator.userAgent.indexOf("Opera")!=-1,o=!s&&navigator.userAgent.indexOf("MSIE")!=-1,i,u,t,r,n,f,e;for(z=0;z<webtrekkHeatmapObjects.length;z++){if(i={left:-1,top:-1},document.getElementById(webtrekkHeatmapObjects[z].heatmapRefpoint)&&(u=document.getElementById(webtrekkHeatmapObjects[z].heatmapRefpoint),webtrekkHeatmapObjects[z].wtTypeof(u.offsetLeft)))while(u)i.left+=u.offsetLeft,i.top+=u.offsetTop,u=u.offsetParent;t=0,r=0,n||(n=window.event),n.pageX||n.pageY?(t=n.pageX,r=n.pageY):(n.clientX||n.clientY)&&(t=n.clientX,r=n.clientY,o&&(document.body.scrollLeft>0||document.body.scrollTop>0?(t+=document.body.scrollLeft,r+=document.body.scrollTop):(document.documentElement.scrollLeft>0||document.documentElement.scrollTop>0)&&(t+=document.documentElement.scrollLeft,r+=document.documentElement.scrollTop))),f=0,f=o?document.body.clientWidth:self.innerWidth-16,e=!0,(t>=f||!webtrekkHeatmapObjects[z].sentFullPixel)&&(e=!1),(i.top>=0||i.left>=0)&&t>i.left&&r>i.top&&(t="-"+(t-i.left),r="-"+(r-i.top)),e&&webtrekkHeatmapObjects[z].quicksend(webtrekkHeatmapObjects[z].wtEscape(webtrekkHeatmapObjects[z].contentId.split(";")[0])+","+t+","+r,"","hm","sendRequest")}}function webtrekkStartHeatmap(){typeof wt_heatmap!="undefined"?window.setTimeout("wt_heatmap()",1e3):(typeof $m=="undefined"&&($m=0),$m++,$m<60&&window.setTimeout("webtrekkStartHeatmap()",1e3))}function webtrekkStartOverlay(){typeof wt_overlay!="undefined"?wt_overlay():(typeof $n=="undefined"&&($n=0),$n++,$n<60&&window.setTimeout("webtrekkStartOverlay()",1e3))}function webtrekkFormTrackInstall(){var n,t;for(i=0;i<webtrekkUnloadObjects.length;i++)if(webtrekkUnloadObjects[i].findForm(),webtrekkUnloadObjects[i].formObject){for(n=0;n<webtrekkUnloadObjects[i].formObject.elements.length;n++)t=webtrekkUnloadObjects[i].formObject.elements[n],webtrekkUnloadObjects[i].formObject.elements[n].formIndex=i,webtrekkUnloadObjects[i].registerEvent(t,"focus",webtrekkFormFocus);webtrekkUnloadObjects[i].registerEvent(webtrekkUnloadObjects[i].formObject,"submit",webtrekkFormSubmit)}}function webtrekkFormSubmit(n){for(i=0;i<webtrekkUnloadObjects.length;i++)webtrekkUnloadObjects[i].form&&(n.target==webtrekkUnloadObjects[i].formObject||n.srcElement==webtrekkUnloadObjects[i].formObject)&&(webtrekkUnloadObjects[i].formSubmit=!0)}function webtrekkFormFocus(n){var i=document.all?window.event.srcElement:n.target,t,u,r;if(i.name&&i.type!="submit"&&i.type!="image"&&webtrekkUnloadObjects[i.formIndex]){if(t=i.formIndex,webtrekkUnloadObjects[t].formObject)u=webtrekkUnloadObjects[t].getAttribute(webtrekkUnloadObjects[t].formObject,"name")?webtrekkUnloadObjects[t].getAttribute(webtrekkUnloadObjects[t].formObject,"name"):webtrekkUnloadObjects[t].contentId.split(";")[0];else return;webtrekkUnloadObjects[t].formAttribute&&(r="",r=webtrekkUnloadObjects[t].getAttribute(webtrekkUnloadObjects[t].formObject,webtrekkUnloadObjects[t].formAttribute),r&&(u=r)),webtrekkUnloadObjects[t].formFocus=i.name}}function webtrekkV3(n){var n,r,t;for(n||(n=webtrekkConfig),this.trackId=n.trackId?n.trackId:webtrekkConfig.trackId?webtrekkConfig.trackId:!1,this.trackDomain=n.trackDomain?n.trackDomain:webtrekkConfig.trackDomain?webtrekkConfig.trackDomain:!1,this.domain=n.domain?n.domain:webtrekkConfig.domain?webtrekkConfig.domain:!1,this.linkTrack=n.linkTrack?n.linkTrack:webtrekkConfig.linkTrack?webtrekkConfig.linkTrack:!1,this.linkTrackAttribute=n.linkTrackAttribute?n.linkTrackAttribute:webtrekkConfig.linkTrackAttribute?webtrekkConfig.linkTrackAttribute:!1,this.linkTrackPattern=n.linkTrackPattern?n.linkTrackPattern:webtrekkConfig.linkTrackPattern?webtrekkConfig.linkTrackPattern:!1,this.linkTrackReplace=n.linkTrackReplace?n.linkTrackReplace:webtrekkConfig.linkTrackReplace?webtrekkConfig.linkTrackReplace:!1,this.linkTrackDownloads=n.linkTrackDownloads?n.linkTrackDownloads:webtrekkConfig.linkTrackDownloads?webtrekkConfig.linkTrackDownloads:!1,this.customParameter=n.customParameter?n.customParameter:webtrekkConfig.customParameter?webtrekkConfig.customParameter:!1,this.customClickParameter=n.customClickParameter?n.customClickParameter:webtrekkConfig.customClickParameter?webtrekkConfig.customClickParameter:!1,this.customSessionParameter=n.customSessionParameter?n.customSessionParameter:webtrekkConfig.customSessionParameter?webtrekkConfig.customSessionParameter:!1,this.customTimeParameter=n.customTimeParameter?n.customTimeParameter:webtrekkConfig.customTimeParameter?webtrekkConfig.customTimeParameter:!1,this.customCampaignParameter=n.customCampaignParameter?n.customCampaignParameter:webtrekkConfig.customCampaignParameter?webtrekkConfig.customCampaignParameter:!1,this.customEcommerceParameter=n.customEcommerceParameter?n.customEcommerceParameter:webtrekkConfig.customEcommerceParameter?webtrekkConfig.customEcommerceParameter:!1,this.orderValue=n.orderValue?n.orderValue:webtrekkConfig.orderValue?webtrekkConfig.orderValue:!1,this.orderCurrency=n.orderCurrency?n.orderCurrency:webtrekkConfig.orderCurrency?webtrekkConfig.orderCurrency:!1,this.orderId=n.orderId?n.orderId:webtrekkConfig.orderId?webtrekkConfig.orderId:!1,this.product=n.product?n.product:webtrekkConfig.product?webtrekkConfig.product:!1,this.productCost=n.productCost?n.productCost:webtrekkConfig.productCost?webtrekkConfig.productCost:!1,this.productQuantity=n.productQuantity?n.productQuantity:webtrekkConfig.productQuantity?webtrekkConfig.productQuantity:!1,this.productCategory=n.productCategory?n.productCategory:webtrekkConfig.productCategory?webtrekkConfig.productCategory:!1,this.productStatus=n.productStatus?n.productStatus:webtrekkConfig.productStatus?webtrekkConfig.productStatus:!1,this.customerId=n.customerId?n.customerId:webtrekkConfig.customerId?webtrekkConfig.customerId:!1,this.crmCategory=n.crmCategory?n.crmCategory:webtrekkConfig.crmCategory?webtrekkConfig.crmCategory:!1,this.contentGroup=n.contentGroup?n.contentGroup:webtrekkConfig.contentGroup?webtrekkConfig.contentGroup:!1,this.mediaCode=n.mediaCode?n.mediaCode:webtrekkConfig.mediaCode?webtrekkConfig.mediaCode:!1,this.mediaCodeValue=n.mediaCodeValue?n.mediaCodeValue:webtrekkConfig.mediaCodeValue?webtrekkConfig.mediaCodeValue:!1,this.mediaCodeCookie=n.mediaCodeCookie?n.mediaCodeCookie:webtrekkConfig.mediaCodeCookie?webtrekkConfig.mediaCodeCookie:!1,this.campaignId=n.campaignId?n.campaignId:webtrekkConfig.campaignId?webtrekkConfig.campaignId:!1,this.campaignAction=n.campaignAction?n.campaignAction:webtrekkConfig.campaignAction?webtrekkConfig.campaignAction:"click",this.internalSearch=n.internalSearch?n.internalSearch:webtrekkConfig.internalSearch?webtrekkConfig.internalSearch:!1,this.customSid=n.customSid?n.customSid:webtrekkConfig.customSid?webtrekkConfig.customSid:!1,this.customEid=n.customEid?n.customEid:webtrekkConfig.customEid?webtrekkConfig.customEid:!1,this.cookie=n.cookie?n.cookie:webtrekkConfig.cookie?webtrekkConfig.cookie:"3",this.cookieDomain=n.cookieDomain?n.cookieDomain:webtrekkConfig.cookieDomain?webtrekkConfig.cookieDomain:!1,this.cookieEidTimeout=n.cookieEidTimeout?n.cookieEidTimeout:webtrekkConfig.cookieEidTimeout?webtrekkConfig.cookieEidTimeout:!1,this.cookieSidTimeout=n.cookieSidTimeout?n.cookieSidTimeout:webtrekkConfig.cookieSidTimeout?webtrekkConfig.cookieSidTimeout:!1,this.forceNewSession=n.forceNewSession?n.forceNewSession:webtrekkConfig.forceNewSession?webtrekkConfig.forceNewSession:!1,this.xwtip=n.xwtip?n.xwtip:webtrekkConfig.xwtip?webtrekkConfig.xwtip:!1,this.xwtua=n.xwtua?n.xwtua:webtrekkConfig.xwtua?webtrekkConfig.xwtua:!1,this.xwtrq=n.xwtrq?n.xwtrq:webtrekkConfig.xwtrq?webtrekkConfig.xwtrq:!1,this.mediaCodeFrames=n.mediaCodeFrames?n.mediaCodeFrames:webtrekkConfig.mediaCodeFrames?webtrekkConfig.mediaCodeFrames:!1,this.framesetReferrer=n.framesetReferrer?n.framesetReferrer:webtrekkConfig.framesetReferrer?webtrekkConfig.framesetReferrer:!1,this.plugins=n.plugins&&n.plugins!=""?n.plugins:webtrekkConfig.plugins&&webtrekkConfig.plugins!=""?webtrekkConfig.plugins:["Adobe Acrobat","Windows Media Player","Shockwave Flash","RealPlayer","QuickTime","Java","Silverlight"],typeof this.plugins=="string"&&(this.plugins=this.plugins.split(";")),this.forceHTTPS=n.forceHTTPS?n.forceHTTPS:webtrekkConfig.forceHTTPS?webtrekkConfig.forceHTTPS:!1,this.secureConfig=n.secureConfig?n.secureConfig:webtrekkConfig.secureConfig?webtrekkConfig.secureConfig:!1,this.heatmap=n.heatmap?n.heatmap:webtrekkConfig.heatmap?webtrekkConfig.heatmap:!1,this.heatmapRefpoint=n.heatmapRefpoint?n.heatmapRefpoint:webtrekkConfig.heatmapRefpoint?webtrekkConfig.heatmapRefpoint:"wt_refpoint",this.pixelSampling=n.pixelSampling?n.pixelSampling:webtrekkConfig.pixelSampling?webtrekkConfig.pixelSampling:!1,this.form=n.form?n.form:webtrekkConfig.form?webtrekkConfig.form:!1,this.formAttribute=n.formAttribute?n.formAttribute:webtrekkConfig.formAttribute?webtrekkConfig.formAttribute:!1,this.formFieldAttribute=n.formFieldAttribute?n.formFieldAttribute:webtrekkConfig.formFieldAttribute?webtrekkConfig.formFieldAttribute:!1,this.formFullContent=n.formFullContent?n.formFullContent:webtrekkConfig.formFullContent?webtrekkConfig.formFullContent:!1,this.formAnonymous=n.formAnonymous?n.formAnonymous:webtrekkConfig.formAnonymous?webtrekkConfig.formAnonymous:!1,this.reporturl=n.reporturl?n.reporturl:webtrekkConfig.reporturl?webtrekkConfig.reporturl:"report2.webtrekk.de/cgi-bin/wt",this.disableOverlayView=n.disableOverlayView?n.disableOverlayView:webtrekkConfig.disableOverlayView?webtrekkConfig.disableOverlayView:!1,this.version=315,this.beforeSendinfoPixel=n.beforeSendinfoPixel?n.beforeSendinfoPixel:webtrekkConfig.beforeSendinfoPixel?webtrekkConfig.beforeSendinfoPixel:!1,this.afterSendinfoPixel=n.afterSendinfoPixel?n.afterSendinfoPixel:webtrekkConfig.afterSendinfoPixel?webtrekkConfig.afterSendinfoPixel:!1,this.beforeUnloadPixel=n.beforeUnloadPixel?n.beforeUnloadPixel:webtrekkConfig.beforeUnloadPixel?webtrekkConfig.beforeUnloadPixel:!1,this.afterUnloadPixel=n.afterUnloadPixel?n.afterUnloadPixel:webtrekkConfig.afterUnloadPixel?webtrekkConfig.afterUnloadPixel:!1,this.deactivatePixel=!1,this.optOut=!1,this.eid=!1,this.sampleCookieString=!1,this.cookieOne=!1,this.linkId=!1,this.linktrackOut=!1,this.linktrackNamedlinksOnly=!0,this.ccParams=!1,this.sentFullPixel=!1,this.sentCampaignIds={},this.wtEp=!1,this.wtEpEncoded=!1,this.trackingSwitchMediaCode=!1,this.trackingSwitchMediaCodeValue=!1,this.trackingSwitchMediaCodeTimestamp=!1,this.heatmapOn=!1,this.overlayOn=!1,this.gatherFormsP=!1,this.formObject=!1,this.formName=!1,this.formFocus=!1,this.formSubmit=!1,this.browserLang=!1,this.config=!1,this.unloadInstance=webtrekkUnloadObjects.length,this.xlc=!1,this.xlct=!1,this.xlcv=!1,this.plugin={},typeof navigator.language=="string"?this.browserLang=navigator.language.substring(0,2):typeof navigator.userLanguage=="string"&&(this.browserLang=navigator.userLanguage.substring(0,2)),this.getConfig=function(){return{contentId:this.contentId,linkId:this.linkId,sendOnUnload:!1,customParameter:this.customParameter,customClickParameter:this.customClickParameter,customSessionParameter:this.customSessionParameter,customTimeParameter:this.customTimeParameter,customCampaignParameter:this.customCampaignParameter,customEcommerceParameter:this.customEcommerceParameter,orderValue:this.orderValue,orderCurrency:this.orderCurrency,orderId:this.orderId,product:this.product,productCost:this.productCost,productQuantity:this.productQuantity,productCategory:this.productCategory,productStatus:this.productStatus,customerId:this.customerId,crmCategory:this.crmCategory,contentGroup:this.contentGroup,campaignId:this.campaignId,campaignAction:this.campaignAction,internalSearch:this.internalSearch,customSid:this.customSid,customEid:this.customEid,forceNewSession:this.forceNewSession,xwtip:this.xwtip,xwtua:this.xwtua,xwtrq:this.xwtrq,framesetReferrer:this.framesetReferrer,forceHTTPS:this.forceHTTPS,beforeSendinfoPixel:this.beforeSendinfoPixel,afterSendinfoPixel:this.afterSendinfoPixel,beforeUnloadPixel:this.beforeUnloadPixel,afterUnloadPixel:this.afterUnloadPixel,xlc:this.xlc,xlct:this.xlct,xlcv:this.xlcv}},this.indexOf=function(n,t,i){return n.indexOf(t,i?i:0)},this.wtTypeof=function(n){return typeof n!="undefined"?1:0},this.wtLength=function(n){return n!="undefined"?n.length:0},this.getAttribute=function(n,t){return typeof n.getAttribute(t)=="string"?n.getAttribute(t):typeof n.getAttribute(t)=="object"&&typeof n.attributes[t]=="object"&&n.attributes[t]!=null?n.attributes[t].nodeValue:""},this.getTimezone=function(){return Math.round((new Date).getTimezoneOffset()/-60)},this.wtHref=function(){return this.wtLocation().href},this.wtLocation=function(){var r=document.location;return!document.layers&&document.getElementById?eval("try {r=top.document.location;}catch(e){r=document.location;};"):r=top.document.location,r},this.getWebtrekkPath=function(){var t,n;if(!document.layers&&document.getElementById)for(t=document.getElementsByTagName("script"),n=0;n<t.length;n++)if(t[n].src.match(/webtrekk[a-z|A-Z|0-9|_]*\.js/g))return t[n].src.replace(/webtrekk[a-z|A-Z|0-9|_]*\.js/g,"");return""},this.include=function(n){if(!document.createElement)return!1;var i=document.getElementsByTagName("head").item(0),t=document.createElement("script");return t.setAttribute("language","javascript"),t.setAttribute("type","text/javascript"),t.setAttribute("src",n),i.appendChild(t),!0},this.isIE=this.indexOf(navigator.appName,"Microsoft")?!1:!0,this.isIE||(this.isOpera=this.indexOf(navigator.appName,"Opera")?!1:!0,this.isOpera||(this.isSafari=navigator.vendor.toLowerCase().indexOf("apple")!=-1?!0:!1,this.isChrome=navigator.vendor.toLowerCase().indexOf("google")!=-1?!0:!1)),this.url2contentId=function(n){var t,i;return n?(t=new RegExp("//(.*)").exec(n),t.length<1)?"no_content":(i=t[1].split("?")[0].replace(/\./g,"_").replace(/\//g,".").replace(/\.{2,};/g,".").toLowerCase(),i.split(";")[0]):"no_content"},this.contentId=n.contentId?n.contentId:this.url2contentId(document.location.href),this.registerEvent=function(n,t,i){n.addEventListener?n.addEventListener(t,i,!1):n.attachEvent&&(t=="beforeunload"&&this.unregisterEvent(n,t,i),n.attachEvent("on"+t,i))},this.unregisterEvent=function(n,t,i){n.removeEventListener?n.removeEventListener(t,i,!1):n.detachEvent&&n.detachEvent("on"+t,i)},this.maxlen=function(n,t){return n&&n.length>t?n.substring(0,t-1):n},this.wtEscape=function(n){return typeof encodeURIComponent=="function"?encodeURIComponent(n):escape(n)},this.wtUnescape=function(n){return typeof decodeURIComponent=="function"?decodeURIComponent(n):unescape(n)},this.decrypt=function(x){if(x)return eval("try {this.wtUnescape(x.replace(/([0-9a-fA-F][0-9a-fA-F])/g,'%$1'));}catch(e){''};")},this.checkSC=function(n){var i,t;if(typeof this.secureConfig!="string")return!1;for(i=this.secureConfig.split(";"),t=0;t<i.length;t++)if(i[t]==n)return!0;return!1},this.zeroPad=function(n,t){var i="000000000000"+n;return i.substring(i.length-t,i.length)},this.generateEid=function(){return"2"+this.zeroPad(Math.floor(+new Date/1e3),10)+this.zeroPad(Math.floor(Math.random()*1e6),8)},this.getexpirydate=function(n){var i,t=new Date,r=Date.parse(t);return t.setTime(r+n*6e4),i=t.toUTCString()},this.setCookie=function(n,t,i){var r=location.hostname,s="^[0-9]{1,3"+String.fromCharCode(125)+".[0-9]{1,3"+String.fromCharCode(125)+".[0-9]{1,3"+String.fromCharCode(125)+".[0-9]{1,3"+String.fromCharCode(125)+"$",u,o,e,f;if(r.search(s)==-1&&(r=location.hostname.split("."),r=r[r.length-2]+"."+r[r.length-1]),o=!1,this.cookieDomain)for(e=this.cookieDomain.split(";"),f=0;f<e.length;f++)if(location.hostname.indexOf(e[f])!=-1){r=e[f],o=!0;break}u=o&&typeof i!="undefined"?n+"="+escape(t)+";domain="+r+";path=/;expires="+this.getexpirydate(i):o?n+"="+escape(t)+";path=/;domain="+r:r.split(".")[0].length<3&&typeof i!="undefined"?n+"="+escape(t)+";path=/;expires="+this.getexpirydate(i):r.split(".")[0].length<3?n+"="+escape(t)+";path=/":typeof i!="undefined"?n+"="+escape(t)+";domain="+r+";path=/;expires="+this.getexpirydate(i):n+"="+escape(t)+";path=/;domain="+r,document.cookie=u},this.getCookie=function(n){var i=""+document.cookie,r=i.indexOf(n),t;return r==-1||n==""?"":(t=i.indexOf(";",r),t==-1&&(t=i.length),unescape(i.substring(r+n.length+1,t)))},this.optOut=this.getCookie("webtrekkOptOut")?!0:!1,this.optOut&&(this.deactivatePixel=!0),this.urlParam=function(n,t,i){var u=[],r;for(n.indexOf("?")>0&&(u=n.substring(n.indexOf("?")+1).replace(/&amp;/g,"&").split("&")),r=0;r<u.length;r++)if(u[r].indexOf(t+"=")==0)return this.wtUnescape(u[r].substring(t.length+1).replace(/\+/g,"%20"));return i},this.allUrlParam=function($G,$H){var lf,i,$I,$J,topLocation;if(this.mediaCodeFrames&&this.mediaCodeFrames!=""){for(lf=this.mediaCodeFrames.split(";"),i=0;i<lf.length;i++)if($I=!1,eval("try { lFrame = eval(lf[i]) }catch(e){};"),$I&&$I!=top&&$I.location&&($J=this.urlParam($I.location.href,$G,$H),$J!=$H))return $J;return $H}return topLocation="",eval("try {topLocation = top.location.href;}catch(e){topLocation=document.location.href;};"),this.urlParam(topLocation,$G,$H)},this.linkTrackInit=function(){var t,n;for(i=0;i<webtrekkLinktrackObjects.length;i++)if(this==webtrekkLinktrackObjects[i])return;for(webtrekkLinktrackObjects.push(this),this.linkTrack&&this.linkTrack=="link"&&(this.linktrackNamedlinksOnly=!1),c=0;c<document.links.length;c++)t=this.getAttribute(document.links[c],"name"),this.linkTrackAttribute&&this.linkTrackAttribute!=""&&(n="",n=this.getAttribute(document.links[c],this.linkTrackAttribute),n&&(t=n)),(t||!this.linktrackNamedlinksOnly)&&this.registerEvent(document.links[c],"mousedown",webtrekkLinktrack)},this.linkTrack&&this.linkTrackInit(),this.getCCParams=function(n){var r="",t,i;if(this.config.customClickParameter){t=this.config.customClickParameter[this.getAttribute(n,"name")]?this.config.customClickParameter[this.getAttribute(n,"name")]:this.config.customClickParameter[n.id],t||(t=this.config.customClickParameter);for(i in t)!isNaN(i)&&this.wtTypeof(t[i])&&typeof t[i]=="string"&&t[i]!=""&&(this.checkSC("custom")&&(t[i]=this.decrypt(t[i])),r+="&ck"+i+"="+this.wtEscape(t[i]))}this.ccParams=r;return},this.plugInArray=function(n,t){var i,r;if(typeof n!="object")return!1;for(i=0;i<n.length;i++)if(r=new RegExp(n[i].toLowerCase(),"g"),t.toLowerCase().search(r)!=-1)return n[i];return!1},this.quicksend=function(n,t,i,r){var f,u;this.trackDomain&&this.trackId&&!this.deactivatePixel&&(i||(i="wt"),typeof this.requestTimeout=="undefined"&&(this.requestTimeout=5),this.cookie=="1"&&(t="&eid="+this.eid+"&one="+(this.cookieOne?"1":"0")+"&fns="+(this.forceNewSession?"1":"0")+t),this.cookie!="1"&&(this.wtTypeof(this.cookieEidTimeout)||this.wtTypeof(this.cookieSidTimeout))&&(this.wtTypeof(this.cookieEidTimeout)&&this.cookieEidTimeout!=""&&(t="&cet="+this.cookieEidTimeout+t),this.wtTypeof(this.cookieSidTimeout)&&this.cookieSidTimeout!=""&&(t="&cst="+this.cookieSidTimeout+t)),this.pixelSampling>0&&(t+="&ps="+this.pixelSampling),t="&tz="+this.getTimezone()+t,f=location.protocol=="https:"?"https:":"http:",this.forceHTTPS&&(f="https:"),u=f+"//"+this.trackDomain+"/"+this.trackId+"/"+i+"?p="+this.version+","+n+t+"&eor=1",r=="saveRequest"&&this.cookie=="3"?this.getCookie("saveRequestV3")?this.setCookie("saveRequestV3",this.getCookie("saveRequestV3")+"<<>>"+u,this.requestTimeout):this.setCookie("saveRequestV3",u,this.requestTimeout):this.sendPixel(u,i),i!="hm"&&(this.cookieOne=!1,this.sentFullPixel=1))},this.sendPixel=function(n,t){var i,r;document.images?(this.wtTypeof(i)||(i=[]),r=i.length,i[r]=new Image,i[r].src=t=="hm"?n+"&hm_ts="+ +new Date:n,i[r].onload=function(){}):document.write("<img src='"+n+"' height='1' width='1'>")},this.send=function(n,t,i){var p,u,nt,g,o,y,w,k,b,c,h,v,a,s,l,f,e,r,d;if(t=="link"){this.config.linkId=n,this.linkTrack="manual",this.wtEp=i,this.isChrome||this.isOpera||this.isSafari?webtrekkUnload("noForm"):this.registerEvent(window,this.isIE&&this.wtTypeof(window.onbeforeunload)?"beforeunload":"unload",webtrekkUnload);return}if(t=="click"){this.config.linkId=n,this.wtEp=i,webtrekkUnload("noForm");return}if(p=n?n:this.config.contentId,p||(p="no_content"),u="",nt=this.wtEscape(p)+",1,",nt+=this.baseparams(),g=navigator.plugins.length,o="",g>0){for(y=Array(),f=0;f<g;f++)navigator.plugins&&navigator.appName!="Microsoft Internet Explorer"&&(o=navigator.plugins[f].name=="Shockwave Flash"?navigator.plugins[f].description:navigator.plugins[f].name,w=this.plugInArray(this.plugins,o),w&&!this.plugInArray(y,w)&&y.push(w));o=y.join("|")}if(typeof i=="string"&&i!="")for(i=i.split(/;/),r=0;r<i.length;r++)this.wtTypeof(i[r])&&($d=i[r].split(/=/),this.checkSC("custom")&&($d[1]=this.decrypt($d[1])),$d[1]=this.wtEscape($d[1]),u+="&"+$d[0]+"="+$d[1]);else{if(this.wtEpEncoded=!1,k="",typeof this.config.customParameter=="object")for(r in this.config.customParameter)!isNaN(r)&&this.wtTypeof(this.config.customParameter[r])&&typeof this.config.customParameter[r]=="string"&&this.config.customParameter[r]!=""&&(this.checkSC("custom")&&(this.config.customParameter[r]=this.decrypt(this.config.customParameter[r])),k+="&cp"+r+"="+this.wtEscape(this.config.customParameter[r]));if(b="",typeof this.config.customSessionParameter=="object")for(r in this.config.customSessionParameter)!isNaN(r)&&this.wtTypeof(this.config.customSessionParameter[r])&&typeof this.config.customSessionParameter[r]=="string"&&this.config.customSessionParameter[r]!=""&&(this.checkSC("custom")&&(this.config.customSessionParameter[r]=this.decrypt(this.config.customSessionParameter[r])),b+="&cs"+r+"="+this.wtEscape(this.config.customSessionParameter[r]));if(c="",typeof this.config.customTimeParameter=="object")for(r in this.config.customTimeParameter)!isNaN(r)&&this.wtTypeof(this.config.customTimeParameter[r])&&typeof this.config.customTimeParameter[r]=="string"&&this.config.customTimeParameter[r]!=""&&(this.checkSC("custom")&&(this.config.customTimeParameter[r]=this.decrypt(this.config.customTimeParameter[r])),c+="&ce"+r+"="+this.wtEscape(this.config.customTimeParameter[r]));if(h="",typeof this.config.customEcommerceParameter=="object")for(r in this.config.customEcommerceParameter)!isNaN(r)&&this.wtTypeof(this.config.customEcommerceParameter[r])&&typeof this.config.customEcommerceParameter[r]=="string"&&this.config.customEcommerceParameter[r]!=""&&(this.checkSC("custom")&&(this.config.customEcommerceParameter[r]=this.decrypt(this.config.customEcommerceParameter[r])),h+="&cb"+r+"="+this.wtEscape(this.config.customEcommerceParameter[r]));if(this.config.orderValue&&(u+=this.checkSC("order")?"&ov="+this.wtEscape(this.decrypt(this.config.orderValue)):"&ov="+this.wtEscape(this.config.orderValue)),this.config.orderCurrency&&(u+=this.checkSC("order")?"&cr="+this.wtEscape(this.decrypt(this.config.orderCurrency)):"&cr="+this.wtEscape(this.config.orderCurrency)),this.config.orderId&&(u+="&oi="+this.wtEscape(this.config.orderId)),this.config.product){if(u+="&ba="+this.wtEscape(this.config.product),this.config.productCost&&(u+="&co="+this.wtEscape(this.config.productCost)),this.config.productQuantity&&(u+="&qn="+this.wtEscape(this.config.productQuantity)),typeof this.config.productCategory=="object")for(r in this.config.productCategory)isNaN(r)||typeof this.config.productCategory[r]!="string"||this.config.productCategory[r]==""||(u+="&ca"+r+"="+this.wtEscape(this.config.productCategory[r]));this.config.productStatus&&(u+="&st="+this.wtEscape(this.config.productStatus))}if(this.config.customerId&&(u+="&cd="+this.wtEscape(this.config.customerId)),typeof this.config.crmCategory=="object")for(r in this.config.crmCategory)isNaN(r)||typeof this.config.crmCategory[r]!="string"||this.config.crmCategory[r]==""||(u+="&vc"+r+"="+this.wtEscape(this.config.crmCategory[r]));if(this.browserLang&&(u+="&la="+this.wtEscape(this.browserLang)),typeof this.config.contentGroup=="object")for(r in this.config.contentGroup)isNaN(r)||typeof this.config.contentGroup[r]!="string"||this.config.contentGroup[r]==""||(u+="&cg"+r+"="+this.wtEscape(this.config.contentGroup[r]));if(v="",this.config.campaignId&&!(this.config.campaignId in this.sentCampaignIds)&&(u+="&mc="+this.wtEscape(this.config.campaignId),u+="&mca="+this.config.campaignAction.substring(0,1),this.sentCampaignIds[this.config.campaignId]=!0,typeof this.config.customCampaignParameter=="object"))for(r in this.config.customCampaignParameter)!isNaN(r)&&this.wtTypeof(this.config.customCampaignParameter[r])&&typeof this.config.customCampaignParameter[r]=="string"&&this.config.customCampaignParameter[r]!=""&&(this.checkSC("custom")&&(this.config.customCampaignParameter[r]=this.decrypt(this.config.customCampaignParameter[r])),v+="&cc"+r+"="+this.wtEscape(this.config.customCampaignParameter[r]));if(this.trackingSwitchMediaCode&&(u+="&tmc="+this.wtEscape(this.trackingSwitchMediaCode)),this.trackingSwitchMediaCodeValue&&(u+="&tmcv="+this.wtEscape(this.trackingSwitchMediaCodeValue)),this.trackingSwitchMediaCodeTimestamp&&(u+="&tmct="+this.wtEscape(this.trackingSwitchMediaCodeTimestamp)),a="",typeof wt_vt!="undefined"&&(s=wt_vt),this.wtTypeof(s)||(s=this.urlParam(location.href,"wt_vt",!1)),s)for(l=this.getCookie("wt_vt").split(";"),f=0;f<l.length;f++)l[f].indexOf(s+"v")!=-1&&(a="&wt_vt="+l[f].split("t")[0].split("v")[1]);a&&(u+=a),this.config.internalSearch&&(u+="&is="+this.wtEscape(this.maxlen(this.config.internalSearch,255))),k&&(u+=k),v&&(u+=v),c&&(u+=c),h&&(u+=h),b&&(u+=b),this.wtTypeof(this.config.customSid)&&this.config.customSid!=""&&(u+="&csid="+this.config.customSid),this.wtTypeof(this.config.customEid)&&this.config.customEid!=""&&(u+="&ceid="+this.config.customEid),this.wtTypeof(this.config.xwtip)&&this.config.xwtip!=""&&(u+="&X-WT-IP="+this.wtEscape(this.config.xwtip)),this.wtTypeof(this.config.xwtua)&&this.config.xwtua!=""&&(u+="&X-WT-UA="+this.wtEscape(this.config.xwtua)),this.wtTypeof(this.config.xwtrq)&&this.config.xwtrq!=""&&(u+="&X-WT-RQ="+this.wtEscape(this.config.xwtrq))}if(this.config.linkId&&this.config.customClickParameter){e=this.config.customClickParameter[this.config.linkId]?this.config.customClickParameter[this.config.linkId]:this.config.customClickParameter;for(r in e)!isNaN(r)&&this.wtTypeof(e[r])&&typeof e[r]=="string"&&e[r]!=""&&(this.checkSC("custom")&&(e[r]=this.decrypt(e[r])),u+="&ck"+r+"="+this.wtEscape(e[r]));this.ccParams=!1}if(this.config.xlc&&this.config.xlct&&(this.config.xlc!=""||this.config.xlct!="")&&(d=this.config.xlcv?this.getExtLifeCycles(this.config.xlc,this.config.xlct,this.config.xlcv):this.getExtLifeCycles(this.config.xlc,this.config.xlct),u+=d),this.config.linkId&&this.config.sendOnUnload){this.linkTrack="manual",this.wtEp=u,this.wtEpEncoded=!0,this.isChrome||this.isOpera||this.isSafari?webtrekkUnload("noForm"):this.registerEvent(window,this.isIE&&this.wtTypeof(window.onbeforeunload)?"beforeunload":"unload",webtrekkUnload);return}if(this.config.linkId){this.wtEp=u,this.wtEpEncoded=!0,webtrekkUnload("noForm");return}if(this.config.contentId||this.config.linkId){if(this.config.sendOnUnload){this.wtEp=u,this.wtEpEncoded=!0,this.isChrome||this.isOpera||this.isSafari?webtrekkUnload("noForm"):this.registerEvent(window,this.isIE&&this.wtTypeof(window.onbeforeunload)?"beforeunload":"unload",webtrekkUnload);return}}else{this.config.contentId=this.contentId,this.config.linkId="wt_ignore",this.wtEp=u,this.wtEpEncoded=!0,webtrekkUnload("noForm");return}this.cookie=="1"?this.cookieOne&&(u+="&np="+this.wtEscape(o)):u+="&np="+this.wtEscape(o),this.quicksend(nt,u,!1,"sendRequest")},this.sendinfo=function(n,t,i,r){var f,u;if(this.cookie!="1"||this.optOut||this.deactivatePixel||this.firstParty(),location.href.indexOf("fb_xd_fragment")==-1){if(this.config=typeof n=="object"?n:this.getConfig(),!this.config.campaignId&&this.mediaCode&&this.getMediaCode(),this.getCookie("saveRequestV3")){for(f=this.getCookie("saveRequestV3").split("<<>>"),u=0;u<f.length;u++)this.sendPixel(f[u],"wt");this.setCookie("saveRequestV3","")}this.beforeSendinfoPixel!=!1&&this.beforeSendinfoPixel(),(this.contentId!=""||t!=""||document.layers)&&this.send(t,i,r),this.afterSendinfoPixel!=!1&&this.afterSendinfoPixel()}},this.sendinfo_media=function(n,t,i,r,u,f,e,o){this.wtTypeof($0i)&&$0i(n,t,i,r,u,f,e,o,this.unloadInstance)},this.sendExtLifeCycles=function(n){var t;if(typeof n=="object"&&(typeof n.xlc!="undefined"||typeof n.xlct!="undefined")){if(n.xlc!=""||n.xlct!="")t=typeof n.xlcv!="undefined"?this.getExtLifeCycles(n.xlc,n.xlct,n.xlcv):this.getExtLifeCycles(n.xlc,n.xlct);else return;this.quicksend("wt_ignore",t,!1,"sendRequest")}},this.getExtLifeCycles=function(n,t,i){for(var r="",e={},h=n.split("|"),o,f,s,u=0;u<h.length;u++){for(o=h[u].split(";"),f=0;f<o.length;f++)r+=f==0?this.wtEscape(o[f]):o[f],r+=";";r=r.substr(0,r.length-1),r+="|"}r=r.substr(0,r.length-1),e.xlcl=this.wtEscape(n.split("|").length),e.xlct=this.wtEscape(t),typeof i!="undefined"&&(e.xlcv=this.wtEscape(i)),e.xlc=this.wtEscape(r),s="";for(u in e)s+="&"+u+"="+e[u];return s},this.isOwnDomain=function(n){var r="",i,u,t;if(this.domain){if(this.domain.toUpperCase().indexOf("REGEXP:")==0){if(r=new RegExp(this.domain.substring(7),"i"),r.test(this.getDomain(n)))return!0}else for(i=this.domain.split(";"),u=this.getDomain(n),t=0;t<i.length;t++)if(u==i[t])return!0}else return!1;return!1},this.getDomain=function(n){if(typeof n!="string")return"";n=this.wtUnescape(n),n=n.split("://")[1];var t=new RegExp("^(?:[^/]+://)?([^/:]+)","g");return typeof n!="undefined"&&(n=n.match(t),n[0])?n[0].toLowerCase():""},this.baseparams=function(){var $0q=screen.width+"x"+screen.height+","+(navigator.appName!="Netscape"?screen.colorDepth:screen.pixelDepth)+",",$0r,h,w;return $0q+=navigator.cookieEnabled==!0?"1,":navigator.cookieEnabled==!1?"0,":document.cookie.indexOf("=")!=-1?"1,":"0,",$0q+=+new Date+",",$0r=0,this.framesetReferrer?$0r=this.wtEscape(this.framesetReferrer):this.getCookie("wt_ref")!=""?($0r=this.wtEscape(this.getCookie("wt_ref")),this.setCookie("wt_ref","",-3600)):document.referrer.length>0&&($0r=this.wtEscape(document.referrer)),$0q+=this.sentFullPixel?"2":this.isOwnDomain($0r)?this.isOwnDomain($0r)?"1":$0r:$0r,h=0,!document.layers&&document.getElementById?eval("try {h = top.window.innerHeight;}catch(e){};"):h=top.window.innerHeight,h||eval("try {h = top.document.documentElement.clientHeight;}catch(e){};"),h||eval("try {h = top.document.body.clientHeight;}catch(e){};"),w=0,!document.layers&&document.getElementById?eval("try {w = top.window.innerWidth;}catch(e){};"):w=top.window.innerWidth,w||eval("try {w = top.document.documentElement.clientWidth;}catch(e){};"),w||eval("try {w = top.document.body.clientWidth;}catch(e){};"),h&&h>screen.height&&(h=screen.height),w&&w>screen.width&&(w=screen.width),typeof w=="undefined"&&(w=-1),typeof h=="undefined"&&(h=-1),$0q+=","+w+"x"+h,$0q+=","+(navigator.javaEnabled()?"1":"0")},this.getMediaCode=function(n){var i,t,r;if(!n){if(!this.mediaCode)return!1;n=this.mediaCode}for(this.mediaCodeValue&&(v=this.mediaCodeValue.split(";")),i=n.split(";"),this.config.campaignId="",t=0;t<i.length;t++)this.config.campaignId!=""&&(this.config.campaignId+=";"),this.mediaCodeCookie?(this.config.campaignId+=this.getCookie("wt_"+i[t].toLowerCase()+this.allUrlParam(i[t],"").toLowerCase())==""?i[t]+this.wtEscape("="+this.allUrlParam(i[t],"")):i[t]+"=ignore",r="",this.mediaCodeCookie=="eid"&&(r=2592e3),this.setCookie("wt_"+i[t].toLowerCase()+this.allUrlParam(i[t],"").toLowerCase(),1,r)):typeof v!="undefined"&&typeof v[t]!="undefined"&&v[t]!=""?this.config.campaignId+=i[t]+this.wtEscape("="+v[t]):this.allUrlParam(i[t],"")!=""&&(this.config.campaignId+=i[t]+this.wtEscape("="+this.allUrlParam(i[t],"")))},this.searchContentIds=function(){var n=0,i=0,t;this.contentIds="";do n++,this.urlParam(location.href,"wt_contentId"+n,!1)&&(t=this.urlParam(location.href,"wt_contentId"+n,!1),this.contentIds+="&wt_contentId"+n+"="+this.wtEscape(t),i++);while(i>=n)},this.heatmapOn=this.wtHref().indexOf("wt_heatmap=1")>=0,this.overlayOn=this.wtHref().indexOf("wt_overlay=1")>=0||document.cookie.indexOf("wt_overlay=1")>=0,this.wtHref().indexOf("wt_overlay=0")>=0&&(this.overlayOn=!1,this.setCookie("wt_overlay","",-1)),r=!1,i=0;i<webtrekkHeatmapObjects.length;i++)this==webtrekkHeatmapObjects[i]&&(r=!0);for(r||webtrekkHeatmapObjects.push(this),this.heatmap&&this.heatmap=="1"&&!this.heatmapOn&&this.registerEvent(document,"mousedown",webtrekkHeatmapClick),this.heatmapOn&&!this.disableOverlayView&&(this.searchContentIds(),this.contentIds?this.include(location.protocol+"//"+this.reporturl+"/heatmap.pl?wt_contentId="+this.contentIds+"&x="+ +new Date)&&(navigator.userAgent.indexOf("MSIE 6")!=-1&&navigator.userAgent.indexOf("Windows NT 5.0")!=-1&&alert("Click OK to start heatmap."),this.registerEvent(window,"load",webtrekkStartHeatmap)):this.include(location.protocol+"//"+this.reporturl+"/heatmap.pl?wt_contentId="+this.wtEscape(this.contentId.split(";")[0])+"&x="+ +new Date)&&(navigator.userAgent.indexOf("MSIE 6")!=-1&&navigator.userAgent.indexOf("Windows NT 5.0")!=-1&&alert("Click OK to start heatmap."),this.registerEvent(window,"load",webtrekkStartHeatmap))),this.overlayOn&&!this.disableOverlayView&&(this.searchContentIds(),this.setCookie("wt_overlay","1"),this.contentIds?this.include(location.protocol+"//"+this.reporturl+"/overlay.pl?wt_contentId="+this.contentIds+"&x="+ +new Date)&&this.registerEvent(window,"load",webtrekkStartOverlay):this.include(location.protocol+"//"+this.reporturl+"/overlay.pl?wt_contentId="+this.wtEscape(this.contentId.split(";")[0])+"&x="+ +new Date)&&this.registerEvent(window,"load",webtrekkStartOverlay)),this.setPixelSampling=function(n){var n,i,u;n||(n=this.pixelSampling);var r=this.trackId.split(",")[0],t=this.getCookie("wt3_sample").split(";"),f=!1;for(i=0;i<t.length;i++)this.indexOf(t[i],r+"|"+n)!=-1?f=!0:this.indexOf(t[i],r+"|")!=-1&&(t[i]="");f?t=t.join(";"):(Math&&Math.random&&parseInt(Math.random()*n)==0?t.push(r+"|"+n+"|1"):t.push(r+"|"+n+"|0"),u=6,this.cookieEidTimeout&&(u=this.cookieEidTimeout),this.setCookie("wt3_sample",t.join(";"),u*43200),t=this.getCookie("wt3_sample")),this.indexOf(t,r+"|"+n+"|1")==-1&&(this.deactivatePixel=!0)},this.pixelSampling&&!this.optOut&&this.setPixelSampling(),this.firstParty=function(){for(var u=this.getCookie("wt3_sid").split(";"),i=this.getCookie("wt3_eid").split(";"),o=this.cookieSidTimeout?this.cookieSidTimeout:30,e=this.cookieEidTimeout?this.cookieEidTimeout:6,t=this.trackId.split(",")[0],f=!1,r=!1,n=0;n<u.length;n++)if(u[n].indexOf(t)!=-1){f=n;break}for(n=0;n<i.length;n++)if(i[n].indexOf(t+"|")!=-1){r=n;break}f||(u.push(t),r&&(this.forceNewSession=!0)),r?this.eid=i[r].replace(t+"|",""):(this.eid=this.generateEid(),this.cookieOne=!0,i.push(t+"|"+this.eid),this.setCookie("wt3_eid",i.join(";"),e*43200)),this.setCookie("wt3_sid",u.join(";"))},t=!1,i=0;i<webtrekkUnloadObjects.length;i++)this==webtrekkUnloadObjects[i]&&(t=!0);t||(webtrekkUnloadObjects.push(this),this.registerEvent(window,this.wtTypeof(window.onbeforeunload)?"beforeunload":"unload",webtrekkUnload)),this.findForm=function(){var i,n,t;if(this.form&&!this.formObject)for(i=document.forms,n=0;n<i.length;n++)if(t=i[n],this.wtTypeof(t.elements.wt_form)){this.formObject=t;return}},this.checkFormFocus=function(n){return n==this.formFocus?1:0},this.getFormFieldValue=function(n){var t=n.name,i;return this.formFieldAttribute&&(t="",i=!1,i=this.getAttribute(n,this.formFieldAttribute),i&&(t=i),t&&(t=t.replace(/[\.|;]/g,"_"))),t},this.gatherForm=function(){var l=";",u,y,h,e,r,o,n,t,w,s,f,v,c,i,a;if(this.formObject){if(u=this.formObject,y=this.getAttribute(u,"name")?this.getAttribute(u,"name"):this.contentId.split(";")[0],this.formAttribute&&(h="",h=this.getAttribute(u,this.formAttribute),h&&(y=h)),this.formName=y,e="",this.wtTypeof(u.elements.wt_fields)&&(e=u.elements.wt_fields.value),!e){for(i=0;i<u.elements.length;i++)n=u.elements[i],this.getFormFieldValue(n)&&(e+=this.getFormFieldValue(n)+l);e=e.substring(0,e.lastIndexOf(l))}var b=e.split(l),k=b.length,p="";for(this.formFullContent&&(p=this.formFullContent.split(l)),r="",o=[],i=0;i<u.elements.length;i++){if(n=u.elements[i],s=!1,e)for(f=0;f<k;f++)this.getFormFieldValue(n)==b[f]&&(s=!0);else this.getFormFieldValue(n)&&(s=!0);if(s){if(t=null,n.type=="select-multiple")for(f=0;f<n.options.length;f++)v=!1,n.options[f].selected&&(v=!0,r+=";"+this.getFormFieldValue(n).replace(/[\.|;]/g,"_")+"."+n.type+"|"+(this.formAnonymous?"anon":n.options[f].value.replace(/[\.|;]/g,"_"))+"|"+this.checkFormFocus(n.name)),v||(t="empty");if(n.type=="select-one"&&n.selectedIndex!=-1&&(t=n.options[n.selectedIndex].value.replace(/[\.|;]/,"_"),t||(t="empty")),n.type=="checkbox"&&(t=n.checked?n.value.replace(/[\.|;]/,"_"):"empty"),n.type=="radio"&&(n.checked&&(t=n.value.replace(/[\.|;]/g,"_")),o[o.length]=this.getFormFieldValue(n)),n.type=="password"||n.type=="text"||n.type=="textarea"){for(t=n.value?"filled_out":"empty",c=0;c<p.length;c++)p[c]==this.getFormFieldValue(n)&&(t=this.maxlen(n.value,30));t||(t="empty")}t&&(name=this.getFormFieldValue(n).replace(/[\.|;]/g,"_"),w=";"+name+"."+n.type+"|",r.indexOf(w)==-1&&(r+=w+(this.formAnonymous&&t!="empty"&&t!="filled_out"?"anon":t)+"|"+this.checkFormFocus(n.name)))}}for(i=0;i<o.length;i++)a=";"+o[i].replace(/[\.|;]/g,"_")+".radio|",r.indexOf(a)==-1&&(r+=a+(this.formAnonymous?"anon":"empty")+"|"+this.checkFormFocus(n.name));return r&&(r=r.substring(1)),r}},this.formTrackInstall=function(n){this.formObject=n?n:document.forms[0]?document.forms[0]:!1,this.formObject&&(this.form="1",webtrekkFormTrackInstall())},this.form&&webtrekkFormTrackInstall(),this.cookieManager=function(n,t,i){var r,u;this.name=n,this.keySeperator="~",this.fieldSeparator="#",this.durationSeperator="|",this.found=!1,this.expires=t,this.accessPath=i,this.rawValue="",this.fields=[],this.fieldsDuration=[],this.fieldnames=[],this.read=function(){var f=this.name+"=",t=document.cookie,r,i;if(this.rawValue=null,this.found=!1,t.length>0&&($0T=t.indexOf(f),$0T!=-1&&($0T+=f.length,end=t.indexOf(";",$0T),end==-1&&(end=t.length),this.rawValue=t.substring($0T,end),this.found=!0)),this.rawValue!=null){var o=this.rawValue.length,u=0,n=0,e=0;do n=this.rawValue.indexOf(this.fieldSeparator,u),n!=-1&&(r=this.rawValue.substring(u,n).split(this.durationSeperator),i=r[0].split(this.keySeperator),this.fields[i[0]]=unescape(i[1]),this.fieldsDuration[i[0]]=parseInt(unescape(r[1])),e++,u=n+1);while(n!=-1&n!=this.rawValue.length-1)}return this.found},this.getSize=function(){var t=+new Date,n="";for(r in this.fields)this.fieldsDuration[r]>=t&&(n+=escape(r)+this.keySeperator+escape(this.fields[r])+this.durationSeperator+escape(this.fieldsDuration[r])+this.fieldSeparator);return n.length},this.write=function(){var s=+new Date,e=!0,t=this.name+"=",i,f,u,n,o;for(r in this.fields)this.fieldsDuration[r]>=s&&(t+=escape(r)+this.keySeperator+escape(this.fields[r])+this.durationSeperator+escape(this.fieldsDuration[r])+this.fieldSeparator,e=!1);return i=e?-99999:this.expires,i!=""&&(typeof i=="number"?(f=new Date,u=new Date,u.setTime(f.getTime()+864e5*i),t+="; expires="+u.toGMTString()):t+="; expires="+i.toGMTString()),this.accessPath!=null&&(t+="; PATH="+this.accessPath),n=location.hostname,o="^[0-9]{1,3"+String.fromCharCode(125)+".[0-9]{1,3"+String.fromCharCode(125)+".[0-9]{1,3"+String.fromCharCode(125)+".[0-9]{1,3"+String.fromCharCode(125)+"$",n.search(o)==-1&&(n=location.hostname.split("."),n=n[n.length-2]+"."+n[n.length-1]),t+="; DOMAIN="+n,document.cookie=t,null},this.remove=function(){return this.expires=-10,this.write(),this.read()},this.get=function(n){var t=+new Date;return this.fieldsDuration[n]>=t?this.fields[n]:""},this.set=function(n,t,i,r,u){i||(i=31536e3),r||(r="");var f=+new Date;return r=="first"&&this.fields[n]!=""&&this.fields[n]!=null&&this.fieldsDuration[n]>=f?this.fields[n]:(this.fields[n]=t,this.fieldsDuration[n]=f+parseInt(i)*1e3,u||this.write(),t)},this.prepare=function(n,t,i,r){this.set(n,t,i,r,!0)},this.read()}}function wt_sendinfo(n,t,r){if(webtrekkPixel){for(i in webtrekk)i!="plugins"&&i!="sendinfo"&&(webtrekkPixel[i]=webtrekk[i]);webtrekkPixel.sendinfo(!1,n,t,r)}}var webtrekkPixel;if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(n){"use strict";var t=n.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher");}(jQuery),+function(n){"use strict";function t(){var i=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},n;for(n in t)if(void 0!==i.style[n])return{end:t[n]};return!1}n.fn.emulateTransitionEnd=function(t){var r=!1,u=this,i;n(this).one("bsTransitionEnd",function(){r=!0});return i=function(){r||n(u).trigger(n.support.transition.end)},setTimeout(i,t),this},n(function(){n.support.transition=t(),n.support.transition&&(n.event.special.bsTransitionEnd={bindType:n.support.transition.end,delegateType:n.support.transition.end,handle:function(t){if(n(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(jQuery),+function(n){"use strict";function u(i){return this.each(function(){var u=n(this),r=u.data("bs.alert");r||u.data("bs.alert",r=new t(this)),"string"==typeof i&&r[i].call(u)})}var r='[data-dismiss="alert"]',t=function(t){n(t).on("click",r,this.close)},i;t.VERSION="3.3.4",t.TRANSITION_DURATION=150,t.prototype.close=function(i){function e(){r.detach().trigger("closed.bs.alert").remove()}var f=n(this),u=f.attr("data-target"),r;u||(u=f.attr("href"),u=u&&u.replace(/.*(?=#[^\s]*$)/,"")),r=n(u),i&&i.preventDefault(),r.length||(r=f.closest(".alert")),r.trigger(i=n.Event("close.bs.alert")),i.isDefaultPrevented()||(r.removeClass("in"),n.support.transition&&r.hasClass("fade")?r.one("bsTransitionEnd",e).emulateTransitionEnd(t.TRANSITION_DURATION):e())},i=n.fn.alert,n.fn.alert=u,n.fn.alert.Constructor=t,n.fn.alert.noConflict=function(){return n.fn.alert=i,this},n(document).on("click.bs.alert.data-api",r,t.prototype.close)}(jQuery),+function(n){"use strict";function r(i){return this.each(function(){var u=n(this),r=u.data("bs.button"),f="object"==typeof i&&i;r||u.data("bs.button",r=new t(this,f)),"toggle"==i?r.toggle():i&&r.setState(i)})}var t=function(i,r){this.$element=n(i),this.options=n.extend({},t.DEFAULTS,r),this.isLoading=!1},i;t.VERSION="3.3.4",t.DEFAULTS={loadingText:"loading..."},t.prototype.setState=function(t){var r="disabled",i=this.$element,f=i.is("input")?"val":"html",u=i.data();t+="Text",null==u.resetText&&i.data("resetText",i[f]()),setTimeout(n.proxy(function(){i[f](null==u[t]?this.options[t]:u[t]),"loadingText"==t?(this.isLoading=!0,i.addClass(r).attr(r,r)):this.isLoading&&(this.isLoading=!1,i.removeClass(r).removeAttr(r))},this),0)},t.prototype.toggle=function(){var t=!0,i=this.$element.closest('[data-toggle="buttons"]'),n;i.length?(n=this.$element.find("input"),"radio"==n.prop("type")&&(n.prop("checked")&&this.$element.hasClass("active")?t=!1:i.find(".active").removeClass("active")),t&&n.prop("checked",!this.$element.hasClass("active")).trigger("change")):this.$element.attr("aria-pressed",!this.$element.hasClass("active")),t&&this.$element.toggleClass("active")},i=n.fn.button,n.fn.button=r,n.fn.button.Constructor=t,n.fn.button.noConflict=function(){return n.fn.button=i,this},n(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(t){var i=n(t.target);i.hasClass("btn")||(i=i.closest(".btn")),r.call(i,"toggle"),t.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){n(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))})}(jQuery),+function(n){"use strict";function r(i){return this.each(function(){var f=n(this),r=f.data("bs.carousel"),u=n.extend({},t.DEFAULTS,f.data(),"object"==typeof i&&i),e="string"==typeof i?i:u.slide;r||f.data("bs.carousel",r=new t(this,u)),"number"==typeof i?r.to(i):e?r[e]():u.interval&&r.pause().cycle()})}var t=function(t,i){this.$element=n(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=i,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",n.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",n.proxy(this.pause,this)).on("mouseleave.bs.carousel",n.proxy(this.cycle,this))},u,i;t.VERSION="3.3.4",t.TRANSITION_DURATION=600,t.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},t.prototype.keydown=function(n){if(!/input|textarea/i.test(n.target.tagName)){switch(n.which){case 37:this.prev();break;case 39:this.next();break;default:return}n.preventDefault()}},t.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(n.proxy(this.next,this),this.options.interval)),this},t.prototype.getItemIndex=function(n){return this.$items=n.parent().children(".item"),this.$items.index(n||this.$active)},t.prototype.getItemForDirection=function(n,t){var i=this.getItemIndex(t),f="prev"==n&&0===i||"next"==n&&i==this.$items.length-1,u,r;return f&&!this.options.wrap?t:(u="prev"==n?-1:1,r=(i+u)%this.$items.length,this.$items.eq(r))},t.prototype.to=function(n){var i=this,t=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(n>this.$items.length-1)&&!(0>n))return this.sliding?this.$element.one("slid.bs.carousel",function(){i.to(n)}):t==n?this.pause().cycle():this.slide(n>t?"next":"prev",this.$items.eq(n))},t.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&n.support.transition&&(this.$element.trigger(n.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},t.prototype.next=function(){if(!this.sliding)return this.slide("next")},t.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},t.prototype.slide=function(i,r){var e=this.$element.find(".item.active"),u=r||this.getItemForDirection(i,e),l=this.interval,f="next"==i?"left":"right",a=this,c,o,s,h;return u.hasClass("active")?this.sliding=!1:(c=u[0],o=n.Event("slide.bs.carousel",{relatedTarget:c,direction:f}),(this.$element.trigger(o),!o.isDefaultPrevented())?((this.sliding=!0,l&&this.pause(),this.$indicators.length)&&(this.$indicators.find(".active").removeClass("active"),s=n(this.$indicators.children()[this.getItemIndex(u)]),s&&s.addClass("active")),h=n.Event("slid.bs.carousel",{relatedTarget:c,direction:f}),n.support.transition&&this.$element.hasClass("slide")?(u.addClass(i),u[0].offsetWidth,e.addClass(f),u.addClass(f),e.one("bsTransitionEnd",function(){u.removeClass([i,f].join(" ")).addClass("active"),e.removeClass(["active",f].join(" ")),a.sliding=!1,setTimeout(function(){a.$element.trigger(h)},0)}).emulateTransitionEnd(t.TRANSITION_DURATION)):(e.removeClass("active"),u.addClass("active"),this.sliding=!1,this.$element.trigger(h)),l&&this.cycle(),this):void 0)},u=n.fn.carousel,n.fn.carousel=r,n.fn.carousel.Constructor=t,n.fn.carousel.noConflict=function(){return n.fn.carousel=u,this},i=function(t){var o,f=n(this),i=n(f.attr("data-target")||(o=f.attr("href"))&&o.replace(/.*(?=#[^\s]+$)/,"")),e,u;i.hasClass("carousel")&&(e=n.extend({},i.data(),f.data()),u=f.attr("data-slide-to"),u&&(e.interval=!1),r.call(i,e),u&&i.data("bs.carousel").to(u),t.preventDefault())},n(document).on("click.bs.carousel.data-api","[data-slide]",i).on("click.bs.carousel.data-api","[data-slide-to]",i),n(window).on("load",function(){n('[data-ride="carousel"]').each(function(){var t=n(this);r.call(t,t.data())})})}(jQuery),+function(n){"use strict";function u(t){var i,r=t.attr("data-target")||(i=t.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,"");return n(r)}function i(i){return this.each(function(){var f=n(this),r=f.data("bs.collapse"),u=n.extend({},t.DEFAULTS,f.data(),"object"==typeof i&&i);!r&&u.toggle&&/show|hide/.test(i)&&(u.toggle=!1),r||f.data("bs.collapse",r=new t(this,u)),"string"==typeof i&&r[i]()})}var t=function(i,r){this.$element=n(i),this.options=n.extend({},t.DEFAULTS,r),this.$trigger=n('[data-toggle="collapse"][href="#'+i.id+'"],[data-toggle="collapse"][data-target="#'+i.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()},r;t.VERSION="3.3.4",t.TRANSITION_DURATION=350,t.DEFAULTS={toggle:!0},t.prototype.dimension=function(){var n=this.$element.hasClass("width");return n?"width":"height"},t.prototype.show=function(){var f,r,o,u,e,s;if(!this.transitioning&&!this.$element.hasClass("in")&&(r=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing"),!(r&&r.length&&(f=r.data("bs.collapse"),f&&f.transitioning))&&(o=n.Event("show.bs.collapse"),this.$element.trigger(o),!o.isDefaultPrevented()))){if(r&&r.length&&(i.call(r,"hide"),f||r.data("bs.collapse",null)),u=this.dimension(),this.$element.removeClass("collapse").addClass("collapsing")[u](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1,e=function(){this.$element.removeClass("collapsing").addClass("collapse in")[u](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")},!n.support.transition)return e.call(this);s=n.camelCase(["scroll",u].join("-")),this.$element.one("bsTransitionEnd",n.proxy(e,this)).emulateTransitionEnd(t.TRANSITION_DURATION)[u](this.$element[0][s])}},t.prototype.hide=function(){var u,i,r;if(!this.transitioning&&this.$element.hasClass("in")&&(u=n.Event("hide.bs.collapse"),this.$element.trigger(u),!u.isDefaultPrevented()))return i=this.dimension(),this.$element[i](this.$element[i]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1,r=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")},n.support.transition?void this.$element[i](0).one("bsTransitionEnd",n.proxy(r,this)).emulateTransitionEnd(t.TRANSITION_DURATION):r.call(this)},t.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},t.prototype.getParent=function(){return n(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(n.proxy(function(t,i){var r=n(i);this.addAriaAndCollapsedClass(u(r),r)},this)).end()},t.prototype.addAriaAndCollapsedClass=function(n,t){var i=n.hasClass("in");n.attr("aria-expanded",i),t.toggleClass("collapsed",!i).attr("aria-expanded",i)},r=n.fn.collapse,n.fn.collapse=i,n.fn.collapse.Constructor=t,n.fn.collapse.noConflict=function(){return n.fn.collapse=r,this},n(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){var r=n(this);r.attr("data-target")||t.preventDefault();var f=u(r),o=f.data("bs.collapse"),e=o?"toggle":r.data();i.call(f,e)})}(jQuery),+function(n){"use strict";function u(t){t&&3===t.which||(n(o).remove(),n(i).each(function(){var f=n(this),i=r(f),u={relatedTarget:this};i.hasClass("open")&&(i.trigger(t=n.Event("hide.bs.dropdown",u)),t.isDefaultPrevented()||(f.attr("aria-expanded","false"),i.removeClass("open").trigger("hidden.bs.dropdown",u)))}))}function r(t){var i=t.attr("data-target"),r;return i||(i=t.attr("href"),i=i&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,"")),r=i&&n(i),r&&r.length?r:t.parent()}function e(i){return this.each(function(){var u=n(this),r=u.data("bs.dropdown");r||u.data("bs.dropdown",r=new t(this)),"string"==typeof i&&r[i].call(u)})}var o=".dropdown-backdrop",i='[data-toggle="dropdown"]',t=function(t){n(t).on("click.bs.dropdown",this.toggle)},f;t.VERSION="3.3.4",t.prototype.toggle=function(t){var e=n(this),i,o,f;if(!e.is(".disabled, :disabled")){if(i=r(e),o=i.hasClass("open"),u(),!o){if("ontouchstart"in document.documentElement&&!i.closest(".navbar-nav").length&&n('<div class="dropdown-backdrop"/>').insertAfter(n(this)).on("click",u),f={relatedTarget:this},i.trigger(t=n.Event("show.bs.dropdown",f)),t.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),i.toggleClass("open").trigger("shown.bs.dropdown",f)}return!1}},t.prototype.keydown=function(t){var o,e,s,h,f,u;if(/(38|40|27|32)/.test(t.which)&&!/input|textarea/i.test(t.target.tagName)&&(o=n(this),t.preventDefault(),t.stopPropagation(),!o.is(".disabled, :disabled"))){if(e=r(o),s=e.hasClass("open"),!s&&27!=t.which||s&&27==t.which)return 27==t.which&&e.find(i).trigger("focus"),o.trigger("click");h=" li:not(.disabled):visible a",f=e.find('[role="menu"]'+h+', [role="listbox"]'+h),f.length&&(u=f.index(t.target),38==t.which&&u>0&&u--,40==t.which&&u<f.length-1&&u++,~u||(u=0),f.eq(u).trigger("focus"))}},f=n.fn.dropdown,n.fn.dropdown=e,n.fn.dropdown.Constructor=t,n.fn.dropdown.noConflict=function(){return n.fn.dropdown=f,this},n(document).on("click.bs.dropdown.data-api",u).on("click.bs.dropdown.data-api",".dropdown form",function(n){n.stopPropagation()}).on("click.bs.dropdown.data-api",i,t.prototype.toggle).on("keydown.bs.dropdown.data-api",i,t.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="menu"]',t.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="listbox"]',t.prototype.keydown)}(jQuery),+function(n){"use strict";function r(i,r){return this.each(function(){var f=n(this),u=f.data("bs.modal"),e=n.extend({},t.DEFAULTS,f.data(),"object"==typeof i&&i);u||f.data("bs.modal",u=new t(this,e)),"string"==typeof i?u[i](r):e.show&&u.show(r)})}var t=function(t,i){this.options=i,this.$body=n(document.body),this.$element=n(t),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,n.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))},i;t.VERSION="3.3.4",t.TRANSITION_DURATION=300,t.BACKDROP_TRANSITION_DURATION=150,t.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},t.prototype.toggle=function(n){return this.isShown?this.hide():this.show(n)},t.prototype.show=function(i){var r=this,u=n.Event("show.bs.modal",{relatedTarget:i});this.$element.trigger(u),this.isShown||u.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',n.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){r.$element.one("mouseup.dismiss.bs.modal",function(t){n(t.target).is(r.$element)&&(r.ignoreBackdropClick=!0)})}),this.backdrop(function(){var f=n.support.transition&&r.$element.hasClass("fade"),u;r.$element.parent().length||r.$element.appendTo(r.$body),r.$element.show().scrollTop(0),r.adjustDialog(),f&&r.$element[0].offsetWidth,r.$element.addClass("in").attr("aria-hidden",!1),r.enforceFocus(),u=n.Event("shown.bs.modal",{relatedTarget:i}),f?r.$dialog.one("bsTransitionEnd",function(){r.$element.trigger("focus").trigger(u)}).emulateTransitionEnd(t.TRANSITION_DURATION):r.$element.trigger("focus").trigger(u)}))},t.prototype.hide=function(i){i&&i.preventDefault(),i=n.Event("hide.bs.modal"),this.$element.trigger(i),this.isShown&&!i.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),n(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),n.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",n.proxy(this.hideModal,this)).emulateTransitionEnd(t.TRANSITION_DURATION):this.hideModal())},t.prototype.enforceFocus=function(){n(document).off("focusin.bs.modal").on("focusin.bs.modal",n.proxy(function(n){this.$element[0]===n.target||this.$element.has(n.target).length||this.$element.trigger("focus")},this))},t.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",n.proxy(function(n){27==n.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},t.prototype.resize=function(){this.isShown?n(window).on("resize.bs.modal",n.proxy(this.handleUpdate,this)):n(window).off("resize.bs.modal")},t.prototype.hideModal=function(){var n=this;this.$element.hide(),this.backdrop(function(){n.$body.removeClass("modal-open"),n.resetAdjustments(),n.resetScrollbar(),n.$element.trigger("hidden.bs.modal")})},t.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},t.prototype.backdrop=function(i){var e=this,f=this.$element.hasClass("fade")?"fade":"",r,u;if(this.isShown&&this.options.backdrop){if(r=n.support.transition&&f,this.$backdrop=n('<div class="modal-backdrop '+f+'" />').appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",n.proxy(function(n){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(n.target===n.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),r&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!i)return;r?this.$backdrop.one("bsTransitionEnd",i).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION):i()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),u=function(){e.removeBackdrop(),i&&i()},n.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",u).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION):u()):i&&i()},t.prototype.handleUpdate=function(){this.adjustDialog()},t.prototype.adjustDialog=function(){var n=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&n?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!n?this.scrollbarWidth:""})},t.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},t.prototype.checkScrollbar=function(){var t=window.innerWidth,n;t||(n=document.documentElement.getBoundingClientRect(),t=n.right-Math.abs(n.left)),this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},t.prototype.setScrollbar=function(){var n=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",n+this.scrollbarWidth)},t.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},t.prototype.measureScrollbar=function(){var n=document.createElement("div"),t;return n.className="modal-scrollbar-measure",this.$body.append(n),t=n.offsetWidth-n.clientWidth,this.$body[0].removeChild(n),t},i=n.fn.modal,n.fn.modal=r,n.fn.modal.Constructor=t,n.fn.modal.noConflict=function(){return n.fn.modal=i,this},n(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var i=n(this),f=i.attr("href"),u=n(i.attr("data-target")||f&&f.replace(/.*(?=#[^\s]+$)/,"")),e=u.data("bs.modal")?"toggle":n.extend({remote:!/#/.test(f)&&f},u.data(),i.data());i.is("a")&&t.preventDefault(),u.one("show.bs.modal",function(n){n.isDefaultPrevented()||u.one("hidden.bs.modal",function(){i.is(":visible")&&i.trigger("focus")})}),r.call(u,e,this)})}(jQuery),+function(n){"use strict";function r(i){return this.each(function(){var u=n(this),r=u.data("bs.tooltip"),f="object"==typeof i&&i;(r||!/destroy|hide/.test(i))&&(r||u.data("bs.tooltip",r=new t(this,f)),"string"==typeof i&&r[i]())})}var t=function(n,t){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.init("tooltip",n,t)},i;t.VERSION="3.3.4",t.TRANSITION_DURATION=150,t.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},t.prototype.init=function(t,i,r){var e,f,u,s,o;if(this.enabled=!0,this.type=t,this.$element=n(i),this.options=this.getOptions(r),this.$viewport=this.options.viewport&&n(this.options.viewport.selector||this.options.viewport),this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(e=this.options.trigger.split(" "),f=e.length;f--;)if(u=e[f],"click"==u)this.$element.on("click."+this.type,this.options.selector,n.proxy(this.toggle,this));else"manual"!=u&&(s="hover"==u?"mouseenter":"focusin",o="hover"==u?"mouseleave":"focusout",this.$element.on(s+"."+this.type,this.options.selector,n.proxy(this.enter,this)),this.$element.on(o+"."+this.type,this.options.selector,n.proxy(this.leave,this)));this.options.selector?this._options=n.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},t.prototype.getDefaults=function(){return t.DEFAULTS},t.prototype.getOptions=function(t){return t=n.extend({},this.getDefaults(),this.$element.data(),t),t.delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},t.prototype.getDelegateOptions=function(){var t={},i=this.getDefaults();return this._options&&n.each(this._options,function(n,r){i[n]!=r&&(t[n]=r)}),t},t.prototype.enter=function(t){var i=t instanceof this.constructor?t:n(t.currentTarget).data("bs."+this.type);return i&&i.$tip&&i.$tip.is(":visible")?void(i.hoverState="in"):(i||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),n(t.currentTarget).data("bs."+this.type,i)),clearTimeout(i.timeout),i.hoverState="in",i.options.delay&&i.options.delay.show?void(i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show)):i.show())},t.prototype.leave=function(t){var i=t instanceof this.constructor?t:n(t.currentTarget).data("bs."+this.type);return i||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),n(t.currentTarget).data("bs."+this.type,i)),clearTimeout(i.timeout),i.hoverState="out",i.options.delay&&i.options.delay.hide?void(i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide)):i.hide()},t.prototype.show=function(){var l=n.Event("show.bs."+this.type),y,c,s;if(this.hasContent()&&this.enabled){if(this.$element.trigger(l),y=n.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]),l.isDefaultPrevented()||!y)return;var u=this,r=this.tip(),v=this.getUID(this.type);this.setContent(),r.attr("id",v),this.$element.attr("aria-describedby",v),this.options.animation&&r.addClass("fade");var i="function"==typeof this.options.placement?this.options.placement.call(this,r[0],this.$element[0]):this.options.placement,a=/\s?auto?\s?/i,p=a.test(i);p&&(i=i.replace(a,"")||"top"),r.detach().css({top:0,left:0,display:"block"}).addClass(i).data("bs."+this.type,this),this.options.container?r.appendTo(this.options.container):r.insertAfter(this.$element);var f=this.getPosition(),h=r[0].offsetWidth,o=r[0].offsetHeight;if(p){var b=i,w=this.options.container?n(this.options.container):this.$element.parent(),e=this.getPosition(w);i="bottom"==i&&f.bottom+o>e.bottom?"top":"top"==i&&f.top-o<e.top?"bottom":"right"==i&&f.right+h>e.width?"left":"left"==i&&f.left-h<e.left?"right":i,r.removeClass(b).addClass(i)}c=this.getCalculatedOffset(i,f,h,o),this.applyPlacement(c,i),s=function(){var n=u.hoverState;u.$element.trigger("shown.bs."+u.type),u.hoverState=null,"out"==n&&u.leave(u)},n.support.transition&&this.$tip.hasClass("fade")?r.one("bsTransitionEnd",s).emulateTransitionEnd(t.TRANSITION_DURATION):s()}},t.prototype.applyPlacement=function(t,i){var r=this.tip(),v=r[0].offsetWidth,s=r[0].offsetHeight,h=parseInt(r.css("margin-top"),10),c=parseInt(r.css("margin-left"),10),e,f,u;isNaN(h)&&(h=0),isNaN(c)&&(c=0),t.top=t.top+h,t.left=t.left+c,n.offset.setOffset(r[0],n.extend({using:function(n){r.css({top:Math.round(n.top),left:Math.round(n.left)})}},t),0),r.addClass("in"),e=r[0].offsetWidth,f=r[0].offsetHeight,"top"==i&&f!=s&&(t.top=t.top+s-f),u=this.getViewportAdjustedDelta(i,t,e,f),u.left?t.left+=u.left:t.top+=u.top;var o=/top|bottom/.test(i),a=o?2*u.left-v+e:2*u.top-s+f,l=o?"offsetWidth":"offsetHeight";r.offset(t),this.replaceArrow(a,r[0][l],o)},t.prototype.replaceArrow=function(n,t,i){this.arrow().css(i?"left":"top",50*(1-n/t)+"%").css(i?"top":"left","")},t.prototype.setContent=function(){var n=this.tip(),t=this.getTitle();n.find(".tooltip-inner")[this.options.html?"html":"text"](t),n.removeClass("fade in top bottom left right")},t.prototype.hide=function(i){function e(){"in"!=u.hoverState&&r.detach(),u.$element.removeAttr("aria-describedby").trigger("hidden.bs."+u.type),i&&i()}var u=this,r=n(this.$tip),f=n.Event("hide.bs."+this.type);return this.$element.trigger(f),f.isDefaultPrevented()?void 0:(r.removeClass("in"),n.support.transition&&r.hasClass("fade")?r.one("bsTransitionEnd",e).emulateTransitionEnd(t.TRANSITION_DURATION):e(),this.hoverState=null,this)},t.prototype.fixTitle=function(){var n=this.$element;(n.attr("title")||"string"!=typeof n.attr("data-original-title"))&&n.attr("data-original-title",n.attr("title")||"").attr("title","")},t.prototype.hasContent=function(){return this.getTitle()},t.prototype.getPosition=function(t){t=t||this.$element;var u=t[0],r="BODY"==u.tagName,i=u.getBoundingClientRect();null==i.width&&(i=n.extend({},i,{width:i.right-i.left,height:i.bottom-i.top}));var o=r?{top:0,left:0}:t.offset(),e={scroll:r?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},f=r?{width:n(window).width(),height:n(window).height()}:null;return n.extend({},i,e,f,o)},t.prototype.getCalculatedOffset=function(n,t,i,r){return"bottom"==n?{top:t.top+t.height,left:t.left+t.width/2-i/2}:"top"==n?{top:t.top-r,left:t.left+t.width/2-i/2}:"left"==n?{top:t.top+t.height/2-r/2,left:t.left-i}:{top:t.top+t.height/2-r/2,left:t.left+t.width}},t.prototype.getViewportAdjustedDelta=function(n,t,i,r){var f={top:0,left:0},e,u,h,c,o,s;return this.$viewport?(e=this.options.viewport&&this.options.viewport.padding||0,u=this.getPosition(this.$viewport),/right|left/.test(n)?(h=t.top-e-u.scroll,c=t.top+e-u.scroll+r,h<u.top?f.top=u.top-h:c>u.top+u.height&&(f.top=u.top+u.height-c)):(o=t.left-e,s=t.left+e+i,o<u.left?f.left=u.left-o:s>u.width&&(f.left=u.left+u.width-s)),f):f},t.prototype.getTitle=function(){var i,t=this.$element,n=this.options;return i=t.attr("data-original-title")||("function"==typeof n.title?n.title.call(t[0]):n.title)},t.prototype.getUID=function(n){do n+=~~(1e6*Math.random());while(document.getElementById(n));return n},t.prototype.tip=function(){return this.$tip=this.$tip||n(this.options.template)},t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},t.prototype.enable=function(){this.enabled=!0},t.prototype.disable=function(){this.enabled=!1},t.prototype.toggleEnabled=function(){this.enabled=!this.enabled},t.prototype.toggle=function(t){var i=this;t&&(i=n(t.currentTarget).data("bs."+this.type),i||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),n(t.currentTarget).data("bs."+this.type,i))),i.tip().hasClass("in")?i.leave(i):i.enter(i)},t.prototype.destroy=function(){var n=this;clearTimeout(this.timeout),this.hide(function(){n.$element.off("."+n.type).removeData("bs."+n.type)})},i=n.fn.tooltip,n.fn.tooltip=r,n.fn.tooltip.Constructor=t,n.fn.tooltip.noConflict=function(){return n.fn.tooltip=i,this}}(jQuery),+function(n){"use strict";function r(i){return this.each(function(){var u=n(this),r=u.data("bs.popover"),f="object"==typeof i&&i;(r||!/destroy|hide/.test(i))&&(r||u.data("bs.popover",r=new t(this,f)),"string"==typeof i&&r[i]())})}var t=function(n,t){this.init("popover",n,t)},i;if(!n.fn.tooltip)throw new Error("Popover requires tooltip.js");t.VERSION="3.3.4",t.DEFAULTS=n.extend({},n.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),t.prototype=n.extend({},n.fn.tooltip.Constructor.prototype),t.prototype.constructor=t,t.prototype.getDefaults=function(){return t.DEFAULTS},t.prototype.setContent=function(){var n=this.tip(),i=this.getTitle(),t=this.getContent();n.find(".popover-title")[this.options.html?"html":"text"](i),n.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof t?"html":"append":"text"](t),n.removeClass("fade top bottom left right in"),n.find(".popover-title").html()||n.find(".popover-title").hide()},t.prototype.hasContent=function(){return this.getTitle()||this.getContent()},t.prototype.getContent=function(){var t=this.$element,n=this.options;return t.attr("data-content")||("function"==typeof n.content?n.content.call(t[0]):n.content)},t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},i=n.fn.popover,n.fn.popover=r,n.fn.popover.Constructor=t,n.fn.popover.noConflict=function(){return n.fn.popover=i,this}}(jQuery),+function(n){"use strict";function t(i,r){this.$body=n(document.body),this.$scrollElement=n(n(i).is(document.body)?window:i),this.options=n.extend({},t.DEFAULTS,r),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",n.proxy(this.process,this)),this.refresh(),this.process()}function i(i){return this.each(function(){var u=n(this),r=u.data("bs.scrollspy"),f="object"==typeof i&&i;r||u.data("bs.scrollspy",r=new t(this,f)),"string"==typeof i&&r[i]()})}t.VERSION="3.3.4",t.DEFAULTS={offset:10},t.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},t.prototype.refresh=function(){var r=this,i="offset",t=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),n.isWindow(this.$scrollElement[0])||(i="position",t=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var f=n(this),u=f.data("target")||f.attr("href"),r=/^#./.test(u)&&n(u);return r&&r.length&&r.is(":visible")&&[[r[i]().top+t,u]]||null}).sort(function(n,t){return n[0]-t[0]}).each(function(){r.offsets.push(this[0]),r.targets.push(this[1])})},t.prototype.process=function(){var n,i=this.$scrollElement.scrollTop()+this.options.offset,f=this.getScrollHeight(),e=this.options.offset+f-this.$scrollElement.height(),t=this.offsets,r=this.targets,u=this.activeTarget;if(this.scrollHeight!=f&&this.refresh(),i>=e)return u!=(n=r[r.length-1])&&this.activate(n);if(u&&i<t[0])return this.activeTarget=null,this.clear();for(n=t.length;n--;)u!=r[n]&&i>=t[n]&&(void 0===t[n+1]||i<t[n+1])&&this.activate(r[n])},t.prototype.activate=function(t){this.activeTarget=t,this.clear();var r=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',i=n(r).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate.bs.scrollspy")},t.prototype.clear=function(){n(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var r=n.fn.scrollspy;n.fn.scrollspy=i,n.fn.scrollspy.Constructor=t,n.fn.scrollspy.noConflict=function(){return n.fn.scrollspy=r,this},n(window).on("load.bs.scrollspy.data-api",function(){n('[data-spy="scroll"]').each(function(){var t=n(this);i.call(t,t.data())})})}(jQuery),+function(n){"use strict";function r(i){return this.each(function(){var u=n(this),r=u.data("bs.tab");r||u.data("bs.tab",r=new t(this)),"string"==typeof i&&r[i]()})}var t=function(t){this.element=n(t)},u,i;t.VERSION="3.3.4",t.TRANSITION_DURATION=150,t.prototype.show=function(){var t=this.element,f=t.closest("ul:not(.dropdown-menu)"),i=t.data("target"),u;if(i||(i=t.attr("href"),i=i&&i.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var r=f.find(".active:last a"),o=n.Event("hide.bs.tab",{relatedTarget:t[0]}),e=n.Event("show.bs.tab",{relatedTarget:r[0]});(r.trigger(o),t.trigger(e),e.isDefaultPrevented()||o.isDefaultPrevented())||(u=n(i),this.activate(t.closest("li"),f),this.activate(u,u.parent(),function(){r.trigger({type:"hidden.bs.tab",relatedTarget:t[0]}),t.trigger({type:"shown.bs.tab",relatedTarget:r[0]})}))}},t.prototype.activate=function(i,r,u){function o(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),i.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),e?(i[0].offsetWidth,i.addClass("in")):i.removeClass("fade"),i.parent(".dropdown-menu").length&&i.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),u&&u()}var f=r.find("> .active"),e=u&&n.support.transition&&(f.length&&f.hasClass("fade")||!!r.find("> .fade").length);f.length&&e?f.one("bsTransitionEnd",o).emulateTransitionEnd(t.TRANSITION_DURATION):o(),f.removeClass("in")},u=n.fn.tab,n.fn.tab=r,n.fn.tab.Constructor=t,n.fn.tab.noConflict=function(){return n.fn.tab=u,this},i=function(t){t.preventDefault(),r.call(n(this),"show")};n(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',i).on("click.bs.tab.data-api",'[data-toggle="pill"]',i)}(jQuery),+function(n){"use strict";function r(i){return this.each(function(){var u=n(this),r=u.data("bs.affix"),f="object"==typeof i&&i;r||u.data("bs.affix",r=new t(this,f)),"string"==typeof i&&r[i]()})}var t=function(i,r){this.options=n.extend({},t.DEFAULTS,r),this.$target=n(this.options.target).on("scroll.bs.affix.data-api",n.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",n.proxy(this.checkPositionWithEventLoop,this)),this.$element=n(i),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()},i;t.VERSION="3.3.4",t.RESET="affix affix-top affix-bottom",t.DEFAULTS={offset:0,target:window},t.prototype.getState=function(n,t,i,r){var u=this.$target.scrollTop(),o=this.$element.offset(),e=this.$target.height();if(null!=i&&"top"==this.affixed)return i>u?"top":!1;if("bottom"==this.affixed)return null!=i?u+this.unpin<=o.top?!1:"bottom":n-r>=u+e?!1:"bottom";var f=null==this.affixed,h=f?u:o.top,s=f?e:t;return null!=i&&i>=u?"top":null!=r&&h+s>=n-r?"bottom":!1},t.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(t.RESET).addClass("affix");var i=this.$target.scrollTop(),n=this.$element.offset();return this.pinnedOffset=n.top-i},t.prototype.checkPositionWithEventLoop=function(){setTimeout(n.proxy(this.checkPosition,this),1)},t.prototype.checkPosition=function(){var i,e,o;if(this.$element.is(":visible")){var s=this.$element.height(),r=this.options.offset,f=r.top,u=r.bottom,h=n(document.body).height();if("object"!=typeof r&&(u=f=r),"function"==typeof f&&(f=r.top(this.$element)),"function"==typeof u&&(u=r.bottom(this.$element)),i=this.getState(h,s,f,u),this.affixed!=i){if(null!=this.unpin&&this.$element.css("top",""),e="affix"+(i?"-"+i:""),o=n.Event(e+".bs.affix"),this.$element.trigger(o),o.isDefaultPrevented())return;this.affixed=i,this.unpin="bottom"==i?this.getPinnedOffset():null,this.$element.removeClass(t.RESET).addClass(e).trigger(e.replace("affix","affixed")+".bs.affix")}"bottom"==i&&this.$element.offset({top:h-s-u})}},i=n.fn.affix,n.fn.affix=r,n.fn.affix.Constructor=t,n.fn.affix.noConflict=function(){return n.fn.affix=i,this},n(window).on("load",function(){n('[data-spy="affix"]').each(function(){var i=n(this),t=i.data();t.offset=t.offset||{},null!=t.offsetBottom&&(t.offset.bottom=t.offsetBottom),null!=t.offsetTop&&(t.offset.top=t.offsetTop),r.call(i,t)})})}(jQuery),$(document).ready(function(){$(window).height()+100<$(document).height()&&$("#top-link-block").length&&$("#top-link-block").removeClass("hidden").affix({offset:{top:100}})});var EasyAutocomplete=function(n){return n.Configuration=function(n){function e(){var f,r,e,i,u;if(n.dataType==="xml"&&(n.getValue||(n.getValue=function(n){return $(n).text()}),n.list||(n.list={}),n.list.sort||(n.list.sort={}),n.list.sort.method=function(t,i){return(t=n.getValue(t),i=n.getValue(i),t<i)?-1:t>i?1:0},n.list.match||(n.list.match={}),n.list.match.method=function(n,t){return n.search(t)>-1?!0:!1}),n.categories!==undefined&&n.categories instanceof Array){for(f=[],r=0,e=n.categories.length;r<e;r+=1){i=n.categories[r];for(u in t.categories[0])i[u]===undefined&&(i[u]=t.categories[0][u]);f.push(i)}n.categories=f}}function f(){function i(n,t){var u=n||{},r;for(r in n)t[r]!==undefined&&t[r]!==null&&(typeof t[r]!="object"||t[r]instanceof Array?u[r]=t[r]:i(n[r],t[r]));return t.data!==undefined&&t.data!==null&&typeof t.data=="object"&&(u.data=t.data),u}t=i(t,n)}function s(){var i,r,u;t.url!=="list-required"&&typeof t.url!="function"&&(i=t.url,t.url=function(){return i}),t.ajaxSettings.url!==undefined&&typeof t.ajaxSettings.url!="function"&&(i=t.ajaxSettings.url,t.ajaxSettings.url=function(){return i}),typeof t.listLocation=="string"&&(r=t.listLocation,t.listLocation=t.dataType.toUpperCase()==="XML"?function(n){return $(n).find(r)}:function(n){return n[r]}),typeof t.getValue=="string"&&(u=t.getValue,t.getValue=function(n){return n[u]}),n.categories!==undefined&&(t.categoriesAssigned=!0)}function r(){t.ajaxSettings=n.ajaxSettings!==undefined&&typeof n.ajaxSettings=="object"?n.ajaxSettings:{}}function u(n){return t[n]!==undefined&&t[n]!==null?!0:!1}function i(n,i){function r(t,i){for(var u in i)t[u]===undefined&&n.log("Property '"+u+"' does not exist in EasyAutocomplete options API."),typeof t[u]=="object"&&$.inArray(u,o)===-1&&r(t[u],i[u])}r(t,i)}var t={data:"list-required",url:"list-required",dataType:"json",listLocation:function(n){return n},xmlElementName:"",getValue:function(n){return n},autocompleteOff:!0,placeholder:!1,ajaxCallback:function(){},matchResponseProperty:!1,list:{sort:{enabled:!1,method:function(n,i){return(n=t.getValue(n),i=t.getValue(i),n<i)?-1:n>i?1:0}},maxNumberOfElements:6,hideOnEmptyPhrase:!0,match:{enabled:!1,caseSensitive:!1,method:function(n,t){return n.search(t)>-1?!0:!1}},showAnimation:{type:"normal",time:400,callback:function(){}},hideAnimation:{type:"normal",time:400,callback:function(){}},onClickEvent:function(){},onSelectItemEvent:function(){},onLoadEvent:function(){},onChooseEvent:function(){},onKeyEnterEvent:function(){},onMouseOverEvent:function(){},onMouseOutEvent:function(){},onShowListEvent:function(){},onHideListEvent:function(){}},highlightPhrase:!0,theme:"",cssClasses:"",minCharNumber:0,requestDelay:0,adjustWidth:!0,ajaxSettings:{},preparePostData:function(n){return n},loggerEnabled:!0,template:"",categoriesAssigned:!1,categories:[{maxNumberOfElements:4}]},o=["ajaxSettings","template"];this.get=function(n){return t[n]},this.equals=function(n,i){return u(n)&&t[n]===i?!0:!1},this.checkDataUrlProperties=function(){return t.url==="list-required"&&t.data==="list-required"?!1:!0},this.checkRequiredProperties=function(){for(var n in t)if(t[n]==="required")return logger.error("Option "+n+" must be defined"),!1;return!0},this.printPropertiesThatDoesntExist=function(n,t){i(n,t)},e(),f(),t.loggerEnabled===!0&&i(console,n),r(),s()},n}(EasyAutocomplete||{}),EasyAutocomplete=function(n){return n.Logger=function(){this.error=function(n){console.log("ERROR: "+n)},this.warning=function(n){console.log("WARNING: "+n)}},n}(EasyAutocomplete||{}),EasyAutocomplete=function(n){return n.Constans=function(){var n={CONTAINER_CLASS:"easy-autocomplete-container",CONTAINER_ID:"eac-container-",WRAPPER_CSS_CLASS:"easy-autocomplete"};this.getValue=function(t){return n[t]}},n}(EasyAutocomplete||{}),EasyAutocomplete=function(n){return n.ListBuilderService=function(n,t){function r(t,i){function e(){var u={},r;return t.xmlElementName!==undefined&&(u.xmlElementName=t.xmlElementName),t.listLocation!==undefined?r=t.listLocation:n.get("listLocation")!==undefined&&(r=n.get("listLocation")),r!==undefined?typeof r=="string"?u.data=$(i).find(r):typeof r=="function"&&(u.data=r(i)):u.data=i,u}function f(){var n={};return t.listLocation!==undefined?typeof t.listLocation=="string"?n.data=i[t.listLocation]:typeof t.listLocation=="function"&&(n.data=t.listLocation(i)):n.data=i,n}var r={},u;return r=n.get("dataType").toUpperCase()==="XML"?e():f(),t.header!==undefined&&(r.header=t.header),t.maxNumberOfElements!==undefined&&(r.maxNumberOfElements=t.maxNumberOfElements),n.get("list").maxNumberOfElements!==undefined&&(r.maxListSize=n.get("list").maxNumberOfElements),t.getValue!==undefined?typeof t.getValue=="string"?(u=t.getValue,r.getValue=function(n){return n[u]}):typeof t.getValue=="function"&&(r.getValue=t.getValue):r.getValue=n.get("getValue"),r}function i(t){var i=[];return t.xmlElementName===undefined&&(t.xmlElementName=n.get("xmlElementName")),$(t.data).find(t.xmlElementName).each(function(){i.push(this)}),i}this.init=function(t){var r=[],i={};return i.data=n.get("listLocation")(t),i.getValue=n.get("getValue"),i.maxListSize=n.get("list").maxNumberOfElements,r.push(i),r},this.updateCategories=function(t,i){var u,f;if(n.get("categoriesAssigned"))for(t=[],u=0;u<n.get("categories").length;u+=1)f=r(n.get("categories")[u],i),t.push(f);return t},this.convertXml=function(t){if(n.get("dataType").toUpperCase()==="XML")for(var r=0;r<t.length;r+=1)t[r].data=i(t[r]);return t},this.processData=function(i,r){for(var u=0,f=i.length;u<f;u+=1)i[u].data=t(n,i[u],r);return i},this.checkIfDataExists=function(n){for(var t=0,i=n.length;t<i;t+=1)if(n[t].data!==undefined&&n[t].data instanceof Array&&n[t].data.length>0)return!0;return!1}},n}(EasyAutocomplete||{}),EasyAutocomplete=function(n){return n.proccess=function(t,i,r){function h(n,i){var u=[],o="",r,e;if(t.get("list").match.enabled)for(r=0,e=n.length;r<e;r+=1)o=t.get("getValue")(n[r]),f(o,i)&&u.push(n[r]);else u=n;return u}function f(n,i){return t.get("list").match.caseSensitive||(typeof n=="string"&&(n=n.toLowerCase()),i=i.toLowerCase()),t.get("list").match.method(n,i)?!0:!1}function o(n){return i.maxNumberOfElements!==undefined&&n.length>i.maxNumberOfElements&&(n=n.slice(0,i.maxNumberOfElements)),n}function e(n){return t.get("list").sort.enabled&&n.sort(t.get("list").sort.method),n}n.proccess.match=f;var u=i.data,s=r;return u=h(u,s),u=o(u),u=e(u)},n}(EasyAutocomplete||{}),EasyAutocomplete=function(n){return n.Template=function(n){var t={basic:{type:"basic",method:function(n){return n},cssClass:""},description:{type:"description",fields:{description:"description"},method:function(n){return n+" - description"},cssClass:"eac-description"},iconLeft:{type:"iconLeft",fields:{icon:""},method:function(n){return n},cssClass:"eac-icon-left"},iconRight:{type:"iconRight",fields:{iconSrc:""},method:function(n){return n},cssClass:"eac-icon-right"},links:{type:"links",fields:{link:""},method:function(n){return n},cssClass:""},custom:{type:"custom",method:function(){},cssClass:""}},u=function(n){var i=n.fields,r;return n.type==="description"?(r=t.description.method,typeof i.description=="string"?r=function(n,t){return n+" - <span>"+t[i.description]+"</span>"}:typeof i.description=="function"&&(r=function(n,t){return n+" - <span>"+i.description(t)+"</span>"}),r):n.type==="iconRight"?(typeof i.iconSrc=="string"?r=function(n,t){return n+"<img class='eac-icon' src='"+t[i.iconSrc]+"' />"}:typeof i.iconSrc=="function"&&(r=function(n,t){return n+"<img class='eac-icon' src='"+i.iconSrc(t)+"' />"}),r):n.type==="iconLeft"?(typeof i.iconSrc=="string"?r=function(n,t){return"<img class='eac-icon' src='"+t[i.iconSrc]+"' />"+n}:typeof i.iconSrc=="function"&&(r=function(n,t){return"<img class='eac-icon' src='"+i.iconSrc(t)+"' />"+n}),r):n.type==="links"?(typeof i.link=="string"?r=function(n,t){return"<a href='"+t[i.link]+"' >"+n+"</a>"}:typeof i.link=="function"&&(r=function(n,t){return"<a href='"+i.link(t)+"' >"+n+"</a>"}),r):n.type==="custom"?n.method:t.basic.method},r=function(n){return!n||!n.type?t.basic.method:n.type&&t[n.type]?u(n):t.basic.method},i=function(n){var i=function(){return""};return!n||!n.type?i:n.type&&t[n.type]?function(){var i=t[n.type].cssClass;return function(){return i}}():i};this.getTemplateClass=i(n),this.build=r(n)},n}(EasyAutocomplete||{}),EasyAutocomplete=function(n){return n.main=function(t,i){function nt(){if(u.length===0){a.error("Input field doesn't exist.");return}if(!r.checkDataUrlProperties()){a.error("One of options variables 'data' or 'url' must be defined.");return}if(!r.checkRequiredProperties()){a.error("Will not work without mentioned properties.");return}k(),tt()}function k(){function a(){var t=$("<div>"),n=s.getValue("WRAPPER_CSS_CLASS");r.get("theme")&&r.get("theme")!==""&&(n+=" eac-"+r.get("theme")),r.get("cssClasses")&&r.get("cssClasses")!==""&&(n+=" "+r.get("cssClasses")),y.getTemplateClass()!==""&&(n+=" "+y.getTemplateClass()),t.addClass(n),u.wrap(t),r.get("adjustWidth")===!0&&c()}function c(){var n=u.outerWidth();u.parent().css("width",n)}function p(){u.unwrap()}function v(){var t=$("<div>").addClass(s.getValue("CONTAINER_CLASS"));t.attr("id",b()).prepend($("<ul>")),function(){t.on("show.eac",function(){var i,n;switch(r.get("list").showAnimation.type){case"slide":i=r.get("list").showAnimation.time,n=r.get("list").showAnimation.callback,t.find("ul").slideDown(i,n);break;case"fade":i=r.get("list").showAnimation.time,n=r.get("list").showAnimation.callback,t.find("ul").fadeIn(i),n;break;default:t.find("ul").show()}r.get("list").onShowListEvent()}).on("hide.eac",function(){var i,n;switch(r.get("list").hideAnimation.type){case"slide":i=r.get("list").hideAnimation.time,n=r.get("list").hideAnimation.callback,t.find("ul").slideUp(i,n);break;case"fade":i=r.get("list").hideAnimation.time,n=r.get("list").hideAnimation.callback,t.find("ul").fadeOut(i,n);break;default:t.find("ul").hide()}r.get("list").onHideListEvent()}).on("selectElement.eac",function(){t.find("ul li").removeClass("selected"),t.find("ul li").eq(f).addClass("selected"),r.get("list").onSelectItemEvent()}).on("loadElements.eac",function(i,o,s){var w="",v=t.find("ul"),p,h,k,c,a,b;for(v.empty().detach(),e=[],p=0,h=0,k=o.length;h<k;h+=1)if(c=o[h].data,c.length!==0)for(o[h].header!==undefined&&o[h].header.length>0&&v.append("<div class='eac-category' >"+o[h].header+"</div>"),a=0,b=c.length;a<b&&p<o[h].maxListSize;a+=1)w=$("<li><div class='eac-item'></div></li>"),function(){var e=a,t=p,i=o[h].getValue(c[e]);w.find(" > div").on("click",function(){u.val(i).trigger("change"),f=t,l(t),r.get("list").onClickEvent(),r.get("list").onChooseEvent()}).mouseover(function(){f=t,l(t),r.get("list").onMouseOverEvent()}).mouseout(function(){r.get("list").onMouseOutEvent()}).html(y.build(n(i,s),c[e]))}(),v.append(w),e.push(c[a]),p+=1;t.append(v),r.get("list").onLoadEvent()})}(),u.after(t)}function t(){u.next("."+s.getValue("CONTAINER_CLASS")).remove()}function n(n,t){return r.get("highlightPhrase")&&t!==""?i(n,t):n}function o(n){return n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function i(n,t){var i=o(t);return(n+"").replace(new RegExp("("+i+")","gi"),"<b>$1</b>")}u.parent().hasClass(s.getValue("WRAPPER_CSS_CLASS"))&&(t(),p()),a(),v(),h=$("#"+b()),r.get("placeholder")&&u.attr("placeholder",r.get("placeholder"))}function b(){var n=u.attr("id");return n=s.getValue("CONTAINER_ID")+n}function tt(){function y(){g("autocompleteOff",!0)&&i(),h(),k(),b(),t(),n(),s()}function h(){u.focusout(function(){var i=u.val(),t,n,o;for(r.get("list").match.caseSensitive||(i=i.toLowerCase()),n=0,o=e.length;n<o;n+=1)if(t=r.get("getValue")(e[n]),r.get("list").match.caseSensitive||(t=t.toLowerCase()),t===i){f=n,l(f);return}})}function k(){u.off("keyup").keyup(function(n){function i(n){function s(){var t={},i=r.get("ajaxSettings")||{},n;for(n in i)t[n]=i[n];return t}function e(n,t){return r.get("matchResponseProperty")!==!1?typeof r.get("matchResponseProperty")=="string"?t[r.get("matchResponseProperty")]===n:typeof r.get("matchResponseProperty")=="function"?r.get("matchResponseProperty")(t)===n:!0:!0}var f,i,t;n.length<r.get("minCharNumber")||(r.get("data")!=="list-required"&&(f=r.get("data"),i=o.init(f),i=o.updateCategories(i,f),i=o.processData(i,n),w(i,n),u.parent().find("li").length>0?p():c()),t=s(),(t.url===undefined||t.url==="")&&(t.url=r.get("url")),(t.dataType===undefined||t.dataType==="")&&(t.dataType=r.get("dataType")),t.url!==undefined&&t.url!=="list-required"&&(t.url=t.url(n),t.data=r.get("preparePostData")(t.data,n),$.ajax(t).done(function(t){var i=o.init(t);i=o.updateCategories(i,t),i=o.convertXml(i),e(n,t)&&(i=o.processData(i,n),w(i,n)),o.checkIfDataExists(i)&&u.parent().find("li").length>0?p():c(),r.get("ajaxCallback")()}).fail(function(){a.warning("Fail to load response data")}).always(function(){})))}switch(n.keyCode){case 27:c(),d();break;case 38:n.preventDefault(),e.length>0&&f>0&&(f-=1,u.val(r.get("getValue")(e[f])),l(f));break;case 40:n.preventDefault(),e.length>0&&f<e.length-1&&(f+=1,u.val(r.get("getValue")(e[f])),l(f));break;default:if(n.keyCode>40||n.keyCode===8){var t=u.val();r.get("list").hideOnEmptyPhrase===!0&&n.keyCode===8&&t===""?c():r.get("requestDelay")>0?(v!==undefined&&clearTimeout(v),v=setTimeout(function(){i(t)},r.get("requestDelay"))):i(t)}}})}function b(){u.on("keydown",function(n){n=n||window.event;var t=n.keyCode;if(t===38)return suppressKeypress=!0,!1}).keydown(function(n){n.keyCode===13&&f>-1&&(u.val(r.get("getValue")(e[f])),window.location.href=$(".selected .eac-item .eac-title a").attr("href"),r.get("list").onKeyEnterEvent(),r.get("list").onChooseEvent(),f=-1,c(),n.preventDefault())})}function t(){u.off("keypress")}function n(){u.focus(function(){u.val()!==""&&e.length>0&&(f=-1,p())})}function s(){u.blur(function(){setTimeout(function(){f=-1,c()},250)})}function i(){u.attr("autocomplete","off")}y()}function p(){h.trigger("show.eac")}function c(){h.trigger("hide.eac")}function l(n){h.trigger("selectElement.eac",n)}function w(n,t){h.trigger("loadElements.eac",[n,t])}function d(){u.trigger("blur")}var it={name:"EasyAutocomplete",shortcut:"eac"},s=new n.Constans,r=new n.Configuration(i),a=new n.Logger,y=new n.Template(i.template),o=new n.ListBuilderService(r,n.proccess),g=r.equals,u=t,h="",e=[],f=-1,v;n.consts=s,this.getConstants=function(){return s},this.getConfiguration=function(){return r},this.getContainer=function(){return h},this.getSelectedItemIndex=function(){return f},this.getItems=function(){return e},this.getItemData=function(n){return e.length<n||e[n]===undefined?-1:e[n]},this.getSelectedItemData=function(){return this.getItemData(f)},this.build=function(){k()},this.init=function(){nt()}},n.eacHandles=[],n.getHandle=function(t){return n.eacHandles[t]},n.inputHasId=function(n){return $(n).attr("id")!==undefined&&$(n).attr("id").length>0?!0:!1},n.assignRandomId=function(t){var i="";do i="eac-"+Math.floor(Math.random()*1e4);while($("#"+i).length!==0);elementId=n.consts.getValue("CONTAINER_ID")+i,$(t).attr("id",i)},n.setHandle=function(t,i){n.eacHandles[i]=t},n}(EasyAutocomplete||{});(function(n){n.fn.easyAutocomplete=function(t){return this.each(function(){var i=n(this),r=new EasyAutocomplete.main(i,t);EasyAutocomplete.inputHasId(i)||EasyAutocomplete.assignRandomId(i),r.init(),EasyAutocomplete.setHandle(r,i.attr("id"))})},n.fn.getSelectedItemIndex=function(){var t=n(this).attr("id");return t!==undefined?EasyAutocomplete.getHandle(t).getSelectedItemIndex():-1},n.fn.getItems=function(){var t=n(this).attr("id");return t!==undefined?EasyAutocomplete.getHandle(t).getItems():-1},n.fn.getItemData=function(t){var i=n(this).attr("id");return i!==undefined&&t>-1?EasyAutocomplete.getHandle(i).getItemData(t):-1},n.fn.getSelectedItemData=function(){var t=n(this).attr("id");return t!==undefined?EasyAutocomplete.getHandle(t).getSelectedItemData():-1}})(jQuery),function(n){var t=function(t,i){var u=n.extend({},n.fn.nivoSlider.defaults,i),r={currentSlide:0,currentImage:"",totalSlides:0,running:!1,paused:!1,stop:!1,controlNavEl:!1},e=n(t),f,s,v,o,c,a;if(e.data("nivo:vars",r).addClass("nivoSlider"),f=e.children(),f.each(function(){var t=n(this),i="",f,u;t.is("img")||(t.is("a")&&(t.addClass("nivo-imageLink"),i=t),t=t.find("img:first")),f=f===0?t.attr("width"):t.width(),u=u===0?t.attr("height"):t.height(),i!==""&&i.css("display","none"),t.css("display","none"),r.totalSlides++}),u.randomStart&&(u.startSlide=Math.floor(Math.random()*r.totalSlides)),u.startSlide>0&&(u.startSlide>=r.totalSlides&&(u.startSlide=r.totalSlides-1),r.currentSlide=u.startSlide),r.currentImage=n(f[r.currentSlide]).is("img")?n(f[r.currentSlide]):n(f[r.currentSlide]).find("img:first"),n(f[r.currentSlide]).is("a")&&n(f[r.currentSlide]).css("display","block"),s=n("<img/>").addClass("nivo-main-image"),s.attr("src",r.currentImage.attr("src")).show(),e.append(s),n(window).resize(function(){e.children("img").width(e.width()),s.attr("src",r.currentImage.attr("src")),s.stop().height("auto"),n(".nivo-slice").remove(),n(".nivo-box").remove()}),e.append(n('<div class="nivo-caption"></div>')),v=function(t){var u=n(".nivo-caption",e),i;r.currentImage.attr("title")!=""&&r.currentImage.attr("title")!=undefined?(i=r.currentImage.attr("title"),i.substr(0,1)=="#"&&(i=n(i).html()),u.css("display")=="block"?setTimeout(function(){u.html(i)},t.animSpeed):(u.html(i),u.stop().fadeIn(t.animSpeed))):u.stop().fadeOut(t.animSpeed)},v(u),o=0,!u.manualAdvance&&f.length>1&&(o=setInterval(function(){l(e,f,u,!1)},u.pauseTime)),u.directionNav){e.append('<div class="nivo-directionNav"><a class="nivo-prevNav">'+u.prevText+'</a><a class="nivo-nextNav">'+u.nextText+"</a></div>");n(e).on("click","a.nivo-prevNav",function(){if(r.running)return!1;clearInterval(o),o="",r.currentSlide-=2,l(e,f,u,"prev")});n(e).on("click","a.nivo-nextNav",function(){if(r.running)return!1;clearInterval(o),o="",l(e,f,u,"next")})}if(u.controlNav){for(r.controlNavEl=n('<div class="nivo-controlNav"></div>'),e.after(r.controlNavEl),c=0;c<f.length;c++)u.controlNavThumbs?(r.controlNavEl.addClass("nivo-thumbs-enabled"),a=f.eq(c),a.is("img")||(a=a.find("img:first")),a.attr("data-thumb")&&r.controlNavEl.append('<a class="nivo-control" rel="'+c+'"><img src="'+a.attr("data-thumb")+'" alt="" /></a>')):r.controlNavEl.append('<a class="nivo-control" rel="'+c+'">'+(c+1)+"</a>");n("a:eq("+r.currentSlide+")",r.controlNavEl).addClass("active"),n("a",r.controlNavEl).bind("click",function(){if(r.running||n(this).hasClass("active"))return!1;clearInterval(o),o="",s.attr("src",r.currentImage.attr("src")),r.currentSlide=n(this).attr("rel")-1,l(e,f,u,"control")})}u.pauseOnHover&&e.hover(function(){r.paused=!0,clearInterval(o),o=""},function(){r.paused=!1,o!==""||u.manualAdvance||(o=setInterval(function(){l(e,f,u,!1)},u.pauseTime))}),e.bind("nivo:animFinished",function(){s.attr("src",r.currentImage.attr("src")),r.running=!1,n(f).each(function(){n(this).is("a")&&n(this).css("display","none")}),n(f[r.currentSlide]).is("a")&&n(f[r.currentSlide]).css("display","block"),o!==""||r.paused||u.manualAdvance||(o=setInterval(function(){l(e,f,u,!1)},u.pauseTime)),u.afterChange.call(this)});var h=function(t,i,r){var e,f,u;for(n(r.currentImage).parent().is("a")&&n(r.currentImage).parent().css("display","block"),n('img[src="'+r.currentImage.attr("src")+'"]',t).not(".nivo-main-image,.nivo-control img").width(t.width()).css("visibility","hidden").show(),e=n('img[src="'+r.currentImage.attr("src")+'"]',t).not(".nivo-main-image,.nivo-control img").parent().is("a")?n('img[src="'+r.currentImage.attr("src")+'"]',t).not(".nivo-main-image,.nivo-control img").parent().height():n('img[src="'+r.currentImage.attr("src")+'"]',t).not(".nivo-main-image,.nivo-control img").height(),f=0;f<i.slices;f++)u=Math.round(t.width()/i.slices),f===i.slices-1?t.append(n('<div class="nivo-slice" name="'+f+'"><img src="'+r.currentImage.attr("src")+'" style="position:absolute; width:'+t.width()+"px; height:auto; display:block !important; top:0; left:-"+(u+f*u-u)+'px;" /></div>').css({left:u*f+"px",width:t.width()-u*f+"px",height:e+"px",opacity:"0",overflow:"hidden"})):t.append(n('<div class="nivo-slice" name="'+f+'"><img src="'+r.currentImage.attr("src")+'" style="position:absolute; width:'+t.width()+"px; height:auto; display:block !important; top:0; left:-"+(u+f*u-u)+'px;" /></div>').css({left:u*f+"px",width:u+"px",height:e+"px",opacity:"0",overflow:"hidden"}));n(".nivo-slice",t).height(e),s.stop().animate({height:n(r.currentImage).height()},i.animSpeed)},p=function(t,i,r){var e,o,f,u;for(n(r.currentImage).parent().is("a")&&n(r.currentImage).parent().css("display","block"),n('img[src="'+r.currentImage.attr("src")+'"]',t).not(".nivo-main-image,.nivo-control img").width(t.width()).css("visibility","hidden").show(),e=Math.round(t.width()/i.boxCols),o=Math.round(n('img[src="'+r.currentImage.attr("src")+'"]',t).not(".nivo-main-image,.nivo-control img").height()/i.boxRows),f=0;f<i.boxRows;f++)for(u=0;u<i.boxCols;u++)u===i.boxCols-1?(t.append(n('<div class="nivo-box" name="'+u+'" rel="'+f+'"><img src="'+r.currentImage.attr("src")+'" style="position:absolute; width:'+t.width()+"px; height:auto; display:block; top:-"+o*f+"px; left:-"+e*u+'px;" /></div>').css({opacity:0,left:e*u+"px",top:o*f+"px",width:t.width()-e*u+"px"})),n('.nivo-box[name="'+u+'"]',t).height(n('.nivo-box[name="'+u+'"] img',t).height()+"px")):(t.append(n('<div class="nivo-box" name="'+u+'" rel="'+f+'"><img src="'+r.currentImage.attr("src")+'" style="position:absolute; width:'+t.width()+"px; height:auto; display:block; top:-"+o*f+"px; left:-"+e*u+'px;" /></div>').css({opacity:0,left:e*u+"px",top:o*f+"px",width:e+"px"})),n('.nivo-box[name="'+u+'"]',t).height(n('.nivo-box[name="'+u+'"] img',t).height()+"px"));s.stop().animate({height:n(r.currentImage).height()},i.animSpeed)},l=function(t,i,r,u){var f=t.data("nivo:vars"),e,y,ut,g,b,nt;if(f&&f.currentSlide===f.totalSlides-1&&r.lastSlide.call(this),(!f||f.stop)&&!u)return!1;r.beforeChange.call(this),u?(u==="prev"&&s.attr("src",f.currentImage.attr("src")),u==="next"&&s.attr("src",f.currentImage.attr("src"))):s.attr("src",f.currentImage.attr("src")),f.currentSlide++,f.currentSlide===f.totalSlides&&(f.currentSlide=0,r.slideshowEnd.call(this)),f.currentSlide<0&&(f.currentSlide=f.totalSlides-1),f.currentImage=n(i[f.currentSlide]).is("img")?n(i[f.currentSlide]):n(i[f.currentSlide]).find("img:first"),r.controlNav&&(n("a",f.controlNavEl).removeClass("active"),n("a:eq("+f.currentSlide+")",f.controlNavEl).addClass("active")),v(r),n(".nivo-slice",t).remove(),n(".nivo-box",t).remove(),e=r.effect,y="",r.effect==="random"&&(y=["sliceDownRight","sliceDownLeft","sliceUpRight","sliceUpLeft","sliceUpDown","sliceUpDownLeft","fold","fade","boxRandom","boxRain","boxRainReverse","boxRainGrow","boxRainGrowReverse"],e=y[Math.floor(Math.random()*(y.length+1))],e===undefined&&(e="fade")),r.effect.indexOf(",")!==-1&&(y=r.effect.split(","),e=y[Math.floor(Math.random()*y.length)],e===undefined&&(e="fade")),f.currentImage.attr("data-transition")&&(e=f.currentImage.attr("data-transition")),f.running=!0;var o=0,c=0,a="",l="",tt="",k="";if(e==="sliceDown"||e==="sliceDownRight"||e==="sliceDownLeft")h(t,r,f),o=0,c=0,a=n(".nivo-slice",t),e==="sliceDownLeft"&&(a=n(".nivo-slice",t)._reverse()),a.each(function(){var i=n(this);i.css({top:"0px"}),c===r.slices-1?setTimeout(function(){i.animate({opacity:"1.0"},r.animSpeed,"",function(){t.trigger("nivo:animFinished")})},100+o):setTimeout(function(){i.animate({opacity:"1.0"},r.animSpeed)},100+o),o+=50,c++});else if(e==="sliceUp"||e==="sliceUpRight"||e==="sliceUpLeft")h(t,r,f),o=0,c=0,a=n(".nivo-slice",t),e==="sliceUpLeft"&&(a=n(".nivo-slice",t)._reverse()),a.each(function(){var i=n(this);i.css({bottom:"0px"}),c===r.slices-1?setTimeout(function(){i.animate({opacity:"1.0"},r.animSpeed,"",function(){t.trigger("nivo:animFinished")})},100+o):setTimeout(function(){i.animate({opacity:"1.0"},r.animSpeed)},100+o),o+=50,c++});else if(e==="sliceUpDown"||e==="sliceUpDownRight"||e==="sliceUpDownLeft")h(t,r,f),o=0,c=0,ut=0,a=n(".nivo-slice",t),e==="sliceUpDownLeft"&&(a=n(".nivo-slice",t)._reverse()),a.each(function(){var i=n(this);c===0?(i.css("top","0px"),c++):(i.css("bottom","0px"),c=0),ut===r.slices-1?setTimeout(function(){i.animate({opacity:"1.0"},r.animSpeed,"",function(){t.trigger("nivo:animFinished")})},100+o):setTimeout(function(){i.animate({opacity:"1.0"},r.animSpeed)},100+o),o+=50,ut++});else if(e==="fold")h(t,r,f),o=0,c=0,n(".nivo-slice",t).each(function(){var i=n(this),u=i.width();i.css({top:"0px",width:"0px"}),c===r.slices-1?setTimeout(function(){i.animate({width:u,opacity:"1.0"},r.animSpeed,"",function(){t.trigger("nivo:animFinished")})},100+o):setTimeout(function(){i.animate({width:u,opacity:"1.0"},r.animSpeed)},100+o),o+=50,c++});else if(e==="fade")h(t,r,f),l=n(".nivo-slice:first",t),l.css({width:t.width()+"px"}),l.animate({opacity:"1.0"},r.animSpeed*2,"",function(){t.trigger("nivo:animFinished")});else if(e==="slideInRight")h(t,r,f),l=n(".nivo-slice:first",t),l.css({width:"0px",opacity:"1"}),l.animate({width:t.width()+"px"},r.animSpeed*2,"",function(){t.trigger("nivo:animFinished")});else if(e==="slideInLeft")h(t,r,f),l=n(".nivo-slice:first",t),l.css({width:"0px",opacity:"1",left:"",right:"0px"}),l.animate({width:t.width()+"px"},r.animSpeed*2,"",function(){l.css({left:"0px",right:""}),t.trigger("nivo:animFinished")});else if(e==="boxRandom")p(t,r,f),tt=r.boxCols*r.boxRows,c=0,o=0,k=w(n(".nivo-box",t)),k.each(function(){var i=n(this);c===tt-1?setTimeout(function(){i.animate({opacity:"1"},r.animSpeed,"",function(){t.trigger("nivo:animFinished")})},100+o):setTimeout(function(){i.animate({opacity:"1"},r.animSpeed)},100+o),o+=20,c++});else if(e==="boxRain"||e==="boxRainReverse"||e==="boxRainGrow"||e==="boxRainGrowReverse"){p(t,r,f),tt=r.boxCols*r.boxRows,c=0,o=0;var it=0,rt=0,d=[];for(d[it]=[],k=n(".nivo-box",t),(e==="boxRainReverse"||e==="boxRainGrowReverse")&&(k=n(".nivo-box",t)._reverse()),k.each(function(){d[it][rt]=n(this),rt++,rt===r.boxCols&&(it++,rt=0,d[it]=[])}),g=0;g<r.boxCols*2;g++){for(b=g,nt=0;nt<r.boxRows;nt++)b>=0&&b<r.boxCols&&(function(i,u,f,o,s){var h=n(d[i][u]),l=h.width(),c=h.height();(e==="boxRainGrow"||e==="boxRainGrowReverse")&&h.width(0).height(0),o===s-1?setTimeout(function(){h.animate({opacity:"1",width:l,height:c},r.animSpeed/1.3,"",function(){t.trigger("nivo:animFinished")})},100+f):setTimeout(function(){h.animate({opacity:"1",width:l,height:c},r.animSpeed/1.3)},100+f)}(nt,b,o,c,tt),c++),b--;o+=100}}},w=function(n){for(var i,r,t=n.length;t;i=parseInt(Math.random()*t,10),r=n[--t],n[t]=n[i],n[i]=r);return n},y=function(n){this.console&&typeof console.log!="undefined"&&console.log(n)};return this.stop=function(){n(t).data("nivo:vars").stop||(n(t).data("nivo:vars").stop=!0,y("Stop Slider"))},this.start=function(){n(t).data("nivo:vars").stop&&(n(t).data("nivo:vars").stop=!1,y("Start Slider"))},u.afterLoad.call(this),this};n.fn.nivoSlider=function(i){return this.each(function(){var f=n(this),e;if(f.data("nivoslider"))return f.data("nivoslider");e=new t(this,i),f.data("nivoslider",e)})},n.fn.nivoSlider.defaults={effect:"random",slices:15,boxCols:8,boxRows:4,animSpeed:500,pauseTime:3e3,startSlide:0,directionNav:!0,controlNav:!0,controlNavThumbs:!1,pauseOnHover:!0,manualAdvance:!1,prevText:"Prev",nextText:"Next",randomStart:!1,beforeChange:function(){},afterChange:function(){},slideshowEnd:function(){},lastSlide:function(){},afterLoad:function(){}},n.fn._reverse=[].reverse}(jQuery);var wt_frequencyAnalysis=function(n){var c,a,s,h,e,f,o,u;if(n.mode=="page"&&n.type=="before"&&n.requestCounter==1){var r=180,y=180,l="daily;weekly;monthly",t=new this.cookieManager("wt_fa",r,"/"),v=new this.cookieManager("wt_fa_s","","/"),i=0;if(this.config.customSessionParameter||(this.config.customSessionParameter={}),c=function(n){if(!isNaN(n)){var i=new Date,t=new Date(n),u=new Date(i.getFullYear(),i.getMonth(),i.getDate()),r=new Date(t.getFullYear(),t.getMonth(),t.getDate());return parseInt((u-r)/864e5)}return 0},a=function(n){var r=!1,t=!1;switch(n){case"daily":i==1&&(r="1",t="682");break;case"weekly":i<=7&&i>0&&(r="1",t="683");break;case"monthly":i<=30&&i>0&&(r="1",t="684")}return[r,t]},!v.get("start")){if(t.get("lv")&&(i=c(parseInt(t.get("lv"))),t.set("vf",i,r*86400),this.config.customSessionParameter["680"]=i+""),t.set("lv",+new Date,r*86400),t.get("cv")?i<=y?(s=parseInt(t.get("cv")),s++,this.config.customSessionParameter["681"]=s+"",t.set("cv",s,r*86400)):(t.set("cv","1",r*86400),this.config.customSessionParameter["681"]="1"):(t.set("cv","1",r*86400),this.config.customSessionParameter["681"]="1"),l)for(h=l.split(";"),e=0;e<h.length;e++)if(f=a(h[e]),f[0]){this.config.customSessionParameter[f[1]]=f[0];break}t.get("fv")?this.config.customSessionParameter["685"]=t.get("fv"):(o=new Date,u=o.getFullYear()+"-",u+=o.getMonth()<9?"0":"",u+=o.getMonth()+1,t.set("fv",u,r*86400),this.config.customSessionParameter["685"]=u)}v.set("start","1")}},wt_pageLoadTime=function(n){if(n.mode=="page"&&n.type=="before"&&n.requestCounter==1&&(this.pageLoadTime={samplingRate:50},this.sendPageLoadTime=function(){wt_plt.deactivatePixel=!1;var n=wt_plt.performance.timing.loadEventStart-wt_plt.performance.timing.fetchStart;n>0&&(wt_plt.customParameter||(wt_plt.customParameter={}),wt_plt.customParameter[570]=""+n),wt_plt.sendinfo()},this.performance=!1,typeof window.performance!="undefined"?this.performance=window.performance:typeof window.webkitPerformance!="undefined"&&(this.performance=window.webkitPerformance),this.performance&&typeof this.performance.timing!="undefined")){var t=this.pageLoadTime.samplingRate?this.pageLoadTime.samplingRate:50;Math&&Math.random&&parseInt(Math.random()*parseInt(t))==0&&(this.deactivatePixel||this.orderId||(this.deactivatePixel=!0,wt_plt=this,this.registerEvent(window,"load",wt_plt.sendPageLoadTime)))}},wt_socialMedia=function(n){if(n.requestCounter=="1"&&n.mode=="page"){typeof window.wt_instance=="undefined"&&(window.wt_instance=[]),window.wt_instance.push(this);var t=window.wt_instance[window.wt_instance.length-1];try{FB&&FB.Event&&FB.Event.subscribe&&FB.Event.subscribe("edge.create",function(){t.send("social media button","click","ck550=facebook - i like")})}catch(i){}try{FB&&FB.Event&&FB.Event.subscribe&&FB.Event.subscribe("edge.remove",function(){t.send("social media button","click","ck550=facebook - unlike")})}catch(i){}try{FB&&FB.Event&&FB.Event.subscribe&&FB.Event.subscribe("message.send",function(){t.send("social media button","click","ck550=facebook - send")})}catch(i){}try{twttr&&twttr.events&&twttr.events.bind&&twttr.events.bind("tweet",function(n){n&&t.send("social media button","click","ck550=twitter - tweet")})}catch(i){}this.googlePlusone=function(){for(var t=0;t<window.wt_instance.length;t++)typeof window.wt_instance[t].sendGooglePlusone=="undefined"&&(window.wt_instance[t].send("social media button","click","ck550=google - plus one"),window.wt_instance[t].sendGooglePlusone=!0)},window.wt_googlePlusone=this.googlePlusone}},beforeWebtrekk=function(){console.log("Send 3rd-Party Pixel before Webtrekk Pixel with trackId "+this.trackId)},afterWebtrekk=function(){console.log("Send 3rd-Party Pixel after Webtrekk Pixel with trackId "+this.trackId)},beforeUnloadPixel=function(){console.log("Perform something prior to sending Unload Pixel")},afterUnloadPixel=function(){console.log("Perform something after sending Unload Pixel")},webtrekkConfig={trackId:"283788795542233",trackDomain:"portalcz01.webtrekk.net",domain:"portal.cz;www.portal.cz;obchod.portal.cz",cookie:"1",contentId:""},webtrekkUnloadObjects=[],webtrekkLinktrackObjects=[],webtrekkHeatmapObjects=[];webtrekkPixel=!1,typeof webtrekk=="object"&&(webtrekkConfig=webtrekk,webtrekkPixel=new webtrekkV3,typeof wt_updatePixel=="function"&&wt_updatePixel(),webtrekk.sendinfo&&webtrekk.sendinfo=="1"&&webtrekkPixel.sendinfo())