(function(){function g(a){throw a;}var i=void 0,k=null;function aa(a){return function(){return this[a]}}var m,ba=ba||{},n=this;function ca(a){for(var a=a.split("."),b=n,c;c=a.shift();)if(b[c]!=k)b=b[c];else return k;return b}function da(){}
function ea(a){var b=typeof a;if(b=="object")if(a){if(a instanceof Array)return"array";else if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if(c=="[object Window]")return"object";if(c=="[object Array]"||typeof a.length=="number"&&typeof a.splice!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("splice"))return"array";if(c=="[object Function]"||typeof a.call!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
else if(b=="function"&&typeof a.call=="undefined")return"object";return b}function o(a){return a!==i}function q(a){return ea(a)=="array"}function fa(a){var b=ea(a);return b=="array"||b=="object"&&typeof a.length=="number"}function r(a){return typeof a=="string"}function ga(a){return typeof a=="number"}function ha(a){return ea(a)=="function"}function ia(a){a=ea(a);return a=="object"||a=="array"||a=="function"}function s(a){return a[ja]||(a[ja]=++ka)}
var ja="closure_uid_"+Math.floor(Math.random()*2147483648).toString(36),ka=0;function la(a,b,c){return a.call.apply(a.bind,arguments)}function ma(a,b,c){a||g(Error());if(arguments.length>2){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}else return function(){return a.apply(b,arguments)}}
function u(a,b,c){u=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?la:ma;return u.apply(k,arguments)}function na(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=Array.prototype.slice.call(arguments);b.unshift.apply(b,c);return a.apply(this,b)}}var oa=Date.now||function(){return+new Date};
function v(a,b){var c=a.split("."),d=n;!(c[0]in d)&&d.execScript&&d.execScript("var "+c[0]);for(var e;c.length&&(e=c.shift());)!c.length&&o(b)?d[e]=b:d=d[e]?d[e]:d[e]={}}function x(a,b){function c(){}c.prototype=b.prototype;a.d=b.prototype;a.prototype=new c;a.prototype.constructor=a};function pa(a,b,c){for(var d=0,e=a.length;d<e;d++)if(b.call(c||k,a[d],d,a))return a[d]}v("njg.array.first",pa);v("njg.array.forEach",function(){return y.apply(k,arguments)});v("njg.array.filter",function(){return qa.apply(k,arguments)});v("njg.array.map",function(){return ra.apply(k,arguments)});v("njg.array.reduce",function(){return sa.apply(k,arguments)});v("njg.array.toArray",function(){return ta.apply(k,arguments)});v("njg.object.first",function(a,b,c){for(var d in a)if(a.hasOwnProperty(d)&&b.call(c||k,a[d],d,a))return a[d]});v("njg.object.filterProperties",function(a,b){for(var c={},d=0,e=b.length;d<e;d++)a.hasOwnProperty(b[d])&&(c[p]=a[p]);return c});v("njg.object.excludeProperties",function(a,b){for(var c={},d=0,e=b.length;d<e;d++)a.hasOwnProperty(b[d])||(c[p]=a[p]);return c});function z(a,b){var c=ua(a);va.apply(k,[c].concat(wa(arguments,1)));return c}v("njg.object.merge",z);function xa(){}xa.prototype.wb=!1;xa.prototype.K=function(){if(!this.wb)this.wb=!0,this.l()};xa.prototype.l=function(){this.Xb&&ya.apply(k,this.Xb)};function ya(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];fa(d)?ya.apply(k,d):d&&typeof d.K=="function"&&d.K()}};function za(a){this.stack=Error().stack||"";if(a)this.message=String(a)}x(za,Error);za.prototype.name="CustomError";function Aa(a,b){for(var c=1;c<arguments.length;c++)var d=String(arguments[c]).replace(/\$/g,"$$$$"),a=a.replace(/\%s/,d);return a}function Ba(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")}var Ca=/^[a-zA-Z0-9\-_.!~*'()]*$/;function Da(a){a=String(a);return!Ca.test(a)?encodeURIComponent(a):a}
function Ea(a){if(!Fa.test(a))return a;a.indexOf("&")!=-1&&(a=a.replace(Ga,"&amp;"));a.indexOf("<")!=-1&&(a=a.replace(Ha,"&lt;"));a.indexOf(">")!=-1&&(a=a.replace(Ia,"&gt;"));a.indexOf('"')!=-1&&(a=a.replace(Ja,"&quot;"));return a}var Ga=/&/g,Ha=/</g,Ia=/>/g,Ja=/\"/g,Fa=/[&<>\"]/;
function Ka(a,b){for(var c=0,d=Ba(String(a)).split("."),e=Ba(String(b)).split("."),f=Math.max(d.length,e.length),h=0;c==0&&h<f;h++){var j=d[h]||"",l=e[h]||"",t=RegExp("(\\d*)(\\D*)","g"),Z=RegExp("(\\d*)(\\D*)","g");do{var w=t.exec(j)||["","",""],U=Z.exec(l)||["","",""];if(w[0].length==0&&U[0].length==0)break;c=La(w[1].length==0?0:parseInt(w[1],10),U[1].length==0?0:parseInt(U[1],10))||La(w[2].length==0,U[2].length==0)||La(w[2],U[2])}while(c==0)}return c}
function La(a,b){if(a<b)return-1;else if(a>b)return 1;return 0}var Ma={};function Na(a){return Ma[a]||(Ma[a]=String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()}))};function Oa(a,b){b.unshift(a);za.call(this,Aa.apply(k,b));b.shift();this.ne=a}x(Oa,za);Oa.prototype.name="AssertionError";function Pa(a,b){g(new Oa("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1)))};var A=Array.prototype,Qa=A.indexOf?function(a,b,c){return A.indexOf.call(a,b,c)}:function(a,b,c){c=c==k?0:c<0?Math.max(0,a.length+c):c;if(r(a))return!r(b)||b.length!=1?-1:a.indexOf(b,c);for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},y=A.forEach?function(a,b,c){A.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=r(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},qa=A.filter?function(a,b,c){return A.filter.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=[],f=0,h=r(a)?a.split(""):
a,j=0;j<d;j++)if(j in h){var l=h[j];b.call(c,l,j,a)&&(e[f++]=l)}return e},ra=A.map?function(a,b,c){return A.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f=r(a)?a.split(""):a,h=0;h<d;h++)h in f&&(e[h]=b.call(c,f[h],h,a));return e};function sa(a,b,c,d){if(a.reduce)return d?a.reduce(u(b,d),c):a.reduce(b,c);var e=c;y(a,function(c,h){e=b.call(d,e,c,h,a)});return e}function Ra(a,b){var c=Qa(a,b);c>=0&&A.splice.call(a,c,1)}function Sa(a){return A.concat.apply(A,arguments)}
function Ta(a){if(q(a))return Sa(a);else{for(var b=[],c=0,d=a.length;c<d;c++)b[c]=a[c];return b}}function ta(a){return q(a)?Sa(a):Ta(a)}function Ua(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c],e;if(q(d)||(e=fa(d))&&d.hasOwnProperty("callee"))a.push.apply(a,d);else if(e)for(var f=a.length,h=d.length,j=0;j<h;j++)a[f+j]=d[j];else a.push(d)}}function Va(a,b,c,d){A.splice.apply(a,wa(arguments,1))}function wa(a,b,c){return arguments.length<=2?A.slice.call(a,b):A.slice.call(a,b,c)};var Wa,Xa,Ya,Za,$a,ab;function bb(){return n.navigator?n.navigator.userAgent:k}function cb(){return n.navigator}$a=Za=Ya=Xa=Wa=!1;var db;if(db=bb()){var eb=cb();Wa=db.indexOf("Opera")==0;Xa=!Wa&&db.indexOf("MSIE")!=-1;Za=(Ya=!Wa&&db.indexOf("WebKit")!=-1)&&db.indexOf("Mobile")!=-1;$a=!Wa&&!Ya&&eb.product=="Gecko"}var fb=Wa,B=Xa,gb=$a,C=Ya,hb=Za,ib=cb();ab=(ib&&ib.platform||"").indexOf("Mac")!=-1;var jb=!!cb()&&(cb().appVersion||"").indexOf("X11")!=-1,kb;
a:{var lb="",mb;if(fb&&n.opera)var nb=n.opera.version,lb=typeof nb=="function"?nb():nb;else if(gb?mb=/rv\:([^\);]+)(\)|;)/:B?mb=/MSIE\s+([^\);]+)(\)|;)/:C&&(mb=/WebKit\/(\S+)/),mb)var ob=mb.exec(bb()),lb=ob?ob[1]:"";if(B){var pb,qb=n.document;pb=qb?qb.documentMode:i;if(pb>parseFloat(lb)){kb=String(pb);break a}}kb=lb}var rb={};function sb(a){return rb[a]||(rb[a]=Ka(kb,a)>=0)}var tb={};function ub(){return tb[9]||(tb[9]=B&&document.documentMode&&document.documentMode>=9)};var vb;!B||ub();var wb=B&&!sb("8");function D(a,b){this.type=a;this.currentTarget=this.target=b}x(D,xa);D.prototype.l=function(){delete this.type;delete this.target;delete this.currentTarget};D.prototype.ba=!1;D.prototype.pa=!0;D.prototype.preventDefault=function(){this.pa=!1};function xb(a){xb[" "](a);return a}xb[" "]=da;function yb(a,b){a&&this.ia(a,b)}x(yb,D);m=yb.prototype;m.target=k;m.relatedTarget=k;m.offsetX=0;m.offsetY=0;m.clientX=0;m.clientY=0;m.screenX=0;m.screenY=0;m.button=0;m.keyCode=0;m.charCode=0;m.ctrlKey=!1;m.altKey=!1;m.shiftKey=!1;m.metaKey=!1;m.lc=!1;m.R=k;
m.ia=function(a,b){var c=this.type=a.type;D.call(this,c);this.target=a.target||a.srcElement;this.currentTarget=b;var d=a.relatedTarget;if(d){if(gb){var e;a:{try{xb(d.nodeName);e=!0;break a}catch(f){}e=!1}e||(d=k)}}else if(c=="mouseover")d=a.fromElement;else if(c=="mouseout")d=a.toElement;this.relatedTarget=d;this.offsetX=a.offsetX!==i?a.offsetX:a.layerX;this.offsetY=a.offsetY!==i?a.offsetY:a.layerY;this.clientX=a.clientX!==i?a.clientX:a.pageX;this.clientY=a.clientY!==i?a.clientY:a.pageY;this.screenX=
a.screenX||0;this.screenY=a.screenY||0;this.button=a.button;this.keyCode=a.keyCode||0;this.charCode=a.charCode||(c=="keypress"?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.lc=ab?a.metaKey:a.ctrlKey;this.state=a.state;this.R=a;delete this.pa;delete this.ba};
m.preventDefault=function(){yb.d.preventDefault.call(this);var a=this.R;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,wb)try{if(a.ctrlKey||a.keyCode>=112&&a.keyCode<=123)a.keyCode=-1}catch(b){}};m.Zb=aa("R");m.l=function(){yb.d.l.call(this);this.relatedTarget=this.currentTarget=this.target=this.R=k};function zb(){}var Ab=0;m=zb.prototype;m.key=0;m.ca=!1;m.rb=!1;m.ia=function(a,b,c,d,e,f){ha(a)?this.Eb=!0:a&&a.handleEvent&&ha(a.handleEvent)?this.Eb=!1:g(Error("Invalid listener argument"));this.oa=a;this.Lb=b;this.src=c;this.type=d;this.capture=!!e;this.Za=f;this.rb=!1;this.key=++Ab;this.ca=!1};m.handleEvent=function(a){return this.Eb?this.oa.call(this.Za||this.src,a):this.oa.handleEvent.call(this.oa,a)};function E(a,b){this.Gb=b;this.S=[];a>this.Gb&&g(Error("[goog.structs.SimplePool] Initial cannot be greater than max"));for(var c=0;c<a;c++)this.S.push(this.A?this.A():{})}x(E,xa);E.prototype.A=k;E.prototype.vb=k;E.prototype.getObject=function(){return this.S.length?this.S.pop():this.A?this.A():{}};function Bb(a,b){a.S.length<a.Gb?a.S.push(b):Cb(a,b)}function Cb(a,b){if(a.vb)a.vb(b);else if(ia(b))if(ha(b.K))b.K();else for(var c in b)delete b[c]}
E.prototype.l=function(){E.d.l.call(this);for(var a=this.S;a.length;)Cb(this,a.pop());delete this.S};var Db,Eb=(Db="ScriptEngine"in n&&n.ScriptEngine()=="JScript")?n.ScriptEngineMajorVersion()+"."+n.ScriptEngineMinorVersion()+"."+n.ScriptEngineBuildVersion():"0";var Fb,Gb,Hb,Ib,Jb,Kb,Lb,Mb,Nb,Ob,Pb;
(function(){function a(){return{e:0,s:0}}function b(){return[]}function c(){function a(b){b=h.call(a.src,a.key,b);if(!b)return b}return a}function d(){return new zb}function e(){return new yb}var f=Db&&!(Ka(Eb,"5.7")>=0),h;Kb=function(a){h=a};if(f){Fb=function(){return j.getObject()};Gb=function(a){Bb(j,a)};Hb=function(){return l.getObject()};Ib=function(a){Bb(l,a)};Jb=function(){return t.getObject()};Lb=function(){Bb(t,c())};Mb=function(){return Z.getObject()};Nb=function(a){Bb(Z,a)};Ob=function(){return w.getObject()};
Pb=function(a){Bb(w,a)};var j=new E(0,600);j.A=a;var l=new E(0,600);l.A=b;var t=new E(0,600);t.A=c;var Z=new E(0,600);Z.A=d;var w=new E(0,600);w.A=e}else Fb=a,Gb=da,Hb=b,Ib=da,Jb=c,Lb=da,Mb=d,Nb=da,Ob=e,Pb=da})();function Qb(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function Rb(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function Sb(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function Tb(){var a=Ub,b;for(b in a)return!1;return!0}function ua(a){var b={},c;for(c in a)b[c]=a[c];return b}var Vb="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");
function va(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<Vb.length;f++)c=Vb[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var Wb={},F={},Xb={},Yb={};
function G(a,b,c,d,e){if(b)if(q(b)){for(var f=0;f<b.length;f++)G(a,b[f],c,d,e);return k}else{var d=!!d,h=F;b in h||(h[b]=Fb());h=h[b];d in h||(h[d]=Fb(),h.e++);var h=h[d],j=s(a),l;h.s++;if(h[j]){l=h[j];for(f=0;f<l.length;f++)if(h=l[f],h.oa==c&&h.Za==e){if(h.ca)break;return l[f].key}}else l=h[j]=Hb(),h.e++;f=Jb();f.src=a;h=Mb();h.ia(c,f,a,b,d,e);c=h.key;f.key=c;l.push(h);Wb[c]=h;Xb[j]||(Xb[j]=Hb());Xb[j].push(h);a.addEventListener?(a==n||!a.ub)&&a.addEventListener(b,f,d):a.attachEvent(b in Yb?Yb[b]:
Yb[b]="on"+b,f);return c}else g(Error("Invalid event type"))}function Zb(a,b,c,d,e){if(q(b))for(var f=0;f<b.length;f++)Zb(a,b[f],c,d,e);else{d=!!d;a:{f=F;if(b in f&&(f=f[b],d in f&&(f=f[d],a=s(a),f[a]))){a=f[a];break a}a=k}if(a)for(f=0;f<a.length;f++)if(a[f].oa==c&&a[f].capture==d&&a[f].Za==e){H(a[f].key);break}}}
function H(a){if(Wb[a]){var b=Wb[a];if(!b.ca){var c=b.src,d=b.type,e=b.Lb,f=b.capture;c.removeEventListener?(c==n||!c.ub)&&c.removeEventListener(d,e,f):c.detachEvent&&c.detachEvent(d in Yb?Yb[d]:Yb[d]="on"+d,e);c=s(c);e=F[d][f][c];if(Xb[c]){var h=Xb[c];Ra(h,b);h.length==0&&delete Xb[c]}b.ca=!0;e.Hb=!0;$b(d,f,c,e);delete Wb[a]}}}
function $b(a,b,c,d){if(!d.Ba&&d.Hb){for(var e=0,f=0;e<d.length;e++)if(d[e].ca){var h=d[e].Lb;h.src=k;Lb(h);Nb(d[e])}else e!=f&&(d[f]=d[e]),f++;d.length=f;d.Hb=!1;f==0&&(Ib(d),delete F[a][b][c],F[a][b].e--,F[a][b].e==0&&(Gb(F[a][b]),delete F[a][b],F[a].e--),F[a].e==0&&(Gb(F[a]),delete F[a]))}}
function ac(a){var b,c=0,d=b==k;b=!!b;if(a==k)Qb(Xb,function(a){for(var e=a.length-1;e>=0;e--){var f=a[e];if(d||b==f.capture)H(f.key),c++}});else if(a=s(a),Xb[a])for(var a=Xb[a],e=a.length-1;e>=0;e--){var f=a[e];if(d||b==f.capture)H(f.key),c++}}function bc(a,b,c,d,e){var f=1,b=s(b);if(a[b]){a.s--;a=a[b];a.Ba?a.Ba++:a.Ba=1;try{for(var h=a.length,j=0;j<h;j++){var l=a[j];l&&!l.ca&&(f&=cc(l,e)!==!1)}}finally{a.Ba--,$b(c,d,b,a)}}return Boolean(f)}
function cc(a,b){var c=a.handleEvent(b);a.rb&&H(a.key);return c}
Kb(function(a,b){if(!Wb[a])return!0;var c=Wb[a],d=c.type,e=F;if(!(d in e))return!0;var e=e[d],f,h;vb===i&&(vb=B&&!n.addEventListener);if(vb){f=b||ca("window.event");var j=!0 in e,l=!1 in e;if(j){if(f.keyCode<0||f.returnValue!=i)return!0;a:{var t=!1;if(f.keyCode==0)try{f.keyCode=-1;break a}catch(Z){t=!0}if(t||f.returnValue==i)f.returnValue=!0}}t=Ob();t.ia(f,this);f=!0;try{if(j){for(var w=Hb(),U=t.currentTarget;U;U=U.parentNode)w.push(U);h=e[!0];h.s=h.e;for(var W=w.length-1;!t.ba&&W>=0&&h.s;W--)t.currentTarget=
w[W],f&=bc(h,w[W],d,!0,t);if(l){h=e[!1];h.s=h.e;for(W=0;!t.ba&&W<w.length&&h.s;W++)t.currentTarget=w[W],f&=bc(h,w[W],d,!1,t)}}else f=cc(c,t)}finally{if(w)w.length=0,Ib(w);t.K();Pb(t)}return f}d=new yb(b,this);try{f=cc(c,d)}finally{d.K()}return f});function dc(){}x(dc,xa);m=dc.prototype;m.ub=!0;m.lb=k;m.addEventListener=function(a,b,c,d){G(this,a,b,c,d)};m.removeEventListener=function(a,b,c,d){Zb(this,a,b,c,d)};
m.dispatchEvent=function(a){var b=a.type||a,c=F;if(b in c){if(r(a))a=new D(a,this);else if(a instanceof D)a.target=a.target||this;else{var d=a,a=new D(b,this);va(a,d)}var d=1,e,c=c[b],b=!0 in c,f;if(b){e=[];for(f=this;f;f=f.lb)e.push(f);f=c[!0];f.s=f.e;for(var h=e.length-1;!a.ba&&h>=0&&f.s;h--)a.currentTarget=e[h],d&=bc(f,e[h],a.type,!0,a)&&a.pa!=!1}if(!1 in c)if(f=c[!1],f.s=f.e,b)for(h=0;!a.ba&&h<e.length&&f.s;h++)a.currentTarget=e[h],d&=bc(f,e[h],a.type,!1,a)&&a.pa!=!1;else for(e=this;!a.ba&&e&&
f.s;e=e.lb)a.currentTarget=e,d&=bc(f,e,a.type,!1,a)&&a.pa!=!1;a=Boolean(d)}else a=!0;return a};m.l=function(){dc.d.l.call(this);ac(this);this.lb=k};var ec=n.window;function fc(a){if(typeof a.L=="function")return a.L();if(r(a))return a.split("");if(fa(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Rb(a)}function gc(a){if(typeof a.T=="function")return a.T();if(typeof a.L!="function"){if(fa(a)||r(a)){for(var b=[],a=a.length,c=0;c<a;c++)b.push(c);return b}return Sb(a)}}function hc(a,b,c){if(typeof a.forEach=="function")a.forEach(b,c);else if(fa(a)||r(a))y(a,b,c);else for(var d=gc(a),e=fc(a),f=e.length,h=0;h<f;h++)b.call(c,e[h],d&&d[h],a)};function ic(a,b){this.C={};this.j=[];var c=arguments.length;if(c>1){c%2&&g(Error("Uneven number of arguments"));for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else if(a){a instanceof ic?(c=a.T(),d=a.L()):(c=Sb(a),d=Rb(a));for(var e=0;e<c.length;e++)this.set(c[e],d[e])}}m=ic.prototype;m.e=0;m.Sb=0;m.L=function(){jc(this);for(var a=[],b=0;b<this.j.length;b++)a.push(this.C[this.j[b]]);return a};m.T=function(){jc(this);return this.j.concat()};m.t=function(a){return kc(this.C,a)};
m.remove=function(a){return kc(this.C,a)?(delete this.C[a],this.e--,this.Sb++,this.j.length>2*this.e&&jc(this),!0):!1};function jc(a){if(a.e!=a.j.length){for(var b=0,c=0;b<a.j.length;){var d=a.j[b];kc(a.C,d)&&(a.j[c++]=d);b++}a.j.length=c}if(a.e!=a.j.length){for(var e={},c=b=0;b<a.j.length;)d=a.j[b],kc(e,d)||(a.j[c++]=d,e[d]=1),b++;a.j.length=c}}m.get=function(a,b){return kc(this.C,a)?this.C[a]:b};m.set=function(a,b){kc(this.C,a)||(this.e++,this.j.push(a),this.Sb++);this.C[a]=b};m.Z=function(){return new ic(this)};
function kc(a,b){return Object.prototype.hasOwnProperty.call(a,b)};function lc(a){return mc(a||arguments.callee.caller,[])}
function mc(a,b){var c=[];if(Qa(b,a)>=0)c.push("[...circular reference...]");else if(a&&b.length<50){c.push(nc(a)+"(");for(var d=a.arguments,e=0;e<d.length;e++){e>0&&c.push(", ");var f;f=d[e];switch(typeof f){case "object":f=f?"object":"null";break;case "string":break;case "number":f=String(f);break;case "boolean":f=f?"true":"false";break;case "function":f=(f=nc(f))?f:"[fn]";break;default:f=typeof f}f.length>40&&(f=f.substr(0,40)+"...");c.push(f)}b.push(a);c.push(")\n");try{c.push(mc(a.caller,b))}catch(h){c.push("[exception trying to get caller]\n")}}else a?
c.push("[...long stack...]"):c.push("[end]");return c.join("")}function nc(a){if(oc[a])return oc[a];a=String(a);if(!oc[a]){var b=/function ([^\(]+)/.exec(a);oc[a]=b?b[1]:"[Anonymous]"}return oc[a]}var oc={};function pc(a,b,c,d,e){this.reset(a,b,c,d,e)}pc.prototype.oc=0;pc.prototype.zb=k;pc.prototype.yb=k;var qc=0;pc.prototype.reset=function(a,b,c,d,e){this.oc=typeof e=="number"?e:qc++;this.se=d||oa();this.na=a;this.fc=b;this.me=c;delete this.zb;delete this.yb};pc.prototype.Nb=function(a){this.na=a};function rc(a){this.gc=a}rc.prototype.Ha=k;rc.prototype.na=k;rc.prototype.Ta=k;rc.prototype.Bb=k;function sc(a,b){this.name=a;this.value=b}sc.prototype.toString=aa("name");var tc=new sc("SEVERE",1E3),uc=new sc("WARNING",900),vc=new sc("CONFIG",700),wc=new sc("FINE",500),xc=new sc("FINEST",300);m=rc.prototype;m.getParent=aa("Ha");m.Nb=function(a){this.na=a};function yc(a){if(a.na)return a.na;if(a.Ha)return yc(a.Ha);Pa("Root logger has no level set.");return k}
m.log=function(a,b,c){if(a.value>=yc(this).value){a=this.$b(a,b,c);b="log:"+a.fc;n.console&&(n.console.timeStamp?n.console.timeStamp(b):n.console.markTimeline&&n.console.markTimeline(b));n.msWriteProfilerMark&&n.msWriteProfilerMark(b);for(b=this;b;){var c=b,d=a;if(c.Bb)for(var e=0,f=i;f=c.Bb[e];e++)f(d);b=b.getParent()}}};
m.$b=function(a,b,c){var d=new pc(a,String(b),this.gc);if(c){d.zb=c;var e;var f=arguments.callee.caller;try{var h;var j=ca("window.location.href");if(r(c))h={message:c,name:"Unknown error",lineNumber:"Not available",fileName:j,stack:"Not available"};else{var l,t,Z=!1;try{l=c.lineNumber||c.le||"Not available"}catch(w){l="Not available",Z=!0}try{t=c.fileName||c.filename||c.sourceURL||j}catch(U){t="Not available",Z=!0}h=Z||!c.lineNumber||!c.fileName||!c.stack?{message:c.message,name:c.name,lineNumber:l,
fileName:t,stack:c.stack||"Not available"}:c}e="Message: "+Ea(h.message)+'\nUrl: <a href="view-source:'+h.fileName+'" target="_new">'+h.fileName+"</a>\nLine: "+h.lineNumber+"\n\nBrowser stack:\n"+Ea(h.stack+"-> ")+"[end]\n\nJS stack traversal:\n"+Ea(lc(f)+"-> ")}catch(W){e="Exception trying to expose exception! You win, we lose. "+W}d.yb=e}return d};m.a=function(a,b){this.log(vc,a,b)};function I(a,b){a.log(wc,b,i)}var zc={},Ac=k;
function Bc(a){Ac||(Ac=new rc(""),zc[""]=Ac,Ac.Nb(vc));var b;if(!(b=zc[a])){b=new rc(a);var c=a.lastIndexOf("."),d=a.substr(c+1),c=Bc(a.substr(0,c));if(!c.Ta)c.Ta={};c.Ta[d]=b;b.Ha=c;zc[a]=b}return b};function Cc(a){a=String(a);if(/^\s*$/.test(a)?0:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/"[^"\\\n\r\u2028\u2029\x00-\x08\x10-\x1f\x80-\x9f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{return eval("("+a+")")}catch(b){}g(Error("Invalid JSON string: "+a))}function Dc(){}
function Ec(a,b,c){switch(typeof b){case "string":Fc(b,c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?b:"null");break;case "boolean":c.push(b);break;case "undefined":c.push("null");break;case "object":if(b==k){c.push("null");break}if(q(b)){var d=b.length;c.push("[");for(var e="",f=0;f<d;f++)c.push(e),Ec(a,b[f],c),e=",";c.push("]");break}c.push("{");d="";for(e in b)Object.prototype.hasOwnProperty.call(b,e)&&(f=b[e],typeof f!="function"&&(c.push(d),Fc(e,c),c.push(":"),Ec(a,f,c),d=","));c.push("}");
break;case "function":break;default:g(Error("Unknown type: "+typeof b))}}var Gc={'"':'\\"',"\\":"\\\\","/":"\\/","\u0008":"\\b","\u000c":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\u000b":"\\u000b"},Hc=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g;function Fc(a,b){b.push('"',a.replace(Hc,function(a){if(a in Gc)return Gc[a];var b=a.charCodeAt(0),e="\\u";b<16?e+="000":b<256?e+="00":b<4096&&(e+="0");return Gc[a]=e+b.toString(16)}),'"')};function Ic(){}Ic.prototype.ua=k;var Jc;function Kc(){}x(Kc,Ic);function Lc(a){return(a=Mc(a))?new ActiveXObject(a):new XMLHttpRequest}function Nc(a){var b={};Mc(a)&&(b[0]=!0,b[1]=!0);return b}Kc.prototype.$a=k;
function Mc(a){if(!a.$a&&typeof XMLHttpRequest=="undefined"&&typeof ActiveXObject!="undefined"){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new ActiveXObject(d),a.$a=d}catch(e){}}g(Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed"))}return a.$a}Jc=new Kc;function Oc(){if(gb)this.Q={},this.Qa={},this.Ma=[]}Oc.prototype.g=Bc("goog.net.xhrMonitor");Oc.prototype.xa=gb;function Pc(a){var b=Qc;if(b.xa){var c=r(a)?a:ia(a)?s(a):"";b.g.log(xc,"Pushing context: "+a+" ("+c+")",i);b.Ma.push(c)}}function Rc(){var a=Qc;if(a.xa){var b=a.Ma.pop();a.g.log(xc,"Popping context: "+b,i);Sc(a,b)}}function Tc(a){var b=Qc;if(b.xa){a=s(a);I(b.g,"Opening XHR : "+a);for(var c=0;c<b.Ma.length;c++){var d=b.Ma[c];Uc(b.Q,d,a);Uc(b.Qa,a,d)}}}
function Sc(a,b){var c=a.Qa[b],d=a.Q[b];c&&d&&(a.g.log(xc,"Updating dependent contexts",i),y(c,function(a){y(d,function(b){Uc(this.Q,a,b);Uc(this.Qa,b,a)},this)},a))}function Uc(a,b,c){a[b]||(a[b]=[]);Qa(a[b],c)>=0||a[b].push(c)}var Qc=new Oc;var Vc=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$");function Wc(a){this.headers=new ic;this.ea=a||k}x(Wc,dc);Wc.prototype.g=Bc("goog.net.XhrIo");var Xc=/^https?:?$/i,Yc=[];function Zc(a,b,c,d,e,f){var h=new Wc;Yc.push(h);b&&G(h,"complete",b);G(h,"ready",na($c,h));if(f)h.ra=Math.max(0,f);h.send(a,c,d,e)}function $c(a){a.K();Ra(Yc,a)}m=Wc.prototype;m.I=!1;m.c=k;m.Pa=k;m.la="";m.Fb="";m.ja=0;m.ka="";m.Wa=!1;m.ya=!1;m.ab=!1;m.U=!1;m.ra=0;m.X=k;m.Mb="";m.vc=!1;
m.send=function(a,b,c,d){this.c&&g(Error("[goog.net.XhrIo] Object is active with another request"));b=b?b.toUpperCase():"GET";this.la=a;this.ka="";this.ja=0;this.Fb=b;this.Wa=!1;this.I=!0;this.c=this.ea?Lc(this.ea):Lc(Jc);this.Pa=this.ea?this.ea.ua||(this.ea.ua=Nc(this.ea)):Jc.ua||(Jc.ua=Nc(Jc));Tc(this.c);this.c.onreadystatechange=u(this.Jb,this);try{I(this.g,ad(this,"Opening Xhr")),this.ab=!0,this.c.open(b,a,!0),this.ab=!1}catch(e){I(this.g,ad(this,"Error opening Xhr: "+e.message));bd(this,e);return}var a=
c||"",f=this.headers.Z();d&&hc(d,function(a,b){f.set(b,a)});b=="POST"&&!f.t("Content-Type")&&f.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");hc(f,function(a,b){this.c.setRequestHeader(b,a)},this);if(this.Mb)this.c.responseType=this.Mb;if("withCredentials"in this.c)this.c.withCredentials=this.vc;try{if(this.X)ec.clearTimeout(this.X),this.X=k;if(this.ra>0)I(this.g,ad(this,"Will abort after "+this.ra+"ms if incomplete")),this.X=ec.setTimeout(u(this.sc,this),this.ra);I(this.g,
ad(this,"Sending request"));this.ya=!0;this.c.send(a);this.ya=!1}catch(h){I(this.g,ad(this,"Send error: "+h.message)),bd(this,h)}};m.dispatchEvent=function(a){if(this.c){Pc(this.c);try{return Wc.d.dispatchEvent.call(this,a)}finally{Rc()}}else return Wc.d.dispatchEvent.call(this,a)};m.sc=function(){if(typeof ba!="undefined"&&this.c)this.ka="Timed out after "+this.ra+"ms, aborting",this.ja=8,I(this.g,ad(this,this.ka)),this.dispatchEvent("timeout"),this.abort(8)};
function bd(a,b){a.I=!1;if(a.c)a.U=!0,a.c.abort(),a.U=!1;a.ka=b;a.ja=5;cd(a);dd(a)}function cd(a){if(!a.Wa)a.Wa=!0,a.dispatchEvent("complete"),a.dispatchEvent("error")}m.abort=function(a){if(this.c&&this.I)I(this.g,ad(this,"Aborting")),this.I=!1,this.U=!0,this.c.abort(),this.U=!1,this.ja=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),dd(this)};m.l=function(){if(this.c){if(this.I)this.I=!1,this.U=!0,this.c.abort(),this.U=!1;dd(this,!0)}Wc.d.l.call(this)};
m.Jb=function(){!this.ab&&!this.ya&&!this.U?this.kc():ed(this)};m.kc=function(){ed(this)};
function ed(a){if(a.I&&typeof ba!="undefined")if(a.Pa[1]&&fd(a)==4&&gd(a)==2)I(a.g,ad(a,"Local request error detected and ignored"));else if(a.ya&&fd(a)==4)ec.setTimeout(u(a.Jb,a),0);else if(a.dispatchEvent("readystatechange"),fd(a)==4){I(a.g,ad(a,"Request complete"));a.I=!1;var b;a:switch(gd(a)){case 0:b=r(a.la)?a.la.match(Vc)[1]||k:a.la.ke();b=!(b?Xc.test(b):self.location?Xc.test(self.location.protocol):1);break a;case 200:case 201:case 202:case 204:case 304:case 1223:b=!0;break a;default:b=!1}if(b)a.dispatchEvent("complete"),
a.dispatchEvent("success");else{a.ja=6;var c;try{c=fd(a)>2?a.c.statusText:""}catch(d){I(a.g,"Can not get status: "+d.message),c=""}a.ka=c+" ["+gd(a)+"]";cd(a)}dd(a)}}
function dd(a,b){if(a.c){var c=a.c,d=a.Pa[0]?da:k;a.c=k;a.Pa=k;if(a.X)ec.clearTimeout(a.X),a.X=k;b||(Pc(c),a.dispatchEvent("ready"),Rc());var e=Qc;if(e.xa){var f=s(c);I(e.g,"Closing XHR : "+f);delete e.Qa[f];for(var h in e.Q)Ra(e.Q[h],f),e.Q[h].length==0&&delete e.Q[h]}try{c.onreadystatechange=d}catch(j){a.g.log(tc,"Problem encountered resetting onreadystatechange: "+j.message,i)}}}function fd(a){return a.c?a.c.readyState:0}
function gd(a){try{return fd(a)>2?a.c.status:-1}catch(b){return a.g.log(uc,"Can not get status: "+b.message,i),-1}}function hd(a){if(a.c)return Cc(a.c.responseText)}function ad(a,b){return b+" ["+a.Fb+" "+a.la+" "+gd(a)+"]"};function id(a,b,c){this.B=a||k;this.Rb=b||k;this.dc=!!c}function jd(a){if(!a.f&&(a.f=new ic,a.e=0,a.B))for(var b=a.B.split("&"),c=0;c<b.length;c++){var d=b[c].indexOf("="),e=k,f=k;d>=0?(e=b[c].substring(0,d),f=b[c].substring(d+1)):e=b[c];e=decodeURIComponent(e.replace(/\+/g," "));e=kd(a,e);a.add(e,f?decodeURIComponent(f.replace(/\+/g," ")):"")}}m=id.prototype;m.f=k;m.e=k;
m.add=function(a,b){jd(this);ld(this);a=kd(this,a);if(this.t(a)){var c=this.f.get(a);q(c)?c.push(b):this.f.set(a,[c,b])}else this.f.set(a,b);this.e++;return this};m.remove=function(a){jd(this);a=kd(this,a);if(this.f.t(a)){ld(this);var b=this.f.get(a);q(b)?this.e-=b.length:this.e--;return this.f.remove(a)}return!1};m.t=function(a){jd(this);a=kd(this,a);return this.f.t(a)};
m.T=function(){jd(this);for(var a=this.f.L(),b=this.f.T(),c=[],d=0;d<b.length;d++){var e=a[d];if(q(e))for(var f=0;f<e.length;f++)c.push(b[d]);else c.push(b[d])}return c};m.L=function(a){jd(this);if(a)if(a=kd(this,a),this.t(a)){var b=this.f.get(a);if(q(b))return b;else a=[],a.push(b)}else a=[];else for(var b=this.f.L(),a=[],c=0;c<b.length;c++){var d=b[c];q(d)?Ua(a,d):a.push(d)}return a};
m.set=function(a,b){jd(this);ld(this);a=kd(this,a);if(this.t(a)){var c=this.f.get(a);q(c)?this.e-=c.length:this.e--}this.f.set(a,b);this.e++;return this};m.get=function(a,b){jd(this);a=kd(this,a);if(this.t(a)){var c=this.f.get(a);return q(c)?c[0]:c}else return b};
m.toString=function(){if(this.B)return this.B;if(!this.f)return"";for(var a=[],b=0,c=this.f.T(),d=0;d<c.length;d++){var e=c[d],f=Da(e),e=this.f.get(e);if(q(e))for(var h=0;h<e.length;h++)b>0&&a.push("&"),a.push(f),e[h]!==""&&a.push("=",Da(e[h])),b++;else b>0&&a.push("&"),a.push(f),e!==""&&a.push("=",Da(e)),b++}return this.B=a.join("")};function ld(a){delete a.Va;delete a.B;a.Rb&&delete a.Rb.ie}m.Z=function(){var a=new id;if(this.Va)a.Va=this.Va;if(this.B)a.B=this.B;if(this.f)a.f=this.f.Z();return a};
function kd(a,b){var c=String(b);a.dc&&(c=c.toLowerCase());return c}m.extend=function(a){for(var b=0;b<arguments.length;b++)hc(arguments[b],function(a,b){this.add(b,a)},this)};v("njg.net.send",function(a,b){var c=[],d=b.data||{},e=b.method||"GET",f=b.type||"json";md(d);var h="",j,l;e==="GET"?a+="?"+d:h=d;c.push(a);b.callback?(l=b.context?u(b.callback,b.context):b.callback,c.push(function(a){switch(f){case "json":j=hd(a.target);break;case "xml":var b=a.target;try{j=b.c?b.c.responseXML:k}catch(c){I(b.g,"Can not get responseXML: "+c.message),j=k}break;default:b=a.target;try{j=b.c?b.c.responseText:""}catch(d){I(b.g,"Can not get responseText: "+d.message),j=""}}l(j,a)})):c.push(k);
c.push(e);c.push(h||k);c.push(b.headers);Zc.apply(k,c)});function md(a){var b=String,c=gc(a);typeof c=="undefined"&&g(Error("Keys are undefined"));a=fc(a);c.length!=a.length&&g(Error("Mismatched lengths for keys/values"));for(var d=new id(k,i,i),e=0;e<c.length;e++)d.add(c[e],a[e]);return b(d)}v("njg.net.getQS",md);v("njg.json.encode",function(a){var b=[];Ec(new Dc,a,b);return b.join("")});v("njg.json.decode",Cc);v("njg.events.listen",G);var nd,od=!B||ub(),pd=!gb&&!B||B&&ub()||gb&&sb("1.9.1");B&&sb("9");var qd={ob:"A",wc:"ABBR",xc:"ACRONYM",yc:"ADDRESS",zc:"APPLET",Ac:"AREA",Bc:"B",Cc:"BASE",Dc:"BASEFONT",Ec:"BDO",Fc:"BIG",Gc:"BLOCKQUOTE",Hc:"BODY",Ic:"BR",Jc:"BUTTON",Kc:"CANVAS",Lc:"CAPTION",Mc:"CENTER",Nc:"CITE",Oc:"CODE",Pc:"COL",Qc:"COLGROUP",Rc:"DD",Sc:"DEL",Tc:"DFN",Uc:"DIR",Ub:"DIV",Vc:"DL",Wc:"DT",Xc:"EM",Yc:"FIELDSET",Zc:"FONT",$c:"FORM",bd:"FRAME",cd:"FRAMESET",dd:"H1",ed:"H2",fd:"H3",gd:"H4",hd:"H5",jd:"H6",kd:"HEAD",ld:"HR",md:"HTML",nd:"I",od:"IFRAME",pb:"IMG",pd:"INPUT",qd:"INS",rd:"ISINDEX",
sd:"KBD",td:"LABEL",ud:"LEGEND",vd:"LI",wd:"LINK",xd:"MAP",yd:"MENU",zd:"META",Ad:"NOFRAMES",Bd:"NOSCRIPT",Cd:"OBJECT",Dd:"OL",Ed:"OPTGROUP",Fd:"OPTION",Vb:"P",Gd:"PARAM",Hd:"PRE",Id:"Q",Jd:"S",Kd:"SAMP",Ld:"SCRIPT",Md:"SELECT",Nd:"SMALL",Od:"SPAN",Pd:"STRIKE",Qd:"STRONG",Rd:"STYLE",Sd:"SUB",Td:"SUP",Ud:"TABLE",Vd:"TBODY",Wd:"TD",Xd:"TEXTAREA",Yd:"TFOOT",Zd:"TH",$d:"THEAD",ae:"TITLE",be:"TR",ce:"TT",de:"U",ee:"UL",fe:"VAR"};function rd(a){return(a=a.className)&&typeof a.split=="function"?a.split(/\s+/):[]}function J(a,b){var c=rd(a),d=wa(arguments,1),e;e=c;for(var f=0,h=0;h<d.length;h++)Qa(e,d[h])>=0||(e.push(d[h]),f++);e=f==d.length;a.className=c.join(" ");return e}function sd(a,b){var c=rd(a),d=wa(arguments,1),e;e=c;for(var f=0,h=0;h<e.length;h++)Qa(d,e[h])>=0&&(Va(e,h--,1),f++);e=f==d.length;a.className=c.join(" ");return e}function K(a,b){return Qa(rd(a),b)>=0}function td(a,b){!K(a,b)?J(a,b):sd(a,b)};function ud(a,b){this.x=o(a)?a:0;this.y=o(b)?b:0}ud.prototype.Z=function(){return new ud(this.x,this.y)};ud.prototype.toString=function(){return"("+this.x+", "+this.y+")"};function L(a,b){this.width=a;this.height=b}L.prototype.Z=function(){return new L(this.width,this.height)};L.prototype.toString=function(){return"("+this.width+" x "+this.height+")"};L.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};L.prototype.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function vd(a){return a?new wd(xd(a)):nd||(nd=new wd)}function yd(a,b){var c=b||document;if(zd(c))return c.querySelectorAll("."+a);else if(c.getElementsByClassName)return c.getElementsByClassName(a);return Ad(a,b)}function Bd(a,b){var c=b||document,d=k;return(d=zd(c)?c.querySelector("."+a):yd(a,b)[0])||k}function zd(a){return a.querySelectorAll&&a.querySelector&&(!C||Cd(document)||sb("528"))}
function Ad(a,b){var c,d,e,f;c=b||document;if(zd(c)&&a)return c.querySelectorAll(""+(a?"."+a:""));if(a&&c.getElementsByClassName){var h=c.getElementsByClassName(a);return h}h=c.getElementsByTagName("*");if(a){f={};for(d=e=0;c=h[d];d++){var j=c.className;typeof j.split=="function"&&Qa(j.split(/\s+/),a)>=0&&(f[e++]=c)}f.length=e;return f}else return h}
function Dd(a,b){Qb(b,function(b,d){d=="style"?a.style.cssText=b:d=="class"?a.className=b:d=="for"?a.htmlFor=b:d in Ed?a.setAttribute(Ed[d],b):d.lastIndexOf("aria-",0)==0?a.setAttribute(d,b):a[d]=b})}var Ed={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",height:"height",width:"width",usemap:"useMap",frameborder:"frameBorder",maxlength:"maxLength",type:"type"};
function Fd(a){var b=a.document;if(C&&!sb("500")&&!hb){typeof a.innerHeight=="undefined"&&(a=window);var b=a.innerHeight,c=a.document.documentElement.scrollHeight;a==a.top&&c<b&&(b-=15);return new L(a.innerWidth,b)}a=Cd(b)?b.documentElement:b.body;return new L(a.clientWidth,a.clientHeight)}
function Gd(){var a=window,b=a.document,c=0;if(b){var a=Fd(a).height,c=b.body,d=b.documentElement;if(Cd(b)&&d.scrollHeight)c=d.scrollHeight!=a?d.scrollHeight:d.offsetHeight;else{var b=d.scrollHeight,e=d.offsetHeight;if(d.clientHeight!=e)b=c.scrollHeight,e=c.offsetHeight;c=b>a?b>e?b:e:b<e?b:e}}return c}function Hd(a){var b=!C&&Cd(a)?a.documentElement:a.body,a=a.parentWindow||a.defaultView;return new ud(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)}
function M(a,b,c){var d=arguments,e=document,f=d[0],h=d[1];if(!od&&h&&(h.name||h.type)){f=["<",f];h.name&&f.push(' name="',Ea(h.name),'"');if(h.type){f.push(' type="',Ea(h.type),'"');var j={};va(j,h);h=j;delete h.type}f.push(">");f=f.join("")}f=e.createElement(f);if(h)r(h)?f.className=h:q(h)?J.apply(k,[f].concat(h)):Dd(f,h);d.length>2&&Id(e,f,d,2);return f}
function Id(a,b,c,d){function e(c){c&&b.appendChild(r(c)?a.createTextNode(c):c)}for(;d<c.length;d++){var f=c[d];fa(f)&&!(ia(f)&&f.nodeType>0)?y(Jd(f)?Ta(f):f,e):e(f)}}function Cd(a){return a.compatMode=="CSS1Compat"}function N(a,b){Id(xd(a),a,arguments,1)}function Kd(a,b){b.parentNode&&b.parentNode.insertBefore(a,b)}function Ld(a,b,c){a.insertBefore(b,a.childNodes[c]||k)}function Md(a){return a&&a.parentNode?a.parentNode.removeChild(a):k}
function Nd(a){return pd&&a.children!=i?a.children:qa(a.childNodes,function(a){return a.nodeType==1})}function Od(a,b){for(;a&&a.nodeType!=1;)a=b?a.nextSibling:a.previousSibling;return a}function Pd(a,b){if(a.contains&&b.nodeType==1)return a==b||a.contains(b);if(typeof a.compareDocumentPosition!="undefined")return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}function xd(a){return a.nodeType==9?a:a.ownerDocument||a.document}
function Jd(a){if(a&&typeof a.length=="number")if(ia(a))return typeof a.item=="function"||typeof a.item=="string";else if(ha(a))return typeof a.item=="function";return!1}function wd(a){this.u=a||n.document||document}m=wd.prototype;m.r=function(a){return r(a)?this.u.getElementById(a):a};m.createElement=function(a){return this.u.createElement(a)};m.createTextNode=function(a){return this.u.createTextNode(a)};m.appendChild=function(a,b){a.appendChild(b)};m.contains=Pd;var Qd;v("njg.dom.wrap",function(a,b,c){var d=a.parentNode,a=Md(a),b=M(b,c,a);N(d,b);return b});function Rd(){Qd||(Qd=document.createElement("div"));return Qd}var Sd={area:!0,base:!0,basefont:!0,br:!0,col:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,link:!0,meta:!0,param:!0},Td={afterHtml:!0,cn:!0,children:!0,html:!0,tag:!0};
function Ud(a){var a=a||{},b=a.tag||"div",c="<"+b,d=a.children||a.cn,e;for(e in a)a.hasOwnProperty(e)&&!(e.toLowerCase()in Td)&&(c+=" "+(e=="cls"?"class":e)+'="'+a[e]+'"');if(c.toLowerCase()in Sd)c+=" />";else{c+=">";a.html&&(c+=a.html);if(d){e=0;for(var f=d.length;e<f;e++)c+=Ud(d[e])}a.afterHtml&&(c+=a.afterHtml);c+="</"+b+">"}return c}function O(a,b){var c=Ud(a);if(b!==!0)Rd().innerHTML=c.replace(/^\s+|\s+$/g,""),c=Rd().childNodes[0];return c}v("njg.dom.html",O);
function Vd(a){var b=document.getElementsByTagName("head");return b.length?(N(b[0],M("script",{type:"text/javascript",src:a})),!0):!1}v("njg.dom.addScript",Vd);v("njg.dom.findByClass",Bd);v("njg.dom.findAllByClass",yd);v("njg.dom.addClass",J);v("njg.dom.removeClass",sd);v("njg.dom.hasClass",K);v("njg.dom.getPreviousElementSibling",function(a){return a.previousElementSibling!=i?a.previousElementSibling:Od(a.previousSibling,!1)});
v("njg.dom.getNextElementSibling",function(a){return a.nextElementSibling!=i?a.nextElementSibling:Od(a.nextSibling,!0)});v("njg.dom.getChildren",Nd);v("njg.dom.insertChildAt",Ld);function Wd(a){this.u=a}var Xd=/\s*;\s*/;m=Wd.prototype;m.set=function(a,b,c,d,e,f){/[;=\s]/.test(a)&&g(Error('Invalid cookie name "'+a+'"'));/[;\r\n]/.test(b)&&g(Error('Invalid cookie value "'+b+'"'));o(c)||(c=-1);e=e?";domain="+e:"";d=d?";path="+d:"";f=f?";secure":"";c=c<0?"":c==0?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(oa()+c*1E3)).toUTCString();this.u.cookie=a+"="+b+e+d+c+f};
m.get=function(a,b){for(var c=a+"=",d=(this.u.cookie||"").split(Xd),e=0,f;f=d[e];e++)if(f.indexOf(c)==0)return f.substr(c.length);return b};m.remove=function(a,b,c){var d=this.t(a);this.set(a,"",0,b,c);return d};m.T=function(){return Yd(this).keys};m.L=function(){return Yd(this).uc};m.t=function(a){return o(this.get(a))};
function Yd(a){for(var a=(a.u.cookie||"").split(Xd),b=[],c=[],d,e,f=0;e=a[f];f++)d=e.indexOf("="),d==-1?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,uc:c}};var Zd;function $d(){Zd||(Zd=new Wd(document));return Zd}v("njg.cookie.get",function(a,b){return $d().get(a,b)});v("njg.cookie.set",function(a,b,c){$d().set(a,b,c)});v("njg.cookie.remove",function(a){return $d().remove(a)});v("njg.string.trim",Ba);function ae(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}ae.prototype.Z=function(){return new ae(this.top,this.right,this.bottom,this.left)};ae.prototype.toString=function(){return"("+this.top+"t, "+this.right+"r, "+this.bottom+"b, "+this.left+"l)"};ae.prototype.contains=function(a){return!this||!a?!1:a instanceof ae?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom};function P(a,b,c){r(b)?be(a,c,b):Qb(b,na(be,a))}function be(a,b,c){a.style[Na(c)]=b}function ce(a,b){var c=xd(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,k))?c[b]||c.getPropertyValue(b):""}function de(a,b){return a.currentStyle?a.currentStyle[b]:k}function ee(a,b){return ce(a,b)||de(a,b)||a.style[b]}function Q(a,b,c){var d,e=gb&&(ab||jb)&&sb("1.9");b instanceof ud?(d=b.x,b=b.y):(d=b,b=c);a.style.left=fe(d,e);a.style.top=fe(b,e)}
function ge(a){var b=a.getBoundingClientRect();if(B)a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop;return b}
function ie(a){if(B)return a.offsetParent;for(var b=xd(a),c=ee(a,"position"),d=c=="fixed"||c=="absolute",a=a.parentNode;a&&a!=b;a=a.parentNode)if(c=ee(a,"position"),d=d&&c=="static"&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||c=="fixed"||c=="absolute"||c=="relative"))return a;return k}function je(a,b){var c=ke(a),d=ke(b);return new ud(c.x-d.x,c.y-d.y)}
function ke(a){var b=new ud;if(a.nodeType==1)if(a.getBoundingClientRect)a=ge(a),b.x=a.left,b.y=a.top;else{var c;c=vd(a);c=Hd(c.u);var d,e=xd(a),f=ee(a,"position"),h=gb&&e.getBoxObjectFor&&!a.getBoundingClientRect&&f=="absolute"&&(d=e.getBoxObjectFor(a))&&(d.screenX<0||d.screenY<0),j=new ud(0,0),l;d=e?e.nodeType==9?e:xd(e):document;if(l=B)if(l=!ub())l=vd(d),l=!Cd(l.u);l=l?d.body:d.documentElement;if(a!=l)if(a.getBoundingClientRect)d=ge(a),a=vd(e),a=Hd(a.u),j.x=d.left+a.x,j.y=d.top+a.y;else if(e.getBoxObjectFor&&
!h)d=e.getBoxObjectFor(a),a=e.getBoxObjectFor(l),j.x=d.screenX-a.screenX,j.y=d.screenY-a.screenY;else{d=a;do{j.x+=d.offsetLeft;j.y+=d.offsetTop;d!=a&&(j.x+=d.clientLeft||0,j.y+=d.clientTop||0);if(C&&ee(d,"position")=="fixed"){j.x+=e.body.scrollLeft;j.y+=e.body.scrollTop;break}d=d.offsetParent}while(d&&d!=a);if(fb||C&&f=="absolute")j.y-=e.body.offsetTop;for(d=a;(d=ie(d))&&d!=e.body&&d!=l;)if(j.x-=d.scrollLeft,!fb||d.tagName!="TR")j.y-=d.scrollTop}b.x=j.x-c.x;b.y=j.y-c.y}else c=ha(a.Zb),j=a,a.targetTouches?
j=a.targetTouches[0]:c&&a.R.targetTouches&&(j=a.R.targetTouches[0]),b.x=j.clientX,b.y=j.clientY;return b}function le(a,b,c){b instanceof L?(c=b.height,b=b.width):c==i&&g(Error("missing height argument"));a.style.width=fe(b,!0);me(a,c)}function fe(a,b){typeof a=="number"&&(a=(b?Math.round(a):a)+"px");return a}function me(a,b){a.style.height=fe(b,!0)}
function ne(a){if(ee(a,"display")!="none")return oe(a);var b=a.style,c=b.display,d=b.visibility,e=b.position;b.visibility="hidden";b.position="absolute";b.display="inline";a=oe(a);b.display=c;b.position=e;b.visibility=d;return a}function oe(a){var b=a.offsetWidth,c=a.offsetHeight,d=C&&!b&&!c;return(!o(b)||d)&&a.getBoundingClientRect?(a=ge(a),new L(a.right-a.left,a.bottom-a.top)):new L(b,c)}
function pe(a,b){var c=a.style;if("opacity"in c)c.opacity=b;else if("MozOpacity"in c)c.MozOpacity=b;else if("filter"in c)c.filter=b===""?"":"alpha(opacity="+b*100+")"}function R(a,b){a.style.display=b?"":"none"}function qe(a,b){if(/^\d+px?$/.test(b))return parseInt(b,10);else{var c=a.style.left,d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=b;var e=a.style.pixelLeft;a.style.left=c;a.runtimeStyle.left=d;return e}}
function re(a,b){if(B){var c=qe(a,de(a,b+"Left")),d=qe(a,de(a,b+"Right")),e=qe(a,de(a,b+"Top")),f=qe(a,de(a,b+"Bottom"));return new ae(e,d,f,c)}else return c=ce(a,b+"Left"),d=ce(a,b+"Right"),e=ce(a,b+"Top"),f=ce(a,b+"Bottom"),new ae(parseFloat(e),parseFloat(d),parseFloat(f),parseFloat(c))}function se(a,b){a.style[B?"styleFloat":"cssFloat"]=b};function S(a){this.Ka(a);this.a.el?this.b=this.a.el:this.a.createElement&&this.createElement();if(this.a.data)this.data=this.a.data;var b=u(function(){this.b&&(this.a.rendered||this.k(),this.h(),T(this,"decorated"));this.a.autoShow&&this.show()},this);this.a.dataUrl?Zc(this.a.url,u(function(a){ba.pe.extend(this.a,hd(a.target));b()},this)):b()}v("njg.ui.AbstractWidget",S);m=S.prototype;m.i={autoShow:!0,rendered:!0};m.className="njg-widget";
m.Ka=function(a){if(!this.a){this.a=ua(this.i);if(a)for(var b in a)a.hasOwnProperty(b)&&o(a[b])&&(this.a[b]=a[b]);if(!this.aa)this.aa={};this.a.listeners&&te(this,this.a.listeners)}};m.h=function(){this.fa&&y(this.b.getElementsByTagName("*"),function(a){this.fa(a,a.tagName.toUpperCase(),qd)},this)};m.k=function(){};m.r=aa("b");S.prototype.getElement=S.prototype.r;function ue(a){if(!a.size&&a.a.width&&a.a.height)a.size=new L(a.a.width,a.a.height);return a.size}
function ve(a,b){a.aa||(a.aa={});a.aa[b]||(a.aa[b]=[]);return a.aa[b]}function we(a,b,c,d){a=ve(a,b);d&&(c=u(c,d));a.push(c)}function te(a,b){Qb(b,function(a,b){ve(this,b);q(a)?y(a,function(a){we(this,b,a)},this):we(this,b,a)},a)}function T(a,b,c){y(ve(a,b),function(a){a.apply(k,c||[])})}S.prototype.createElement=function(){this.b=document.createElement("div");if(this.className)this.b.className=this.className;document.body.appendChild(this.b)};
S.prototype.ga=function(){T(this,"beforeHide");this.b.style.display="none";T(this,"afterHide")};S.prototype.hide=S.prototype.ga;S.prototype.show=function(){T(this,"beforeShow");this.b.style.display="block";T(this,"afterShow")};S.prototype.show=S.prototype.show;function xe(a){this.hc=[];S.call(this,a)}x(xe,S);v("njg.ui.Tree",xe);xe.prototype.className="njg-tree";xe.prototype.i=z(S.prototype.i,{autoShow:!1});xe.prototype.h=function(){y(Nd(this.b),function(a){a.tagName.toUpperCase()==="LI"&&this.hc.push(new ye(z(this.a,{el:a})))},this)};function ze(a,b,c,d){(!q(a)||!q(b))&&g(Error("Start and end parameters must be arrays"));a.length!=b.length&&g(Error("Start and end points must be the same length"));this.qa=a;this.Yb=b;this.duration=c;this.qb=d;this.coords=[]}x(ze,dc);var Ub={},Ae=k;function Be(){Ce();var a=oa(),b;for(b in Ub)De(Ub[b],a);Ae=Tb()?k:ec.setTimeout(Be,20)}function Ce(){Ae&&(ec.clearTimeout(Ae),Ae=k)}function Ee(a){a=s(a);delete Ub[a];Tb()&&Ce()}m=ze.prototype;m.z=0;m.Ab=0;m.q=0;m.startTime=k;m.xb=k;m.eb=k;
m.play=function(a){if(a||this.z==0)this.q=0,this.coords=this.qa;else if(this.z==1)return!1;Ee(this);this.startTime=a=oa();this.z==-1&&(this.startTime-=this.duration*this.q);this.xb=this.startTime+this.duration;this.eb=this.startTime;this.q||this.jb();Fe(this,"play");this.z==-1&&Fe(this,"resume");this.z=1;var b=s(this);b in Ub||(Ub[b]=this);Ae||(Ae=ec.setTimeout(Be,20));De(this,a);return!0};m.stop=function(a){Ee(this);this.z=0;if(a)this.q=1;Ge(this,this.q);Fe(this,"stop");this.Fa()};
m.l=function(){this.z!=0&&this.stop(!1);Fe(this,"destroy");ze.d.l.call(this)};function De(a,b){a.q=(b-a.startTime)/(a.xb-a.startTime);if(a.q>=1)a.q=1;a.Ab=1E3/(b-a.eb);a.eb=b;Ge(a,a.q);a.q==1?(a.z=0,Ee(a),Fe(a,"finish"),a.Fa()):a.z==1&&a.ib()}function Ge(a,b){ha(a.qb)&&(b=a.qb(b));a.coords=Array(a.qa.length);for(var c=0;c<a.qa.length;c++)a.coords[c]=(a.Yb[c]-a.qa[c])*b+a.qa[c]}m.ib=function(){Fe(this,"animate")};m.jb=function(){Fe(this,"begin")};m.Fa=function(){Fe(this,"end")};
function Fe(a,b){a.dispatchEvent(new He(b,a))}function He(a,b){D.call(this,a);this.coords=b.coords;this.x=b.coords[0];this.y=b.coords[1];this.ue=b.coords[2];this.duration=b.duration;this.q=b.q;this.je=b.Ab;this.state=b.z;this.ge=b}x(He,D);function V(a,b,c,d,e){ze.call(this,b,c,d,e);this.element=a}x(V,ze);V.prototype.sa=da;V.prototype.ib=function(){this.sa();V.d.ib.call(this)};V.prototype.Fa=function(){this.sa();V.d.Fa.call(this)};V.prototype.jb=function(){this.sa();V.d.jb.call(this)};function Ie(a,b,c,d,e){(b.length!=2||c.length!=2)&&g(Error("Start and end points must be 2D"));V.apply(this,arguments)}x(Ie,V);
Ie.prototype.sa=function(){this.element.style.left=Math.round(this.coords[0])+"px";this.element.style.top=Math.round(this.coords[1])+"px"};function Je(a,b,c,d,e){ga(b)&&(b=[b]);ga(c)&&(c=[c]);V.call(this,a,b,c,d,e);(b.length!=1||c.length!=1)&&g(Error("Start and end points must be 1D"))}x(Je,V);Je.prototype.sa=function(){pe(this.element,this.coords[0])};Je.prototype.show=function(){this.element.style.display=""};Je.prototype.ga=function(){this.element.style.display="none"};
function Ke(a,b,c){Je.call(this,a,1,0,b,c)}x(Ke,Je);function Le(a,b,c){Je.call(this,a,0,1,b,c)}x(Le,Je);function X(a){this.p=0;this.n=[];we(this,"decorated",function(){this.n.length&&(this.D(0),this.a.autoPlay&&this.Qb())},this);we(this,"thumbClick",function(a,c){this.Da(c)},this);S.call(this,a)}x(X,S);v("njg.ui.Gallery",X);m=X.prototype;m.className="njg-gallery";m.Ka=function(a){X.d.Ka.call(this,a);!o(a.captionWidth)&&ga(this.a.captionPadding)&&(this.a.captionWidth=this.a.slideWidth-2*this.a.captionPadding)};
m.i=z(S.prototype.i,{autoPlay:!1,captionAnchor:"bottom",captionDefaultOpen:!0,captionOpacity:0.5,captionPadding:8,captionWidth:598,captionToggle:!0,hasToolbar:!0,includePreviousNextArrows:!1,interval:5E3,slideHeight:305,slideWidth:614,slides:[],thumbHeight:52,thumbSpacing:22,thumbWidth:105,toolbarHasTracker:!1,toolbarHeight:70,toolbarPosition:"bottom",toolbarScroll:!0,transition:i,width:616});
m.h=function(){J(this.b,"njg-gallery");if(!this.G)this.G=Bd("slides",this.b);this.H=M("div");if(!this.n.length){var a=yd("slide",this.G);this.mb=[];y(a,function(a){var c;y(rd(a),function(a){(a=Me(a))&&(c=a)});c&&this.mb.push([a,c])},this);y(this.mb,function(a,c){this.n.push(new a[1](z(Ne(this),{el:a[0],idx:c})))},this)}y(this.n,function(a){N(this.H,a.r())},this);N(this.G,this.H);P(this.G,{overflow:"hidden",position:"relative"});P(this.H,"position","absolute");le(this.G,this.pc||(this.pc=new L(this.a.slideWidth,
this.a.slideHeight)));le(this.H,this.qc||(this.qc=new L(this.a.slideWidth*this.n.length,this.a.slideHeight)));if(this.a.hasToolbar)switch(this.toolbar=new Oe({el:M("div","toolbar"),gallery:this,nextButtonImg:this.a.nextButtonImg,nextButtonWidth:this.a.nextButtonWidth,listeners:{itemClick:ve(this,"thumbClick"),itemMouseOver:ve(this,"thumbMouseOver")},previousButtonImg:this.a.previousButtonImg,previousButtonWidth:this.a.previousButtonWidth,rendered:!1,scroll:this.a.toolbarScroll,slides:this.n,spacerImg:this.a.spacerImg,
imageHeight:this.a.thumbImageHeight,imageWidth:this.a.thumbImageWidth,itemHeight:Pe(this).height,itemSpacing:this.a.thumbSpacing,itemWidth:Pe(this).width,hasTracker:this.a.toolbarHasTracker,height:this.a.toolbarHeight,width:this.a.slideWidth}),this.a.toolbarPosition){case "top":Ld(this.b,this.toolbar.r(),0);break;case "bottom":N(this.b,this.toolbar.r())}X.d.h.call(this)};
m.k=function(){X.d.k.call(this);this.n=[];this.G=M("div","slides");N(this.b,this.G);y(this.a.slides,function(a){var b=Me(a.type);if(b){var c=M("div","slide "+a.type);N(this.G,c);this.n.push(new b(z(Ne(this),a,{el:c,rendered:!1})))}},this);N(this.b,this.G)};function Ne(a){var b={gallery:a,height:a.a.slideHeight,listeners:{click:ve(a,"slideClick"),previousClicked:u(a.gb,a),nextClicked:u(a.Ca,a)},width:a.a.slideWidth};y(a.nc,function(a){o(this.a[a])&&(b[a]=this.a[a])},a);return b}m.nc="arrowHeight,arrowWidth,captionHeight,captionWidth,captionAnchor,captionDefaultOpen,captionOpacity,captionPadding,captionToggle,leftArrowImgSrc,rightArrowImgSrc,includePreviousNextArrows".split(",");
function Pe(a){return a.rc||(a.rc=new L(a.a.thumbWidth,a.a.thumbHeight))}m.Da=function(a){this.D(Qa(this.n,a))};X.prototype.moveToSlide=X.prototype.Da;
X.prototype.D=function(a){var b=!(this.ha||a<0||a+1>this.n.length)&&a!==this.p,c=b?a:this.p;T(this,"move",[this.n[c],this,b]);if(!b)return!1;this.toolbar&&Qe(this.toolbar,c);var b=this.Wb||0,d=b+this.a.slideWidth*(this.p-a);if(b!=d){this.Wb=d;this.p=a;this.toolbar&&this.toolbar.Da(this.n[a]);switch(this.a.transition){case "fade":var a=new Ke(this.H,250),e=new Le(this.H,250);G(a,"begin",function(){this.ha=!0},!1,this);G(a,"end",function(){Q(this.H,d,0);e.play()},!1,this);G(e,"end",function(){this.ha=
!1},!1,this);a.play();break;case "slide":a=new Ie(this.H,[b,0],[d,0],500);G(a,"begin",function(){this.ha=!0},!1,this);G(a,"end",function(){this.ha=!1},!1,this);a.play();break;default:Q(this.H,d,0)}return!0}return!1};X.prototype.moveToIndex=X.prototype.D;X.prototype.Ca=function(){this.D(this.p+1)||this.nb()};X.prototype.gb=function(){this.D(this.p-1)||this.nb()};X.prototype.Qb=function(){if(!this.ta)this.ta=setInterval(u(this.Ca,this),this.a.interval)};X.prototype.startAnimation=X.prototype.Qb;
X.prototype.nb=function(){this.ta&&(clearInterval(this.ta),delete this.ta)};X.prototype.stopAnimation=X.prototype.nb;function Re(a,b,c,d,e){if(!B&&(!C||!sb("525")))return!0;if(ab&&e)return Se(a);if(e&&!d)return!1;if(!c&&(b==17||b==18))return!1;if(B&&d&&b==a)return!1;switch(a){case 13:return!(B&&ub());case 27:return!C}return Se(a)}
function Se(a){if(a>=48&&a<=57)return!0;if(a>=96&&a<=106)return!0;if(a>=65&&a<=90)return!0;if(C&&a==0)return!0;switch(a){case 32:case 63:case 107:case 109:case 110:case 111:case 186:case 189:case 187:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:return!0;default:return!1}};function Te(a,b){if(a)this.Aa&&this.detach(),this.$=a,this.za=G(this.$,"keypress",this,b),this.cb=G(this.$,"keydown",this.bc,b,this),this.Aa=G(this.$,"keyup",this.cc,b,this)}x(Te,dc);m=Te.prototype;m.$=k;m.za=k;m.cb=k;m.Aa=k;m.N=-1;m.M=-1;
var Ue={3:13,12:144,63232:38,63233:40,63234:37,63235:39,63236:112,63237:113,63238:114,63239:115,63240:116,63241:117,63242:118,63243:119,63244:120,63245:121,63246:122,63247:123,63248:44,63272:46,63273:36,63275:35,63276:33,63277:34,63289:144,63302:45},Ve={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45},We={61:187,59:186},Xe=B||C&&sb("525");m=Te.prototype;
m.bc=function(a){if(C&&(this.N==17&&!a.ctrlKey||this.N==18&&!a.altKey))this.M=this.N=-1;Xe&&!Re(a.keyCode,this.N,a.shiftKey,a.ctrlKey,a.altKey)?this.handleEvent(a):this.M=gb&&a.keyCode in We?We[a.keyCode]:a.keyCode};m.cc=function(){this.M=this.N=-1};
m.handleEvent=function(a){var b=a.R,c,d;B&&a.type=="keypress"?(c=this.M,d=c!=13&&c!=27?b.keyCode:0):C&&a.type=="keypress"?(c=this.M,d=b.charCode>=0&&b.charCode<63232&&Se(c)?b.charCode:0):fb?(c=this.M,d=Se(c)?b.keyCode:0):(c=b.keyCode||this.M,d=b.charCode||0,ab&&d==63&&!c&&(c=191));var e=c,f=b.keyIdentifier;c?c>=63232&&c in Ue?e=Ue[c]:c==25&&a.shiftKey&&(e=9):f&&f in Ve&&(e=Ve[f]);a=e==this.N;this.N=e;b=new Ye(e,d,a,b);try{this.dispatchEvent(b)}finally{b.K()}};m.r=aa("$");
m.detach=function(){if(this.za)H(this.za),H(this.cb),H(this.Aa),this.Aa=this.cb=this.za=k;this.$=k;this.M=this.N=-1};m.l=function(){Te.d.l.call(this);this.detach()};function Ye(a,b,c,d){d&&this.ia(d,i);this.type="key";this.keyCode=a;this.charCode=b;this.repeat=c}x(Ye,yb);function Y(a){S.call(this,a)}x(Y,S);v("njg.ui.Dialog",Y);Y.prototype.className="njg-dialog";Y.prototype.i=z(S.prototype.i,{autoShow:!1,centered:!0,closeButton:!0,closeButtonImage:"http://nationaljournal.com/img/icons/closebox.png",createElement:!0,overlay:!1,overlayOpacity:0.5,rendered:!1,disableModal:!1});
Y.prototype.k=function(){P(this.b,{zIndex:1E4,position:"absolute"});var a=[{tag:"div","class":"njg-dialog-content"}];if(this.a.closeButton)this.tb=O({tag:"a","class":"close-button",href:"javascript:;",children:[{tag:"img",border:0,src:this.a.closeButtonImage}]}),G(this.tb,"click",u(this.close,this)),N(this.b,this.tb);this.a.html&&(a[0].html=this.a.html);N(this.b,O({tag:"div","class":"njg-dialog-inner",children:a}));this.a.contentNode&&N(Bd("njg-dialog-content",this.b),Md(this.a.contentNode))};
Y.prototype.close=function(){this.a.overlay&&this.w&&(Md(this.w),delete this.w);this.wa&&(H(this.wa),delete this.wa);this.va&&(H(this.va),delete this.va);this.P&&(H(this.P),delete this.P);this.P&&(H(this.P),delete this.P);this.La&&(H(this.La),delete this.La);this.ga();T(this,"close")};Y.prototype.close=Y.prototype.close;
Y.prototype.show=function(){if(this.a.overlay){this.w=M("div","njg-dialog-overlay");R(this.w,!1);this.Ob();if(!this.La)this.La=G(window,"resize",u(this.Ob,this));pe(this.w,this.a.overlayOpacity);P(this.w,{zIndex:8E3,position:"absolute"});Q(this.w,0,0);document.body.appendChild(this.w);R(this.w,!0)}if(!this.wa)this.wa=G(document.body,"click",u(function(a){Pd(this.b,a.target)||this.a.disableModal||this.close()},this));if(!this.va)this.va=G(new Te(document),"key",u(function(a){var b=a.target.tagName;
a.keyCode==27&&(b!="INPUT"&&b!="TEXTAREA"||!Pd(this.b,a.target))&&this.close()},this));Y.d.show.call(this);if(this.a.centered&&(this.sb(),!this.P))this.P=G(window,"resize",u(this.sb,this))};Y.prototype.show=Y.prototype.show;Y.prototype.Ob=function(){var a=Fd(window);le(this.w,a.width,Math.max(a.height,Gd()))};Y.prototype.sb=function(){var a=Fd(window),b=ne(this.b),c=Hd(document);Q(this.b,a.width/2-b.width/2+c.x,a.height/2-b.height/2+c.y)};function Ze(a){this.m=[];this.p=0;S.call(this,a);a=ve(this,"previousClick");nextListeners=ve(this,"nextClick");this.a.onPreviousClick&&a.push(this.a.onPreviousClick);a.push(u(this.jc,this));this.a.onNextClick&&nextListeners.push(this.a.onNextClick);nextListeners.push(u(this.ic,this))}x(Ze,S);v("njg.ui.Toolbar",Ze);m=Ze.prototype;m.className="njg-toolbar";
m.i=z(S.prototype.i,{height:70,nextButtonImg:"/css/njg-gallery/next-slide.png",nextButtonWidth:48,previousButtonImg:"/css/njg-gallery/previous-slide.png",previousButtonWidth:41,scroll:!0,itemHeight:52,itemSpacing:22,itemWidth:105});
m.h=function(){this.ga();Ze.d.h.call(this);this.V=M("div","toolbar-items");this.v=M("div","toolbar-items-wrapper");N(this.b,this.v);N(this.v,this.V);P(this.V,{overflow:"hidden",position:this.a.scroll?"absolute":"relative"});se(this.v,"left");P(this.v,{overflow:"hidden",position:"relative"});R(this.v,!1);this.a.scroll&&$e(this);if(this.a.width!=k)this.b.style.width=fe(this.a.width,!0);af(this);this.show()};m.fa=function(a){K(a,"toolbar-item")&&this.m.push(new bf({el:a}))};m.jc=function(){this.gb()};
m.ic=function(){this.Ca()};m.D=function(a){if(!this.a.scroll||a<0||a+1>this.m.length)return!1;var b=!(this.ha||a<0||a+1>this.m.length);this.Ib(b?a:this.p,b);if(!b)return!1;this.p=a;this.a.scroll&&(b=je(this.V,this.v),Q(this.V,b.x-je(this.m[a].r(),this.v).x,b.y))};m.gb=function(){this.D(this.p-1)};m.Ca=function(){this.D(this.p+1)};m.Ib=function(a,b){T(this,"move",[this.m[a],b])};m.setActive=function(a){y(this.m,function(a){sd(a.b,"active")});J(a.b,"active");T(this,"active",[a,Qa(this.m,a)])};
Ze.prototype.setActive=Ze.prototype.setActive;function Qe(a,b){var c=a.m[b];c&&a.setActive(c)}function $e(a){if(a.a.previousButtonImg)a.Ja=M("div","previous",a.qe=M("img",{src:a.a.previousButtonImg})),se(a.Ja,"left"),G(a.Ja,"click",function(){T(this,"previousClick")},!1,a),Ld(a.b,a.Ja,0);if(a.a.nextButtonImg)a.Ea=M("div","next",a.oe=M("img",{src:a.a.nextButtonImg})),se(a.Ea,"right"),G(a.Ea,"click",function(){T(this,"nextClick")},!1,a),N(a.b,a.Ea)}
function af(a){var b=a.a.width;a.Ja&&(b-=a.a.previousButtonWidth);a.Ea&&(b-=a.a.nextButtonWidth);a.v.style.width=fe(b,!0);if(a.m.length&&a.a.scroll)a.V.style.width=fe((a.a.itemWidth+a.a.itemSpacing+50)*a.m.length,!0);R(a.v,!0);var b=a.a.height||a.a.itemHeight||ne(a.m[0].r()).height,c=a.a.itemHeight||b;me(a.V,b);me(a.v,b);y(a.m,function(a,b,f){var h=a.r(),a=a.Db;me(h,c);this.a.itemSpacing&&b!=f.length-1&&P(h,"marginRight",this.a.itemSpacing+"px");a&&le(a,this.a.imageWidth||this.a.itemWidth,this.a.imageHeight||
this.a.itemHeight);se(h,"left");N(this.V,h)},a)};function ye(a){S.call(this,a);this.kb=!K(this.b,this.Ua);we(this,"treeToggle",this.toggle,this)}x(ye,S);v("njg.ui.tree.Node",ye);m=ye.prototype;m.i=z(S.prototype.i,{});m.className="njg-tree-node";m.Ua="njg-node-closed";m.Kb="njg-node-open";
m.h=function(){var a=this.b,b=Nd(a);if(K(b[0],"active-wrapper"))a=b[0],this.link=Nd(b[0])[0];y(Nd(this.b),function(b){switch(b.tagName.toUpperCase()){case "A":this.link=b;break;case "UL":this.Na=new xe(z(this.a,{el:b})),this.Oa=M("A","njg-tree-toggle"),this.Oa.href="javascript:;",Ld(a,this.Oa,0),G(this.Oa,"click",function(a){a.preventDefault();T(this,"treeToggle",[!this.kb,this,this.Oa,b])},!1,this)}},this);this.link&&G(this.link,"click",function(a){a.preventDefault();T(this,"linkClick",[this,this.link])},
!1,this)};m.toggle=function(a){a?this.open():this.close()};m.open=function(){this.kb=!0;this.Na&&this.Na.show();J(this.b,this.Kb);sd(this.b,this.Ua)};ye.prototype.open=ye.prototype.open;ye.prototype.close=function(){this.kb=!1;this.Na&&this.Na.ga();J(this.b,this.Ua);sd(this.b,this.Kb)};ye.prototype.close=ye.prototype.close;function bf(a){S.call(this,a)}x(bf,S);v("njg.ui.toolbar.Item",bf);bf.prototype.className="njg-toolbar-item";bf.prototype.i=z(S.prototype.i,{});bf.prototype.fa=function(a,b,c){if(b==c.ob&&K(a,"url")){this.url=a.href;var d=Nd(a);d.length&&N.apply(k,[this.b].concat(ra(d,Md)));Md(a)}if(b==c.pb&&!this.Db)this.Db=a;if(K(a,"item-text"))this.text=a};var gf={ad:cf,image:df,"brightcove-video":ef,"youtube-video":ff};function Me(a){if(gf.hasOwnProperty(a))return gf[a]}function $(a){this.Xa=a.gallery;this.Cb=a.idx;this.type=pa(Sb(gf),function(a){return this.constructor===gf[a]},this);S.call(this,a)}x($,S);v("njg.ui.gallery.Slide",$);m=$.prototype;m.i=z(S.prototype.i,{leftArrowImgSrc:"/css/njg-gallery/arrow-left.png",rightArrowImgSrc:"/css/njg-gallery/arrow-right.png",arrowWidth:47,arrowHeight:39,captionDefaultOpen:!0,captionOpacity:0.5,captionToggle:!0,includePreviousNextArrows:!1});
m.h=function(){$.d.h.call(this);if(this.Sa)this.caption=new hf(z({el:this.Sa},jf(this)));se(this.b,"left");le(this.b,ue(this));kf(this)};m.k=function(){$.d.k.call(this);if(this.a.caption||this.a.credits)this.caption=new hf(z({createElement:!0},jf(this))),N(this.b,this.caption.r())};
m.fa=function(a,b,c){switch(b){case c.ob:if(K(a,"url"))this.link=a,this.url=a.href;break;case c.pb:if(K(a,"main"))this.fb=a;else if(K(a,"thumb"))this.W=a;break;case c.Ub:if(!this.caption&&!this.Sa&&K(a,"caption"))this.Sa=a;break;default:if(!this.bb&&K(a,"item-text"))this.bb=a}};m.Ya=aa("W");
function jf(a){return{anchor:a.a.captionAnchor,contentPadding:a.a.captionPadding,contentHeight:a.a.captionHeight,contentWidth:a.a.captionWidth,content:a.a.caption,credits:a.a.credits,defaultOpen:a.a.captionDefaultOpen,opacity:a.a.captionOpacity,slide:a,toggle:a.a.captionToggle,url:a.a.url,urlText:a.a.urlText}}
function lf(a,b){var c=a.a.captionOpacity,d=O({tag:"img",src:a.a[b+"ArrowImgSrc"],"class":"slide-move-"+b+" slide-move"});R(d,!1);P(d,"zIndex",1E3);Ld(a.b,d,0);pe(d,c);G(d,"mouseover",function(){pe(d,1)});G(d,"mouseout",function(){pe(d,c)},!1,a);return d}
function kf(a){if(a.a.includePreviousNextArrows){var b=a.Cb>0,c=a.Cb!==a.Xa.mb.length-1,d=Nd(a.b)[0];if(b)a.ma=lf(a,"left"),G(a.ma,"click",function(){T(this,"previousClicked")},!1,a);if(c)a.da=lf(a,"right"),G(a.da,"click",function(){T(this,"nextClicked")},!1,a);setTimeout(u(function(){var a=0.5*(ue(this).height-(o(this.a.arrowHeight)?this.a.arrowHeight:ne(this.ma||this.da).height)),f=je(this.b,this.b.parentNode).x,h=this.a.captionAnchor=="bottom"?ue(this).width:d.width;b&&Q(this.ma,f,a);c&&Q(this.da,
f+h-(o(this.a.arrowWidth)?this.a.arrowWidth:ne(this.da).width),a);G(this.b,"mouseover",function(){b&&R(this.ma,!0);c&&R(this.da,!0)},!1,this);G(this.b,"mouseout",function(){b&&R(this.ma,!1);c&&R(this.da,!1)},!1,this)},a),0)}}m.ac=aa("url");$.prototype.getUrl=$.prototype.ac;function hf(a){S.call(this,a);this.anchor=this.a.anchor;if(this.a.slide)this.F=this.a.slide,we(this.F,"afterShow",function(){setTimeout(u(this.mc,this),0)},this)}x(hf,S);m=hf.prototype;m.i=z(S.prototype.i,{anchor:"bottom",defaultOpen:!0,opacity:0.5,toggle:!0});m.className="caption";
m.h=function(){hf.d.h.call(this);this.open=!0;if(this.content||this.o)J(this.content||this.o,"caption-top"),this.o&&J(this.b,"caption-with-both");this.O=M("div","caption-wrapper");P(this.b,"position","relative");P(this.O,"position","relative");Kd(this.O,this.b);pe(this.O,this.a.opacity)};
m.k=function(){hf.d.k.call(this);if(this.a.content||this.a.credits)this.a.content&&N(this.b,O({tag:"p","class":"content",html:this.a.content+" ",children:this.a.url?[{"class":"url",href:this.a.url,html:this.a.urlText,tag:"a"}]:[]})),this.a.credits&&N(this.b,O({tag:"p","class":"credits",html:this.F.type.toUpperCase()+": "+this.a.credits}))};m.fa=function(a,b,c){switch(b){case c.Vb:if(K(a,"content"))this.content=a;else if(K(a,"credits"))this.o=a}};
m.toggle=function(a){this.open=a!=k?a:!this.open;if(this.Y&&(td(this.Y,"caption-toggle-open"),td(this.Y,"caption-toggle-closed"),this.J)){if(this.content&&this.o){a=toNode=this.content;this.open?a=this.o:toNode=this.o;var b=Md(a),c=toNode;c.parentNode&&c.parentNode.insertBefore(b,c.nextSibling);td(a,"caption-top");td(toNode,"caption-top")}a=!this.open&&this.o?this.o:this.content;b=re(a,"padding");c=re(a,"margin");a=je(a,this.b).y+(this.hb?this.tc:ne(a).height+(b.bottom+c.bottom)*0.5);if(this.hb&&
!this.o)this.open?(b=this.lineHeight,c="static",posY=0):(b=this.lineHeight+this.padding.bottom,posY=-0.5*this.padding.bottom,c="relative"),P(this.content,{position:c,lineHeight:b+"px"}),Q(this.content,0,posY);Q(this.O,0,this.open?-this.J.height:-a);Q(this.b,0,this.open?-2*this.J.height:-(this.J.height+a));return}this.O.style.display=this.b.style.display=this.open?"block":"none"};
m.mc=function(){var a=ne(this.b),b=this.a.contentPadding;ga(b)&&(b=Array(5).join(b+"px "));this.Ra=new L(this.a.contentWidth||a.width,this.a.contentHeight||a.height);y([this.O,this.b],function(a){le(a,this.Ra);if(b!=k)a.style.padding=b},this);this.Ga=re(this.b,"padding");this.J=new L(this.Ra.width+this.Ga.left+this.Ga.right,this.Ra.height+this.Ga.top+this.Ga.bottom);var c=a=0,d=0,e=0,f=ue(this.F);switch(this.anchor){case "bottom":c=-2*this.J.height;e=-this.J.height;break;case "right":e=-f.height,
c=e-this.J.height,a=d=f.width-this.J.width}Q(this.b,a,c);Q(this.O,d,e);(this.content&&!this.a.defaultOpen||K(this.F.r(),"caption-closed"))&&this.toggle(!1);if(this.anchor=="bottom"&&this.a.toggle&&this.content&&(this.lineHeight=parseInt(ce(this.content,"lineHeight")),this.padding=re(this.b,"padding"),this.tc=this.lineHeight+this.padding.bottom,(this.hb=ne(this.content).height>this.lineHeight)||this.o))this.Y=M("div","caption-toggle caption-toggle-open"),G(this.Y,"click",function(){this.toggle()},
!1,this),Ld(this.b,this.Y,0),se(this.Y,"right"),P(this.Y,{position:"relative",zIndex:20}),P(this.content,"clear","right"),this.o&&P(this.o,"clear","right")};function Oe(a){this.Ka(a);if(this.a.slides)this.n=this.a.slides;if(this.a.gallery)this.Xa=this.a.gallery;this.p=0;Ze.call(this,a)}x(Oe,Ze);
Oe.prototype.h=function(){Oe.d.h.call(this);if(this.a.hasTracker){var a=this.te=M("div","toolbar-tracker");R(a,!1);Ld(this.b,a,0);we(this,"active",function(b){function c(){a.style.left=ne(b.b).width/2+(new ud(b.b.offsetLeft,b.b.offsetTop)).x+"px";R(a,!0)}ne(b.b).width/2?c():setTimeout(c,100)},this)}y(this.Pb,function(a,c){var d;a.ec&&a.F.type.indexOf("video")!==-1?(d=a.re=O({"class":"video-item-overlay toolbar-item thumb-container"}),le(d,this.a.itemWidth,this.a.itemHeight),Kd(d,a.b),se(d,"left"),
P(d,"marginRight",-this.a.itemWidth+"px"),J(a.b,"video-item")):d=a.b;G(d,"click",function(){this.setActive(a);T(this,"itemClick",[a,a.F,this])},!1,this);G(d,"mouseover",function(){T(this,"itemMouseOver",[a,a.F,this])},!1,this);c===0&&this.setActive(a)},this)};
Oe.prototype.k=function(){var a=qa(this.n,function(a){return a.type!="ad"});this.Pb=ra(a,function(a){var c=a.Ya(),d=M("div",{href:"javascript:;","class":"thumb-container toolbar-item"},Md(c)||c);a.bb&&N(d,Md(a.bb));N(this.b,d);return{F:a,ec:c,b:d}},this)};Oe.prototype.Da=function(a){for(var b,c=0,d=this.m.length;c<d;c++)if(this.m[c].F===a){b=c;break}o(b)&&this.D(b)};Oe.prototype.Ib=function(a){T(this,"move",[this.Pb[a],this.Xa])};function cf(a){$.call(this,a)}x(cf,$);function df(a){$.call(this,a)}x(df,$);df.prototype.i=z($.prototype.i,{});df.prototype.h=function(){df.d.h.call(this);this.fb&&(me(this.fb,this.a.height),G(this.fb,"click",function(){T(this,"click",[this])},!1,this))};df.prototype.k=function(){this.a.img&&N(this.b,O({tag:"img",src:this.a.img,"class":"main"}));this.a.thumb&&N(this.b,O({tag:"img",src:this.a.thumb,"class":"thumb"}));df.d.k.call(this)};function ef(a){$.call(this,a)}x(ef,$);ef.prototype.h=function(){ef.d.h.call(this)};
ef.prototype.k=function(){ef.d.k.call(this);o(window.he)||Vd("http://admin.brightcove.com/js/BrightcoveExperiences.js");N(this.b,this.Ia=O({tag:"object","class":"BrightcoveExperience",children:ra([["bgcolor","#FFFFFF"],["dynamicStreaming","true"],["height",this.a.height],["isUI","true"],["isVid","true"],["playerID",this.a.playerId],["playerKey",this.a.playerKey],["width",this.a.width],["wmode","transparent"]],function(a){return{tag:"param",name:a[0],value:a[1]}})}));window.brightcove.createExperiences()};
ef.prototype.Ya=function(){if(!o(this.W))this.W=M("img",{src:"http://i4.ytimg.com/vi/"+mf(this)+"/default.jpg"});return this.W};function ff(a){$.call(this,a)}x(ff,$);ff.prototype.h=function(){ff.d.h.call(this);if(!this.Ia)this.Ia=this.b.getElementsByTagName("object")[0]};
ff.prototype.k=function(){ff.d.k.call(this);var a=this.a.videoId,b="http://www.youtube.com/v/"+a+"?fs=1&amp;hl=en_US",c=window.swfobject,d=o(c),a="video-"+a,e=this.a.width,f=this.a.height,h;h=d?O({id:a}):this.Ia=O({tag:"object",width:e,height:f,children:[{tag:"param",name:"movie",value:b},{tag:"param",name:"allowFullScreen",value:"true"},{tag:"param",name:"allowscriptaccess",value:"always"},{tag:"embed",src:b,allowFullScreen:"true",allowscriptaccess:"true",width:e,height:f,wmode:"transparent"}]});
N(this.b,h);d&&c.embedSWF(b,a,e,f,"7",i,i,{movie:b,allowFullScreen:"true",allowscriptaccess:"always",wmode:"transparent"},{width:e,height:f},u(function(a){this.Ia=a.ref},this))};ff.prototype.Ya=function(){if(!o(this.W))this.W=M("img",{src:"http://i4.ytimg.com/vi/"+mf(this)+"/default.jpg"});return this.W};function mf(a){if(!o(a.Tb))a.Tb=a.a.videoId||a.b.id;return a.Tb};})();

