function show_info_popup(n,t){overlib('<div class="popup_box clearfix"><div class="clearfix"><div class="header pull-left">'+n+'<\/div><div class="pull-right"><img src="/content/images/icons/dialog_close.jpg" alt="sluiten" onclick="nd()"><\/div><\/div><div class="content">'+t+"<\/div><\/div>",BACKGROUND,"/content/images/misc/ittybittyclear.gif")}function overlib(){return!olLoaded||isExclusive(overlib.arguments)?!0:(olCheckMouseCapture&&olMouseCapture(),over&&(over=typeof over.id!="string"?o3_frame.document.all.overdiv:over,cClick()),olHideDelay=0,o3_text=ol_text,o3_cap=ol_cap,o3_sticky=ol_sticky,o3_background=ol_background,o3_close=ol_close,o3_hpos=ol_hpos,o3_offsetx=ol_offsetx,o3_offsety=ol_offsety,o3_fgcolor=ol_fgcolor,o3_bgcolor=ol_bgcolor,o3_textcolor=ol_textcolor,o3_capcolor=ol_capcolor,o3_closecolor=ol_closecolor,o3_width=ol_width,o3_border=ol_border,o3_cellpad=ol_cellpad,o3_status=ol_status,o3_autostatus=ol_autostatus,o3_height=ol_height,o3_snapx=ol_snapx,o3_snapy=ol_snapy,o3_fixx=ol_fixx,o3_fixy=ol_fixy,o3_relx=ol_relx,o3_rely=ol_rely,o3_fgbackground=ol_fgbackground,o3_bgbackground=ol_bgbackground,o3_padxl=ol_padxl,o3_padxr=ol_padxr,o3_padyt=ol_padyt,o3_padyb=ol_padyb,o3_fullhtml=ol_fullhtml,o3_vpos=ol_vpos,o3_aboveheight=ol_aboveheight,o3_capicon=ol_capicon,o3_textfont=ol_textfont,o3_captionfont=ol_captionfont,o3_closefont=ol_closefont,o3_textsize=ol_textsize,o3_captionsize=ol_captionsize,o3_closesize=ol_closesize,o3_timeout=ol_timeout,o3_function=ol_function,o3_delay=ol_delay,o3_hauto=ol_hauto,o3_vauto=ol_vauto,o3_closeclick=ol_closeclick,o3_wrap=ol_wrap,o3_followmouse=ol_followmouse,o3_mouseoff=ol_mouseoff,o3_closetitle=ol_closetitle,o3_css=ol_css,o3_compatmode=ol_compatmode,o3_fgclass=ol_fgclass,o3_bgclass=ol_bgclass,o3_textfontclass=ol_textfontclass,o3_captionfontclass=ol_captionfontclass,o3_closefontclass=ol_closefontclass,setRunTimeVariables(),fnRef="",o3_frame=ol_frame,!(over=createDivContainer()))?!1:(parseTokens("o3_",overlib.arguments),!postParseChecks("o3_",overlib.arguments))?!1:o3_delay==0?runHook("olMain",FREPLACE):(o3_delayid=setTimeout("runHook('olMain', FREPLACE)",o3_delay),!1)}function nd(n){return olLoaded&&!isExclusive()&&(hideDelay(n),o3_removecounter>=1&&(o3_showingsticky=0),o3_showingsticky==0?(o3_allowmove=0,over!=null&&(o3_compatmode?1:o3_timerid==0)&&runHook("hideObject",FREPLACE,over)):o3_removecounter++),!0}function cClick(){return olLoaded&&(runHook("hideObject",FREPLACE,over),o3_showingsticky=0),!1}function overlib_pagedefaults(){parseTokens("ol_",overlib_pagedefaults.arguments)}function olMain(){var t,n;return(runHook("olMain",FBEFORE),o3_background!=""||o3_fullhtml?t=runHook("ol_content_background",FALTERNATE,o3_css,o3_text,o3_background,o3_fullhtml):(n=pms[o3_css-1-pmStart]=="cssoff"||pms[o3_css-1-pmStart]=="cssclass",o3_fgbackground!=""&&(o3_fgbackground='background="'+o3_fgbackground+'"'),o3_bgbackground!=""&&(o3_bgbackground=n?'background="'+o3_bgbackground+'"':o3_bgbackground),o3_fgcolor!=""&&(o3_fgcolor=n?'bgcolor="'+o3_fgcolor+'"':o3_fgcolor),o3_bgcolor!=""&&(o3_bgcolor=n?'bgcolor="'+o3_bgcolor+'"':o3_bgcolor),o3_height=o3_height>0?n?'height="'+o3_height+'"':o3_height:"",t=o3_cap==""?runHook("ol_content_simple",FALTERNATE,o3_css,o3_text):o3_sticky?runHook("ol_content_caption",FALTERNATE,o3_css,o3_text,o3_cap,o3_close):runHook("ol_content_caption",FALTERNATE,o3_css,o3_text,o3_cap,"")),o3_sticky&&(o3_timerid>0&&(clearTimeout(o3_timerid),o3_timerid=0),o3_showingsticky=1,o3_removecounter=0),!runHook("olCreatePopup",FREPLACE,t))?!1:(o3_autostatus>0&&(o3_status=o3_text,o3_autostatus>1&&(o3_status=o3_cap),o3_wrap&&(o3_status=o3_status.replace(/&nbsp;/g," "))),o3_allowmove=0,o3_timeout>0&&(o3_timerid>0&&clearTimeout(o3_timerid),o3_timerid=setTimeout("cClick()",o3_timeout)),runHook("disp",FREPLACE,o3_status),runHook("olMain",FAFTER),olOp&&event&&event.type=="mouseover"&&!o3_status?"":o3_status!="")}function ol_content_simple(n){var t=/,/.test(o3_cellpad),i='<table width="100%" border="0" cellpadding="'+o3_border+'" cellspacing="0" '+(o3_bgclass?'class="'+o3_bgclass+'"':o3_bgcolor+" "+o3_height)+'><tr><td><table width="100%" border="0" '+(olNs4||!t?'cellpadding="'+o3_cellpad+'" ':"")+'cellspacing="0" '+(o3_fgclass?'class="'+o3_fgclass+'"':o3_fgcolor+" "+o3_fgbackground+" "+o3_height)+'><tr><td valign="TOP"'+(o3_textfontclass?' class="'+o3_textfontclass+'">':!olNs4&&t?' style="'+setCellPadStr(o3_cellpad)+'">':">")+(o3_textfontclass?"":wrapStr(0,o3_textsize,"text"))+n+(o3_textfontclass?"":wrapStr(1,o3_textsize))+"<\/td><\/tr><\/table><\/td><\/tr><\/table>";return set_background(""),i}function ol_content_caption(n,t,i){var r,e,o=/,/.test(o3_cellpad),u,f;return u="",f="onmouseover",o3_closeclick==1&&(f=(o3_closetitle?"title='"+o3_closetitle+"'":"")+" onclick"),o3_capicon!=""&&(r=' hspace = "5" align = "middle" alt = ""',typeof o3_dragimg!="undefined"&&o3_dragimg&&(r=' hspace="5" name="'+o3_dragimg+'" id="'+o3_dragimg+'" align="middle" alt="Drag Enabled" title="Drag Enabled"'),o3_capicon='<img src="'+o3_capicon+'"'+r+" />"),i!=""&&(u="<td "+(!o3_compatmode&&o3_closefontclass?'class="'+o3_closefontclass:'align="RIGHT')+'"><a href="javascript:return '+fnRef+'cClick()"'+(o3_compatmode&&o3_closefontclass?' class="'+o3_closefontclass+'" ':" ")+f+'="return '+fnRef+'cClick()">'+(o3_closefontclass?"":wrapStr(0,o3_closesize,"close"))+i+(o3_closefontclass?"":wrapStr(1,o3_closesize,"close"))+"<\/a><\/td>"),e='<table width="'+o3_width+'" border="0" cellpadding="'+o3_border+'" cellspacing="0" '+(o3_bgclass?'class="'+o3_bgclass+'"':o3_bgcolor+" "+o3_bgbackground+" "+o3_height)+'><tr><td><table width="100%" border="0" cellpadding="2" cellspacing="0"><tr><td'+(o3_captionfontclass?' class="'+o3_captionfontclass+'">':">")+(o3_captionfontclass?"":"<b>"+wrapStr(0,o3_captionsize,"caption"))+o3_capicon+t+(o3_captionfontclass?"":wrapStr(1,o3_captionsize)+"<\/b>")+"<\/td>"+u+'<\/tr><\/table><table width="100%" border="0" '+(olNs4||!o?'cellpadding="'+o3_cellpad+'" ':"")+'cellspacing="0" '+(o3_fgclass?'class="'+o3_fgclass+'"':o3_fgcolor+" "+o3_fgbackground+" "+o3_height)+'><tr><td valign="TOP"'+(o3_textfontclass?' class="'+o3_textfontclass+'">':!olNs4&&o?' style="'+setCellPadStr(o3_cellpad)+'">':">")+(o3_textfontclass?"":wrapStr(0,o3_textsize,"text"))+n+(o3_textfontclass?"":wrapStr(1,o3_textsize))+"<\/td><\/tr><\/table><\/td><\/tr><\/table>",set_background(""),e}function ol_content_background(n,t,i){var r;return r=i?n:'<table width="'+o3_width+'" border="0" cellpadding="0" cellspacing="0" height="'+o3_height+'"><tr><td colspan="3" height="'+o3_padyt+'"><\/td><\/tr><tr><td width="'+o3_padxl+'"><\/td><td valign="TOP" width="100%">'+(o3_textfontclass?"":wrapStr(0,o3_textsize,"text"))+n+(o3_textfontclass?"":wrapStr(1,o3_textsize))+'<\/td><td width="'+o3_padxr+'"><\/td><\/tr><tr><td colspan="3" height="'+o3_padyb+'"><\/td><\/tr><\/table>',set_background(t),r}function set_background(n){n==""?olNs4?over.background.src=null:over.style&&(over.style.backgroundImage="none"):olNs4?over.background.src=n:over.style&&(over.style.width=o3_width+"px",over.style.backgroundImage="url("+n+")")}function disp(n){runHook("disp",FBEFORE,n);o3_allowmove==0&&(runHook("placeLayer",FREPLACE),olNs6&&olShowId<0?olShowId=setTimeout("runHook('showObject', FREPLACE, over)",1):runHook("showObject",FREPLACE,over),o3_allowmove=o3_sticky||o3_followmouse==0?0:1);runHook("disp",FAFTER,n);n!=""&&(self.status=n)}function olCreatePopup(n){if(runHook("olCreatePopup",FBEFORE,n),o3_wrap){var t,i,r=olNs4?over:over.style;r.top=r.left=(olIe4&&!olOp?0:-1e4)+(olNs4?0:"px");layerWrite(n);t=olNs4?over.clip.width:over.offsetWidth;t>(i=windowWidth())&&(n=n.replace(/\&nbsp;/g," "),o3_width=i,o3_wrap=0)}return layerWrite(n),o3_wrap&&(o3_width=olNs4?over.clip.width:over.offsetWidth),runHook("olCreatePopup",FAFTER,n),!0}function placeLayer(){var placeX,placeY,widthFix=0;o3_frame.innerWidth&&(widthFix=18);iwidth=windowWidth();winoffset=olIe4?eval("o3_frame."+docRoot+".scrollLeft"):o3_frame.pageXOffset;placeX=runHook("horizontalPlacement",FCHAIN,iwidth,winoffset,widthFix);o3_frame.innerHeight?iheight=o3_frame.innerHeight:eval("o3_frame."+docRoot)&&eval("typeof o3_frame."+docRoot+".clientHeight=='number'")&&eval("o3_frame."+docRoot+".clientHeight")&&(iheight=eval("o3_frame."+docRoot+".clientHeight"));scrolloffset=olIe4?eval("o3_frame."+docRoot+".scrollTop"):o3_frame.pageYOffset;placeY=runHook("verticalPlacement",FCHAIN,iheight,scrolloffset);repositionTo(over,placeX,placeY)}function olMouseMove(e){var e=e?e:event;e.pageX?(o3_x=e.pageX,o3_y=e.pageY):e.clientX&&(o3_x=eval("e.clientX+o3_frame."+docRoot+".scrollLeft"),o3_y=eval("e.clientY+o3_frame."+docRoot+".scrollTop"));o3_allowmove==1&&runHook("placeLayer",FREPLACE);hoveringSwitch&&!olNs4&&runHook("cursorOff",FREPLACE)&&(olHideDelay?hideDelay(olHideDelay):cClick(),hoveringSwitch=!hoveringSwitch)}function no_overlib(){return ver3fix}function olMouseCapture(){capExtent=document;var fN,str="",l,k,f,wMv,sS,mseHandler=olMouseMove,re=/function[ ]*(\w*)\(/;if(wMv=!olIe4&&window.onmousemove,document.onmousemove||wMv){if(wMv&&(capExtent=window),f=capExtent.onmousemove.toString(),fN=f.match(re),fN==null)str=f+"(e); ";else if(fN[1]=="anonymous"||fN[1]=="olMouseMove"||wMv&&fN[1]=="onmousemove"){if(!olOp&&wMv&&(l=f.indexOf("{")+1,k=f.lastIndexOf("}"),sS=f.substring(l,k),(l=sS.indexOf("("))!=-1&&(sS=sS.substring(0,l).replace(/^\s+/,"").replace(/\s+$/,""),eval("typeof "+sS+" == 'undefined'")?window.onmousemove=null:str=sS+"(e);")),!str){olCheckMouseCapture=!1;return}}else fN[1]?str=fN[1]+"(e); ":(l=f.indexOf("{")+1,k=f.lastIndexOf("}"),str=f.substring(l,k)+"\n");str+="olMouseMove(e); ";mseHandler=new Function("e",str)}capExtent.onmousemove=mseHandler;olNs4&&capExtent.captureEvents(Event.MOUSEMOVE)}function parseTokens(pf,ar){for(var v,mode=-1,par=pf!="ol_",fnMark=par&&!ar.length?1:0,tReg,i=0;i<ar.length;i++)if(mode<0){if(typeof ar[i]=="number"&&ar[i]>pmStart&&ar[i]<pmUpper)fnMark=par?1:0,i--;else switch(pf){case"ol_":ol_text=ar[i].toString();break;default:o3_text=ar[i].toString()}mode=0}else{if(ar[i]>=pmCount||ar[i]==DONOTHING)continue;if(ar[i]==INARRAY){fnMark=0;eval(pf+"text=ol_texts["+ar[++i]+"].toString()");continue}if(ar[i]==CAPARRAY){eval(pf+"cap=ol_caps["+ar[++i]+"].toString()");continue}if(ar[i]==STICKY){pf!="ol_"&&eval(pf+"sticky=1");continue}if(ar[i]==BACKGROUND){eval(pf+'background="'+ar[++i]+'"');continue}if(ar[i]==NOCLOSE){pf!="ol_"&&opt_NOCLOSE();continue}if(ar[i]==CAPTION){eval(pf+"cap='"+escSglQuote(ar[++i])+"'");continue}if(ar[i]==CENTER||ar[i]==LEFT||ar[i]==RIGHT){eval(pf+"hpos="+ar[i]);pf!="ol_"&&(olHautoFlag=1);continue}if(ar[i]==OFFSETX){eval(pf+"offsetx="+ar[++i]);continue}if(ar[i]==OFFSETY){eval(pf+"offsety="+ar[++i]);continue}if(ar[i]==FGCOLOR){eval(pf+'fgcolor="'+ar[++i]+'"');continue}if(ar[i]==BGCOLOR){eval(pf+'bgcolor="'+ar[++i]+'"');continue}if(ar[i]==TEXTCOLOR){eval(pf+'textcolor="'+ar[++i]+'"');continue}if(ar[i]==CAPCOLOR){eval(pf+'capcolor="'+ar[++i]+'"');continue}if(ar[i]==CLOSECOLOR){eval(pf+'closecolor="'+ar[++i]+'"');continue}if(ar[i]==WIDTH){eval(pf+"width="+ar[++i]);continue}if(ar[i]==BORDER){eval(pf+"border="+ar[++i]);continue}if(ar[i]==CELLPAD){i=opt_MULTIPLEARGS(++i,ar,pf+"cellpad");continue}if(ar[i]==STATUS){eval(pf+"status='"+escSglQuote(ar[++i])+"'");continue}if(ar[i]==AUTOSTATUS){eval(pf+"autostatus=("+pf+"autostatus == 1) ? 0 : 1");continue}if(ar[i]==AUTOSTATUSCAP){eval(pf+"autostatus=("+pf+"autostatus == 2) ? 0 : 2");continue}if(ar[i]==HEIGHT){eval(pf+"height="+pf+"aboveheight="+ar[++i]);continue}if(ar[i]==CLOSETEXT){eval(pf+"close='"+escSglQuote(ar[++i])+"'");continue}if(ar[i]==SNAPX){eval(pf+"snapx="+ar[++i]);continue}if(ar[i]==SNAPY){eval(pf+"snapy="+ar[++i]);continue}if(ar[i]==FIXX){eval(pf+"fixx="+ar[++i]);continue}if(ar[i]==FIXY){eval(pf+"fixy="+ar[++i]);continue}if(ar[i]==RELX){eval(pf+"relx="+ar[++i]);continue}if(ar[i]==RELY){eval(pf+"rely="+ar[++i]);continue}if(ar[i]==FGBACKGROUND){eval(pf+'fgbackground="'+ar[++i]+'"');continue}if(ar[i]==BGBACKGROUND){eval(pf+'bgbackground="'+ar[++i]+'"');continue}if(ar[i]==PADX){eval(pf+"padxl="+ar[++i]);eval(pf+"padxr="+ar[++i]);continue}if(ar[i]==PADY){eval(pf+"padyt="+ar[++i]);eval(pf+"padyb="+ar[++i]);continue}if(ar[i]==FULLHTML){pf!="ol_"&&eval(pf+"fullhtml=1");continue}if(ar[i]==BELOW||ar[i]==ABOVE){eval(pf+"vpos="+ar[i]);pf!="ol_"&&(olVautoFlag=1);continue}if(ar[i]==CAPICON){eval(pf+'capicon="'+ar[++i]+'"');continue}if(ar[i]==TEXTFONT){eval(pf+"textfont='"+escSglQuote(ar[++i])+"'");continue}if(ar[i]==CAPTIONFONT){eval(pf+"captionfont='"+escSglQuote(ar[++i])+"'");continue}if(ar[i]==CLOSEFONT){eval(pf+"closefont='"+escSglQuote(ar[++i])+"'");continue}if(ar[i]==TEXTSIZE){eval(pf+'textsize="'+ar[++i]+'"');continue}if(ar[i]==CAPTIONSIZE){eval(pf+'captionsize="'+ar[++i]+'"');continue}if(ar[i]==CLOSESIZE){eval(pf+'closesize="'+ar[++i]+'"');continue}if(ar[i]==TIMEOUT){eval(pf+"timeout="+ar[++i]);continue}if(ar[i]==FUNCTION){pf=="ol_"?typeof ar[i+1]!="number"&&(v=ar[++i],ol_function=typeof v=="function"?v:null):(fnMark=0,v=null,typeof ar[i+1]!="number"&&(v=ar[++i]),opt_FUNCTION(v));continue}if(ar[i]==DELAY){eval(pf+"delay="+ar[++i]);continue}if(ar[i]==HAUTO){eval(pf+"hauto=("+pf+"hauto == 0) ? 1 : 0");continue}if(ar[i]==VAUTO){eval(pf+"vauto=("+pf+"vauto == 0) ? 1 : 0");continue}if(ar[i]==CLOSECLICK){eval(pf+"closeclick=("+pf+"closeclick == 0) ? 1 : 0");continue}if(ar[i]==WRAP){eval(pf+"wrap=("+pf+"wrap == 0) ? 1 : 0");continue}if(ar[i]==FOLLOWMOUSE){eval(pf+"followmouse=("+pf+"followmouse == 1) ? 0 : 1");continue}if(ar[i]==MOUSEOFF){eval(pf+"mouseoff=("+pf+"mouseoff==0) ? 1 : 0");v=ar[i+1];pf!="ol_"&&eval(pf+"mouseoff")&&typeof v=="number"&&(v<pmStart||v>pmUpper)&&(olHideDelay=ar[++i]);continue}if(ar[i]==CLOSETITLE){eval(pf+"closetitle='"+escSglQuote(ar[++i])+"'");continue}if(ar[i]==CSSOFF||ar[i]==CSSCLASS){eval(pf+"css="+ar[i]);continue}if(ar[i]==COMPATMODE){eval(pf+"compatmode=("+pf+"compatmode==0) ? 1 : 0");continue}if(ar[i]==FGCLASS){eval(pf+'fgclass="'+ar[++i]+'"');continue}if(ar[i]==BGCLASS){eval(pf+'bgclass="'+ar[++i]+'"');continue}if(ar[i]==TEXTFONTCLASS){eval(pf+'textfontclass="'+ar[++i]+'"');continue}if(ar[i]==CAPTIONFONTCLASS){eval(pf+'captionfontclass="'+ar[++i]+'"');continue}if(ar[i]==CLOSEFONTCLASS){eval(pf+'closefontclass="'+ar[++i]+'"');continue}i=parseCmdLine(pf,i,ar)}fnMark&&o3_function&&(o3_text=o3_function());pf=="o3_"&&o3_wrap&&(o3_width=0,tReg=/<.*\n*>/ig,tReg.test(o3_text)||(o3_text=o3_text.replace(/[ ]+/g,"&nbsp;")),tReg.test(o3_cap)||(o3_cap=o3_cap.replace(/[ ]+/g,"&nbsp;")));pf=="o3_"&&o3_sticky&&(o3_close||o3_frame==ol_frame||(o3_close=ol_close),o3_mouseoff&&o3_frame==ol_frame&&opt_NOCLOSE(" "))}function layerWrite(n){if(n+="\n",olNs4){var t=o3_frame.document.layers.overdiv.document;t.write(n);t.close()}else if(typeof over.innerHTML!="undefined")olIe5&&isMac&&(over.innerHTML=""),over.innerHTML=n;else{for(range=o3_frame.document.createRange(),range.setStartAfter(over),domfrag=range.createContextualFragment(n);over.hasChildNodes();)over.removeChild(over.lastChild);over.appendChild(domfrag)}}function showObject(n){runHook("showObject",FBEFORE,n);var t=olNs4?n:n.style;t.visibility="visible";runHook("showObject",FAFTER,n)}function hideObject(n){runHook("hideObject",FBEFORE,n);var t=olNs4?n:n.style;olNs6&&olShowId>0&&(clearTimeout(olShowId),olShowId=0);t.visibility="hidden";t.top=t.left=(olIe4&&!olOp?0:-1e4)+(olNs4?0:"px");o3_timerid>0&&clearTimeout(o3_timerid);o3_delayid>0&&clearTimeout(o3_delayid);o3_timerid=0;o3_delayid=0;self.status="";(n.onmouseout||n.onmouseover)&&(olNs4&&n.releaseEvents(Event.MOUSEOUT||Event.MOUSEOVER),n.onmouseout=n.onmouseover=null);runHook("hideObject",FAFTER,n)}function repositionTo(n,t,i){var r=olNs4?n:n.style;r.left=t+(olNs4?0:"px");r.top=i+(olNs4?0:"px")}function cursorOff(){var n=parseInt(over.style.left),t=parseInt(over.style.top),i=n+(over.offsetWidth>=parseInt(o3_width)?over.offsetWidth:parseInt(o3_width)),r=t+(over.offsetHeight>=o3_aboveheight?over.offsetHeight:o3_aboveheight);return o3_x<n||o3_x>i||o3_y<t||o3_y>r?!0:!1}function opt_FUNCTION(callme){return o3_text=callme?typeof callme=="string"?/.+\(.*\)/.test(callme)?eval(callme):callme:callme():o3_function?o3_function():"No Function",0}function opt_NOCLOSE(n){return n||(o3_close=""),olNs4?(over.captureEvents(Event.MOUSEOUT||Event.MOUSEOVER),over.onmouseover=function(){o3_timerid>0&&(clearTimeout(o3_timerid),o3_timerid=0)},over.onmouseout=function(n){olHideDelay?hideDelay(olHideDelay):cClick(n)}):over.onmouseover=function(){hoveringSwitch=!0;o3_timerid>0&&(clearTimeout(o3_timerid),o3_timerid=0)},0}function opt_MULTIPLEARGS(i,args,parameter){for(var k=i,re,pV,str="",k=i;k<args.length;k++){if(typeof args[k]=="number"&&args[k]>pmStart)break;str+=args[k]+","}return str&&(str=str.substring(0,--str.length)),k--,pV=olNs4&&/cellpad/i.test(parameter)?str.split(",")[0]:str,eval(parameter+'="'+pV+'"'),k}function nbspCleanup(){o3_wrap&&(o3_text=o3_text.replace(/\&nbsp;/g," "),o3_cap=o3_cap.replace(/\&nbsp;/g," "))}function escSglQuote(n){return n.toString().replace(/'/g,"\\'")}function OLonLoad_handler(e){var re=/\w+\(.*\)[;\s]+/g,olre=/overlib\(|nd\(|cClick\(/,fn,l,i,fN;if(olLoaded||(olLoaded=1),window.removeEventListener&&e.eventPhase==3)window.removeEventListener("load",OLonLoad_handler,!1);else if(window.detachEvent&&(window.detachEvent("onload",OLonLoad_handler),fN=document.body.getAttribute("onload"),fN&&(fN=fN.toString().match(re),fN&&fN.length)))for(i=0;i<fN.length;i++)if(!/anonymous/.test(fN[i]))while((l=fN[i].search(/\)[;\s]+/))!=-1)fn=fN[i].substring(0,l+1),fN[i]=fN[i].substring(l+2),olre.test(fn)&&eval(fn)}function wrapStr(endWrap,fontSizeStr,whichString){var fontStr,fontColor,isClose=whichString=="close"?1:0,hasDims=/[%\-a-z]+$/.test(fontSizeStr);return fontSizeStr=olNs4?hasDims?"1":fontSizeStr:fontSizeStr,endWrap?hasDims&&!olNs4?isClose?"<\/span>":"<\/div>":"<\/font>":(fontStr="o3_"+whichString+"font",fontColor="o3_"+(whichString=="caption"?"cap":whichString)+"color",hasDims&&!olNs4?isClose?'<span style="font-family: '+quoteMultiNameFonts(eval(fontStr))+"; color: "+eval(fontColor)+"; font-size: "+fontSizeStr+'">':'<div style="font-family: '+quoteMultiNameFonts(eval(fontStr))+"; color: "+eval(fontColor)+"; font-size: "+fontSizeStr+'">':'<font face="'+eval(fontStr)+'" color="'+eval(fontColor)+'" size="'+(parseInt(fontSizeStr)>7?"7":fontSizeStr)+'">')}function quoteMultiNameFonts(n){for(var t,r=n.split(","),i=0;i<r.length;i++)t=r[i],t=t.replace(/^\s+/,"").replace(/\s+$/,""),/\s/.test(t)&&!/['"]/.test(t)&&(t="'"+t+"'",r[i]=t);return r.join()}function isExclusive(){return!1}function setCellPadStr(n){var o="",i=0,t=[],r,u,f,e;o+="padding: ";t=n.replace(/\s+/g,"").split(",");switch(t.length){case 2:r=u=t[i];f=e=t[++i];break;case 3:r=t[i];f=e=t[++i];u=t[++i];break;case 4:r=t[i];e=t[++i];u=t[++i];f=t[++i]}return o+(t.length==1?t[0]+"px;":r+"px "+e+"px "+u+"px "+f+"px;")}function hideDelay(n){n&&!o3_delay&&(o3_timerid>0&&clearTimeout(o3_timerid),o3_timerid=setTimeout("cClick()",o3_timeout=n))}function horizontalPlacement(n,t,i){var r,e=n,u=t,f=parseInt(o3_width),o;return o3_fixx>-1||o3_relx!=null?r=o3_relx!=null?o3_relx<0?u+o3_relx+e-f-i:u+o3_relx:o3_fixx:(o3_hauto==1&&(o3_x-u>e/2&&o3_hpos==RIGHT&&o3_x-u-(f+o3_offsetx-e>e-i)?o3_hpos=LEFT:o3_hpos==LEFT&&o3_x-o3_offsetx-f<u&&(o3_hpos=RIGHT)),o3_hpos==CENTER&&(r=o3_x+o3_offsetx-f/2,r<u&&(r=u)),o3_hpos==RIGHT&&(r=o3_x+o3_offsetx,r+f>u+e-i&&(r=e+u-f-i,r<0&&(r=0))),o3_hpos==LEFT&&(r=o3_x-o3_offsetx-f,r<u&&(r=u)),o3_snapx>1&&(o=r%o3_snapx,r=o3_hpos==LEFT?r-(o3_snapx+o):r+(o3_snapx-o),r<u&&(r=u))),r}function verticalPlacement(n,t){var i,f=n,r=t,u=o3_aboveheight?parseInt(o3_aboveheight):olNs4?over.clip.height:over.offsetHeight,e;return o3_fixy>-1||o3_rely!=null?i=o3_rely!=null?o3_rely<0?r+o3_rely+f-u:r+o3_rely:o3_fixy:(o3_vauto==1&&(o3_y-r>f/2&&o3_vpos==BELOW&&o3_y+u+o3_offsety-(r+f)>0?o3_vpos=ABOVE:o3_vpos==ABOVE&&o3_y-(u+o3_offsety)-r<0&&(o3_vpos=BELOW)),o3_vpos==ABOVE?(o3_aboveheight==0&&(o3_aboveheight=u),i=o3_y-(o3_aboveheight+o3_offsety),i<r&&(i=r)):i=o3_y+o3_offsety,o3_snapy>1&&(e=i%o3_snapy,i=o3_aboveheight>0&&o3_vpos==ABOVE?i-(o3_snapy+e):i+(o3_snapy-e),i<r&&(i=r))),i}function checkPositionFlags(){return olHautoFlag&&(olHautoFlag=o3_hauto=0),olVautoFlag&&(olVautoFlag=o3_vauto=0),!0}function windowWidth(){var w;return o3_frame.innerWidth?w=o3_frame.innerWidth:eval("o3_frame."+docRoot)&&eval("typeof o3_frame."+docRoot+".clientWidth=='number'")&&eval("o3_frame."+docRoot+".clientWidth")&&(w=eval("o3_frame."+docRoot+".clientWidth")),w}function createDivContainer(n,t,i){var u,r,f;return n=n||"overdiv",t=t||o3_frame,i=i||1e3,r=layerReference(n),r==null&&(olNs4?(r=t.document.layers[n]=new Layer(window.innerWidth,t),u=r):(f=olIe4?t.document.all.tags("BODY")[0]:t.document.getElementsByTagName("BODY")[0],olIe4&&!document.getElementById?(f.insertAdjacentHTML("beforeEnd",'<div id="'+n+'"><\/div>'),r=layerReference(n)):(r=t.document.createElement("DIV"),r.id=n,f.appendChild(r)),u=r.style),u.position="absolute",u.visibility="hidden",u.zIndex=i,u.left=olIe4&&!olOp?u.top="0px":u.top=-1e4+(olNs4?0:"px")),r}function layerReference(n){return olNs4?o3_frame.document.layers[n]:document.all?o3_frame.document.all[n]:o3_frame.document.getElementById(n)}function isFunction(n){var i=!0,t;if(typeof n=="object"){for(t=0;t<n.length;t++)if(typeof n[t]!="function"){i=!1;break}}else typeof n!="function"&&(i=!1);return i}function argToString(n,t,i){var f=t,r="",e=n,u;if(i=i?i:"ar",e.length>f){for(u=f;u<e.length;u++)r+=i+"["+u+"], ";r=r.substring(0,r.length-2)}return r}function reOrder(n,t,i){var r=[],e,u,f;if(!i||typeof i=="undefined"||typeof i=="number")return n;if(typeof i=="function"){for(typeof t=="object"?r=r.concat(t):r[r.length++]=t,u=0;u<n.length;u++){if(e=!1,typeof t=="function"&&n[u]==t)continue;else for(f=0;f<t.length;f++)if(n[u]==t[f]){e=!0;break}e||(r[r.length++]=n[u])}r[r.length++]=i}else if(typeof i=="object"){for(typeof t=="object"?r=r.concat(t):r[r.length++]=t,f=0;f<n.length;f++){if(e=!1,typeof t=="function"&&n[f]==t)continue;else for(u=0;u<t.length;u++)if(n[f]==t[u]){e=!0;break}e||(r[r.length++]=n[f])}for(u=0;u<r.length;u++)n[u]=r[u];for(r.length=0,f=0;f<n.length;f++){for(e=!1,u=0;u<i.length;u++)if(n[f]==i[u]){e=!0;break}e||(r[r.length++]=n[f])}r=r.concat(i)}return r}function setRunTimeVariables(){if(typeof runTime!="undefined"&&runTime.length)for(var n=0;n<runTime.length;n++)runTime[n]()}function parseCmdLine(n,t,i){var r,u;if(typeof cmdLine!="undefined"&&cmdLine.length)for(r=0;r<cmdLine.length;r++)if(u=cmdLine[r](n,t,i),u>-1){t=u;break}return t}function postParseChecks(n,t){if(typeof postParse!="undefined"&&postParse.length)for(var i=0;i<postParse.length;i++)if(!postParse[i](n,t))return!1;return!0}function registerCommands(cmdStr){var pM,i;if(typeof cmdStr=="string")for(pM=cmdStr.split(","),pms=pms.concat(pM),i=0;i<pM.length;i++)eval(pM[i].toUpperCase()+"="+pmCount++)}function registerNoParameterCommands(n){(n||typeof n=="string")&&(pmt=pmt?pmt+","+n:n)}function registerHook(n,t,i,r){var f=typeof r,u;if(n!="plgIn"&&n!="postParse"&&(typeof hookPts[n]=="undefined"&&(hookPts[n]=new FunctionReference),u=hookPts[n],i!=null)){i==FREPLACE?(u.ovload=t,n.indexOf("ol_content_")>-1&&(u.alt[pms[CSSOFF-1-pmStart]]=t)):i==FBEFORE||i==FAFTER?(u=i==1?u.before:u.after,typeof t=="object"?u=u.concat(t):u[u.length++]=t,r&&(u=reOrder(u,t,r))):i==FALTERNATE?f=="number"&&(u.alt[pms[r-1-pmStart]]=t):i==FCHAIN&&(u=u.chain,typeof t=="object"?u=u.concat(t):u[u.length++]=t);return}}function registerRunTimeFunction(n){isFunction(n)&&(typeof n=="object"?runTime=runTime.concat(n):runTime[runTime.length++]=n)}function registerCmdLineFunction(n){isFunction(n)&&(typeof n=="object"?cmdLine=cmdLine.concat(n):cmdLine[cmdLine.length++]=n)}function registerPostParseFunction(n){isFunction(n)&&(typeof n=="object"?postParse=postParse.concat(n):postParse[postParse.length++]=n)}function runHook(fnHookTo,hookType){var l=hookPts[fnHookTo],rtnVal=null,optPm,arS,ar=runHook.arguments,k;if(hookType==FREPLACE)arS=argToString(ar,2),rtnVal=typeof l!="undefined"&&(l=l.ovload)?eval("l("+arS+")"):eval(fnHookTo+"("+arS+")");else if(hookType==FBEFORE||hookType==FAFTER){if(typeof l!="undefined"&&(l=hookType==1?l.before:l.after,l.length))for(arS=argToString(ar,2),k=0;k<l.length;k++)eval("l[k]("+arS+")")}else if(hookType==FALTERNATE)optPm=ar[2],arS=argToString(ar,3),rtnVal=typeof l=="undefined"||(l=l.alt[pms[optPm-1-pmStart]])=="undefined"?eval(fnHookTo+"("+arS+")"):eval("l("+arS+")");else if(hookType==FCHAIN)for(arS=argToString(ar,2),l=l.chain,k=l.length;k>0;k--)if((rtnVal=eval("l[k-1]("+arS+")"))!=void 0)break;return rtnVal}function FunctionReference(){this.ovload=null;this.before=[];this.after=[];this.alt=[];this.chain=[]}function Info(n,t){this.version=n;this.prerelease=t;this.simpleversion=Math.round(this.version*100);this.major=parseInt(this.simpleversion/100);this.minor=parseInt(this.simpleversion/10)-this.major*10;this.revision=parseInt(this.simpleversion)-this.major*100-this.minor*10;this.meets=meets}function meets(n){return n?this.simpleversion>=Math.round(100*parseFloat(n)):!1}function findBootstrapEnvironment(){var u=["xs","sm","md","lg"],i=window.document,n=i.createElement("div"),t,r;for(i.body.appendChild(n),t=u.length-1;t>=0;t--)if(r=u[t],n.className="hidden-"+r,n.offsetParent===null)return i.body.removeChild(n),r;return""}function changeTabsSize(n){console.log(n)}function ChatManager(){this.seperator=$(".active-inactive");this.chat=$(".contact_method.child_2");this.isActive=function(){return this.chat.hasClass("active")};this.hasAnyActive=function(){return this.seperator.next().length>0};this.disable=function(){this.chat.removeClass("active");this.chat.addClass("inactive");this.seperator.after(this.chat);this.hasAnyActive()?this.seperator.addClass("seperator"):this.seperator.removeClass("seperator")};this.enable=function(){this.chat.removeClass("inactive");this.chat.addClass("active");this.seperator.before(this.chat);this.hasAnyActive()?this.seperator.addClass("seperator"):this.seperator.removeClass("seperator")}}var foolproof,ol_fgcolor,ol_bgcolor,ol_textcolor,ol_capcolor,ol_closecolor,ol_textfont,ol_captionfont,ol_closefont,ol_textsize,ol_captionsize,ol_closesize,ol_width,ol_border,ol_cellpad,ol_offsetx,ol_offsety,ol_text,ol_cap,ol_sticky,ol_background,ol_close,ol_hpos,ol_status,ol_autostatus,ol_height,ol_snapx,ol_snapy,ol_fixx,ol_fixy,ol_relx,ol_rely,ol_fgbackground,ol_bgbackground,ol_padxl,ol_padxr,ol_padyt,ol_padyb,ol_fullhtml,ol_vpos,ol_aboveheight,ol_capicon,ol_frame,ol_timeout,ol_function,ol_delay,ol_hauto,ol_vauto,ol_closeclick,ol_wrap,ol_followmouse,ol_mouseoff,ol_closetitle,ol_compatmode,ol_css,ol_fgclass,ol_bgclass,ol_textfontclass,ol_captionfontclass,ol_closefontclass,ol_texts,ol_caps,oW,oH,agent,versNum,capExtent,olShowId,olCheckMouseCapture;if(typeof jQuery=="undefined")throw new Error("Bootstrap's JavaScript requires jQuery");+function(n){var t=n.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||t[0]==1&&t[1]==9&&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(i.style[n]!==undefined)return{end:t[n]};return!1}n.fn.emulateTransitionEnd=function(t){var i=!1,u=this,r;n(this).one("bsTransitionEnd",function(){i=!0});return r=function(){i||n(u).trigger(n.support.transition.end)},setTimeout(r,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 r=n(this),u=r.data("bs.alert");u||r.data("bs.alert",u=new t(this));typeof i=="string"&&u[i].call(r)})}var i='[data-dismiss="alert"]',t=function(t){n(t).on("click",i,this.close)},r;t.VERSION="3.3.1";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())};r=n.fn.alert;n.fn.alert=u;n.fn.alert.Constructor=t;n.fn.alert.noConflict=function(){return n.fn.alert=r,this};n(document).on("click.bs.alert.data-api",i,t.prototype.close)}(jQuery);+function(n){"use strict";function i(i){return this.each(function(){var u=n(this),r=u.data("bs.button"),f=typeof i=="object"&&i;r||u.data("bs.button",r=new t(this,f));i=="toggle"?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},r;t.VERSION="3.3.1";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=t+"Text";u.resetText==null&&i.data("resetText",i[f]());setTimeout(n.proxy(function(){i[f](u[t]==null?this.options[t]:u[t]);t=="loadingText"?(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"),n.prop("type")=="radio"&&(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")};r=n.fn.button;n.fn.button=i;n.fn.button.Constructor=t;n.fn.button.noConflict=function(){return n.fn.button=r,this};n(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(t){var r=n(t.target);r.hasClass("btn")||(r=r.closest(".btn"));i.call(r,"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 i(i){return this.each(function(){var u=n(this),r=u.data("bs.carousel"),f=n.extend({},t.DEFAULTS,u.data(),typeof i=="object"&&i),e=typeof i=="string"?i:f.slide;r||u.data("bs.carousel",r=new t(this,f));typeof i=="number"?r.to(i):e?r[e]():f.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=this.sliding=this.interval=this.$active=this.$items=null;this.options.keyboard&&this.$element.on("keydown.bs.carousel",n.proxy(this.keydown,this));this.options.pause!="hover"||"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,r;t.VERSION="3.3.1";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=n=="prev"?-1:1,r=this.getItemIndex(t),u=(r+i)%this.$items.length;return this.$items.eq(u)};t.prototype.to=function(n){var i=this,t=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(n>this.$items.length-1)&&!(n<0))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=i=="next"?"left":"right",v=i=="next"?"first":"last",a=this,o,s,h,c;if(!u.length){if(!this.options.wrap)return;u=this.$element.find(".item")[v]()}return u.hasClass("active")?this.sliding=!1:(o=u[0],s=n.Event("slide.bs.carousel",{relatedTarget:o,direction:f}),this.$element.trigger(s),s.isDefaultPrevented())?void 0:(this.sliding=!0,l&&this.pause(),this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),h=n(this.$indicators.children()[this.getItemIndex(u)]),h&&h.addClass("active")),c=n.Event("slid.bs.carousel",{relatedTarget:o,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(c)},0)}).emulateTransitionEnd(t.TRANSITION_DURATION)):(e.removeClass("active"),u.addClass("active"),this.sliding=!1,this.$element.trigger(c)),l&&this.cycle(),this)};u=n.fn.carousel;n.fn.carousel=i;n.fn.carousel.Constructor=t;n.fn.carousel.noConflict=function(){return n.fn.carousel=u,this};r=function(t){var o,r=n(this),u=n(r.attr("data-target")||(o=r.attr("href"))&&o.replace(/.*(?=#[^\s]+$)/,"")),e,f;u.hasClass("carousel")&&(e=n.extend({},u.data(),r.data()),f=r.attr("data-slide-to"),f&&(e.interval=!1),i.call(u,e),f&&u.data("bs.carousel").to(f),t.preventDefault())};n(document).on("click.bs.carousel.data-api","[data-slide]",r).on("click.bs.carousel.data-api","[data-slide-to]",r);n(window).on("load",function(){n('[data-ride="carousel"]').each(function(){var t=n(this);i.call(t,t.data())})})}(jQuery);+function(n){"use strict";function r(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 u=n(this),r=u.data("bs.collapse"),f=n.extend({},t.DEFAULTS,u.data(),typeof i=="object"&&i);!r&&f.toggle&&i=="show"&&(f.toggle=!1);r||u.data("bs.collapse",r=new t(this,f));typeof i=="string"&&r[i]()})}var t=function(i,r){this.$element=n(i);this.options=n.extend({},t.DEFAULTS,r);this.$trigger=n(this.options.trigger).filter('[href="#'+i.id+'"], [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()},u;t.VERSION="3.3.1";t.TRANSITION_DURATION=350;t.DEFAULTS={toggle:!0,trigger:'[data-toggle="collapse"]'};t.prototype.dimension=function(){var n=this.$element.hasClass("width");return n?"width":"height"};t.prototype.show=function(){var f,r,e,u,o,s;if(!this.transitioning&&!this.$element.hasClass("in")&&(r=this.$parent&&this.$parent.find("> .panel").children(".in, .collapsing"),!r||!r.length||(f=r.data("bs.collapse"),!f||!f.transitioning))&&(e=n.Event("show.bs.collapse"),this.$element.trigger(e),!e.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,o=function(){this.$element.removeClass("collapsing").addClass("collapse in")[u]("");this.transitioning=0;this.$element.trigger("shown.bs.collapse")},!n.support.transition)return o.call(this);s=n.camelCase(["scroll",u].join("-"));this.$element.one("bsTransitionEnd",n.proxy(o,this)).emulateTransitionEnd(t.TRANSITION_DURATION)[u](this.$element[0][s])}};t.prototype.hide=function(){var r,i,u;if(!this.transitioning&&this.$element.hasClass("in")&&(r=n.Event("hide.bs.collapse"),this.$element.trigger(r),!r.isDefaultPrevented())){if(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,u=function(){this.transitioning=0;this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")},!n.support.transition)return u.call(this);this.$element[i](0).one("bsTransitionEnd",n.proxy(u,this)).emulateTransitionEnd(t.TRANSITION_DURATION)}};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 u=n(i);this.addAriaAndCollapsedClass(r(u),u)},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)};u=n.fn.collapse;n.fn.collapse=i;n.fn.collapse.Constructor=t;n.fn.collapse.noConflict=function(){return n.fn.collapse=u,this};n(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){var u=n(this);u.attr("data-target")||t.preventDefault();var f=r(u),e=f.data("bs.collapse"),o=e?"toggle":n.extend({},u.data(),{trigger:this});i.call(f,o)})}(jQuery);+function(n){"use strict";function r(t){t&&t.which===3||(n(e).remove(),n(i).each(function(){var r=n(this),i=u(r),f={relatedTarget:this};i.hasClass("open")&&((i.trigger(t=n.Event("hide.bs.dropdown",f)),t.isDefaultPrevented())||(r.attr("aria-expanded","false"),i.removeClass("open").trigger("hidden.bs.dropdown",f)))}))}function u(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 o(i){return this.each(function(){var r=n(this),u=r.data("bs.dropdown");u||r.data("bs.dropdown",u=new t(this));typeof i=="string"&&u[i].call(r)})}var e=".dropdown-backdrop",i='[data-toggle="dropdown"]',t=function(t){n(t).on("click.bs.dropdown",this.toggle)},f;t.VERSION="3.3.1";t.prototype.toggle=function(t){var f=n(this),i,o,e;if(!f.is(".disabled, :disabled")){if(i=u(f),o=i.hasClass("open"),r(),!o){if("ontouchstart"in document.documentElement&&!i.closest(".navbar-nav").length)n('<div class="dropdown-backdrop"/>').insertAfter(n(this)).on("click",r);if(e={relatedTarget:this},i.trigger(t=n.Event("show.bs.dropdown",e)),t.isDefaultPrevented())return;f.trigger("focus").attr("aria-expanded","true");i.toggleClass("open").trigger("shown.bs.dropdown",e)}return!1}};t.prototype.keydown=function(t){var e,o,s,h,f,r;if(/(38|40|27|32)/.test(t.which)&&!/input|textarea/i.test(t.target.tagName)&&(e=n(this),t.preventDefault(),t.stopPropagation(),!e.is(".disabled, :disabled"))){if(o=u(e),s=o.hasClass("open"),!s&&t.which!=27||s&&t.which==27)return t.which==27&&o.find(i).trigger("focus"),e.trigger("click");(h=" li:not(.divider):visible a",f=o.find('[role="menu"]'+h+', [role="listbox"]'+h),f.length)&&(r=f.index(t.target),t.which==38&&r>0&&r--,t.which==40&&r<f.length-1&&r++,~r||(r=0),f.eq(r).trigger("focus"))}};f=n.fn.dropdown;n.fn.dropdown=o;n.fn.dropdown.Constructor=t;n.fn.dropdown.noConflict=function(){return n.fn.dropdown=f,this};n(document).on("click.bs.dropdown.data-api",r).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 i(i,r){return this.each(function(){var f=n(this),u=f.data("bs.modal"),e=n.extend({},t.DEFAULTS,f.data(),typeof i=="object"&&i);u||f.data("bs.modal",u=new t(this,e));typeof i=="string"?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.$backdrop=this.isShown=null;this.scrollbarWidth=0;this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,n.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))},r;t.VERSION="3.3.1";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});if(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.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.options.backdrop&&r.adjustBackdrop();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.$element.find(".modal-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"),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(){if(this.isShown&&this.options.keyboard)this.$element.on("keydown.dismiss.bs.modal",n.proxy(function(n){n.which==27&&this.hide()},this));else this.isShown||this.$element.off("keydown.dismiss.bs.modal")};t.prototype.resize=function(){if(this.isShown)n(window).on("resize.bs.modal",n.proxy(this.handleUpdate,this));else 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+'" />').prependTo(this.$element).on("click.dismiss.bs.modal",n.proxy(function(n){n.target===n.currentTarget&&(this.options.backdrop=="static"?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},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.options.backdrop&&this.adjustBackdrop();this.adjustDialog()};t.prototype.adjustBackdrop=function(){this.$backdrop.css("height",0).css("height",this.$element[0].scrollHeight)};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(){this.bodyIsOverflowing=document.body.scrollHeight>document.documentElement.clientHeight;this.scrollbarWidth=this.measureScrollbar()};t.prototype.setScrollbar=function(){var n=parseInt(this.$body.css("padding-right")||0,10);this.bodyIsOverflowing&&this.$body.css("padding-right",n+this.scrollbarWidth)};t.prototype.resetScrollbar=function(){this.$body.css("padding-right","")};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};r=n.fn.modal;n.fn.modal=i;n.fn.modal.Constructor=t;n.fn.modal.noConflict=function(){return n.fn.modal=r,this};n(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var r=n(this),f=r.attr("href"),u=n(r.attr("data-target")||f&&f.replace(/.*(?=#[^\s]+$)/,"")),e=u.data("bs.modal")?"toggle":n.extend({remote:!/#/.test(f)&&f},u.data(),r.data());r.is("a")&&t.preventDefault();u.one("show.bs.modal",function(n){if(!n.isDefaultPrevented())u.one("hidden.bs.modal",function(){r.is(":visible")&&r.trigger("focus")})});i.call(u,e,this)})}(jQuery);+function(n){"use strict";function r(i){return this.each(function(){var f=n(this),r=f.data("bs.tooltip"),u=typeof i=="object"&&i,e=u&&u.selector;(r||i!="destroy")&&(e?(r||f.data("bs.tooltip",r={}),r[e]||(r[e]=new t(this,u))):r||f.data("bs.tooltip",r=new t(this,u)),typeof i=="string"&&r[i]())})}var t=function(n,t){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null;this.init("tooltip",n,t)},i;t.VERSION="3.3.1";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 f,e,u,o,s;for(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),f=this.options.trigger.split(" "),e=f.length;e--;)if(u=f[e],u=="click")this.$element.on("click."+this.type,this.options.selector,n.proxy(this.toggle,this));else if(u!="manual"){o=u=="hover"?"mouseenter":"focusin";s=u=="hover"?"mouseleave":"focusout";this.$element.on(o+"."+this.type,this.options.selector,n.proxy(this.enter,this));this.$element.on(s+"."+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&&typeof t.delay=="number"&&(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);if(i&&i.$tip&&i.$tip.is(":visible")){i.hoverState="in";return}if(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)return i.show();i.timeout=setTimeout(function(){i.hoverState=="in"&&i.show()},i.options.delay.show)};t.prototype.leave=function(t){var i=t instanceof this.constructor?t:n(t.currentTarget).data("bs."+this.type);if(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)return i.hide();i.timeout=setTimeout(function(){i.hoverState=="out"&&i.hide()},i.options.delay.hide)};t.prototype.show=function(){var c=n.Event("show.bs."+this.type),l,p,h;if(this.hasContent()&&this.enabled){if(this.$element.trigger(c),l=n.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]),c.isDefaultPrevented()||!l)return;var u=this,r=this.tip(),a=this.getUID(this.type);this.setContent();r.attr("id",a);this.$element.attr("aria-describedby",a);this.options.animation&&r.addClass("fade");var i=typeof this.options.placement=="function"?this.options.placement.call(this,r[0],this.$element[0]):this.options.placement,v=/\s?auto?\s?/i,y=v.test(i);y&&(i=i.replace(v,"")||"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(),o=r[0].offsetWidth,s=r[0].offsetHeight;if(y){var w=i,b=this.options.container?n(this.options.container):this.$element.parent(),e=this.getPosition(b);i=i=="bottom"&&f.bottom+s>e.bottom?"top":i=="top"&&f.top-s<e.top?"bottom":i=="right"&&f.right+o>e.width?"left":i=="left"&&f.left-o<e.left?"right":i;r.removeClass(w).addClass(i)}p=this.getCalculatedOffset(i,f,o,s);this.applyPlacement(p,i);h=function(){var n=u.hoverState;u.$element.trigger("shown.bs."+u.type);u.hoverState=null;n=="out"&&u.leave(u)};n.support.transition&&this.$tip.hasClass("fade")?r.one("bsTransitionEnd",h).emulateTransitionEnd(t.TRANSITION_DURATION):h()}};t.prototype.applyPlacement=function(t,i){var r=this.tip(),l=r[0].offsetWidth,e=r[0].offsetHeight,o=parseInt(r.css("margin-top"),10),s=parseInt(r.css("margin-left"),10),h,f,u;isNaN(o)&&(o=0);isNaN(s)&&(s=0);t.top=t.top+o;t.left=t.left+s;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");h=r[0].offsetWidth;f=r[0].offsetHeight;i=="top"&&f!=e&&(t.top=t.top+e-f);u=this.getViewportAdjustedDelta(i,t,h,f);u.left?t.left+=u.left:t.top+=u.top;var c=/top|bottom/.test(i),a=c?u.left*2-l+h:u.top*2-e+f,v=c?"offsetWidth":"offsetHeight";r.offset(t);this.replaceArrow(a,r[0][v],c)};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(){r.hoverState!="in"&&u.detach();r.$element.removeAttr("aria-describedby").trigger("hidden.bs."+r.type);i&&i()}var r=this,u=this.tip(),f=n.Event("hide.bs."+this.type);if(this.$element.trigger(f),!f.isDefaultPrevented())return u.removeClass("in"),n.support.transition&&this.$tip.hasClass("fade")?u.one("bsTransitionEnd",e).emulateTransitionEnd(t.TRANSITION_DURATION):e(),this.hoverState=null,this};t.prototype.fixTitle=function(){var n=this.$element;(n.attr("title")||typeof n.attr("data-original-title")!="string")&&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=u.tagName=="BODY",i=u.getBoundingClientRect();i.width==null&&(i=n.extend({},i,{width:i.right-i.left,height:i.bottom-i.top}));var f=r?{top:0,left:0}:t.offset(),e={scroll:r?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},o=r?{width:n(window).width(),height:n(window).height()}:null;return n.extend({},i,e,o,f)};t.prototype.getCalculatedOffset=function(n,t,i,r){return n=="bottom"?{top:t.top+t.height,left:t.left+t.width/2-i/2}:n=="top"?{top:t.top-r,left:t.left+t.width/2-i/2}:n=="left"?{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,o,s,h,c;return this.$viewport?(e=this.options.viewport&&this.options.viewport.padding||0,u=this.getPosition(this.$viewport),/right|left/.test(n)?(o=t.top-e-u.scroll,s=t.top+e-u.scroll+r,o<u.top?f.top=u.top-o:s>u.top+u.height&&(f.top=u.top+u.height-s)):(h=t.left-e,c=t.left+e+i,h<u.left?f.left=u.left-h:c>u.width&&(f.left=u.left+u.width-c)),f):f};t.prototype.getTitle=function(){var t=this.$element,n=this.options;return t.attr("data-original-title")||(typeof n.title=="function"?n.title.call(t[0]):n.title)};t.prototype.getUID=function(n){do n+=~~(Math.random()*1e6);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 f=n(this),r=f.data("bs.popover"),u=typeof i=="object"&&i,e=u&&u.selector;(r||i!="destroy")&&(e?(r||f.data("bs.popover",r={}),r[e]||(r[e]=new t(this,u))):r||f.data("bs.popover",r=new t(this,u)),typeof i=="string"&&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.1";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?typeof t=="string"?"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")||(typeof n.content=="function"?n.content.call(t[0]):n.content)};t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};t.prototype.tip=function(){return this.$tip||(this.$tip=n(this.options.template)),this.$tip};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){var u=n.proxy(this.process,this);this.$body=n("body");this.$scrollElement=n(i).is("body")?n(window):n(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",u);this.refresh();this.process()}function i(i){return this.each(function(){var u=n(this),r=u.data("bs.scrollspy"),f=typeof i=="object"&&i;r||u.data("bs.scrollspy",r=new t(this,f));typeof i=="string"&&r[i]()})}t.VERSION="3.3.1";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 i="offset",r=0,t;n.isWindow(this.$scrollElement[0])||(i="position",r=this.$scrollElement.scrollTop());this.offsets=[];this.targets=[];this.scrollHeight=this.getScrollHeight();t=this;this.$body.find(this.selector).map(function(){var f=n(this),u=f.data("target")||f.attr("href"),t=/^#./.test(u)&&n(u);return t&&t.length&&t.is(":visible")&&[[t[i]().top+r,u]]||null}).sort(function(n,t){return n[0]-t[0]}).each(function(){t.offsets.push(this[0]);t.targets.push(this[1])})};t.prototype.process=function(){var 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,n;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]&&(!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));typeof i=="string"&&r[i]()})}var t=function(t){this.element=n(t)},u,i;t.VERSION="3.3.1";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"),e=n.Event("hide.bs.tab",{relatedTarget:t[0]}),o=n.Event("show.bs.tab",{relatedTarget:r[0]});(r.trigger(e),t.trigger(o),o.isDefaultPrevented()||e.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")&&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 i(i){return this.each(function(){var u=n(this),r=u.data("bs.affix"),f=typeof i=="object"&&i;r||u.data("bs.affix",r=new t(this,f));typeof i=="string"&&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=this.unpin=this.pinnedOffset=null;this.checkPosition()},r;t.VERSION="3.3.1";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(),f=this.$element.offset(),e=this.$target.height();if(i!=null&&this.affixed=="top")return u<i?"top":!1;if(this.affixed=="bottom")return i!=null?u+this.unpin<=f.top?!1:"bottom":u+e<=n-r?!1:"bottom";var o=this.affixed==null,s=o?u:f.top,h=o?e:t;return i!=null&&s<=i?"top":r!=null&&s+h>=n-r?"bottom":!1};t.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(t.RESET).addClass("affix");var n=this.$target.scrollTop(),i=this.$element.offset();return this.pinnedOffset=i.top-n};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("body").height();if(typeof r!="object"&&(u=f=r),typeof f=="function"&&(f=r.top(this.$element)),typeof u=="function"&&(u=r.bottom(this.$element)),i=this.getState(h,s,f,u),this.affixed!=i){if(this.unpin!=null&&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=i=="bottom"?this.getPinnedOffset():null;this.$element.removeClass(t.RESET).addClass(e).trigger(e.replace("affix","affixed")+".bs.affix")}i=="bottom"&&this.$element.offset({top:h-s-u})}};r=n.fn.affix;n.fn.affix=i;n.fn.affix.Constructor=t;n.fn.affix.noConflict=function(){return n.fn.affix=r,this};n(window).on("load",function(){n('[data-spy="affix"]').each(function(){var r=n(this),t=r.data();t.offset=t.offset||{};t.offsetBottom!=null&&(t.offset.bottom=t.offsetBottom);t.offsetTop!=null&&(t.offset.top=t.offsetTop);i.call(r,t)})})}(jQuery);foolproof=function(){};foolproof.is=function(n,t,i,r){if(r){var u=function(n){return n==null||n==undefined||n==""},f=u(n),e=u(i);if(f&&!e||e&&!f)return!0}var o=function(n){return+n==n&&n.length>0},s=function(n){var t=new RegExp(/(?=\d)^(?:(?!(?:10\D(?:0?[5-9]|1[0-4])\D(?:1582))|(?:0?9\D(?:0?[3-9]|1[0-3])\D(?:1752)))((?:0?[13578]|1[02])|(?:0?[469]|11)(?!\/31)(?!-31)(?!\.31)|(?:0?2(?=.?(?:(?:29.(?!000[04]|(?:(?:1[^0-6]|[2468][^048]|[3579][^26])00))(?:(?:(?:\d\d)(?:[02468][048]|[13579][26])(?!\x20BC))|(?:00(?:42|3[0369]|2[147]|1[258]|09)\x20BC))))))|(?:0?2(?=.(?:(?:\d\D)|(?:[01]\d)|(?:2[0-8])))))([-.\/])(0?[1-9]|[12]\d|3[01])\2(?!0000)((?=(?:00(?:4[0-5]|[0-3]?\d)\x20BC)|(?:\d{4}(?!\x20BC)))\d{4}(?:\x20BC)?)(?:$|(?=\x20\d)\x20))?((?:(?:0?[1-9]|1[012])(?::[0-5]\d){0,2}(?:\x20[aApP][mM]))|(?:[01]\d|2[0-3])(?::[0-5]\d){1,2})?$/);return t.test(n)},h=function(n){return n===!0||n===!1||n==="true"||n==="false"};s(n)?(n=Date.parse(n),i=Date.parse(i)):h(n)?(n=="false"&&(n=!1),i=="false"&&(i=!1),n=!!n,i=!!i):o(n)&&(n=parseFloat(n),i=parseFloat(i));switch(t){case"EqualTo":if(n==i)return!0;break;case"NotEqualTo":if(n!=i)return!0;break;case"GreaterThan":if(n>i)return!0;break;case"LessThan":if(n<i)return!0;break;case"GreaterThanOrEqualTo":if(n>=i)return!0;break;case"LessThanOrEqualTo":if(n<=i)return!0;break;case"RegExMatch":return new RegExp(i).test(n);case"NotRegExMatch":return!new RegExp(i).test(n)}return!1};foolproof.getId=function(n,t){var i=n.id.lastIndexOf("_")+1;return n.id.substr(0,i)+t.replace(/\./g,"_")};foolproof.getName=function(n,t){var i=n.name.lastIndexOf(".")+1;return n.name.substr(0,i)+t},function(){jQuery.validator.addMethod("is",function(n,t,i){var r=foolproof.getId(t,i.dependentproperty),u=i.operator,f=i.passonnull,e=document.getElementById(r).value;return foolproof.is(n,u,e,f)?!0:!1});jQuery.validator.addMethod("requiredif",function(n,t,i){var o=foolproof.getName(t,i.dependentproperty),s=i.dependentvalue,h=i.operator,e=i.pattern,r=document.getElementsByName(o),u=null,f;if(r.length>1){for(f=0;f!=r.length;f++)if(r[f].checked){u=r[f].value;break}u==null&&(u=!1)}else u=r[0].value;if(foolproof.is(u,h,s))if(e==null){if(n!=null&&n.toString().replace(/^\s\s*/,"").replace(/\s\s*$/,"")!="")return!0}else return new RegExp(e).test(n);else return!0;return!1});jQuery.validator.addMethod("requiredifempty",function(n,t,i){var u=foolproof.getId(t,i.dependentproperty),r=document.getElementById(u).value;if(r==null||r.toString().replace(/^\s\s*/,"").replace(/\s\s*$/,"")==""){if(n!=null&&n.toString().replace(/^\s\s*/,"").replace(/\s\s*$/,"")!="")return!0}else return!0;return!1});jQuery.validator.addMethod("requiredifnotempty",function(n,t,i){var u=foolproof.getId(t,i.dependentproperty),r=document.getElementById(u).value;if(r!=null&&r.toString().replace(/^\s\s*/,"").replace(/\s\s*$/,"")!=""){if(n!=null&&n.toString().replace(/^\s\s*/,"").replace(/\s\s*$/,"")!="")return!0}else return!0;return!1});var n=function(n,t,i){n.rules[t]=i;n.message&&(n.messages[t]=n.message)},t=$.validator.unobtrusive;t.adapters.add("requiredif",["dependentproperty","dependentvalue","operator","pattern"],function(t){var i={dependentproperty:t.params.dependentproperty,dependentvalue:t.params.dependentvalue,operator:t.params.operator,pattern:t.params.pattern};n(t,"requiredif",i)});t.adapters.add("is",["dependentproperty","operator","passonnull"],function(t){n(t,"is",{dependentproperty:t.params.dependentproperty,operator:t.params.operator,passonnull:t.params.passonnull})});t.adapters.add("requiredifempty",["dependentproperty"],function(t){n(t,"requiredifempty",{dependentproperty:t.params.dependentproperty})});t.adapters.add("requiredifnotempty",["dependentproperty"],function(t){n(t,"requiredifnotempty",{dependentproperty:t.params.dependentproperty})})}();$(document).ready(function(){$("form").bind("invalid-form.validate",function(){$(".bmvc-3-validation-summary").has("li").addClass("alert alert-danger").find(".close").show()});$.validator&&$("form").length>0&&($("form").each(function(){$(this).validate().settings.highlight=function(n){$(n).closest(".control-group").addClass("error");$(n).closest(".form-group").addClass("has-error")}}),$("form").each(function(){$(this).validate().settings.unhighlight=function(n){$(n).closest(".control-group").removeClass("error");$(n).closest(".form-group").removeClass("has-error")}}));$("[rel=tooltip]").tooltip({container:"body"});$("[rel=popover]").popover();$(".nav-tabs li.disabled a").each(function(){$(this).off("click").on("click",function(n){return n.preventDefault(),!1})});$(".bmvc-btn-toggle").button("toggle");$(".btn").button();$(function(){var t,n;if($("[data-bmvc-confirm]").length>0)if(typeof BootstrapDialog!="undefined"){BootstrapDialog.bmvcConfirm=function(n,i,r,u,f,e,o){t=new BootstrapDialog({title:i,message:n,onshow:function(n){u&&window[u](n)},onshown:function(n){f&&window[f](n)},onhide:function(n){e&&window[e](n)},onhidden:function(n){o&&window[o](n)},closable:!1,data:{callback:r},buttons:[{label:"Cancel",action:function(n){n.close()}},{label:"OK",cssClass:"btn-primary",action:function(n){typeof n.getData("callback")=="function"&&n.getData("callback")(!0)}}]}).open()};$(document).on("click","a[data-bmvc-confirm]",function(n){var t,i;n.preventDefault();t=$(this);i=t.attr("data-bmvc-confirm-title");i===undefined&&(i="Confirmation");var r=t.attr("data-bmvc-confirm-text"),u=t.attr("href"),f=t.attr("data-onshow"),e=t.attr("data-onshown"),o=t.attr("data-onhide"),s=t.attr("data-onhidden");BootstrapDialog.bmvcConfirm(r,i,function(){window.location=u},f,e,o,s)});function i(n){var r,u;n.preventDefault();n.stopImmediatePropagation();r=$(this);u=r.attr("data-bmvc-confirm-title");u===undefined&&(u="Confirmation");var f=r.attr("data-bmvc-confirm-text"),e=r.attr("data-onshow"),o=r.attr("data-onshown"),s=r.attr("data-onhide"),h=r.attr("data-onhidden");BootstrapDialog.bmvcConfirm(f,u,function(){r.unbind("click",i).click().bind("click",i);t.close()},e,o,s,h)}function r(n){var i,u;n.preventDefault();n.stopImmediatePropagation();i=$(this);u=i.attr("data-bmvc-confirm-title");u===undefined&&(u="Confirmation");var f=i.attr("data-bmvc-confirm-text"),e=i.attr("data-onshow"),o=i.attr("data-onshown"),s=i.attr("data-onhide"),h=i.attr("data-onhidden");BootstrapDialog.bmvcConfirm(f,u,function(){i.unbind("submit",r).submit().bind("submit",r);t.close()},e,o,s,h)}$("form[data-bmvc-confirm]").bind("submit",r);$("button[data-bmvc-confirm], input[type=button][data-bmvc-confirm]").bind("click",i)}else alert("You need http://nakupanda.github.io/bootstrap3-dialog/ for the confirm to work");$("[data-provide=typeahead]").each(function(){var n=$(this);n.typeahead({source:function(t,i){var r=n.data("url");return $.getJSON(r,{term:t},function(n){return i(n)})}})});$("[data-disabled-depends-on]").each(function(){var t=$(this),r=t.data("disabled-depends-on"),i=t.data("disabled-depends-val"),n='[name="'+r+'"]';$(document).on("change",n+":checkbox",function(){t.prop("disabled",$(this).prop("checked")==i)});$(document).on("change",n+":not(:checkbox):not(:hidden)",function(){t.prop("disabled",$(this).val().toString()==i.toString())});$(n).is(":radio")?$(n+":checked").change():$(n).change()});n=!0;$("[data-visible-depends-on]").each(function(){var i=$(this),h=i.data("visible-depends-on"),e=i.data("visible-depends-val"),r=i.data("visible-depends-speed"),u='[name="'+h+'"]',f="",t,s=!1,o;i.is("div")?(s=!0,t=i,f=i.find("input").attr("name")):f=i.attr("name");o=i.closest(".form-group, .controls");o.length>0&&o.find('input:not([type=hidden]):not([name="'+f+'"]),select:not([name="'+f+'"]),textarea:not([name="'+f+'"])').length===0?t=o:s||(t=$('[name="'+f+'"],label[for="'+f+'"]'));$(document).on("change",u+":checkbox",function(){if($(u+":not([type=hidden])").length>1){var i=[];$(u+":checked").each(function(){i.push(this.value)});$.inArray(e.toString(),i)>=0?t.show(n?undefined:r):t.hide(n?undefined:r)}else $(this).prop("checked")==e?t.show(n?undefined:r):t.hide(n?undefined:r)});$(document).on("change",u+":not(:checkbox):not([type=hidden])",function(){var i=$(this).val().toString();e.toString().indexOf("|")>-1?$.inArray(i,e.split("|"))>=0?t.show(n?undefined:r):t.hide(n?undefined:r):i==e.toString()?t.show(n?undefined:r):t.hide(n?undefined:r)});$(u).is(":radio")?$(u+":checked").change():$(u).change();n=!1})})});!function(n){var i=function(i,r){if(this.element=n(i),this.format=t.parseFormat(r.format||this.element.data("date-format")||"mm/dd/yyyy"),this.picker=n(t.template).appendTo("body").on({click:n.proxy(this.click,this)}),this.isInput=this.element.is("input"),this.component=this.element.is(".date")?this.element.find(".add-on"):!1,this.isInput)this.element.on({focus:n.proxy(this.show,this),keyup:n.proxy(this.update,this)});else if(this.component)this.component.on("click",n.proxy(this.show,this));else this.element.on("click",n.proxy(this.show,this));if(this.minViewMode=r.minViewMode||this.element.data("date-minviewmode")||0,typeof this.minViewMode=="string")switch(this.minViewMode){case"months":this.minViewMode=1;break;case"years":this.minViewMode=2;break;default:this.minViewMode=0}if(this.viewMode=r.viewMode||this.element.data("date-viewmode")||0,typeof this.viewMode=="string")switch(this.viewMode){case"months":this.viewMode=1;break;case"years":this.viewMode=2;break;default:this.viewMode=0}this.startViewMode=this.viewMode;this.weekStart=r.weekStart||this.element.data("date-weekstart")||0;this.weekEnd=this.weekStart===0?6:this.weekStart-1;this.onRender=r.onRender;this.fillDow();this.fillMonths();this.update();this.showMode()},t;i.prototype={constructor:i,show:function(t){this.picker.show();this.height=this.component?this.component.outerHeight():this.element.outerHeight();this.place();n(window).on("resize",n.proxy(this.place,this));t&&(t.stopPropagation(),t.preventDefault());!this.isInput;var i=this;n(document).on("mousedown",function(t){n(t.target).closest(".datepicker").length==0&&i.hide()});this.element.trigger({type:"show",date:this.date})},hide:function(){this.picker.hide();n(window).off("resize",this.place);this.viewMode=this.startViewMode;this.showMode();this.isInput||n(document).off("mousedown",this.hide);this.element.trigger({type:"hide",date:this.date})},set:function(){var n=t.formatDate(this.date,this.format);this.isInput?this.element.prop("value",n):(this.component&&this.element.find("input").prop("value",n),this.element.data("date",n))},setValue:function(n){this.date=typeof n=="string"?t.parseDate(n,this.format):new Date(n);this.set();this.viewDate=new Date(this.date.getFullYear(),this.date.getMonth(),1,0,0,0,0);this.fill()},place:function(){var n=this.component?this.component.offset():this.element.offset();this.picker.css({top:n.top+this.height,left:n.left})},update:function(n){this.date=t.parseDate(typeof n=="string"?n:this.isInput?this.element.prop("value"):this.element.data("date"),this.format);this.viewDate=new Date(this.date.getFullYear(),this.date.getMonth(),1,0,0,0,0);this.fill()},fillDow:function(){for(var i=this.weekStart,n="<tr>";i<this.weekStart+7;)n+='<th class="dow">'+t.dates.daysMin[i++%7]+"<\/th>";n+="<\/tr>";this.picker.find(".datepicker-days thead").append(n)},fillMonths:function(){for(var n="",i=0;i<12;)n+='<span class="month">'+t.dates.monthsShort[i++]+"<\/span>";this.picker.find(".datepicker-months td").append(n)},fill:function(){var a=new Date(this.viewDate),i=a.getFullYear(),s=a.getMonth(),p=this.date.valueOf(),n,h,u,r,f,e,c,l,v,y,o;for(this.picker.find(".datepicker-days th:eq(1)").text(t.dates.months[s]+" "+i),n=new Date(i,s-1,28,0,0,0,0),h=t.getDaysInMonth(n.getFullYear(),n.getMonth()),n.setDate(h),n.setDate(h-(n.getDay()-this.weekStart+7)%7),u=new Date(n),u.setDate(u.getDate()+42),u=u.valueOf(),r=[];n.valueOf()<u;)n.getDay()===this.weekStart&&r.push("<tr>"),f=this.onRender(n),e=n.getFullYear(),c=n.getMonth(),c<s&&e===i||e<i?f+=" old":(c>s&&e===i||e>i)&&(f+=" new"),n.valueOf()===p&&(f+=" active"),r.push('<td class="day '+f+'">'+n.getDate()+"<\/td>"),n.getDay()===this.weekEnd&&r.push("<\/tr>"),n.setDate(n.getDate()+1);for(this.picker.find(".datepicker-days tbody").empty().append(r.join("")),l=this.date.getFullYear(),v=this.picker.find(".datepicker-months").find("th:eq(1)").text(i).end().find("span").removeClass("active"),l===i&&v.eq(this.date.getMonth()).addClass("active"),r="",i=parseInt(i/10,10)*10,y=this.picker.find(".datepicker-years").find("th:eq(1)").text(i+"-"+(i+9)).end().find("td"),i-=1,o=-1;o<11;o++)r+='<span class="year'+(o===-1||o===10?" old":"")+(l===i?" active":"")+'">'+i+"<\/span>",i+=1;y.html(r)},click:function(i){var r,e,u,f;if(i.stopPropagation(),i.preventDefault(),r=n(i.target).closest("span, td, th"),r.length===1)switch(r[0].nodeName.toLowerCase()){case"th":switch(r[0].className){case"switch":this.showMode(1);break;case"prev":case"next":this.viewDate["set"+t.modes[this.viewMode].navFnc].call(this.viewDate,this.viewDate["get"+t.modes[this.viewMode].navFnc].call(this.viewDate)+t.modes[this.viewMode].navStep*(r[0].className==="prev"?-1:1));this.fill();this.set()}break;case"span":r.is(".month")?(u=r.parent().find("span").index(r),this.viewDate.setMonth(u)):(f=parseInt(r.text(),10)||0,this.viewDate.setFullYear(f));this.viewMode!==0&&(this.date=new Date(this.viewDate),this.element.trigger({type:"changeDate",date:this.date,viewMode:t.modes[this.viewMode].clsName}));this.showMode(-1);this.fill();this.set();break;case"td":r.is(".day")&&!r.is(".disabled")&&(e=parseInt(r.text(),10)||1,u=this.viewDate.getMonth(),r.is(".old")?u-=1:r.is(".new")&&(u+=1),f=this.viewDate.getFullYear(),this.date=new Date(f,u,e,0,0,0,0),this.viewDate=new Date(f,u,Math.min(28,e),0,0,0,0),this.fill(),this.set(),this.element.trigger({type:"changeDate",date:this.date,viewMode:t.modes[this.viewMode].clsName}))}},mousedown:function(n){n.stopPropagation();n.preventDefault()},showMode:function(n){n&&(this.viewMode=Math.max(this.minViewMode,Math.min(2,this.viewMode+n)));this.picker.find(">div").hide().filter(".datepicker-"+t.modes[this.viewMode].clsName).show()}};n.fn.datepicker=function(t,r){return this.each(function(){var f=n(this),u=f.data("datepicker"),e=typeof t=="object"&&t;u||f.data("datepicker",u=new i(this,n.extend({},n.fn.datepicker.defaults,e)));typeof t=="string"&&u[t](r)})};n.fn.datepicker.defaults={onRender:function(){return""}};n.fn.datepicker.Constructor=i;t={modes:[{clsName:"days",navFnc:"Month",navStep:1},{clsName:"months",navFnc:"FullYear",navStep:1},{clsName:"years",navFnc:"FullYear",navStep:10}],dates:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sun"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa","Su"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]},isLeapYear:function(n){return n%4==0&&n%100!=0||n%400==0},getDaysInMonth:function(n,i){return[31,t.isLeapYear(n)?29:28,31,30,31,30,31,31,30,31,30,31][i]},parseFormat:function(n){var i=n.match(/[.\/\-\s].*?/),t=n.split(/\W+/);if(!i||!t||t.length===0)throw new Error("Invalid date format.");return{separator:i,parts:t}},parseDate:function(n,t){var f=n.split(t.separator),n=new Date,i,r,s;if(n.setHours(0),n.setMinutes(0),n.setSeconds(0),n.setMilliseconds(0),f.length===t.parts.length){var u=n.getFullYear(),e=n.getDate(),o=n.getMonth();for(r=0,s=t.parts.length;r<s;r++){i=parseInt(f[r],10)||1;switch(t.parts[r]){case"dd":case"d":e=i;n.setDate(i);break;case"mm":case"m":o=i-1;n.setMonth(i-1);break;case"yy":u=2e3+i;n.setFullYear(2e3+i);break;case"yyyy":u=i;n.setFullYear(i)}}n=new Date(u,o,e,0,0,0)}return n},formatDate:function(n,t){var i={d:n.getDate(),m:n.getMonth()+1,yy:n.getFullYear().toString().substring(2),yyyy:n.getFullYear()},n,r,u;for(i.dd=(i.d<10?"0":"")+i.d,i.mm=(i.m<10?"0":"")+i.m,n=[],r=0,u=t.parts.length;r<u;r++)n.push(i[t.parts[r]]);return n.join(t.separator)},headTemplate:'<thead><tr><th class="prev">&lsaquo;<\/th><th colspan="5" class="switch"><\/th><th class="next">&rsaquo;<\/th><\/tr><\/thead>',contTemplate:'<tbody><tr><td colspan="7"><\/td><\/tr><\/tbody>'};t.template='<div class="datepicker dropdown-menu"><div class="datepicker-days"><table class=" table-condensed">'+t.headTemplate+'<tbody><\/tbody><\/table><\/div><div class="datepicker-months"><table class="table-condensed">'+t.headTemplate+t.contTemplate+'<\/table><\/div><div class="datepicker-years"><table class="table-condensed">'+t.headTemplate+t.contTemplate+"<\/table><\/div><\/div>"}(window.jQuery);var olLoaded=0,pmStart=1e7,pmUpper=10001e3,pmCount=pmStart+1,pmt="",pms=[],olInfo=new Info("4.22",0),FREPLACE=0,FBEFORE=1,FAFTER=2,FALTERNATE=3,FCHAIN=4,olHideForm=0,olHautoFlag=0,olVautoFlag=0,hookPts=[],postParse=[],cmdLine=[],runTime=[];registerCommands("donothing,inarray,caparray,sticky,background,noclose,caption,left,right,center,offsetx,offsety,fgcolor,bgcolor,textcolor,capcolor,closecolor,width,border,cellpad,status,autostatus,autostatuscap,height,closetext,snapx,snapy,fixx,fixy,relx,rely,fgbackground,bgbackground,padx,pady,fullhtml,above,below,capicon,textfont,captionfont,closefont,textsize,captionsize,closesize,timeout,function,delay,hauto,vauto,closeclick,wrap,followmouse,mouseoff,closetitle,cssoff,compatmode,cssclass,fgclass,bgclass,textfontclass,captionfontclass,closefontclass");typeof ol_fgcolor=="undefined"&&(ol_fgcolor="#ffffff");typeof ol_bgcolor=="undefined"&&(ol_bgcolor="#ffffff");typeof ol_textcolor=="undefined"&&(ol_textcolor="#000000");typeof ol_capcolor=="undefined"&&(ol_capcolor="#ffffff");typeof ol_closecolor=="undefined"&&(ol_closecolor="#9999FF");typeof ol_textfont=="undefined"&&(ol_textfont="Inherit");typeof ol_captionfont=="undefined"&&(ol_captionfont="Inherit");typeof ol_closefont=="undefined"&&(ol_closefont="Inherit");typeof ol_textsize=="undefined"&&(ol_textsize="1");typeof ol_captionsize=="undefined"&&(ol_captionsize="1");typeof ol_closesize=="undefined"&&(ol_closesize="1");typeof ol_width=="undefined"&&(ol_width="320");typeof ol_border=="undefined"&&(ol_border="0");typeof ol_cellpad=="undefined"&&(ol_cellpad=0);typeof ol_offsetx=="undefined"&&(ol_offsetx=0);typeof ol_offsety=="undefined"&&(ol_offsety=0);typeof ol_text=="undefined"&&(ol_text="Default Text");typeof ol_cap=="undefined"&&(ol_cap="");typeof ol_sticky=="undefined"&&(ol_sticky=0);typeof ol_background=="undefined"&&(ol_background="");typeof ol_close=="undefined"&&(ol_close="Close");typeof ol_hpos=="undefined"&&(ol_hpos=RIGHT);typeof ol_status=="undefined"&&(ol_status="");typeof ol_autostatus=="undefined"&&(ol_autostatus=0);typeof ol_height=="undefined"&&(ol_height=-1);typeof ol_snapx=="undefined"&&(ol_snapx=0);typeof ol_snapy=="undefined"&&(ol_snapy=0);typeof ol_fixx=="undefined"&&(ol_fixx=-1);typeof ol_fixy=="undefined"&&(ol_fixy=-1);typeof ol_relx=="undefined"&&(ol_relx=null);typeof ol_rely=="undefined"&&(ol_rely=null);typeof ol_fgbackground=="undefined"&&(ol_fgbackground="");typeof ol_bgbackground=="undefined"&&(ol_bgbackground="");typeof ol_padxl=="undefined"&&(ol_padxl=1);typeof ol_padxr=="undefined"&&(ol_padxr=1);typeof ol_padyt=="undefined"&&(ol_padyt=1);typeof ol_padyb=="undefined"&&(ol_padyb=1);typeof ol_fullhtml=="undefined"&&(ol_fullhtml=0);typeof ol_vpos=="undefined"&&(ol_vpos=ABOVE);typeof ol_aboveheight=="undefined"&&(ol_aboveheight=0);typeof ol_capicon=="undefined"&&(ol_capicon="");typeof ol_frame=="undefined"&&(ol_frame=self);typeof ol_timeout=="undefined"&&(ol_timeout=0);typeof ol_function=="undefined"&&(ol_function=null);typeof ol_delay=="undefined"&&(ol_delay=0);typeof ol_hauto=="undefined"&&(ol_hauto=0);typeof ol_vauto=="undefined"&&(ol_vauto=0);typeof ol_closeclick=="undefined"&&(ol_closeclick=0);typeof ol_wrap=="undefined"&&(ol_wrap=0);typeof ol_followmouse=="undefined"&&(ol_followmouse=1);typeof ol_mouseoff=="undefined"&&(ol_mouseoff=0);typeof ol_closetitle=="undefined"&&(ol_closetitle="Close");typeof ol_compatmode=="undefined"&&(ol_compatmode=0);typeof ol_css=="undefined"&&(ol_css=CSSOFF);typeof ol_fgclass=="undefined"&&(ol_fgclass="");typeof ol_bgclass=="undefined"&&(ol_bgclass="");typeof ol_textfontclass=="undefined"&&(ol_textfontclass="");typeof ol_captionfontclass=="undefined"&&(ol_captionfontclass="");typeof ol_closefontclass=="undefined"&&(ol_closefontclass="");typeof ol_texts=="undefined"&&(ol_texts=["Text 0","Text 1"]);typeof ol_caps=="undefined"&&(ol_caps=["Caption 0","Caption 1"]);var o3_text="",o3_cap="",o3_sticky=0,o3_background="",o3_close="Close",o3_hpos=RIGHT,o3_offsetx=2,o3_offsety=2,o3_fgcolor="",o3_bgcolor="",o3_textcolor="",o3_capcolor="",o3_closecolor="",o3_width=100,o3_border=1,o3_cellpad=2,o3_status="",o3_autostatus=0,o3_height=-1,o3_snapx=0,o3_snapy=0,o3_fixx=-1,o3_fixy=-1,o3_relx=null,o3_rely=null,o3_fgbackground="",o3_bgbackground="",o3_padxl=0,o3_padxr=0,o3_padyt=0,o3_padyb=0,o3_fullhtml=0,o3_vpos=BELOW,o3_aboveheight=0,o3_capicon="",o3_textfont="Roboto,Verdana,Arial,Helvetica",o3_captionfont="Roboto,Verdana,Arial,Helvetica",o3_closefont="Roboto,Verdana,Arial,Helvetica",o3_textsize="1",o3_captionsize="1",o3_closesize="1",o3_frame=self,o3_timeout=0,o3_timerid=0,o3_allowmove=0,o3_function=null,o3_delay=0,o3_delayid=0,o3_hauto=0,o3_vauto=0,o3_closeclick=0,o3_wrap=0,o3_followmouse=1,o3_mouseoff=0,o3_closetitle="",o3_compatmode=0,o3_css=CSSOFF,o3_fgclass="",o3_bgclass="",o3_textfontclass="",o3_captionfontclass="",o3_closefontclass="",o3_x=0,o3_y=0,o3_showingsticky=0,o3_removecounter=0,over=null,fnRef,hoveringSwitch=!1,olHideDelay,isMac=navigator.userAgent.indexOf("Mac")!=-1,olOp=navigator.userAgent.toLowerCase().indexOf("opera")>-1&&document.createTextNode,olNs4=navigator.appName=="Netscape"&&parseInt(navigator.appVersion)==4,olNs6=document.getElementById?!0:!1,olKq=olNs6&&/konqueror/i.test(navigator.userAgent),olIe4=document.all?!0:!1,olIe5=!1,olIe55=!1,docRoot="document.body";olNs4&&(oW=window.innerWidth,oH=window.innerHeight,window.onresize=function(){(oW!=window.innerWidth||oH!=window.innerHeight)&&location.reload()});olIe4&&(agent=navigator.userAgent,/MSIE/.test(agent)&&(versNum=parseFloat(agent.match(/MSIE[ ](\d{1,2}\.\d+)\.*/i)[1]),versNum>=5&&(olIe5=!0,olIe55=versNum>=5.5&&!olOp?!0:!1,olNs6&&(olNs6=!1))),olNs6&&(olIe4=!1));document.compatMode&&document.compatMode=="CSS1Compat"&&(docRoot=olIe4&&!olOp?"document.documentElement":docRoot);window.addEventListener?window.addEventListener("load",OLonLoad_handler,!1):window.attachEvent&&window.attachEvent("onload",OLonLoad_handler);olShowId=-1;registerHook("ol_content_simple",ol_content_simple,FALTERNATE,CSSOFF);registerHook("ol_content_caption",ol_content_caption,FALTERNATE,CSSOFF);registerHook("ol_content_background",ol_content_background,FALTERNATE,CSSOFF);registerHook("ol_content_simple",ol_content_simple,FALTERNATE,CSSCLASS);registerHook("ol_content_caption",ol_content_caption,FALTERNATE,CSSCLASS);registerHook("ol_content_background",ol_content_background,FALTERNATE,CSSCLASS);registerPostParseFunction(checkPositionFlags);registerHook("hideObject",nbspCleanup,FAFTER);registerHook("horizontalPlacement",horizontalPlacement,FCHAIN);registerHook("verticalPlacement",verticalPlacement,FCHAIN);(olNs4||olIe5&&isMac||olKq)&&(olLoaded=1);registerNoParameterCommands("sticky,autostatus,autostatuscap,fullhtml,hauto,vauto,closeclick,wrap,followmouse,mouseoff,compatmode");olCheckMouseCapture=!0;olNs4||olNs6||olIe4?olMouseCapture():(overlib=no_overlib,nd=no_overlib,ver3fix=!0);jQuery.validator.setDefaults({ignore:null});$(document).ready(function(){$.validator.methods.number=function(n,t){return n.indexOf(".")>0?!1:this.optional(t)||jQuery.isNumeric(parseFloat(n.replace(",",".")))};jQuery.extend(jQuery.validator.methods,{range:function(n,t,i){var r=parseFloat(n.replace(",","."));return this.optional(t)||r>=i[0]&&r<=i[1]}});jQuery.validator.methods.date=function(n){return/(^(((0[1-9]|1[0-9]|2[0-8])[\/](0[1-9]|1[012]))|((29|30|31)[\/](0[13578]|1[02]))|((29|30)[\/](0[4,6,9]|11)))[\/](19|[2-9][0-9])\d\d$)|(^29[\/]02[\/](19|[2-9][0-9])(00|04|08|12|16|20|24|28|32|36|40|44|48|52|56|60|64|68|72|76|80|84|88|92|96)$)/.test(n)};$("[data-val-number]").on("keydown",function(n){(n.which==110||n.which==190)&&n.preventDefault()});$("[data-val-number]").on("change",function(){$(this).val($(this).val().replace(/\./g,""))})});$(document).ready(function(){var t,i,r,n;svg4everybody();$("svg[data-nhp-clr]:not(.active)").attr("fill",function(){return $(this).data("nhp-clr")});$(".main_icons a").hover(function(){$(this).find("svg").attr("fill",function(){return $(this).data("nhp-hvr")})},function(){$(this).find("svg").attr("fill",function(){return $(this).data("nhp-clr")})});$(document).on("click",".yamm .dropdown-menu",function(n){n.stopPropagation()});$(".independer_contact .input-group #Onderwerp").val("Hypotheken").prop("selected",!0);t=function(n){var t=$($(".tab")[n]),i=$(".tab.tab_active"),r=$(".top5_body")[n];i.removeClass("tab_active").addClass("tab_inactive");t.removeClass("tab_inactive").addClass("tab_active");$(".top5_body").hide();$(r).show()};t(0);$(".sb_list .tabs .tab, .interest_list .tabs .tab").click(function(n){n.preventDefault();var i=$(".tab").index(this);t(i)});i=$("#register_link, #login_link");r=$("#close, #inputs, .commit_button");$("#login").on({click:function(){r.removeClass("hidden");i.addClass("hidden");$("#login").css("background-color","white")}},"#login_link");$("#login").on({click:function(){r.addClass("hidden");i.removeClass("hidden");$("#login").css("background-color","transparent")}},"#close, #commit_button");$(".Default .product_list > li.product").click(function(n){$("#award").is(":visible")&&n.target.nodeName!="A"&&($(this).next(".foldout:visible").length==0?($(".product_list").find("li.foldout:visible, i.close:visible").slideUp(),$(this).next(".foldout").slideDown(),$(this).find("i.close:hidden").show()):$(".product_list").find("li.foldout, i.close").slideUp())});$("div.executie").click(function(){$("div.executie").removeClass("active");$(this).addClass("active")});n=new ChatManager;$zopim(function(){$zopim.livechat.setOnStatus(function(){var t=$zopim.livechat.departments.getDepartment(zopimChatbox);typeof t=="undefined"||t.status==="offline"?n.disable():n.enable()});$(".chat").click(function(n){n.preventDefault();$zopim.livechat.departments.setVisitorDepartment(zopimChatbox);$zopim.livechat.window.show()});n.chat.click(function(){$zopim.livechat.departments.setVisitorDepartment(zopimChatbox);$zopim.livechat.window.show()})});$(".tab_wrapper div.active").next().css("border-left","none");$("div.header_row").css("display")=="none"&&($(".tab_wrapper").find("a, div:not(.gradient_bar)").css("width",100/$(".tab_wrapper").find("a, div:not(.gradient_bar)").length+"%"),$(".tab_wrapper").find(":nth-last-child(2)").css("border-right","none"));$(window).resize(function(){$("div.header_row").is(":visible")?($(".tab_wrapper").find("a, div:not(.gradient_bar)").css("width","auto"),$(".tab_wrapper").find(":nth-last-child(2)").css("border-right","4px solid white")):($(".tab_wrapper").find("a, div:not(.gradient_bar)").css("width",100/$(".tab_wrapper").find("a, div:not(.gradient_bar)").length+"%"),$(".tab_wrapper").find(":nth-last-child(2)").css("border-right","none"))})});$(document).ready(function(){$("[data-popover-text]").on("mouseover",function(){var n=$(this).data("popover-title")!=null?$(this).data("popover-title"):"Informatie",t=$(this).data("popover-text")!=null?$(this).data("popover-text"):"";show_info_popup(n,t)});$("[data-popover-text]").on("mouseout",function(){nd()})});!function(n,t){"function"==typeof define&&define.amd?define([],function(){return n.svg4everybody=t()}):"object"==typeof exports?module.exports=t():n.svg4everybody=t()}(this,function(){function n(n,t){if(t){var i=!n.getAttribute("viewBox")&&t.getAttribute("viewBox"),r=document.createDocumentFragment(),u=t.cloneNode(!0);for(i&&n.setAttribute("viewBox",i);u.childNodes.length;)r.appendChild(u.firstChild);n.appendChild(r)}}function t(t){t.onreadystatechange=function(){if(4===t.readyState){var i=document.createElement("x");i.innerHTML=t.responseText;t.s.splice(0).map(function(t){n(t[0],i.querySelector("#"+t[1].replace(/(\W)/g,"\\$1")))})}};t.onreadystatechange()}function i(i){function r(){for(var c,i,a,h;c=o[0];)if(i=c.parentNode,i&&/svg/i.test(i.nodeName)&&(a=c.getAttribute("xlink:href"),u&&(!f||f(a,i,c)))){var v=a.split("#"),l=v[0],y=v[1];(i.removeChild(c),l.length)?(h=e[l]=e[l]||new XMLHttpRequest,h.s||(h.s=[],h.open("GET",l),h.send()),h.s.push([i,y]),t(h)):n(i,document.getElementById(y))}s(r,17)}i=i||{};var o=document.getElementsByTagName("use"),u="polyfill"in i?i.polyfill:/\bEdge\/12\b|\bTrident\/[567]\b|\bVersion\/7.0 Safari\b/.test(navigator.userAgent)||(navigator.userAgent.match(/AppleWebKit\/(\d+)/)||[])[1]<537,f=i.validate,s=window.requestAnimationFrame||setTimeout,e={};u&&r()}return i});$.extend($.validator.messages,{required:"Dit is een verplicht veld.",remote:"Controleer dit veld.",email:"Vul hier een geldig e-mailadres in.",url:"Vul hier een geldige URL in.",date:"Vul hier een geldige datum in.",dateISO:"Vul hier een geldige datum in (ISO-formaat).",number:"Vul hier een geldig getal in.",digits:"Vul hier alleen getallen in.",creditcard:"Vul hier een geldig creditcardnummer in.",equalTo:"Vul hier dezelfde waarde in.",extension:"Vul hier een waarde in met een geldige extensie.",maxlength:$.validator.format("Vul hier maximaal {0} tekens in."),minlength:$.validator.format("Vul hier minimaal {0} tekens in."),rangelength:$.validator.format("Vul hier een waarde in van minimaal {0} en maximaal {1} tekens."),range:$.validator.format("Vul hier een waarde in van minimaal {0} en maximaal {1}."),max:$.validator.format("Vul hier een waarde in kleiner dan of gelijk aan {0}."),min:$.validator.format("Vul hier een waarde in groter dan of gelijk aan {0}."),iban:"Vul hier een geldig IBAN in.",dateNL:"Vul hier een geldige datum in.",phoneNL:"Vul hier een geldig Nederlands telefoonnummer in.",mobileNL:"Vul hier een geldig Nederlands mobiel telefoonnummer in.",postalcodeNL:"Vul hier een geldige postcode in.",bankaccountNL:"Vul hier een geldig bankrekeningnummer in.",giroaccountNL:"Vul hier een geldig gironummer in.",bankorgiroaccountNL:"Vul hier een geldig bank- of gironummer in."}),function(n){"function"==typeof define&&define.amd?define(["jquery"],n):"object"==typeof exports?module.exports=n(require("jquery")):n(jQuery||Zepto)}(function(n){var r=function(t,i,r){var f,e,o,u;t=n(t);f=this;e=t.val();i="function"==typeof i?i(t.val(),void 0,t,r):i;u={invalid:[],getCaret:function(){try{var n,i=0,f=t.get(0),u=document.selection,r=f.selectionStart;return u&&-1===navigator.appVersion.indexOf("MSIE 10")?(n=u.createRange(),n.moveStart("character",t.is("input")?-t.val().length:-t.text().length),i=n.text.length):(r||"0"===r)&&(i=r),i}catch(e){}},setCaret:function(n){try{if(t.is(":focus")){var i,r=t.get(0);r.setSelectionRange?r.setSelectionRange(n,n):r.createTextRange&&(i=r.createTextRange(),i.collapse(!0),i.moveEnd("character",n),i.moveStart("character",n),i.select())}}catch(u){}},events:function(){t.on("keyup.mask",u.behaviour).on("paste.mask drop.mask",function(){setTimeout(function(){t.keydown().keyup()},100)}).on("change.mask",function(){t.data("changed",!0)}).on("blur.mask",function(){e===t.val()||t.data("changed")||t.triggerHandler("change");t.data("changed",!1)}).on("keydown.mask, blur.mask",function(){e=t.val()}).on("focus.mask",function(t){!0===r.selectOnFocus&&n(t.target).select()}).on("focusout.mask",function(){r.clearIfNotMatch&&!o.test(u.val())&&u.val("")})},getRegexMask:function(){for(var n=[],t,e,o,r,u=0;u<i.length;u++)(t=f.translation[i.charAt(u)])?(e=t.pattern.toString().replace(/.{1}$|^.{1}/g,""),o=t.optional,(t=t.recursive)?(n.push(i.charAt(u)),r={digit:i.charAt(u),pattern:e}):n.push(o||t?e+"?":e)):n.push(i.charAt(u).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"));return n=n.join(""),r&&(n=n.replace(RegExp("("+r.digit+"(.*"+r.digit+")?)"),"($1)?").replace(RegExp(r.digit,"g"),r.pattern)),RegExp(n)},destroyEvents:function(){t.off("keydown keyup paste drop blur focusout ".split(" ").join(".mask "))},val:function(n){var i=t.is("input")?"val":"text";return 0<arguments.length?(t[i]()!==n&&t[i](n),i=t):i=t[i](),i},getMCharsBeforeCount:function(n,t){for(var u=0,r=0,e=i.length;r<e&&r<n;r++)f.translation[i.charAt(r)]||(n=t?n+1:n,u++);return u},caretPos:function(n,t,r,e){return f.translation[i.charAt(Math.min(n-1,i.length-1))]?Math.min(n+r-t-e,r):u.caretPos(n+1,t,r,e)},behaviour:function(t){var i;if(t=t||window.event,u.invalid=[],i=t.keyCode||t.which,-1===n.inArray(i,f.byPassKeys)){var r=u.getCaret(),e=u.val().length,h=r<e,o=u.getMasked(),s=o.length,c=u.getMCharsBeforeCount(s-1)-u.getMCharsBeforeCount(e-1);return u.val(o),!h||65===i&&t.ctrlKey||(8!==i&&46!==i&&(r=u.caretPos(r,e,s,c)),u.setCaret(r)),u.callbacks(t)}},getMasked:function(n){var h=[],k=u.val(),t=0,l=i.length,o=0,p=k.length,e=1,a="push",v=-1,c,w;for(r.reverse?(a="unshift",e=-1,c=0,t=l-1,o=p-1,w=function(){return-1<t&&-1<o}):(c=l-1,w=function(){return t<l&&o<p});w();){var b=i.charAt(t),y=k.charAt(o),s=f.translation[b];s?(y.match(s.pattern)?(h[a](y),s.recursive&&(-1===v?v=t:t===c&&(t=v-e),c===v&&(t-=e)),t+=e):s.optional?(t+=e,o-=e):s.fallback?(h[a](s.fallback),t+=e,o-=e):u.invalid.push({p:o,v:y,e:s.pattern}),o+=e):(n||h[a](b),y===b&&(o+=e),t+=e)}return n=i.charAt(c),l!==p+1||f.translation[n]||h.push(n),h.join("")},callbacks:function(n){var f=u.val(),h=f!==e,s=[f,n,t,r],o=function(n,t,i){"function"==typeof r[n]&&t&&r[n].apply(this,i)};o("onChange",!0===h,s);o("onKeyPress",!0===h,s);o("onComplete",f.length===i.length,s);o("onInvalid",0<u.invalid.length,[f,n,t,u.invalid,r])}};f.mask=i;f.options=r;f.remove=function(){var n=u.getCaret();return u.destroyEvents(),u.val(f.getCleanVal()),u.setCaret(n-u.getMCharsBeforeCount(n)),t};f.getCleanVal=function(){return u.getMasked(!0)};f.init=function(i){i=i||!1;r=r||{};f.byPassKeys=n.jMaskGlobals.byPassKeys;f.translation=n.jMaskGlobals.translation;f.translation=n.extend({},f.translation,r.translation);f=n.extend(!0,{},f,r);o=u.getRegexMask();!1===i?(r.placeholder&&t.attr("placeholder",r.placeholder),t.attr("autocomplete","off"),u.destroyEvents(),u.events(),i=u.getCaret(),u.val(u.getMasked()),u.setCaret(i+u.getMCharsBeforeCount(i,!0))):(u.events(),u.val(u.getMasked()))};f.init(!t.is("input"))},u,i,t;n.maskWatchers={};u=function(){var t=n(this),u={},f=t.attr("data-mask");return t.attr("data-mask-reverse")&&(u.reverse=!0),t.attr("data-mask-clearifnotmatch")&&(u.clearIfNotMatch=!0),"true"===t.attr("data-mask-selectonfocus")&&(u.selectOnFocus=!0),i(t,f,u)?t.data("mask",new r(this,f,u)):void 0};i=function(t,i,r){r=r||{};var u=n(t).data("mask"),f=JSON.stringify;t=n(t).val()||n(t).text();try{return"function"==typeof i&&(i=i(t)),"object"!=typeof u||f(u.options)!==f(r)||u.mask!==i}catch(e){}};n.fn.mask=function(t,u){u=u||{};var f=this.selector,o=n.jMaskGlobals,s=n.jMaskGlobals.watchInterval,e=function(){if(i(this,t,u))return n(this).data("mask",new r(this,t,u))};return n(this).each(e),f&&""!==f&&o.watchInputs&&(clearInterval(n.maskWatchers[f]),n.maskWatchers[f]=setInterval(function(){n(document).find(f).each(e)},s)),this};n.fn.unmask=function(){return clearInterval(n.maskWatchers[this.selector]),delete n.maskWatchers[this.selector],this.each(function(){var t=n(this).data("mask");t&&t.remove().removeData("mask")})};n.fn.cleanVal=function(){return this.data("mask").getCleanVal()};n.applyDataMask=function(t){t=t||n.jMaskGlobals.maskElements;(t instanceof n?t:n(t)).filter(n.jMaskGlobals.dataMaskAttr).each(u)};t={maskElements:"input,td,span,div",dataMaskAttr:"*[data-mask]",dataMask:!0,watchInterval:300,watchInputs:!0,watchDataMask:!1,byPassKeys:[9,16,17,18,36,37,38,39,40,91],translation:{0:{pattern:/\d/},9:{pattern:/\d/,optional:!0},"#":{pattern:/\d/,recursive:!0},A:{pattern:/[a-zA-Z0-9]/},S:{pattern:/[a-zA-Z]/}}};n.jMaskGlobals=n.jMaskGlobals||{};t=n.jMaskGlobals=n.extend(!0,{},t,n.jMaskGlobals);t.dataMask&&n.applyDataMask();setInterval(function(){n.jMaskGlobals.watchDataMask&&n.applyDataMask()},t.watchInterval)}),function(n){n.cookieBar=function(t,i){var u,b,l,a,v,c,y,p,w,d;u=t=="cookies"?"cookies":t=="set"?"set":!1;var tt={message:"We use cookies to track usage and preferences.",acceptButton:!0,acceptText:"I Understand",acceptFunction:function(n){n!="enabled"&&n!="accepted"&&(window.location=window.location.href)},declineButton:!1,declineText:"Disable Cookies",declineFunction:function(n){(n=="enabled"||n=="accepted")&&(window.location=window.location.href)},policyButton:!1,policyText:"Privacy Policy",policyURL:"/privacy-policy/",autoEnable:!0,acceptOnContinue:!1,acceptOnScroll:!1,acceptAnyClick:!1,expireDays:365,renewOnVisit:!1,forceShow:!1,effect:"slide",element:"body",append:!1,fixed:!1,bottom:!1,zindex:"",domain:String(window.location.hostname),referrer:String(document.referrer)},t=n.extend(tt,t),o=new Date;o.setTime(o.getTime()+t.expireDays*864e5);o=o.toGMTString();for(var s="cb-enabled={value}; expires="+o+"; path=/",r="",e,h=document.cookie.split("; "),f=0;f<h.length;f++)e=h[f].split("="),e[0]=="cb-enabled"&&(r=e[1]);if(r==""&&u!="cookies"&&t.autoEnable?(r="enabled",document.cookie=s.replace("{value}","enabled")):(r=="accepted"||r=="declined")&&u!="cookies"&&t.renewOnVisit&&(document.cookie=s.replace("{value}",r)),t.acceptOnContinue&&t.referrer.indexOf(t.domain)>=0&&String(window.location.href).indexOf(t.policyURL)==-1&&u!="cookies"&&u!="set"&&r!="accepted"&&r!="declined"&&(u="set",i="accepted"),u=="cookies")return r=="enabled"||r=="accepted"?!0:!1;if(u=="set"&&(i=="accepted"||i=="declined"))return document.cookie=s.replace("{value}",i),i=="accepted"?!0:!1;b=t.message.replace("{policy_url}",t.policyURL);l=t.acceptButton?'<a href="" class="cb-enable">'+t.acceptText+"<\/a>":"";a=t.declineButton?'<a href="" class="cb-disable">'+t.declineText+"<\/a>":"";v=t.policyButton?'<a href="'+t.policyURL+'" class="cb-policy">'+t.policyText+"<\/a>":"";c=t.fixed?t.bottom?' class="fixed bottom"':' class="fixed"':"";y=t.zindex!=""?' style="z-index:'+t.zindex+';"':"";(t.forceShow||r=="enabled"||r=="")&&(t.append?n(t.element).append('<div id="cookie-bar"'+c+y+"><p>"+b+l+a+v+"<\/p><\/div>"):n(t.element).prepend('<div id="cookie-bar"'+c+y+"><p>"+b+l+a+v+"<\/p><\/div>"));var g=function(i){t.acceptOnScroll&&n(document).off("scroll");typeof i=="function"&&i(r);t.effect=="slide"?n("#cookie-bar").slideUp(300,function(){n("#cookie-bar").remove()}):t.effect=="fade"?n("#cookie-bar").fadeOut(300,function(){n("#cookie-bar").remove()}):n("#cookie-bar").hide(0,function(){n("#cookie-bar").remove()});n(document).unbind("click",nt)},k=function(){document.cookie=s.replace("{value}","accepted");g(t.acceptFunction)},it=function(){var n=new Date;for(n.setTime(n.getTime()-864e6),n=n.toGMTString(),h=document.cookie.split("; "),f=0;f<h.length;f++)e=h[f].split("="),document.cookie=e[0].indexOf("_")>=0?e[0]+"=0; expires="+n+"; domain="+t.domain.replace("www","")+"; path=/":e[0]+"=0; expires="+n+"; path=/";document.cookie=s.replace("{value}","declined");g(t.declineFunction)},nt=function(t){n(t.target).hasClass("cb-policy")||k()};if(n("#cookie-bar .cb-enable").click(function(){return k(),!1}),n("#cookie-bar .cb-disable").click(function(){return it(),!1}),t.acceptOnScroll){p=n(document).scrollTop();n(document).on("scroll",function(){w=n(document).scrollTop();d=w>p?w-p:p-w;d>=Math.round(t.acceptOnScroll)&&k()})}t.acceptAnyClick&&n(document).bind("click",nt)}}(jQuery)