').appendTo("body");if(f.css("display")!=="none"){return}f.remove();g=h.wrap('
').parent();h.wrap('
');h.attr({role:"menu",id:"slideout-body"}).find("ul, li").attr("role","presentation");if(i){h.find('a[href="'+window.location.href+'"]').replaceWith('
'+b(this).text()+"")}e=h.find("a").attr("role","menuitem");n=function(){if(!r){var u=b("#wb-core-in").offset().left;if(u<=t){u=0}g.css("top",b("#wb-core-in").offset().top);g.css("right",u)}};m=function(v){o.off("click vclick touchstart",m);e.off("click vclick touchstart",m);d.off("click vclick touchstart",m);g.off("keydown",j);h.off("keydown",j);b(document).off("click vclick touchstart",l);if(!r){var u=g.position();if(pe.ie<=0||document.documentMode!==undefined){g.removeClass("slideoutWrapper").addClass("slideoutWrapperRel").css({top:u.top-b("#wb-core-in").offset().top,right:t-10})}setTimeout(function(){h.show()},50);pe.focus(e.eq(0))}r=!r;g.animate({width:parseInt(g.css("width"),10)===(k.imgShow.width+q)?h.outerWidth()+(k.imgShow.width+q):(k.imgShow.width+q)+"px"},function(){if(!r){h.hide();g.find("#slideoutInnerWrapper").css("width",k.imgHide.width);if(pe.ie<=0||document.documentMode!==undefined){g.addClass("slideoutWrapper");g.removeClass("slideoutWrapperRel");g.css("width",(k.imgShow.width+q)+"px").css("top",b("#wb-core-in").offset().top);n()}}else{if(parseInt(pe.ie,10)===7&&document.documentMode===undefined){h.find("ul").html(h.find("ul").html())}}o.on("click vclick touchstart",m);e.on("click vclick touchstart",m);d.on("click vclick touchstart",m);g.on("keydown",j);h.on("keydown",j);b(document).on("click vclick touchstart",l)});if(r){g.find("#slideoutToggle a img").attr({src:k.imgHide.src,title:k.imgHide.alt,alt:k.imgHide.alt});g.find("#slideoutToggle a");h.attr("aria-hidden","false");g.find("#slideoutInnerWrapper").css("width","")}else{g.find("#slideoutToggle a img").attr({src:k.imgShow.src,title:k.imgShow.alt,alt:k.imgShow.alt});g.find("#slideoutToggle a");h.attr("aria-hidden","true")}if(b(v.target).is(d)){return false}};j=function(A){var z=b(A.target),y=z.is('[role="menuitem"]'),u,B,x,v,w;if(y){e.each(function(C){if(b(this).is(z)){u=C;return false}})}if(!(A.ctrlKey||A.altKey||A.metaKey)){switch(A.keyCode){case 9:if(r&&((A.shiftKey&&z.is(o))||(!A.shiftKey&&z.is(d)))){o.trigger("click");pe.focus(o);return false}break;case 13:z.trigger("click");if(z.is(d)){pe.focus(o);return false}break;case 27:if(r){m();pe.focus(o);return false}break;case 32:z.trigger("click");if(z.is(d)){pe.focus(o);return false}break;case 38:if(!y){if(r){pe.focus(e.eq(e.length-1))}else{o.trigger("click")}}else{if(u===0){pe.focus(e.eq(e.length-1))}else{pe.focus(e.eq(u-1))}}return false;case 40:if(!y){if(r){pe.focus(e.eq(0))}else{o.trigger("click")}}else{if(u===e.length-1){pe.focus(e.eq(0))}else{pe.focus(e.eq(u+1))}}return false;default:if((A.keyCode>47&&A.keyCode<58)||(A.keyCode>64&&A.keyCode<91)){B=String.fromCharCode(A.keyCode).toLowerCase();x=b(A.target).text();w=h.find("a").filter(function(){return(b(this).text().substring(0,1).toLowerCase()===B||b(this).text()===x)});if(w.length>0){w.each(function(C){if(b(this).text()===x){v=C;return false}});if(v<(w.length-1)){pe.focus(w.eq(v+1));return false}pe.focus(w.eq(0))}return false}}}else{if(A.metaKey&&A.keycode===9){if(z.is(o)){o.trigger("click");return false}}}};e.on("click vclick touchstart",m);g.on("keydown",j);h.on("keydown",j);l=function(u){if(r&&!b(u.target).is(h)&&!b(u.target).is(g)&&b(u.target).closest(h).length===0){m()}};b(document).on("click vclick touchstart",l);h.append('
'+s+"");d=h.find("#slideoutClose");g.find("#slideoutInnerWrapper").css("padding",(q/2)+"px").prepend('
');o=g.find("#toggleLink");g.find("#slideoutToggle").css({width:k.imgShow.width,height:k.imgShow.height});h.addClass("tabbedSlideout");p=h.outerHeight();g.css("width",(k.imgShow.width+q)+"px").css("top",b("#wb-core-in").offset().top);h.hide().attr("aria-hidden","true");g.find("#slideoutInnerWrapper").css("width",k.imgHide.width);if(pe.ie>0&&pe.ie<8&&document.documentMode===undefined){c=false}if(c){g.addClass("slideoutWrapper");pe.resize(n);n()}else{g.addClass("so-ie7");g.addClass("slideoutWrapperRel").css({right:t-10,top:"0"})}o.on("click vclick touchstart",m);d.on("click vclick touchstart",m);if(parseInt(pe.ie,10)===7){b("html").css("overflowY","auto")}}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.tabbedinterface={type:"plugin",depends:(pe.mobile?[]:["metadata","easytabs","equalheights"]),mobile:function(i,k){if(typeof k==="undefined"||!k){i.find(".wet-boew-tabbedinterface").each(function(){a.fn.tabbedinterface.mobile(b(this),true)})}var h=i.children(".tabs").children("li"),c=i.children(".tabs-panel").children("div"),j=0,e='
',o,l,n,d,m,g,f;for(g=0,f=h.length;g
";m="";c.each(function(p){e+='"+d+h.eq(p).children("a").text()+m+this.innerHTML+"
"});e+="";i.html(e);return i},_exec:function(h){if(pe.mobile){return a.fn.tabbedinterface.mobile(h).trigger("create")}var f,r=h.children(".tabs"),d=r.find("a").filter(":not(.tabs-toggle)"),c=h.children(".tabs-panel"),j=c.children(),e,p,l,n,m,g,s,v,k=pe.dic.get("%pause"),t=pe.dic.get("%tab-rotation","disable"),u=pe.dic.get("%play"),i=pe.dic.get("%tab-rotation","enable"),o,q,x,w="-link";n={panelActiveClass:"active",tabActiveClass:"active",defaultTab:"li:first-child",autoHeight:true,cycle:false,carousel:false,autoPlay:false,animate:false,animationSpeed:"normal",updateHash:false};m={defaultTab:((h.find(".default").length)?".default":undefined),autoHeight:h.hasClass("auto-height-none")?false:undefined,cycle:(h.hasClass("cycle-slow")?8000:(h.hasClass("cycle-fast")?2000:(h.hasClass("cycle")?6000:undefined))),carousel:h.hasClass("style-carousel")?true:undefined,autoPlay:h.hasClass("auto-play")?true:undefined,animate:(h.hasClass("animate")||h.hasClass("animate-slow")||h.hasClass("animate-fast"))?true:undefined,animationSpeed:(h.hasClass("animate-slow")?"slow":(h.hasClass("animate-fast")?"fast":undefined))};b.metadata.setType("attr","data-wet-boew");if(typeof wet_boew_tabbedinterface!=="undefined"&&wet_boew_tabbedinterface!==null){b.extend(n,wet_boew_tabbedinterface,m,h.metadata())}else{b.extend(n,m,h.metadata())}r.attr("role","tablist").children("li").attr("role","presentation");d.attr({role:"tab","aria-selected":"false"});c.attr("id",j.eq(0).attr("id")+"-parent");j.attr({tabindex:"-1",role:"tabpanel","aria-hidden":"true"}).each(function(){if(pe.ie!==0){this.setAttribute("aria-labelledby",this.id+w)}});f=r.find(".default a");if(f.length===0){f=r.find("li:first-child a")}f.attr("aria-selected","true");j.filter(this.hash).attr("aria-hidden","false");d.on("keydown click",function(z){var y=b(z.target),A;if(z.type==="keydown"){if(z.keyCode===13||z.keyCode===32){if(z.stopPropagation){z.stopImmediatePropagation()}else{z.cancelBubble=true}z.preventDefault();if(!y.is(d.filter("."+n.tabActiveClass))){v(y,d,j,n,false)}else{pe.focus(j.filter(y.attr("href")))}}else{if(z.keyCode===37||z.keyCode===38){v(s(d),d,j,n,false);z.preventDefault()}else{if(z.keyCode===39||z.keyCode===40){v(g(d),d,j,n,false);z.preventDefault()}}}}else{A=j.filter(y.attr("href"));if(!A.data("easytabs").lastHeight){A.data("easytabs").lastHeight=A.outerHeight()}}});g=function(y){var z=y.filter("."+n.tabActiveClass).parent().next(":not(.tabs-toggle)");return(z.length===0?y.first():z.children("a"))};s=function(y){var z=y.filter("."+n.tabActiveClass).parent().prev();return(z.length===0?y.last():z.children("a"))};v=function(z,y,D,C,B){var A,F,E;D.stop(true,true);if(C.animate){F=D.filter("."+C.panelActiveClass).removeClass(C.panelActiveClass).attr("aria-hidden","true");E=D.filter(z.attr("href"));F.fadeOut(C.animationSpeed,function(){return E.fadeIn(C.animationSpeed,function(){return b(this).addClass(C.panelActiveClass).attr("aria-hidden","false")})})}else{D.removeClass(C.panelActiveClass).attr("aria-hidden","true").hide();D.filter(z.attr("href")).show().addClass(C.panelActiveClass).attr("aria-hidden","false")}y.removeClass(C.tabActiveClass).attr("aria-selected","false").parent().removeClass(C.tabActiveClass);z.addClass(C.tabActiveClass).attr("aria-selected","true").parent().addClass(C.tabActiveClass);A=z.parent().siblings(".tabs-toggle");if(!B&&(A.length===0||A.data("state")==="stopped")){return pe.focus(z)}};q=function(){if(p.data("state")==="stopped"){l(d,j,n);e.removeClass("tabs-start").addClass("tabs-stop").html(k+'
'+t+"");return b(".wb-invisible",e).text(t)}if(p.data("state")==="started"){return o()}};if(n.autoHeight&&!h.hasClass("tabs-style-4")&&!h.hasClass("tabs-style-5")){j.show();c.equalHeights(true)}h.easytabs(b.extend({},n,{cycle:false}));if(n.cycle){l=function(y,B,A){var z,C;z=y.filter("."+A.tabActiveClass);C=z.siblings(".tabs-roller");h.find(".tabs-toggle").data("state","started");return C.show().animate({width:z.parent().width()},A.cycle-200,"linear",function(){b(this).width(0).hide();v(g(y),y,B,A,true);return h.data("interval",setTimeout(function(){return l(y,B,A)},0))})};o=function(){clearTimeout(h.data("interval"));h.find(".tabs-roller").width(0).hide().stop();h.find(".tabs-toggle").data("state","stopped");e.removeClass("tabs-stop").addClass("tabs-start").html(u+'
'+i+"");return b(".wb-invisible",e).text(i)};x=c.attr("id");r.append('
'+pe.dic.get("%previous")+"");r.find(".tabs-prev").on("click",function(){v(s(d),d,j,n,true)});r.append('
'+pe.dic.get("%next")+"");r.find(".tabs-next").on("click",function(){v(g(d),d,j,n,true)});p=b('
'+k+''+t+"");e=p.find("a");r.append(p);p.click(q).on("keydown",function(y){if(y.keyCode===32){q();return y.preventDefault()}});r.find("li a").not(p.find("a")).on("click",function(){return o()});d.each(function(){var y;y=b('
').hide().on("click",function(){return b(this).siblings("a").trigger("click")}).on("hover",function(){return b(this).css("cursor","text")});if(pe.ie>0&&pe.ie<8){b(".tabs-style-2 .tabs, .tabs-style-2 .tabs li").css("filter","")}return b(this).parent().append(y)});l(d,j,n);if(!n.autoPlay){o()}}h.find("a").filter('[href^="#"]').each(function(){var A=b(this),y,z;z=A.attr("href");if(z.length>1){y=b(z,j);if(y.length){return A.on("click",function(D){var B,C;B=y.parents('[role="tabpanel"]:hidden');if(B){D.preventDefault();C=B.attr("id");B.parent().siblings(".tabs").find("a").filter('[href="#'+C+'"]').trigger("click");return y.get(0).scrollIntoView(true)}})}}});return h.attr("class",h.attr("class").replace(/\bwidget-style-/,"style-"))}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.texthighlight={type:"plugin",_exec:function(d){function c(h,k){var e,j,g,f;h=h.replace(/^\s+|\s+$/g,"");h=h.replace(/\|+/g,"");e=h.split("+");if(e.length>0){h="";for(g=0,f=e.length;g
]*<))([\\s'])?("+h+")(?!>)";j=k.html().replace(new RegExp(h,"gi"),function(n,m,l,i){return(typeof l==="undefined"?"":l)+''+i+""});k.html(j);return null}if(pe.urlquery.texthighlight!==undefined){c(pe.urlquery.texthighlight,d)}return this}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.wamethod={type:"plugin",_exec:function(j){var g=j.find("#summary"),i=g.find("td"),e=j.find("#checklist input"),d=g.find("span").html("0"),f=d.filter("#rsltAAA").length>0;i.find("td").attr("aria-live","polite").attr("aria-relevant","text").attr("aria-atomic","true").attr("aria-busy","false");e.on("change",function(){var l=e.filter('[id^="ap"]:checked, [id^="an"]:checked').length,m=l+e.filter('[id^="af"]:checked').length,q=e.filter('[id^="aap"]:checked, [id^="aan"]:checked').length,p=q+e.filter('[id^="aaf"]:checked').length,o=e.filter('[id^="aaap"]:checked, [id^="aaan"]:checked').length,n=o+e.filter('[id^="aaaf"]:checked').length,k=e.filter('[id^="an"]:checked, [id^="aan"]:checked, [id^="aaan"]:checked').length;i.attr("aria-busy","true");d.filter("#rsltA").html(l);d.filter("#percA").html(Math.round(l/0.25));d.filter("#rsltAA").html(q);d.filter("#percAA").html(Math.round(q/0.13));d.filter("#naTotal").html(k);if(f){d.filter("#rsltAAA").html(o);d.filter("#percAAA").html(Math.round(o/0.23))}d.filter("#evalTotal").html(m+p+n);d.filter("#percEvalTotal").html(Math.round((m+p+n)/0.61));d.filter("#rsltTotal").html(l+q+o);d.filter("#percTotal").html(Math.round((l+q+o)/0.61));d.filter("#percNATotal").html(Math.round(k/0.61));i.attr("aria-busy","false")});function c(){j.find("h2, #checklist h3, .last").each(function(){var k=b(this);k.before("<"+k.get(0).tagName+' class="print">'+k.text()+""+k.get(0).tagName+">");k.hide()})}function h(){j.find("h2, #checklist h3, .last").each(function(){j.find(".print").remove();j.find("h2, #checklist h3, .last").show()})}if(pe.ie>0&&pe.ie<9){window.onbeforeprint=c;window.onafterprint=h}return j}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.webwidget={type:"plugin",twitter:{_parse_entries:function(d,e,k){var j,h,c,g,f;j=(e>0&&e';for(h=0;h '+pe.string.ify.clean(f.text)+' '+pe.dic.ago(f.created_at)+""}c+="";return k.replaceWith(c)},_map_entries:function(c){return c},_json_request:function(c){if(c.toLowerCase().indexOf("!/search/")>-1){return c.replace("http://","https://").replace(/https:\/\/twitter.com\/#!\/search\/(.+$)/,function(e,d){return"http://search.twitter.com/search.json?q="+encodeURI(decodeURI(d))})}return c.replace("http://","https://").replace(/https:\/\/twitter.com\/#!\/(.+$)/i,function(e,d){return"http://twitter.com/status/user_timeline/"+encodeURI(decodeURI(d))+".json?callback=?"})}},weather:{_parse_entries:function(d,e,g){var f=d[1],c='- '+f.title+'['+pe.date.to_iso_format(f.publishedDate,true)+"]
";return g.replaceWith(c)},_map_entries:function(c){return c.responseData.feed.entries},_json_request:function(d,c){var e;d=d.replace(/^.*?\.gc\.ca\/([a-z]+).+\/(.*?)_[a-z]+_([ef])\.html/i,"http://www.weatheroffice.gc.ca/rss/$1/$2_$3.xml");e="http://ajax.googleapis.com/ajax/services/feed/load?v=1.0&callback=?&q="+encodeURI(decodeURI(d));if(c>0){e+="&num="+c}return e}},rss:{_parse_entries:function(d,e,k){var j,h,c,g,f;j=(e>0&&e';for(h=0;h'+f.title+'['+pe.date.to_iso_format(f.publishedDate,true)+"]"}c+="";return k.replaceWith(c)},_map_entries:function(c){return c.responseData.feed.entries},_json_request:function(d,c){var e;e="http://ajax.googleapis.com/ajax/services/feed/load?v=1.0&callback=?&q="+encodeURI(decodeURI(d));if(c>0){e+="&num="+c}return e}},_exec:function(h,j){var o,m,d,e,g,f,l,n,k,c;d=a.limit(h);m=h.find("a").map(function(){var i=this.href;if(!j&&/twitter.com/i.test(i)){j="twitter"}if(!j&&/weatheroffice.gc.ca/i.test(i)){j="weather"}if(!j){j="rss"}return i});o=b('
');h.find(".widget-content").replaceWith(o);e=a.fn.webwidget[j];l=m.length-1;g=[];k=e._parse_entries;f=m.length-1;c=[];n=function(q){var p,i;q=e._map_entries(q);for(p=0,i=q.length;p=0){b.getJSON(e._json_request(m[f]),n);c.push(f-=1)}b.extend({},c);return}};window.pe=a;return window.pe}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.zebra={type:"plugin",fnZebraComplexTable:function(f,c){var h,k,g,m,d,e,l;if(!b(f).data().tblparser){a.fn.parsertable.parse(b(f))}h=b(f).data().tblparser;if(h.keycell){for(k=0;k0&&h.row[k-1].type&&h.row[k-1].type===3&&h.row[k-1].rowgroup.uid!==h.row[k].rowgroup.uid){b(h.row[k].rowgroup.elem).addClass("table-rowgroupmarker")}}}b("th",f).each(function(){var i=b(this);if(i.data().tblparser.type===7){i.addClass("table-headgroup"+i.data().tblparser.scope+i.data().tblparser.level)}});if(h.colgroup){for(k=0;k0&&h.colgroup[k].type===3&&h.colgroup[k-1].type===3&&h.colgroup[k-1].level>h.colgroup[k].level)||(h.colgroup[k].type===2&&((k>0&&h.colgroup[0].type===2)||(k>1&&h.colgroup[0].type===1))))){b(h.colgroup[k].elem).addClass("table-colgroupmarker")}}}if(h.lstrowgroup){for(k=0;k0){b(h.lstrowgroup[k].elem).addClass("table-rowgroupmarker")}}}if(!c.noheaderhighlight||c.columnhighlight){m=function(n){var j=[],i=b(n).data().tblparser;if(i.row&&i.row.header&&!c.norowheaderhighlight){for(k=0;k0});e.on("mouseleave focusout",function(i){i.stopPropagation();b(this).removeClass("table-hover")});e.on("mouseenter focusin",function(i){i.stopPropagation();b(this).addClass("table-hover")});if(c.vectorstripe){if(!c.columnhighlight){e.filter(":odd").addClass("table-even");e.filter(":even").addClass("table-odd")}else{l=[];for(k=0;k1||f.children("thead").children("tr").length>1||f.children("colgroup").length>2)){o=false}if(o&&(f.children("colgroup").length===2&&f.children("colgroup:first").children("col").length>1)){o=false}if(o&&(b("tr:first th, tr:first td, tr",f).length)0){o=false;return}h+=1});if(o){d=(f.children("tr").add(f.children("tbody").children("tr"))).filter(function(){return b(this).children("td").length>0});d.on("mouseleave focusout",function(i){i.stopPropagation();b(this).removeClass("table-hover")});d.on("mouseenter focusin",function(i){i.stopPropagation();b(this).addClass("table-hover")});if(!c.columnhighlight){d.filter(":odd").addClass("table-even");d.filter(":even").addClass("table-odd")}else{k=f.children("colgroup:last").children("col");b(k).filter(":odd").addClass("table-even");b(k).filter(":even").addClass("table-odd")}return}if(a.fn.parsertable){a.fn.zebra.fnZebraComplexTable(f,c);return}if(a.fn.zebra.complexTblStack){a.fn.zebra.complexTblStack.push(f);a.fn.zebra.complexTblOptsStack.push(jQuery.extend(true,{},c));return}a.fn.zebra.complexTblStack=[];a.fn.zebra.complexTblOptsStack=[];a.fn.zebra.complexTblStack.push(f);a.fn.zebra.complexTblOptsStack.push(jQuery.extend(true,{},c));b(document).on("depsTableParserLoaded",function(){while(a.fn.zebra.complexTblStack.length>0){a.fn.zebra.fnZebraComplexTable(a.fn.zebra.complexTblStack.shift(),a.fn.zebra.complexTblOptsStack.shift())}});a.wb_load({dep:["parserTable"]},"depsTableParserLoaded")}else{if(f.is("dl")){b(f).children().each(function(){var i=b(this);switch(this.nodeName.toLowerCase()){case"dt":if(l){l=false;i.addClass("list-even")}else{l=true;i.addClass("list-odd")}e=[];m.push(i.get(0));i.data().dlitem=e;e.push(i.get(0));break;case"dd":if(l){i.addClass("list-odd")}else{i.addClass("list-even")}m.push(i.get(0));i.data().dlitem=e;e.push(i.get(0));break;default:break}});if(!c.nohover){b(m).on("mouseleave focusout",function(i){i.stopPropagation();b(b(this).data().dlitem).removeClass("list-hover")});b(m).on("mouseenter focusin",function(i){i.stopPropagation();b(b(this).data().dlitem).addClass("list-hover")})}}else{j=f.children("li");g=(f.parents("li").length+1)%2;j.filter(":odd").addClass(g===0?"list-odd":"list-even");j.filter(":even").addClass(g===1?"list-odd":"list-even");if(!c.nohover){j.on("mouseleave focusout",function(i){i.stopPropagation();b(this).removeClass("list-hover")});j.on("mouseenter focusin",function(i){i.stopPropagation();b(this).addClass("list-hover")})}}}}};window.pe=a;return a}(jQuery));
+(function(c){var a,b;a=(typeof window.pe!=="undefined"&&window.pe!==null)?window.pe:{fn:{}};b={language:(document.getElementsByTagName("html")[0].lang?document.getElementsByTagName("html")[0].lang:"en"),touchscreen:"ontouchstart" in document.documentElement,mobileview:(wet_boew_theme!==null&&typeof wet_boew_theme.mobileview==="function"),suffix:c('body script[src*="/pe-ap-min.js"]').length>0?"-min":"",header:c("#wb-head"),bodydiv:c("body > div"),main:c("#wb-main"),secnav:c("#wb-sec"),footer:c("#wb-foot"),urlpage:"",urlhash:"",urlquery:"",svg:(c('').get(0).ownerSVGElement!==undefined),document:c(document),mobiletest:"",ie:(/(MSIE) ([\w.]+)/.exec(navigator.userAgent)||[])[2]||"0",_init:function(){var d=c("html"),j,e,h,g,i,f=false;a.mobiletest=document.createElement("div");a.mobiletest.setAttribute("id","mobiletest");document.body.appendChild(a.mobiletest);a.polyfills.init();a.urlpage=a.url(window.location.href);a.urlhash=a.urlpage.hash;a.urlquery=a.urlpage.params;d.removeClass("no-js").addClass(wet_boew_theme!==null?wet_boew_theme.theme:"").addClass(a.touchscreen?"touchscreen":"");j=a.main.find("a").filter(function(){return this.href.indexOf("#")!==-1});e=j.filter(function(){return c(this).attr("href").indexOf("#")===0});if(a.mobilecheck()){a.mobile=true;a.bodydiv.attr("data-role","page").addClass("ui-page-active");i=navigator.userAgent.indexOf("BlackBerry");d.addClass((i===0||(i!==-1&&navigator.userAgent.indexOf("Version/6")!==-1)?"bb-pre7":""));a.document.on("mobileinit",function(){c.extend(c.mobile,{ajaxEnabled:false,pushStateEnabled:false,autoInitializePage:(f?true:false)});if(f){a.mobilelang()}});a.document.on("pageinit",function(){e.off("click vclick").on("click vclick",function(){h=c(c(this).attr("href").replace(/[.:]/,"\\$1"));h.filter(":not(a, button, input, textarea, select)").attr("tabindex","-1");if(h.length>0){c.mobile.silentScroll(a.focus(h).offset().top)}});if(a.urlhash.length!==0){g=a.main.find("#"+a.urlhash);g.filter(":not(a, button, input, textarea, select)").attr("tabindex","-1");if(g.length>0&&g.attr("data-role")!=="page"){setTimeout(function(){c.mobile.silentScroll(a.focus(g).offset().top)},200)}}});a.add.css([a.add.themecsslocation+"jquery.mobile"+a.suffix+".css"]);a.add._load([a.add.liblocation+"jquerymobile/jquery.mobile.min.js"])}else{e.on("click vclick",function(){h=c(c(this).attr("href").replace(/[.:]/,"\\$1"));h.filter(":not(a, button, input, textarea, select)").attr("tabindex","-1");if(h.length>0){a.focus(h)}});if(a.urlhash.length>0){h=c(a.urlhash.replace(/[.:]/,"\\$1"));h.filter(":not(a, button, input, textarea, select)").attr("tabindex","-1");if(h.length>0){a.focus(h)}}}c.when.apply(c,c.map(c("*[data-ajax-replace], *[data-ajax-append]"),function(n){var m=c(n),l=false,k;if(m.attr("data-ajax-replace")!==undefined){l=true;k=m.attr("data-ajax-replace")}else{if(m.attr("data-ajax-append")!==undefined){k=m.attr("data-ajax-append")}}return c.get(k,function(o){if(l){m.empty()}m.append(c(o))},"html")})).always(function(){a.document.one("languageloaded",function(){if(a.pedisable()===true){return false}if(wet_boew_theme!==null){wet_boew_theme.init();if(a.mobile){a.document.one("mobileviewloaded",function(){if(typeof c.mobile!=="undefined"){a.mobilelang();c.mobile.initializePage()}else{f=true}});wet_boew_theme.mobileview()}}else{if(a.mobile){if(typeof c.mobile!=="undefined"){a.mobilelang();c.mobile.initializePage()}else{f=true}}}a.dance()});a.add.language(a.language)})},mobile:false,mobilecheck:function(){return a.mobiletest.offsetWidth!==0},mobilelang:function(){c.mobile.collapsible.prototype.options.expandCueText=a.dic.get("%jqm-expand");c.mobile.collapsible.prototype.options.collapseCueText=a.dic.get("%jqm-collapse");c.mobile.dialog.prototype.options.closeBtnText=a.dic.get("%close");c.mobile.page.prototype.options.backBtnText=a.dic.get("%back");c.mobile.textinput.prototype.options.clearSearchButtonText=a.dic.get("%jqm-clear-search");c.mobile.selectmenu.prototype.options.closeText=a.dic.get("%close");c.mobile.listview.prototype.options.filterPlaceholder=a.dic.get("%jqm-filter")},pagecontainer:function(){return c("#wb-body-sec-sup,#wb-body-sec,#wb-body").add("body").eq(0)},resize:function(d){ResizeEvents.initialise();ResizeEvents.eventElement.bind("x-text-resize x-zoom-resize x-window-resize",function(){d()});return},url:function(f){var e=document.createElement("div"),d;e.innerHTML='x';d=e.firstChild;return{source:d.href,protocol:d.protocol.replace(":",""),host:d.hostname,port:d.port==="0"?"80":d.port,query:d.search,params:(function(){var j,i,k,h,l,g;i={};h=d.search.replace(/^\?/,"").split("&");for(l=0,g=h.length;l'+((e.length>25)?e.substr(0,24)+"...":e)+""})},at:function(d){return d.replace(/(^|[^\w]+)\@([a-zA-Z0-9_]{1,15}(\/[a-zA-Z0-9\-_]+)*)/g,function(e,g,f){return g+'@'+f+""})},hash:function(d){return d.replace(/(^|[^&\w'"]+)\#([a-zA-Z0-9_]+)/g,function(e,g,f){return g+'#'+f+""})},clean:function(d){return this.hash(this.at(this.link(d)))}}}()),pad:function(e,d){var f;f=String(e);while(f.lengthd)-(eh){d=(f.getTimezoneOffset()-h.getTimezoneOffset())*k}else{d=(h.getTimezoneOffset()-f.getTimezoneOffset())*k}g=Math.abs(f.getTime()-h.getTime())-d;return Math.ceil(g/e)},to_iso_format:function(g,f){var e;e=this.convert(g);if(f){return e.getFullYear()+"-"+a.string.pad(e.getMonth()+1,2,"0")+"-"+a.string.pad(e.getDate(),2,"0")+" "+a.string.pad(e.getHours(),2,"0")+":"+a.string.pad(e.getMinutes(),2,"0")}return e.getFullYear()+"-"+a.string.pad(e.getMonth()+1,2,"0")+"-"+a.string.pad(e.getDate(),2,"0")},from_iso_format:function(e){var d=null;if(e){if(e.match(/\d{4}-\d{2}-\d{2}/)){d=new Date();d.setFullYear(e.substr(0,4),e.substr(5,2)-1,e.substr(8,2)-1)}return d}return null}},pedisable:function(){var i=(typeof localStorage!=="undefined"),h=(i?localStorage.getItem("pedisable"):null),g=(a.urlquery.pedisable!==undefined?a.urlquery.pedisable:h),f=document.getElementById("wb-tphp"),d=document.createElement("li"),k=a.urlquery,j,e="?";for(j in k){if(k.hasOwnProperty(j)&&j!=="pedisable"){e+=j+"="+k[j]+"&"}}if((a.ie>0&&a.ie<7&&g!=="false")||g==="true"){c("html").addClass("no-js pe-disable");if(i){localStorage.setItem("pedisable","true")}d.innerHTML=''+a.dic.get("%pe-enable")+"";f.appendChild(d);return true}else{if(g==="false"||h!==null){if(i){localStorage.setItem("pedisable","false")}}}d.innerHTML=''+a.dic.get("%pe-disable")+"";f.appendChild(d);return false},menu:{navcurrent:function(l,q,g){var o=window.location.hostname+window.location.pathname,r=window.location.search,f,n,u,e,i,s,v,t,k,h,d,p=a.main.find("h1").text(),j=false,m=a.ie!==0&&a.ie<8;l=typeof l.jquery!=="undefined"?l:c(l);f=l.find("a").get();g=(typeof g==="undefined")?"nav-current":g;v=f.length;while(v--){n=f[v];if((!m&&n.getAttribute("href").slice(0,1)!=="#")||(m&&(n.href.indexOf("#")===-1||o!==n.hostname+n.pathname.replace(/^([^\/])/,"/$1")))){u=n.hostname+n.pathname.replace(/^([^\/])/,"/$1");e=u.length;i=n.search;s=i.length;if((o.slice(-e)===u&&(s===0||r.slice(-s)===i))||n.innerHTML===p){j=true;break}}}if(!j){q=typeof q.jquery!=="undefined"?q:c(q);t=q.find("a").get();h=t.length;d=h;while(d--){k=t[d];t[d]=k.hostname+k.pathname.replace(/^([^\/])/,"/$1")}v=f.length;while(v--){n=f[v];if((!m&&n.getAttribute("href").slice(0,1)!=="#")||(m&&(n.href.indexOf("#")===-1||o!==n.hostname+n.pathname.replace(/^([^\/])/,"/$1")))){u=n.hostname+n.pathname.replace(/^([^\/])/,"/$1");e=u.length;d=h;while(d--){if(t[d].slice(-e)===u){j=true;break}}if(j){break}}}}return(j?c(n).addClass(g):c())},buildmobile:function(o,v,B,e,C,A,r){var k="h"+v,z="<"+k+">",x=""+k+">",u=(typeof o.jquery!=="undefined"?o:c(o)).find("> div, > ul, "+k),t,s,p,l,m,n,y=(e!==undefined?e:false),d=(C!==undefined?C:false),j=a.dic.get("%main-page"),q=(r!==undefined?r:true),g=(A!==undefined?A:B),i=(q?B:A),w='',h='',f=q?c(''):c("");if(u.get(0).tagName.toLowerCase()==="ul"){f.append(c(h).append(u.first().children("li")))}else{n=u.filter(k).length!==0;if(y&&!n){s='")}else{u.each(function(){var E=c(this),D=this.tagName.toLowerCase();if(D===k){p=E.children("a");l=p.hasClass("nav-current");s=c('"+z+E.text()+x+"
");t=E.next();if(t.get(0).tagName.toLowerCase()==="ul"){if(!y){t.append(c("").append(E.children("a").html(p[0].innerHTML+" - "+j)))}m=t.find("li ul");m.each(function(H){var J=c(this),G,F="",I="";if((v+1+H)<7){p=J.prev("a");G=p[0].innerHTML;J.attr({"data-role":"listview","data-theme":g}).wrap('");J.parent().prepend(F+G+I);J.append(''+G+" - "+j+"");p.remove()}else{J.attr({"data-role":"listview","data-theme":g})}});s.append(c(h).append(t.children("li")));if(m.length>0){s.find("ul").wrap(w)}}else{if(y){s.append(a.menu.buildmobile(E.parent().find(".mb-sm"),v+1,i,false,d,g,false))}else{s.append(a.menu.buildmobile(E.parent(),v+1,i,false,d,g,false))}if(!y){s.find('div[data-role="collapsible-set"]').eq(0).append(E.children("a").html(p[0].innerHTML+" - "+j).attr({"data-role":"button","data-theme":g,"data-icon":"arrow-r","data-iconpos":"right","data-corners":"false"}))}}f.append(s)}else{if(D==="div"){t=E.children("a, ul");if(t.length>0){if(t.get(0).tagName.toLowerCase()==="a"){f.append(''+t.html()+"")}else{f.append(E.children("ul").attr({"data-role":"listview","data-theme":(q?i:g)}))}}}}});f.children().wrapAll('')}}return f},expandcollapsemobile:function(h,d,f,e){var g=c((typeof h.jquery!=="undefined"?h:c(h))).find(d);if(e){g.parents('div[data-role="collapsible"]').attr("data-collapsed",f)}else{g.closest('div[data-role="collapsible"]').attr("data-collapsed",f)}},correctmobile:function(k){var f=(typeof k.jquery!=="undefined"?k:c(k)),h=f.find(".ui-controlgroup-controls > .ui-collapsible-set").get(),i,d=h.length,e,j,g;while(d--){i=h[d];i.getElementsByTagName("a")[0].className+=" ui-corner-top";e=i.childNodes;g=e.length;while(g--){j=e[g];if(j.nodeType===1){j.getElementsByTagName("a")[0].className+=" ui-corner-bottom";break}}}}},polyfills:{init:function(){var d=a.add.liblocation;if(!window.localStorage){a.add._load(d+"polyfills/localstorage"+a.suffix+".js","localstorage-loaded");c("html").addClass("polyfill-localstorage")}else{c("html").addClass("localstorage")}},polyload:function(e,h,u){var t=this.polyfill,f,l,n,j={},w=[],m,d,g,k=a.add.liblocation,p=[],r=[],o=[],s,v,q=c("html");for(f in t){if(t.hasOwnProperty(f)){l=t[f];n=u?c(l.selector):c();if(n.length!==0||c.inArray(f,e)!==-1){if(typeof l.supported==="undefined"){l.supported=(typeof l.support_check==="function"?l.support_check():l.support_check);if(!l.supported){m=l.depends;if(typeof m!=="undefined"){d=a.add.depends(m);g=[];for(s=0,v=m.length;s!==v;s+=1){if(c.inArray(m[s],a.add.staged)===-1){g.push(m[s])}}if(g.length!==0){j[f]=g}else{w.push(f)}}else{w.push(f)}q.addClass("polyfill-"+f);n.addClass("polyfill")}else{q.addClass(f)}}else{if(!l.supported&&typeof l.loaded==="undefined"){w.push(f)}}}}}for(s=0,v=w.length;s!==v;s+=1){l=t[w[s]];o[o.length]=(typeof l.load!=="undefined"?l.load:k+"polyfills/"+w[s]+a.suffix+".js");if(typeof l.init!=="undefined"){r.push(w[s])}l.loaded=true}p.push(j);p.push(r);a.add._load_arr(o,h,p)},polyfill:{datalist:{selector:"input[list]",depends:["resize","outside"],update:function(d){d.datalist()},support_check:!!(document.createElement("datalist")&&window.HTMLDataListElement)},datepicker:{selector:'input[type="date"]',depends:["calendar","xregexp","outside"],update:function(d){d.datepicker()},support_check:function(){var e=document.createElement("input"),d;e.setAttribute("type","date");e.value=":)";e.style.cssText="position:absolute;visibility:hidden;";document.body.appendChild(e);d=(e.value!==":)");document.body.removeChild(e);return d}},detailssummary:{selector:"details",update:function(d){d.details()},support_check:function(){var h=document,f=h.createElement("details"),e,d,g;if(typeof f.open==="undefined"){return false}d=h.body||(function(){var i=h.documentElement;e=true;return i.insertBefore(h.createElement("body"),i.firstElementChild||i.firstChild)}());f.innerHTML="ab";f.style.display="block";d.appendChild(f);g=f.offsetHeight;f.open=true;g=g!==f.offsetHeight;d.removeChild(f);if(e){d.parentNode.removeChild(d)}return g}},mathml:{selector:"math",load:"http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=Accessible",support_check:function(){var f=false,g,j,k,e,d,h,i;if(document.createElementNS){g="http://www.w3.org/1998/Math/MathML";j=document.createElement("div");k=j.appendChild(document.createElement("div"));k.style.position="absolute";k.style.color="#fff";d=k.appendChild(document.createElementNS(g,"math")).appendChild(document.createElementNS(g,"mrow"));h=d.appendChild(document.createElementNS(g,"mo"));h.appendChild(document.createTextNode("|"));i=d.appendChild(document.createElementNS(g,"mfrac"));i.appendChild(document.createElementNS(g,"mi")).appendChild(document.createTextNode("xx"));i.appendChild(document.createElementNS(g,"mi")).appendChild(document.createTextNode("yy"));d.appendChild(document.createElementNS(g,"mo")).appendChild(document.createTextNode("|"));e=j.appendChild(document.createElement("div"));e.style.color="#fff";e.style.display="inline";e.appendChild(document.createTextNode("|xx|"));document.body.appendChild(j);f=k.offsetHeight>k.offsetWidth;k.style.position="static";k.style.display="inline";f=f&&k.offsetWidth0?d.attr("href").substr(0,d.attr("href").lastIndexOf("/")+1):"theme-not-found/"}()),staged:[],_load:function(g,e){var d=a.add.head,h=(e!==undefined?e:"wet-boew-dependency-loaded");if(c.inArray(g,this.staged)>-1){a.document.trigger({type:h,js:g});return this}setTimeout(function f(){if(typeof d.item!=="undefined"){if(!d[0]){setTimeout(f,25);return}d=d[0]}var i=document.createElement("script"),j=false;a.add.set(i,"async","async");i.onload=i.onreadystatechange=function(){if((i.readyState&&i.readyState!=="complete"&&i.readyState!=="loaded")||j){return false}i.onload=i.onreadystatechange=null;j=true;a.document.trigger({type:h,js:g})};i.src=g;if((a.ie>0&&a.ie<9)||!d.insertBefore){c(i).appendTo(c(d)).delay(100)}else{d.insertBefore(i,d.firstChild)}},0);this.staged[this.staged.length]=g;return this},_load_arr:function(k,g,j){var e=0,f,d,h=g+"-single";a.document.on(h,function(){e+=1;if(e===k.length){a.document.off(h);a.document.trigger({type:g,payload:j})}});if(k.length>0){for(f=0,d=k.length;f0&&a.ie<10)||!e.insertBefore){c(d).appendTo(c(e)).attr("href",f)}else{e.insertBefore(d,e.firstChild)}return this},depends:function(g){var f=a.add.liblocation,e=c.map(g,function(d){return(/^http(s)?/i.test(d))?d:f+"dependencies/"+d+a.suffix+".js"});return e},language:function(e){var d=a.add.liblocation+"i18n/"+e+a.suffix+".js";a.add._load(d)},meta:function(e,f){var d;d=document.createElement("meta");a.add.set(d,"name",e).set(d,"content",f);a.add.head.appendChild(d);return this}}}()),wb_load:function(e,h){if(typeof e==="undefined"){e={}}if(typeof h==="undefined"){h="wb-loaded"}var q,u,r=(typeof wet_boew_properties!=="undefined"&&wet_boew_properties!==null)?wet_boew_properties:false,n=typeof e.plugins!=="undefined"?e.plugins:{},d,l=typeof e.global!=="undefined"?e.global:[],v,j=typeof e.dep!=="undefined"?e.dep:[],g=typeof e.poly!=="undefined"?e.poly:[],t=typeof e.checkdom!=="undefined"?e.checkdom:false,f=typeof e.polycheckdom!=="undefined"?e.polycheckdom:false,m=t?c('[class^="wet-boew-"]'):c(),k=(new Date()).getTime(),o="wb-polyinit-loaded-"+k,s="wb-pcalldeps-loaded-"+k,p="wb-polydeps-loaded-"+k;for(d in n){if(n.hasOwnProperty(d)){m=m.add(n[d].addClass("wet-boew-"+d))}}m.each(function(){var w=c(this),i=w.attr("class").split(" "),x=[];for(q=0,u=i.length;q!==u;q+=1){if(i[q].indexOf("wet-boew-")===0){x.push(i[q].substr(9).toLowerCase())}}w.attr("data-load",x.join(","));l.push.apply(l,x)});if(r){l.push(r.globals)}l=a.array.noduplicates(l);for(q=0,u=l.length;q!==u;q+=1){v=l[q];if(typeof a.fn[v]!=="undefined"){if(typeof a.fn[v].polyfills!=="undefined"){g.push.apply(g,a.fn[v].polyfills)}if(typeof a.fn[v].depends!=="undefined"){j.push.apply(j,a.fn[v].depends)}}}a.document.one(o,function(y){var w=a.polyfills.polyfill,A=y.payload[0],z=y.payload[1],i=[],x;for(q=0,u=z.length;q!==u;q+=1){w[z[q]].init()}for(x in A){if(A.hasOwnProperty(x)){j.push.apply(j,A[x]);i.push(x)}}a.document.one(s,function(){a.document.one(p,function(B){z=typeof B.payload!=="undefined"?B.payload[1]:[];for(q=0,u=z.length;q!==u;q+=1){w[z[q]].init()}m.each(function(){var C=c(this),D=C.attr("data-load").split(",");for(q=0,u=D.length;q!==u;q+=1){if(typeof a.fn[D[q]]!=="undefined"){a.fn[D[q]]._exec(C)}}});if(r){for(q=0,u=r.globals.length;q!==u;q+=1){a.fn[r.globals[q]]._exec(document)}}a.document.trigger(h)});if(i.length!==0){a.polyfills.polyload(i,p,false)}else{a.document.trigger(p)}});a.add._load_arr(a.add.depends(a.array.noduplicates(j)),s)});a.polyfills.polyload(a.array.noduplicates(g),o,f)},dance:function(){var d="wb-init-loaded";a.document.one(d,function(){a.resize(function(){var e=a.mobilecheck();if(a.mobile!==e){a.mobile=e;window.location.href=decodeURI(a.url(window.location.href).removehash())}})});a.wb_load({dep:["resize","equalheights"],checkdom:true,polycheckdom:true},d)}};window.pe=c.extend(true,a,b);return window.pe}(jQuery))._init();(function(b){var a=window.pe||{fn:{}};a.fn.archived={type:"plugin",_exec:function(e){if(pe.mobile){return}var c=b('"),d=b(window);d.on("scroll",function(){if(b(this).scrollTop()>10){c.fadeIn("normal").attr("aria-hidden","false")}else{c.fadeOut("normal").attr("aria-hidden","true")}});b(document).on("focusin",function(g){var f=b(g.target);if(c.attr("aria-hidden")==="false"&&(f.offset().top+f.outerHeight())<=(c.offset().top+c.outerHeight())){d.scrollTop(d.scrollTop()-c.outerHeight())}});if(d.scrollTop()<10||d.scrollTop()==="undefined"){c.fadeOut("normal").attr("aria-hidden","true")}else{c.fadeIn("normal").attr("aria-hidden","false")}pe.pagecontainer().append(c);return e}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.charts={type:"plugin",depends:["raphael","parserTable","charts"],polyfills:["detailssummary"],_exec:function(c){a.fn.chartsGraph.generate(c)}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.css3ie={type:"plugin",depends:(pe.ie>0&&pe.ie<9?["pie","resize"]:[]),_exec:function(j){if(pe.mobile||!(pe.ie>0&&pe.ie<9)){return}var l=b(".rounded, .pie-enhance"),g=false,k=b("#wb-core"),d=k.children("#wb-core-in"),i=k.css("margin-bottom"),h,c,f,e;f=function(){l.each(function(){PIE.attach(this)});return true};e=function(){l.each(function(){PIE.detach(this)});return false};if(window.PIE){l.filter(function(){return b(this).css("position")==="static"}).css("position","relative");if(pe.ie===7){h=document.body;c=h.getBoundingClientRect();if((c.left-c.right)/h.offsetWidth===-1){g=f()}else{k.css("margin-bottom",(d.offset().top+d.height())-(k.offset().top+k.height()))}}else{if(pe.ie===8){g=f()}else{g=f()}}pe.resize(function(){if(pe.ie===7){var m=document.body,n=m.getBoundingClientRect();if((n.left-n.right)/m.offsetWidth!==-1){g=e(l);k.css("margin-bottom",(d.offset().top+d.height())-(k.offset().top+k.height()))}else{if(!g){f()}k.css("margin-bottom",i)}}})}return j}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.deselectradio={type:"plugin",depends:[],_exec:function(d){var c=b('input[type="radio"]:not(.deselectable, .deselect-off)').attr("role","radio").attr("aria-checked","false").addClass("deselectable");c.filter(":checked").attr("aria-checked","true");c.closest("fieldset").attr("role","radiogroup");c.on("click vclick",function(){var e=b(this);if(e.attr("aria-checked")==="true"){e.prop("checked",false).attr("aria-checked","false")}else{e.closest("fieldset").find('input[type="radio"]').prop("checked",false).attr("aria-checked","false");e.prop("checked",true).attr("aria-checked","true")}});return d}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.equalize={type:"plugin",depends:(pe.mobile?[]:["equalheights","resize"]),_exec:function(c){if(pe.mobile){return}b(".equalize").children().css("min-height","").parent().equalHeights(true);pe.resize(function(){b(".equalize").children().css("min-height","").parent().equalHeights(true)});return c}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.eventscalendar={type:"plugin",depends:["calendar","xregexp"],_exec:function(h){var u=new Date(),o=a.fn.calendar,l=u.getFullYear(),v=u.getMonth(),w=h.find(".year"),i=h.find(".month"),q,d,m,x,t,r,n,e,k,c,p,s,g,j,f;x=function(B){var A=!(b(B).hasClass("event-anchoring")),z={minDate:null,maxDate:null,iCount:0,list:[{a:1}]},y=null;if(B.find("ol").length>0){y=B.find("ol")}else{if(B.find("ul").length>0){y=B.find("ul")}}if(y.length>0){y.children("li").each(function(){var D=b(this),I=D.find("*:header:first"),M=I.text(),G=D.find("a").first(),K=G.attr("href"),E,F,C,O,N,L,J,H;if(!A){E=(D.attr("id")!==undefined)?D.attr("id"):t(6);D.attr("id",E);if(pe.ie>0){D.attr("tabindex","-1")}K="#"+E}F=new Date();C=D.find("time, span.datetime");if(C.length>1){O=(b(C[0]).get(0).nodeName.toLowerCase()==="time")?b(C[0]).attr("datetime").substr(0,10).split("-"):b(C[0]).attr("class").match(/datetime\s+\{date\:\s*(\d+-\d+-\d+)\}/)[1].substr(0,10).split("-");N=(b(C[1]).get(0).nodeName.toLowerCase()==="time")?b(C[1]).attr("datetime").substr(0,10).split("-"):b(C[1]).attr("class").match(/datetime\s+\{date\:\s*(\d+-\d+-\d+)\}/)[1].substr(0,10).split("-");F.setFullYear(O[0],O[1]-1,O[2]);for(J=0,H=pe.date.daysBetween(O,N)+1;J<=H;J+=1){if(z.minDate===null||Fz.maxDate){z.maxDate=F}z.list[z.iCount]={title:M,date:new Date(F.getTime()),href:K};F=new Date(F.setDate(F.getDate()+1));if(!I.hasClass("filter-"+(F.getFullYear())+"-"+pe.string.pad(F.getMonth()+1,2))){I.addClass("filter-"+(F.getFullYear())+"-"+pe.string.pad(F.getMonth()+1,2))}z.iCount+=1}}else{if(C.length===1){L=(b(C[0]).get(0).nodeName.toLowerCase()==="time")?b(C[0]).attr("datetime").substr(0,10).split("-"):b(C[0]).attr("class").match(/datetime\s+\{date\:\s*(\d+-\d+-\d+)\}/)[1].substr(0,10).split("-");F.setFullYear(L[0],L[1]-1,L[2]);if(z.minDate===null||Fz.maxDate){z.maxDate=F}z.list[z.iCount]={title:M,date:F,href:K};if(!I.hasClass("filter-"+(F.getFullYear())+"-"+pe.string.pad(F.getMonth()+1,2))){I.addClass("filter-"+(F.getFullYear())+"-"+pe.string.pad(F.getMonth()+1,2))}z.iCount+=1}}})}window.events=z;return z};t=function(A){var z="",y,B;y=function(){B=Math.floor(Math.random()*62);if(B<10){return B}if(B<36){return String.fromCharCode(B+55)}return String.fromCharCode(B+61)};while(z.length'+E+"");J.append(I);C=b('');I.on("keydown",{details:C},k);J.on("mouseover",{details:C},c);J.on("mouseout",{details:C},p);I.on("focus",{details:C},s);I.on("blur",{details:C},g);J.append(C)}else{C=J.find("ul.wb-invisible")}D=b(''+z[G].title+"");if(pe.cssenabled){D.children("a").attr("tabindex","-1")}C.append(D);B=D.children("a");B.on("keydown",e);B.on("blur",{details:C},j);B.on("focus",{details:C},f)}}};n=function(z,A,y){b("."+y+" li.calendar-display-onshow").addClass("wb-invisible");b("."+y+" li.calendar-display-onshow").has(":header[class*=filter-"+z+"-"+pe.string.pad(parseInt(A,10)+1,2)+"]").removeClass("wb-invisible")};if(w.length>0&&i.length>0){l=w.text();if(i.hasClass("textformat")){q=b.inArray(i.text(),pe.dic.get("%calendar-monthNames"));v=q}else{v=i.text()-1}}d=x(h);m=b(h).attr("class").split(" ").slice(-1);if(b("#wb-main-in").css("padding-left")==="0px"){b("#"+m).css("margin-left","10px")}b("#"+m).on("calendarDisplayed",function(A,y,z,B){r(y,z,B,m,d.list);n(y,z,m)});o.create(m,l,v,true,d.minDate,d.maxDate);b("#"+m).attr("role","application")}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.feedback={type:"plugin",depends:[],_exec:function(j){var d=j.find("#feedback"),i=j.find("#web"),h=i.find("#access"),c=i.find("#mobile"),k=i.find("#computer"),m=j.find("#contact-coord"),n=m.find("#contact1"),l=m.find("#contact2"),g=m.find("#info"),f=document.referrer,e=pe.url(window.location.href).params,o;d.attr("aria-controls","web").on("keyup click load",function(p){o=(p.type==="load");if(!o&&b(this).val()==="web"){i.attr("aria-hidden","false").show("slow")}else{i.attr("aria-hidden","true").hide((o?"":"slow"))}});if(e.submit===undefined&&e.feedback!==undefined){d.find('option[value="'+e.feedback+'"]').attr("selected","selected")}d.trigger("load");h.attr("aria-controls","mobile computer").on("keyup click load",function(p){o=(p.type==="load");if(!o&&h.val()==="mobile"){c.attr("aria-hidden","false").show("slow");k.attr("aria-hidden","true").hide("slow")}else{k.attr("aria-hidden","false").show((o?"":"slow"));c.attr("aria-hidden","true").hide((o?"":"slow"))}}).trigger("load");n.on("keyup click load",function(p){o=(p.type==="load");if(!o&&b(this).val()==="yes"){g.attr("aria-hidden","false").show("slow")}else{if(o||((b(this).val()==="no"||b(this).val()===null)&&(l.val()==="no"||l.val()===null))){g.attr("aria-hidden","true").hide((o?"":"slow"))}}}).trigger("click");l.on("keyup click load",function(p){o=(p.type==="load");if(!o&&b(this).val()==="yes"){g.attr("aria-hidden","false").show("slow")}else{if(o||((b(this).val()==="no"||b(this).val()===null)&&(n.val()==="no"||n.val()===null))){g.attr("aria-hidden","true").hide((o?"":"slow"))}}}).trigger("load");i.find("#page").attr("value",f);j.find("input[type=reset]").on("click",function(){d.trigger("load");h.trigger("load");n.trigger("load");l.trigger("load")});return j}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.footnotes={type:"plugin",_exec:function(e){var c=b("#wb-main-in").not(".wet-boew-footnotes"),d=e.find("dd").attr("tabindex","-1");d.each(function(){var g=b(this),f=this.id+"-dt";g.attr("aria-labelledby",f).prev().attr("id",f)});d.find("p.footnote-return a").each(function(){var f=b(this);f.find("span span").remove();f.off("click vclick").on("click vclick",function(){var g=c.find(b(this).attr("href")).find("a");if(pe.mobile){b.mobile.silentScroll(pe.focus(g).offset().top)}else{pe.focus(g)}return false})});c.find("sup a.footnote-link").on("click vclick",function(){var f=e.find(b(this).attr("href"));f.find("p.footnote-return a").attr("href","#"+this.parentNode.id).off("click vclick").on("click vclick",function(){var g=c.find(b(this).attr("href")).find("a");if(pe.mobile===true){b.mobile.silentScroll(pe.focus(g).offset().top)}else{pe.focus(g)}return false});if(pe.mobile){b.mobile.silentScroll(pe.focus(f).offset().top)}else{pe.focus(f)}if(pe.ie>0&&pe.ie<8){f.addClass("footnote-focus").one("blur",function(){b(this).removeClass("footnote-focus")})}return false})}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.formvalid={type:"plugin",depends:["validate","validateAdditional","metadata"],_exec:function(p){var e=p.find("form"),s=e.get(0),k=s.getElementsByTagName("label"),l=k.length,m=s.getElementsByTagName("input"),d=b(m),i=m.length,r,n,g,q=false,o=e.find("[required]").attr("aria-required","true"),j="errors-"+(e.attr("id")===undefined?"default":e.attr("id")),c,f=pe.language.toLowerCase();if(f!=="en"){if(f==="pt-br"){f="pt_BR"}else{if(f==="pt"||f==="pt-pt"){f="pt_PT"}else{if(f==="zh-tw"){f="zh_TW"}else{pe.add._load(pe.add.liblocation+"i18n/formvalid/messages_"+f+pe.suffix+".js")}}}}if(f==="de"||f==="nl"||f==="pr_PT"||f==="pr_BR"){pe.add._load(pe.add.liblocation+"i18n/formvalid/methods_"+f+pe.suffix+".js")}n=l;while(n--){k[n].innerHTML+=" "}function h(x,v,w){var t=x.attr("class"),y=(t!==undefined?t.search(/validate\s?:\s?\{/):-1),u;if(y>-1){if(t.search("/"+v+"\\s?:/")===-1){u=t.substring(y,t.indexOf("{",y)+1);x.attr("class",t.replace(u,u+v+":"+w+", "))}}else{x.addClass("{validate:{"+v+":"+w+"}}")}return}n=i;if(n!==0&&m[0].hasAttribute!==undefined){while(n--){r=m[n];if(g){if(r.hasAttribute("pattern")){r.removeAttribute("pattern")}}else{b(r).removeAttr("pattern")}}}if(pe.ie>0&&pe.ie<9){o.removeAttr("required").each(function(){h(b(this),"required","true")});d.filter('[type="date"]').each(function(){var v=b(this),t=v.wrap("").parent(),u=b(t.html().replace("type="+v.attr("type"),"type=text"));t.replaceWith(u)})}if(pe.mobile){s.setAttribute("data-ajax","false");d.filter('[type="checkbox"]').closest("fieldset").attr("data-role","controlgroup")}c=e.validate({meta:"validate",focusInvalid:false,errorElement:"strong",errorPlacement:function(t,u){t.appendTo(e.find('label[for="'+u.attr("id")+'"]'))},showErrors:function(y,z){this.defaultShowErrors();var A=e.find("strong.error").filter(":not(:hidden)"),x=e.find("input.error, select.error, textarea.error"),w=e.find("#"+j),v=''+pe.dic.get("%error")+" ",u=pe.dic.get("%colon")+" ",t;e.find('[aria-invalid="true"]').removeAttr("aria-invalid");if(A.length>0){if(w.length===0){w=b('').prependTo(e)}else{w.empty()}t=""+pe.dic.get("%form-not-submitted")+A.length+(A.length!==1?pe.dic.get("%errors-found"):pe.dic.get("%error-found"))+"
";w.append(t);if(q){pe.focus(w)}if(pe.ie===0||pe.ie>7){e.find(".errorContainer a").on("click vclick",function(){var B=pe.focus(b(b(this).attr("href"))).prev().offset().top;if(pe.mobile){b.mobile.silentScroll(B)}else{b(document).scrollTop(B)}return false})}q=false}else{w.detach()}},invalidHandler:function(u,t){q=true}});d.filter('[type="reset"]').on("click vclick touchstart",function(){c.resetForm();var t=e.find("#"+j);if(t.length>0){t.empty()}e.find('[aria-invalid="true"]').removeAttr("aria-invalid")});return p}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.langselect={type:"plugin",_exec:function(c){c.on("click",function(){var d=window.location.toString();if((d.search(/_f\.htm/)>-1)||(d.search(/-fra\./)>-1)){d=d.replace(/_f\./,"_e.").replace(/-fra\./,"-eng.")}else{d=d.replace(/_e\./,"_f.").replace(/-eng\./,"-fra.")}if(d.search(/lang=eng/)>-1){d=d.replace(/lang=eng/,"lang=fra")}else{d=d.replace(/lang=fra/,"lang=eng")}window.location=d;return false})}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.lightbox={type:"plugin",depends:["colorbox","metadata"],groupindex:0,_exec:function(h){var c,e={},j,l,d,f,m,i,k,g=false;c={transition:"elastic",loop:true,current:pe.dic.get("%lb-current"),previous:pe.dic.get("%lb-prev"),next:pe.dic.get("%lb-next"),close:pe.dic.get("%close"),xhrError:pe.dic.get("%lb-xhr-error"),imgError:pe.dic.get("%lb-img-error"),maxWidth:"100%",maxHeight:"100%",slideshowStart:pe.dic.get("%start")+" "+pe.dic.get("%lb-slideshow"),slideshowStop:pe.dic.get("%stop")+" "+pe.dic.get("%lb-slideshow"),slideshow:false,slideshowAuto:false,onLoad:function(){var o=d.find("#cboxTitle"),n=o.next();o.addClass("wb-hide");n.addClass("wb-hide")},onComplete:function(){var o=d.find("#cboxTitle"),n=o.next();f=d.find("#cboxLoadedContent").attr("tabindex","0");f.attr("aria-label",o.text()+" "+n.text());if(f.children(".cboxPhoto").length===0){f.attr("role","document")}else{f.children().attr("alt",o.text())}o.removeClass("wb-hide");n.removeClass("wb-hide");pe.focus(f);g=true},onClosed:function(){g=false}};j={transition:(h.hasClass("transition-fade")?"fade":(h.hasClass("transition-none")?"none":undefined)),loop:h.hasClass("loop-none")?false:undefined,slideshow:h.hasClass("slideshow")?true:undefined,slideshowAuto:h.hasClass("slideshow-auto")?true:undefined};b.metadata.setType("attr","data-wet-boew");if(typeof wet_boew_lightbox!=="undefined"&&wet_boew_lightbox!==null){b.extend(c,wet_boew_lightbox,j,h.metadata())}else{b.extend(c,j,h.metadata())}l=h.find(".lb-item, .lb-gallery, .lb-hidden-gallery").on("vclick",function(){b.colorbox.launch(this)});b.extend(e,c,{inline:"true"});l.filter(".lb-item").attr("aria-haspopup","true").each(function(){var n=b(this);n.colorbox(n.attr("href").substring(0,1)!=="#"?c:e)});l.filter(".lb-gallery, .lb-hidden-gallery").each(function(){var n={rel:"group"+(pe.fn.lightbox.groupindex+=1)};b.extend(c,n);b.extend(e,n);b(this).find(".lb-item-gal").attr("aria-haspopup","true").each(function(){var o=b(this);o.colorbox(o.attr("href").substring(0,1)!=="#"?c:e)})});d=pe.main.find("#colorbox #cboxContent").attr("role","dialog");d.find("#cboxNext, #cboxPrevious, #cboxClose").attr({tabindex:"0",role:"button","aria-controls":"cboxLoadedContent"});m=d.find("#cboxNext");i=d.find("#cboxPrevious");k=d.find("#cboxClose");d.on("keydown",function(o){var n=o.target.id;if(!(o.ctrlKey||o.altKey||o.metaKey)){if(o.keyCode===9){if(o.shiftKey&&n==="cboxLoadedContent"){pe.focus(k);o.preventDefault()}else{if(!o.shiftKey&&n==="cboxClose"){pe.focus(f);o.preventDefault()}}}else{if(o.keyCode===13||o.keyCode===32){if(n==="cboxLoadedContent"||n==="cboxNext"){b.colorbox.next();o.preventDefault()}else{if(n==="cboxPrevious"){b.colorbox.prev();o.preventDefault()}else{if(n==="cboxClose"){b.colorbox.close();o.preventDefault()}}}}}}})}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.menubar={type:"plugin",depends:(a.mobile?[]:["resize","equalheights","hoverintent","outside"]),_exec:function(j){if(pe.mobile){return}var d,h,m=j,f=m.parent(),p,l,g,c,e,o=pe.dic.get("%sub-menu-help"),n,k,i;e=function(s){g();var r=b(s).closest("li"),q=r.find(".mb-sm");q.attr({"aria-expanded":"true","aria-hidden":"false"}).toggleClass("mb-sm mb-sm-open");if((Math.floor(q.offset().left+q.width())-Math.floor(h.offset().left+h.width()))>=-1){q.css("right","0px")}r.addClass("mb-active");return};l=function(s){var r=b(s),q=r.closest("li").find(".mb-sm-open");if(pe.cssenabled){q.find("a").attr("tabindex","0")}r.trigger("item-next");return};c=function(s){var r=b(s).closest("li"),q=r.find(".mb-sm-open");q.attr({"aria-expanded":"false","aria-hidden":"true"}).toggleClass("mb-sm mb-sm-open").css("right","");if(pe.cssenabled){q.find("a").attr("tabindex","-1")}r.removeClass("mb-active");return};g=function(){d.find(".mb-sm-open").each(function(){var q=b(this).closest("li");return c(q)});return};p=function(){var q=d.children("li:last"),r=(q.offset().top+q.outerHeight())-m.offset().top;return m.css("min-height",r)};h=m.children("div");d=h.children("ul");m.detach();m.attr("role","application");n=m.find("> div > ul").attr("role","menubar").get(0).getElementsByTagName("*");i=n.length;while(i--){k=n[i];if(k.tagName.toLowerCase()==="a"){k.setAttribute("role","menuitem")}else{k.setAttribute("role","presentation")}}pe.resize(p);m.find("ul.mb-menu > li").find("a:eq(0)").each(function(r,t){var q=b(t).addClass("knav-"+r+"-0-0"),s=q.closest("li").find(".mb-sm");if(s.length>0){q.attr("aria-haspopup","true").addClass("mb-has-sm").wrapInner('');s.attr({role:"menu","aria-expanded":"false","aria-hidden":"true"}).find(":has(:header) ul").attr("role","menu");q.append(''+o+"");q.closest("li").hoverIntent({over:function(){return e(this)},out:function(){return c(this)},timeout:500});s.find("h3 a, h4 a, div.top-level > a, li.top-level a, div.mb-main-link > a").each(function(u){var w=b(this),v=w.parent();this.className+=" knav-"+r+"-"+(u+1)+"-0";if(v.is("h3, h4")){w.parent().next("ul").find("a").each(function(x){this.className+=" knav-"+r+"-"+(u+1)+"-"+(x+1)})}return});s.find("> ul li, > div > ul li").filter(":not(.top-level)").children("a").each(function(u){this.className+=" knav-"+r+"-0-"+(u+1)})}});if(pe.cssenabled){m.find(".mb-sm a").attr("tabindex","-1")}m.appendTo(f);p();m.find(".mb-sm").on("click vclick touchstart",function(q){if(q.stopPropagation){q.stopPropagation()}else{q.cancelBubble=true}}).parent().on("click vclick touchstart","> :header a",function(){if(b(this).closest("li").hasClass("mb-active")){c(this)}else{e(this)}return false});m.on("keydown focusin section-next section-previous item-next item-previous close","li",function(z){var v,r,D=b(z.target),x=m.find(".mb-active"),C,A=z.keyCode,B=z.type,w,y,s,u,t,q;C=b.map(/\bknav-(\d+)-(\d+)-(\d+)/.exec(D.attr("class")),function(E){return parseInt(E,10)});if(B==="keydown"){if(!(z.ctrlKey||z.altKey||z.metaKey)){if(A===13){if(C[2]===0&&C[3]===0){l(z.target);return false}}else{if(A===27){D.trigger("close");return false}else{if(A===32){if(C[2]===0&&C[3]===0){l(z.target)}else{window.location=D.attr("href")}return false}else{if(A===37){D.trigger("section-previous");return false}else{if(A===38){if(C[2]===0&&C[3]===0){l(z.target)}else{D.trigger("item-previous")}return false}else{if(A===39){D.trigger("section-next");return false}else{if(A===40){if(C[2]===0&&C[3]===0){l(z.target)}else{D.trigger("item-next")}return false}else{if((A>47&&A<58)||(A>64&&A<91)){w=String.fromCharCode(A).toLowerCase();y=(C[2]!==0||C[3]!==0);s=D.text();u=x.find(".mb-sm-open a").filter(function(){var E=b(this);return(E.text().substring(0,1).toLowerCase()===w||(y&&E.text()===s))});if(u.length>0){if(y){u.each(function(E){if(b(this).text()===s){t=E;return false}});if(t<(u.length-1)){pe.focus(u.eq(t+1));return false}}pe.focus(u.eq(0))}return false}}}}}}}}}}else{if(B==="close"){pe.focus(x.find(".knav-"+C[1]+"-0-0"));setTimeout(function(){return g()},5)}else{if(B==="section-previous"){q=!!C[2]<<1|!!C[3];switch(q){case 0:case 1:r=m.find(".knav-"+(C[1]-1)+"-0-0");if(r.length>0){pe.focus(r)}else{pe.focus(m.find("ul.mb-menu > li:last").find("a:eq(0)"))}break;case 2:case 3:r=x.find(".knav-"+(C[1])+"-"+(C[2]-1)+"-0");if(r.length>0&&C[2]>1){pe.focus(r)}else{r=m.find(".knav-"+(C[1]-1)+"-0-0");if(r.length>0){pe.focus(r)}else{pe.focus(m.find("ul.mb-menu > li:last").find("a:eq(0)"))}}break}return false}else{if(B==="section-next"){q=!!C[2]<<1|!!C[3];switch(q){case 0:case 1:v=m.find(".knav-"+(C[1]+1)+"-0-0");if(v.length>0){pe.focus(v)}else{pe.focus(m.find(".knav-0-0-0"))}break;case 2:case 3:v=x.find(".knav-"+(C[1])+"-"+(C[2]+1)+"-0");if(v.length>0){pe.focus(v)}else{v=m.find(".knav-"+(C[1]+1)+"-0-0");if(v.length>0){pe.focus(v)}else{pe.focus(m.find(".knav-0-0-0"))}}break}return false}else{if(B==="item-next"){v=x.find(".knav-"+C[1]+"-"+(C[2])+"-"+(C[3]+1));if(v.length===0){v=x.find(".knav-"+C[1]+"-"+(C[2]+1)+"-0")}if(v.length!==0){pe.focus(v)}else{pe.focus(x.find(".knav-"+C[1]+"-0-1, .knav-"+C[1]+"-1-0").first())}return false}else{if(B==="item-previous"){r=((C[2]!==0&&C[3]!==0)||(C[2]===0&&C[3]>1)?x.find(".knav-"+C[1]+"-"+(C[2])+"-"+(C[3]-1)):"");if(r.length===0){r=(C[2]!==0?x.find("a").filter('[class*="knav-'+C[1]+"-"+(C[2]-1)+'-"]:not(.knav-'+C[1]+"-0-0)").last():"")}if(r.length!==0){pe.focus(r)}else{pe.focus(x.find('[class*="knav-"]').last())}return false}else{if(B==="focusin"&&C[2]===0&&C[3]===0){g();if(D.find(".expandicon").length>0){e(z.target)}}}}}}}}});b(document).on("click vclick touchstart",function(){m.trigger("focusoutside")});m.on("focusoutside",function(){return g()});return m}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.multimedia={type:"plugin",polyfills:["progress"],icons:b(''),get_image:function(i,h,c,e){var d,f;c=c!==undefined?c:20;e=e!==undefined?e:20;if(pe.svg){d=a.fn.multimedia.icons.clone();d.attr({height:c,width:e});d.prepend(""+h+"");d.children(':not(g[id="'+i+'"])').remove();f=d.children("g");f.removeAttr("id");if(c!==20||e!==20){f.attr("transform","scale("+e/20+","+c/20+")")}return d.attr({role:"img","aria-label":h})}return b('')},_exec:function(p){var d,m=false,f=p.children("audio, video").eq(0),l=f.is("video")?"video":"audio",g,e=l==="video"?f.attr("width"):"0",s=l==="video"?f.attr("height"):"0",j,k=true,c,r,o="video/mp4",i="audio/mp3",n=a.add.liblocation+"binary/multimedia.swf?seed="+Math.random(),q,h;if(p.attr("id")!==undefined){d=p.attr("id")}else{d="wet-boew-mediaplayer"+p.index();p.attr("id",d)}if(f.attr("id")!==undefined){g=f.attr("id")}else{g=d+"-media";f.attr("id",g)}if(f.children('track[kind="captions"]')){j=f.children('track[kind="captions"]').attr("src")}if(f.get(0).error===null&&f.get(0).currentSrc!==""&&f.get(0).currentSrc!==undefined){m=true}else{q="id="+p.attr("id");if(l==="video"){r='';if(k&&f.find("source").filter('[type="'+o+'"]').length>0){q+="&height="+f.height()+"&width="+f.width()+"&posterimg="+encodeURI(a.url(f.attr("poster")).source)+"&media="+encodeURI(a.url(f.find("source").filter('[type="'+o+'"]').attr("src")).source);m=true}}else{if(k&&l==="audio"&&f.find("source").filter('[type="'+i+'"]').length>0){q+="&media="+a.url(f.find("source").filter('[type="'+i+'"]').attr("src")).source;m=true}else{m=false}}if(m){c=b('