function ZebraStripes() { $(".ZebraStripes tr:nth-child(odd)").addClass("odd"); $(".ZebraStripes thead tr").removeClass("odd"); $(".ZebraStripes tfoot tr").removeClass("odd"); };
var stickytooltip = { tooltipoffsets: [20, -30], fadeinspeed: 200, rightclickstick: true, stickybordercolors: ["orange", "darkred"], stickynotice1: ['Press "s"', "or right click", "to sticky box"], stickynotice2: "Click outside this box to hide it", isdocked: false, positiontooltip: function(f, c, g) { var b = g.pageX + this.tooltipoffsets[0], h = g.pageY + this.tooltipoffsets[1]; var d = c.outerWidth(), a = c.outerHeight(), b = (b + d > f(document).scrollLeft() + f(window).width()) ? b - d - (stickytooltip.tooltipoffsets[0] * 2) : b; h = (h + a > f(document).scrollTop() + f(window).height()) ? f(document).scrollTop() + f(window).height() - a - 10 : h; c.css({ left: b, top: h }) }, showbox: function(b, a, c) { a.fadeIn(this.fadeinspeed); this.positiontooltip(b, a, c) }, hidebox: function(b, a) { if (!this.isdocked) { a.stop(false, true).hide(); a.css({ borderColor: "orange" }).find(".stickystatus:eq(0)").css({ background: this.stickybordercolors[0] }).html(this.stickynotice1) } }, docktooltip: function(b, a, c) { this.isdocked = true; a.css({ borderColor: "darkred" }).find(".stickystatus:eq(0)").css({ background: this.stickybordercolors[1] }).html(this.stickynotice2) }, init: function(a, b) { jQuery(document).ready(function(d) { var e = d(a); var c = d("#" + b).appendTo(document.body); if (e.length == 0) { return } var f = c.find("div.atip"); if (!stickytooltip.rightclickstick) { stickytooltip.stickynotice1[1] = "" } stickytooltip.stickynotice1 = stickytooltip.stickynotice1.join(" "); stickytooltip.hidebox(d, c); e.bind("mouseenter", function(g) { f.hide().filter("#" + d(this).attr("data-tooltip")).show(); stickytooltip.showbox(d, c, g) }); e.bind("mouseleave", function(g) { stickytooltip.hidebox(d, c) }); e.bind("mousemove", function(g) { if (!stickytooltip.isdocked) { stickytooltip.positiontooltip(d, c, g) } }); c.bind("mouseenter", function() { stickytooltip.hidebox(d, c) }); c.bind("click", function(g) { g.stopPropagation() }); d(this).bind("click", function(g) { if (g.button == 0) { stickytooltip.isdocked = false; stickytooltip.hidebox(d, c) } }); d(this).bind("contextmenu", function(g) { if (stickytooltip.rightclickstick && d(g.target).parents().andSelf().filter(a).length == 1) { stickytooltip.docktooltip(d, c, g); return false } }); d(this).bind("keypress", function(h) { var g = h.charCode || h.keyCode; if (g == 115) { stickytooltip.docktooltip(d, c, h) } }) }) } }; stickytooltip.init("*[ww-tooltip]", "ww-tooltips");
var fileExtensions = "doc|docm|docx|flv|mp3|mp4|mpeg|mpg|mov|pdf|ppt|pptx|rss|txt|wma|wmv|xls|xlsx|zip"; var pathFilter = ".*Portals\/\d*\d\/"; var trackedFilter = ""; function trackEvent(category, action, label, value) { var reformedCategory = jQuery.trim(category).toLowerCase(); var reformedAction = jQuery.trim(action).toLowerCase(); var reformedLabel = jQuery.trim(label); var reformedValue = ''; try { if (value > 0) { reformedValue = parseInt(value) } else { reformedValue = '' } } catch (err) { reformedValue = '' } if (typeof (_gaq) != 'undefined') { if (reformedValue == '') { _gaq.push(['_trackEvent', reformedCategory, reformedAction, reformedLabel]) } else { _gaq.push(['_trackEvent', reformedCategory, reformedAction, reformedLabel, parseInt(reformedValue)]) } return true } else if (typeof (self.urchinTracker) != 'undefined') { urchinTracker('/' + reformedCategory + '/' + reformedAction + '/' + reformedLabel + '/' + reformedValue); return true } return false } jQuery(document).ready(function($) { var isInternal = new RegExp("^https?:\/\/" + window.location.host, "i"); var isMailto = new RegExp("^mailto:", "i"); var isDownload = new RegExp("\\.(" + fileExtensions + ")$", "i"); if (trackedFilter && (typeof trackedFilter == "string")) { var isTracked = new RegExp(trackedFilter, "i") } else { var isTracked = new RegExp("^&") } $.expr[':'].external = function(obj) { return !isInternal.test(obj.href) && !isTracked.test(obj.href) && !isDownload.test(obj.href) && !isMailto.test(obj.href) && !obj.href.match(/^javascript\:/) }; $.expr[':'].mailto = function(obj) { return isMailto.test(obj.href) }; $.expr[':'].download = function(obj) { return isDownload.test(obj.href) }; $("a:external").click(function() { trackEvent('External', 'Click', this.href); pauseJS(400) }); $("a:mailto").click(function() { trackEvent('Email', 'Click', this.href.substring(7)) }); $("a:download").click(function() { var extension = isDownload.exec(this.href); var file = this.href.replace(isInternal, ''); if (pathFilter && (typeof pathFilter == "string")) { var pFRegExp = new RegExp(pathFilter, "i"); file = file.replace(pFRegExp, '') } trackEvent('Download', extension[1], file); pauseJS(400) }) }); function pauseJS(timeInMilliS) { var date = new Date(); var curDate = null; do { curDate = new Date() } while (curDate - date < timeInMilliS) }
function pdfnocache(){var a="timestamp="+new Date().getTime();jQuery('a[href$=".pdf"]').each(function(){var b=$(this).attr("href");if(b){b+=(b.match(/\?/)?"&":"?")+a;$(this).attr("href",b)}})};
function docnocache(){var a="timestamp="+new Date().getTime();jQuery('a[href$=".doc"]').each(function(){var b=$(this).attr("href");if(b){b+=(b.match(/\?/)?"&":"?")+a;$(this).attr("href",b)}})};
function docxnocache(){var a="timestamp="+new Date().getTime();jQuery('a[href$=".docx"]').each(function(){var b=$(this).attr("href");if(b){b+=(b.match(/\?/)?"&":"?")+a;$(this).attr("href",b)}})};
function xlsnocache(){var a="timestamp="+new Date().getTime();jQuery('a[href$=".xls"]').each(function(){var b=$(this).attr("href");if(b){b+=(b.match(/\?/)?"&":"?")+a;$(this).attr("href",b)}})};
function xlsxnocache(){var a="timestamp="+new Date().getTime();jQuery('a[href$=".xlsx"]').each(function(){var b=$(this).attr("href");if(b){b+=(b.match(/\?/)?"&":"?")+a;$(this).attr("href",b)}})};
!function (e) { "use strict"; e.fn.meanmenu = function (n) { var a = { meanMenuTarget: jQuery(this), meanMenuContainer: "body", meanMenuClose: "X", meanMenuCloseSize: "18px", meanMenuOpen: "<span /><span /><span />", meanRevealPosition: "right", meanRevealPositionDistance: "0", meanRevealColour: "", meanScreenWidth: "480", meanNavPush: "", meanShowChildren: !0, meanExpandableChildren: !0, meanExpand: "+", meanContract: "-", meanRemoveAttrs: !1, onePage: !1, meanDisplay: "block", removeElements: "" }; n = e.extend(a, n); var t = window.innerWidth || document.documentElement.clientWidth; return this.each(function () { var e = n.meanMenuTarget, a = n.meanMenuContainer, r = n.meanMenuClose, i = n.meanMenuCloseSize, u = n.meanMenuOpen, s = n.meanRevealPosition, m = n.meanRevealPositionDistance, l = n.meanRevealColour, o = n.meanScreenWidth, c = n.meanNavPush, h = ".meanmenu-reveal", v = n.meanShowChildren, d = n.meanExpandableChildren, y = n.meanExpand, j = n.meanContract, Q = n.meanRemoveAttrs, g = n.onePage, f = n.meanDisplay, p = n.removeElements, C = !1; (navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/iPad/i) || navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/Blackberry/i) || navigator.userAgent.match(/Windows Phone/i)) && (C = !0), (navigator.userAgent.match(/MSIE 8/i) || navigator.userAgent.match(/MSIE 7/i)) && jQuery("html").css("overflow-y", "scroll"); var w = "", x = function () { if ("center" === s) { var e = window.innerWidth || document.documentElement.clientWidth, n = e / 2 - 22 + "px"; w = "left:" + n + ";right:auto;", C ? jQuery(".meanmenu-reveal").animate({ left: n }) : jQuery(".meanmenu-reveal").css("left", n) } }, A = !1, b = !1; "right" === s && (w = "right:" + m + ";left:auto;"), "left" === s && (w = "left:" + m + ";right:auto;"), x(); var E = "", M = function () { jQuery(E).is(".meanmenu-reveal.meanclose") ? E.html(r) : E.html(u) }, P = function () { jQuery(".mean-bar,.mean-push").remove(), jQuery(a).removeClass("hamburger"), jQuery(e).css("display", f), A = !1, b = !1, jQuery(p).removeClass("mean-remove") }, W = function () { var n = "background:" + l + ";color:" + l + ";" + w; if (o >= t) { jQuery(p).addClass("mean-remove"), b = !0, jQuery(a).addClass("hamburger"), jQuery(".hamburger").prepend('<div class="mean-bar"><div class="hamburger-bun"><a href="#nav" class="meanmenu-reveal" style="' + n + '">Show Navigation</a></div><nav class="mean-nav"></nav></div>'); var r = jQuery(e).html(); jQuery(".mean-nav").html(r), Q && jQuery("nav.mean-nav ul, nav.mean-nav ul *").each(function () { jQuery(this).is(".mean-remove") ? jQuery(this).attr("class", "mean-remove") : jQuery(this).removeAttr("class"), jQuery(this).removeAttr("id") }), jQuery(e).before('<div class="mean-push" />'), jQuery(".mean-push").css("margin-top", c), jQuery(".meanmenu-reveal").show(), jQuery(h).html(u), E = jQuery(h), jQuery(".mean-nav ul").hide(), v ? d ? (jQuery(".mean-nav ul ul").each(function () { jQuery(this).children().length && jQuery(this, "li:first").parent().append('<a class="mean-expand" href="#" style="font-size: ' + i + '">' + y + "</a>") }), jQuery(".mean-expand").on("click", function (e) { e.preventDefault(), jQuery(this).hasClass("mean-clicked") ? (jQuery(this).text(y), jQuery(this).prev("ul").slideUp(100, function () { })) : (jQuery(this).text(j), jQuery(this).prev("ul").slideDown(100, function () { })), jQuery(this).toggleClass("mean-clicked") })) : jQuery(".mean-nav ul ul").show() : jQuery(".mean-nav ul ul").hide(), jQuery(".mean-nav ul li").last().addClass("mean-last"), E.removeClass("meanclose"), jQuery(E).click(function (e) { e.preventDefault(), A === !1 ? (E.css("text-align", "center"), E.css("text-indent", "0"), E.css("font-size", i), jQuery(".mean-nav ul:first").slideDown(), A = !0) : (jQuery(".mean-nav ul:first").slideUp(), A = !1), E.toggleClass("meanclose"), M(), jQuery(p).addClass("mean-remove") }), g && jQuery(".mean-nav ul > li > a:first-child").on("click", function () { jQuery(".mean-nav ul:first").slideUp(), A = !1, jQuery(E).toggleClass("meanclose").html(u) }) } else P() }; C || jQuery(window).resize(function () { t = window.innerWidth || document.documentElement.clientWidth, t > o, P(), o >= t ? (W(), x()) : P() }), jQuery(window).resize(function () { t = window.innerWidth || document.documentElement.clientWidth, C ? (x(), o >= t ? b === !1 && W() : P()) : (P(), o >= t && (W(), x())) }), W() }) } } (jQuery);
function scrollToTop() { verticalOffset = "undefined" != typeof verticalOffset ? verticalOffset : 0, element = $("body"), offset = element.offset(), offsetTop = offset.top, $("html, body").animate({ scrollTop: offsetTop }, 350, "linear") } $(function () { $(document).on("scroll", function () { $(window).scrollTop() > 600 ? $(".scroll-top-wrapper").addClass("show") : $(".scroll-top-wrapper").removeClass("show") }), $(".scroll-top-wrapper").on("click", scrollToTop) });
(function(a,k,g){a.fn.tinyNav=function(l){var c=a.extend({active:"selected",header:"",indent:"- ",label:""},l);return this.each(function(){g++;var h=a(this),b="tinynav"+g,f=".l_"+b,e=a("<select/>").attr("id",b).addClass("tinynav "+b);if(h.is("ul,ol")){""!==c.header&&e.append(a("<option/>").text(c.header));var d="";h.addClass("l_"+b).find("a").each(function(){d+='<option value="'+a(this).attr("href")+'">';var b;for(b=0;b<a(this).parents("ul, ol").length-1;b++)d+=c.indent;d+=a(this).text()+"</option>"});
e.append(d);c.header||e.find(":eq("+a(f+" li").index(a(f+" li."+c.active))+")").attr("selected",!0);e.change(function(){k.location.href=a(this).val()});a(f).after(e);c.label&&e.before(a("<label/>").attr("for",b).addClass("tinynav_label "+b+"_label").append(c.label))}})}})(jQuery,this,0);

(function(e,m,p,q){function l(b,f){this.o=e.extend({},n,f);this.e=e(b);this.init()}var n={target:"next",mode:"words",speed:"slow",truncate:10,ellipsis:"...",effect:"fade",controlBtn:"",showText:"Show more",hideText:"Hide text",showClass:"show-class",hideClass:"hide-class",atStart:"hide",lockHide:!1,dynamic:!1,changeText:!1,beforeShow:null,afterShow:null,beforeHide:null,afterHide:null};l.prototype={init:function(){var b=this;b.mode=b.o.mode;b.remaining={};b.ctrlHtml=' <a href="#" data-ctrl class="'+
(e.isFunction(b.o.controlBtn)?"":b.o.controlBtn)+'"></a>';e(b.e).each(function(){e(this).data("oCnt",b.e.html());var a=e.isFunction(b.o.atStart)?b.o.atStart.call(b.e):b.o.atStart,a="undefined"!==typeof b.e.attr("data-start")?b.e.attr("data-start"):a;"hide"==a?b.hide(b.e,0):b.show(b.e,0)});var f;e(m).on("resize",function(){b.o.dynamic&&"lines"==b.mode&&(clearTimeout(f),f=setTimeout(function(){b.reInit(b.e)},100))})},show:function(b,f){var a=this,c=e(b);"undefined"===typeof f&&(f=a.o.speed);var g=function(){e.isFunction(a.o.afterShow)&&
a.o.afterShow.call(a.e,a)};e.isFunction(a.o.beforeShow)&&a.o.beforeShow.call(a.e,a);switch(a.mode){case "chars":case "words":var d=c.height();c.html(c.data("tHTML"));var h=c.height();c.height(d);c.animate({height:h},f,function(){c.height("auto");g()}).removeClass(a.o.hideClass).addClass(a.o.showClass);c.data("tHTML",c.html());break;case "lines":0==c.children("div").length&&c.wrapInner("<div>");var k=c.children("div"),d=k.height(),h=k.html(c.data("oCnt")).css("height","").height();k.css("height",d);
k.animate({height:h},f,function(){k.height("auto");g()});c.removeClass(a.o.hideClass).addClass(a.o.showClass);break;case "block":a.blockMode(c,"show",f,g)}a.status=1;if(!0==a.o.lockHide)return c.find("[data-ctrl]").remove(),"";if("block"==a.mode)c.off("click.coll").on("click.coll",function(b){b.preventDefault();a.hide(c)});else 0!=c.find("[data-ctrl]").length||e.isFunction(a.o.controlBtn)||c.append(a.ctrlHtml),a.ctrlBtn=e.isFunction(a.o.controlBtn)?a.o.controlBtn.call(a.e):e(c.find("[data-ctrl]")),
a.ctrlBtn.off("click.coll").on("click.coll",function(b){b.preventDefault();a.hide(c)}).html(a.o.hideText)},hide:function(b,f){var a=this,c=e(b);"undefined"===typeof f&&(f=a.o.speed);var g=function(){e.isFunction(a.o.afterHide)&&a.o.afterHide.call(a.e,a)};e.isFunction(a.o.beforeHide)&&a.o.beforeHide.call(a.e,a);c.find("[data-ctrl]").remove();switch(a.mode){case "chars":var d=e.trim(c.text());a.remaining.chars=d.length-a.o.truncate;d.length>a.o.truncate&&(c.data("tHTML",c.html()),d=a.pad(d.slice(0,
a.o.truncate),d.slice(a.o.truncate,d.length)),c.html(d).removeClass(a.o.showClass).addClass(a.o.hideClass),g());break;case "words":d=e.trim(c.text());d=d.split(" ");a.remaining.words=d.length-a.o.truncate;d.length>a.o.truncate&&(c.data("tHTML",c.html()),d=a.pad(d.slice(0,a.o.truncate).join(" "),d.slice(a.o.truncate,d.length).join(" ")),c.html(d).removeClass(a.o.showClass).addClass(a.o.hideClass),g());break;case "lines":0==c.children("div").length&&c.wrapInner("<div>");d=c.children("div").css("height",
"");d.html(d.text());var h=d.height();"undefined"===typeof c.data("lHeight")?(temp=d.clone(),lHeight=temp.text("a").insertAfter(d).height(),c.data("lHeight",lHeight),d.next().remove()):lHeight=c.data("lHeight");lines=h/lHeight;a.remaining.lines=lines-a.o.truncate;0<a.remaining.lines&&(d.css("overflow","hidden"),d.animate({height:lHeight*a.o.truncate},f).data("tHeight",h),c.removeClass(a.o.showClass).addClass(a.o.hideClass),0!=c.find("[data-ctrl]").length||e.isFunction(a.o.controlBtn)||c.append(a.ctrlHtml),
g());break;case "block":a.blockMode(c,"hide",f,g)}a.status=0;"block"==a.mode?c.unbind("click.coll").bind("click.coll",function(b){b.preventDefault();a.show(c)}):(a.ctrlBtn=e.isFunction(a.o.controlBtn)?a.o.controlBtn.call(a.e):e(c.find("[data-ctrl]")),a.ctrlBtn.off("click.coll").on("click.coll",function(b){b.preventDefault();a.show(c)}).html(a.o.showText),g=a.o.showText,d={chars:["character","characters"],words:["word","words"],lines:["lines","lines"]},g=g.replace("%s",a.remaining[a.mode]+(1==a.remaining[a.mode]?
" "+d[a.mode][0]:" "+d[a.mode][1])),a.ctrlBtn.html(g))},pad:function(b,f){return b+'<span class="coll-ellipsis">'+this.o.ellipsis+"</span>"+(e.isFunction(this.o.ctrlBtn)?"":this.ctrlHtml)+'<span class="coll-hidden" style="display:none">'+f+"</span>"},blockMode:function(b,f,a,c){var g=["fadeOut","slideUp","fadeIn","slideDown"],d="fade"==this.o.effect?0:1,g="hide"==f?g[d]:g[d+2];if(e.isFunction(this.o.target))this.o.target.call(this.e)[g](a,c);else if(e.fn[this.o.target])e(b)[this.o.target]()[g](a,
c);"show"==f?(b.removeClass(this.o.showClass).addClass(this.o.hideClass),this.o.changeText&&b.text(this.o.hideText)):(b.removeClass(this.o.hideClass).addClass(this.o.showClass),this.o.changeText&&b.text(this.o.showText))},reInit:function(b){b.find("[data-ctrl]").remove();b.html(this.e.data("oCnt"));0==this.status?this.hide(b,0):this.show(b,0)}};e.fn.collapser=function(b){return this.each(function(){e.data(this,"collapser")||e.data(this,"collapser",new l(this,b))})}})(jQuery,window,document);

!function(){"use strict";function a(){function a(){function a(a,c){function d(a){var c=1===(e=1-e)?"width":"height";return Math.floor(Number(a)*b[c])}var e=0;i[c].coords=a.split(",").map(d).join(",")}var b={width:k.width/k.naturalWidth,height:k.height/k.naturalHeight};j.forEach(a)}function b(a){return a.coords.replace(/ *, */g,",").replace(/ +/g,",")}function c(){clearTimeout(l),l=setTimeout(a,250)}function d(){(k.width!==k.naturalWidth||k.height!==k.naturalHeight)&&a()}function e(){h._resize=a,k.addEventListener("onload",a,!1),window.addEventListener("focus",a,!1),window.addEventListener("resize",c,!1),document.addEventListener("fullscreenchange",a,!1)}function f(){return"function"==typeof h._resize}function g(){i=h.getElementsByTagName("area"),j=Array.prototype.map.call(i,b),k=document.querySelector('img[usemap="#'+h.name+'"]')}var h=this,i=null,j=null,k=null,l=null;f()?h._resize():(g(),e(),d())}function b(){function b(b){if(!b.tagName)throw new TypeError("Object is not a valid DOM element");if("MAP"!==b.tagName.toUpperCase())throw new TypeError("Expected <MAP> tag, found <"+b.tagName+">.");a.call(b)}return function(a){switch(typeof a){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(a||"map"),b);break;case"object":b(a);break;default:throw new TypeError("Unexpected data type ("+typeof a+").")}}}"function"==typeof define&&define.amd?define([],b):"object"==typeof module&&"object"==typeof module.exports?module.exports=b():window.imageMapResize=b(),"jQuery"in window&&(jQuery.fn.imageMapResize=function(){return this.filter("map").each(a).end()})}();
