(function(){
var i=window,j=Number,aa=Object,ba=Infinity,ca=navigator,o=Error,da=Boolean,p=undefined,ea=Function,r=Array,s=Math;function fa(a,b){return a.length=b}function ga(a,b){return a.width=b}function ha(a,b){return a.innerHTML=b}function t(a,b){return a.currentTarget=b}function ia(a,b){return a.left=b}function ja(a,b){return a.target=b}function ka(a,b){return a.screenX=b}function la(a,b){return a.screenY=b}function ma(a,b){return a.keyCode=b}function u(a,b){return a.type=b}function na(a,b){return a.display=
b}function oa(a,b){return a.height=b}var pa="scrollTop",v="length",_P="prototype",w="width",qa="slice",x="nodeType",y="document",ra="hasOwnProperty",z="style",sa="capture",A="body",ta="left",B="target",C="screenX",ua="screenY",va="keyCode",wa="scrollLeft",xa="compatMode",D="type",ya="tagName",za="defaultView",Aa="name",Ba="parentNode",E="height",Ca="clientX",Da="clientY",Ea="documentElement",Fa=Fa||{},F=this;var Ha=function(a,b){var c=a.split("."),d=F,e;if(!(c[0]in d)&&d.execScript)d.execScript("var "+
c[0]);while(e=c.shift())if(!c[v]&&G(b))d[e]=b;else d=d[e]?d[e]:(d[e]={})},Ia=function(a){var b=a.split("."),c=F;for(var d;d=b.shift();)if(c[d])c=c[d];else return null;return c};var Ka=function(a){var b=typeof a;if(b=="object")if(a){if(typeof a[v]=="number"&&typeof a.splice!="undefined"&&!Ja(a,"length"))return"array";if(typeof a.call!="undefined")return"function"}else return"null";else if(b=="function"&&typeof a.call=="undefined")return"object";return b};if(aa[_P].propertyIsEnumerable)var Ja=function(a,
b){return aa[_P].propertyIsEnumerable.call(a,b)};else Ja=function(a,b){if(b in a)for(var c in a)if(c==b)return true;return false};var G=function(a){return typeof a!="undefined"},La=function(a){return Ka(a)=="array"},Ma=function(a){var b=Ka(a);return b=="array"||b=="object"&&typeof a[v]=="number"},H=function(a){return typeof a=="string"},Na=function(a){return Ka(a)=="function"},Oa=function(a){var b=Ka(a);return b=="object"||b=="array"||b=="function"},Ra=function(a){if(a[ra]&&a.hasOwnProperty(Pa))return a[Pa];
if(!a[Pa])a[Pa]=++Qa;return a[Pa]},Pa="closure_hashCode_",Qa=0,Sa=function(a,b){var c=a.Ab;if(arguments[v]>2){var d=r[_P][qa].call(arguments,2);if(c)d.unshift.apply(d,c);c=d}b=a.Cb||b;a=a.Bb||a;var e,f=b||F;e=c?function(){var g=r[_P][qa].call(arguments);g.unshift.apply(g,c);return a.apply(f,g)}:function(){return a.apply(f,arguments)};e.Ab=c;e.Cb=b;e.Bb=a;return e},Ta=function(a,b){var c=b||{};for(var d in c)a=a.replace(new RegExp("\\{\\$"+d+"\\}","gi"),c[d]);return a},Ua=function(a,b){Ha(a,b)};if(!ea[_P].apply)ea[_P].apply=
function(a,b){var c=[],d,e;if(!a)a=F;if(!b)b=[];for(var f=0;f<b[v];f++)c[f]="args["+f+"]";e="oScope.__applyTemp__.peek().("+c.join(",")+");";if(!a.__applyTemp__)a.__applyTemp__=[];a.__applyTemp__.push(this);d=eval(e);a.__applyTemp__.pop();return d};ea[_P].rb=function(a){I(this,a)};var I=function(a,b){function c(){}c.prototype=b[_P];a.s=b[_P];a.prototype=new c;a[_P].constructor=a};var J=function(){};J[_P].Ka=false;J[_P].z=function(){if(!this.Ka){this.d();this.Ka=true}};J[_P].d=function(){};var K=function(a,b){u(this,a);ja(this,b);t(this,this[B])};I(K,J);K[_P].A=false;K[_P].S=true;K[_P].stopPropagation=function(){this.A=true};K[_P].preventDefault=function(){this.S=false};var L=function(a,b){J.call(this);this.tb=b;this.N=[];this.hb(a)};I(L,J);L[_P].ma=null;L[_P].pa=null;L[_P].Y=function(a){this.ma=a};L[_P].bb=function(a){this.pa=a};L[_P].u=function(){if(this.N[v])return this.N.pop();return this.Ga()};L[_P].J=function(a){if(this.N[v]<this.tb)this.N.push(a);else this.Ja(a)};L[_P].hb=function(a){if(a>this.tb)throw o("[goog.structs.SimplePool] Initial cannot be greater than max");for(var b=0;b<a;b++)this.N.push(this.Ga())};L[_P].Ga=function(){return this.ma?this.ma():
{}};L[_P].Ja=function(a){if(this.pa)this.pa(a);else if(Na(a.z))a.z();else for(var b in a)delete a[b]};L[_P].d=function(){L.s.d.call(this);var a=this.N;while(a[v])this.Ja(a.pop());this.N=null};var $a=function(a,b){if(b)return a.replace(Va,"&amp;").replace(Wa,"&lt;").replace(Xa,"&gt;").replace(Ya,"&quot;");else{if(!Za.test(a))return a;if(a.indexOf("&")!=-1)a=a.replace(Va,"&amp;");if(a.indexOf("<")!=-1)a=a.replace(Wa,"&lt;");if(a.indexOf(">")!=-1)a=a.replace(Xa,"&gt;");if(a.indexOf('"')!=-1)a=a.replace(Ya,"&quot;");return a}},Va=/&/g,Wa=/</g,Xa=/>/g,Ya=/\"/g,Za=/[&<>\"]/,bb=function(a,b){var c=0,d=String(a).split("."),e=String(b).split("."),f=s.max(d[v],e[v]);for(var g=0;c==0&&g<f;g++){var h=
d[g]||"",k=e[g]||"",l=new RegExp("(\\d*)(\\D*)","g"),m=new RegExp("(\\d*)(\\D*)","g");do{var n=l.exec(h)||["","",""],q=m.exec(k)||["","",""];if(n[0][v]==0&&q[0][v]==0)break;var Ga=n[1][v]==0?0:parseInt(n[1],10),tc=q[1][v]==0?0:parseInt(q[1],10);c=ab(Ga,tc)||ab(n[2][v]==0,q[2][v]==0)||ab(n[2],q[2])}while(c==0)}return c},ab=function(a,b){if(a<b)return-1;else if(a>b)return 1;return 0};var cb,db,eb,fb,M,gb,hb;(function(){var a=false,b=false,c=false,d=false,e=false,f=false,g=false,h=false,k=false,l="";if(F.navigator){var m=ca.userAgent;a=typeof opera!="undefined";b=!a&&m.indexOf("MSIE")!=-1;c=!a&&m.indexOf("WebKit")!=-1;k=c&&m.indexOf("Mobile")!=-1;d=!a&&ca.product=="Gecko"&&!c;e=d&&ca.vendor=="Camino";var n,q;if(a)n=opera.version();else{if(d)q=/rv\:([^\);]+)(\)|;)/;else if(b)q=/MSIE\s+([^\);]+)(\)|;)/;else if(c)q=/WebKit\/(\S+)/;if(q){q.test(m);n=RegExp.$1}}l=ca.platform;f=l.indexOf("Mac")!=
-1;g=l.indexOf("Win")!=-1;h=l.indexOf("Linux")!=-1}cb=a;db=b;eb=d;fb=e;M=c;gb=n;hb=k})();var ib=function(a){return bb(gb,a)>=0};var jb=function(a,b,c){if(a.indexOf)return a.indexOf(b,c);if(r.indexOf)return r.indexOf(a,b,c);var d=c==null?0:(c<0?s.max(0,a[v]+c):c);for(var e=d;e<a[v];e++)if(e in a&&a[e]===b)return e;return-1},kb=function(a,b,c){if(a.forEach)a.forEach(b,c);else if(r.forEach)r.forEach(a,b,c);else{var d=a[v],e=H(a)?a.split(""):a;for(var f=0;f<d;f++)if(f in e)b.call(c,e[f],f,a)}},lb=function(a,b){if(a.contains)return a.contains(b);return jb(a,b)>-1},mb=function(a,b){var c=jb(a,b),d;if(d=c!=-1)r[_P].splice.call(a,
c,1)[v]==1;return d};var nb=function(a){if(La(a))return a.concat();else{var b=[];for(var c=0,d=a[v];c<d;c++)b[c]=a[c];return b}},ob=function(a,b,c){return arguments[v]<=2?r[_P][qa].call(a,b):r[_P][qa].call(a,b,c)};var pb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},qb=function(a){var b=[],c=0;for(var d in a)b[c++]=a[d];return b},rb=function(a){var b=[],c=0;for(var d in a)b[c++]=d;return b},sb=function(a,b){var c;if(c=b in a)delete a[b];return c},tb=function(a,b,c){if(b in a)return a[b];return c},ub=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],vb=function(a){var b,c;for(var d=1;d<arguments[v];d++){c=arguments[d];for(b in c)a[b]=c[b];for(var e=
0;e<ub[v];e++){b=ub[e];if(aa[_P][ra].call(c,b))a[b]=c[b]}}};var N=function(a,b){if(a)this.V(a,b)};I(N,K);u(N[_P],null);ja(N[_P],null);t(N[_P],null);N[_P].relatedTarget=null;N[_P].offsetX=0;N[_P].offsetY=0;N[_P].clientX=0;N[_P].clientY=0;ka(N[_P],0);la(N[_P],0);N[_P].button=0;ma(N[_P],0);N[_P].charCode=0;N[_P].ctrlKey=false;N[_P].altKey=false;N[_P].shiftKey=false;N[_P].metaKey=false;N[_P].t=null;N[_P].V=function(a,b){u(this,a[D]);ja(this,a[B]||a.srcElement);t(this,b);this.relatedTarget=a.relatedTarget?a.relatedTarget:(this[D]=="mouseover"?a.fromElement:(this[D]==
"mouseout"?a.toElement:null));this.offsetX=typeof a.layerX=="number"?a.layerX:a.offsetX;this.offsetY=typeof a.layerY=="number"?a.layerY:a.offsetY;this.clientX=typeof a[Ca]=="number"?a[Ca]:a.pageX;this.clientY=typeof a[Da]=="number"?a[Da]:a.pageY;ka(this,a[C]||0);la(this,a[ua]||0);this.button=a.button;ma(this,a[va]||0);this.charCode=a.charCode||(this[D]=="keypress"?a[va]:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.t=a;this.S=null;this.A=null};
N[_P].stopPropagation=function(){this.A=true;if(this.t.stopPropagation)this.t.stopPropagation();else this.t.cancelBubble=true};N[_P].preventDefault=function(){this.S=false;if(!this.t.preventDefault){this.t.returnValue=false;try{ma(this.t,-1)}catch(a){}}else this.t.preventDefault()};N[_P].d=function(){N.s.d.call(this);this.t=null};var O=function(){},wb=0;O[_P].wa=null;O[_P].H=null;O[_P].Za=null;O[_P].src=null;u(O[_P],null);O[_P].capture=null;O[_P].U=null;O[_P].p=0;O[_P].R=false;O[_P].Ea=false;O[_P].V=function(a,b,c,d,e,f){if(Na(a))this.wa=true;else if(a&&a.P&&Na(a.P))this.wa=false;else throw o("Invalid listener argument");this.H=a;this.Za=b;this.src=c;u(this,d);this.capture=!(!e);this.U=f;this.Ea=false;this.p=++wb;this.R=false};O[_P].P=function(a){if(this.wa)return this.H.call(this.U||this.src,a);return this.H.P.call(this.H,
a)};var xb={},P={},Q={},yb=new L(0,600);yb.Y(function(){return{l:0}});yb.bb(function(a){a.l=0});var zb=new L(0,600);zb.Y(function(){return[]});zb.bb(function(a){fa(a,0);delete a.ja;delete a.Ta});var Ab=new L(0,600);Ab.Y(function(){var a=function(b){return Bb.call(a.src,a.p,b)};return a});var Cb=function(){return new O},Db=new L(0,600);Db.Y(Cb);var Eb=function(){return new N},Fb=function(){var a=null;if(db){a=new L(0,600);a.Y(Eb)}return a},Gb=Fb(),Hb="on",Ib={},Jb=function(a,b,c,d,e){if(!b)throw o("Invalid event type");
else if(La(b)){for(var f=0;f<b[v];f++)Jb(a,b[f],c,d,e);return null}var g=!(!d),h=P;if(!(b in h))h[b]=yb.u();h=h[b];if(!(g in h)){h[g]=yb.u();h.l++}h=h[g];var k=Ra(a),l,m;if(!h[k]){l=h[k]=zb.u();h.l++}else{l=h[k];for(var f=0;f<l[v];f++){m=l[f];if(m.H==c&&m.U==e){if(m.R)break;return l[f].p}}}var n=Ab.u();n.src=a;m=Db.u();m.V(c,n,a,b,g,e);var q=m.p;n.p=q;l.push(m);xb[q]=m;if(!Q[k])Q[k]=zb.u();Q[k].push(m);if(a.addEventListener){if(a==F||!a.Ha)a.addEventListener(b,n,g)}else a.attachEvent(Kb(b),n);return q},
Lb=function(a,b,c,d,e){if(La(b)){for(var f=0;f<b[v];f++)Lb(a,b[f],c,d,e);return null}var g=!(!d),h=Mb(a,b,g);if(!h)return false;for(var f=0;f<h[v];f++)if(h[f].H==c&&h[f][sa]==g&&h[f].U==e)return Nb(h[f].p);return false},Nb=function(a){if(!xb[a])return false;var b=xb[a];if(b.R)return false;var c=b.src,d=b[D],e=b.Za,f=b[sa];if(c.removeEventListener){if(c==F||!c.Ha)c.removeEventListener(d,e,f)}else if(c.detachEvent)c.detachEvent(Kb(d),e);var g=Ra(c),h=P[d][f][g];if(Q[g]){var k=Q[g];mb(k,b);if(k[v]==
0)delete Q[g]}b.R=true;h.Ta=true;Ob(d,f,g,h);delete xb[a];return true},Ob=function(a,b,c,d){if(!d.ja)if(d.Ta){for(var e=0,f=0;e<d[v];e++){if(d[e].R){Db.J(d[e]);continue}if(e!=f)d[f]=d[e];f++}fa(d,f);d.Ta=false;if(f==0){zb.J(d);delete P[a][b][c];P[a][b].l--;if(P[a][b].l==0){yb.J(P[a][b]);delete P[a][b];P[a].l--}if(P[a].l==0){yb.J(P[a]);delete P[a]}}}},Pb=function(a,b,c){var d=0,e=a==null,f=b==null,g=c==null;c=!(!c);if(!e){var h=Ra(a);if(Q[h]){var k=Q[h];for(var l=k[v]-1;l>=0;l--){var m=k[l];if((f||
b==m[D])&&(g||c==m[sa])){Nb(m.p);d++}}}}else pb(Q,function(n){for(var q=n[v]-1;q>=0;q--){var Ga=n[q];if((f||b==Ga[D])&&(g||c==Ga[sa])){Nb(Ga.p);d++}}});return d},Mb=function(a,b,c){var d=P;if(b in d){d=d[b];if(c in d){d=d[c];var e=Ra(a);if(d[e])return d[e]}}return null},Qb=function(a,b,c,d,e){var f=!(!d),g=Mb(a,b,f);if(g)for(var h=0;h<g[v];h++)if(g[h].H==c&&g[h][sa]==f&&g[h].U==e)return g[h];return null},Kb=function(a){if(a in Ib)return Ib[a];return Ib[a]=Hb+a},Sb=function(a,b,c,d){var e=1,f=P;if(b in
f){f=f[b];if(c in f){f=f[c];var g=Ra(a);if(f[g]){var h=f[g];if(!h.ja)h.ja=1;else h.ja++;try{var k=h[v];for(var l=0;l<k;l++){var m=h[l];if(m&&!m.R)e&=Rb(m,d)!==false}}finally{h.ja--;Ob(b,c,g,h)}}}}return da(e)},Rb=function(a,b){var c=a.P(b);if(a.Ea)Nb(a.p);return c},Tb=function(a,b){if(H(b))b=new K(b,a);else if(!(b instanceof K)){var c=b;b=new K(b[D],a);vb(b,c)}else ja(b,b[B]||a);var d=1,e,f=b[D],g=P;if(!(f in g))return true;g=g[f];var h=true in g,k=false in g;if(h){e=[];for(var l=a;l;l=l.ha())e.push(l);
for(var m=e[v]-1;!b.A&&m>=0;m--){t(b,e[m]);d&=Sb(e[m],b[D],true,b)&&b.S!=false}}if(k)if(h)for(var m=0;!b.A&&m<e[v];m++){t(b,e[m]);d&=Sb(e[m],b[D],false,b)&&b.S!=false}else for(var n=a;!b.A&&n;n=n.ha()){t(b,n);d&=Sb(n,b[D],false,b)&&b.S!=false}return da(d)},Bb=function(a,b){if(!xb[a])return true;var c=xb[a],d=c[D],e=P;if(!(d in e))return true;e=e[d];var f;if(db){var g=b||Ia("window.event"),h=true in e;if(h){if(g[va]<0||g.returnValue!=p)return true;Ub(g)}Ra(c.src);var k=Gb.u();k.V(g,this);f=true;try{if(h){var l=
zb.u();for(var m=k.currentTarget;m;m=m[Ba])l.push(m);for(var n=l[v]-1;!k.A&&n>=0;n--){t(k,l[n]);f&=Sb(l[n],d,true,k)}for(var n=0;!k.A&&n<l[v];n++){t(k,l[n]);f&=Sb(l[n],d,false,k)}}else f=Rb(c,k)}finally{if(l){fa(l,0);zb.J(l)}k.z();Gb.J(k)}return f}var q=new N(b,this);try{f=Rb(c,q)}finally{q.z()}return f},Ub=function(a){var b=false;if(a[va]==0)try{ma(a,-1);return}catch(c){b=true}if(b||a.returnValue==p)a.returnValue=true};var R=function(){};I(R,J);R[_P].Ha=true;R[_P].Ya=null;R[_P].ha=function(){return this.Ya};R[_P].addEventListener=function(a,b,c,d){Jb(this,a,b,c,d)};R[_P].removeEventListener=function(a,b,c,d){Lb(this,a,b,c,d)};R[_P].dispatchEvent=function(a){return Tb(this,a)};R[_P].d=function(){R.s.d.call(this);Pb(this);this.Ya=null};if("StopIteration"in F)var Vb=F.StopIteration;else Vb=o("StopIteration");var Wb=function(){};Wb[_P].next=function(){throw Vb;};Wb[_P].__iterator__=function(){return this};var Xb=function(a){if(typeof a.ia=="function")return a.ia();if(H(a))return a.split("");if(Ma(a)){var b=[],c=a[v];for(var d=0;d<c;d++)b.push(a[d]);return b}return qb(a)},Yb=function(a){if(typeof a.ua=="function")return a.ua();if(typeof a.ia=="function")return p;if(Ma(a)||H(a)){var b=[],c=a[v];for(var d=0;d<c;d++)b.push(d);return b}return rb(a)},Zb=function(a,b,c){if(typeof a.forEach=="function")a.forEach(b,c);else if(Ma(a)||H(a))kb(a,b,c);else{var d=Yb(a),e=Xb(a),f=e[v];for(var g=0;g<f;g++)b.call(c,
e[g],d&&d[g],a)}};var S=function(a){this.v={};this.b=[];if(a)this.eb(a)};S[_P].l=0;S[_P].$=0;S[_P].ia=function(){this.da();var a=[];for(var b=0;b<this.b[v];b++){var c=this.b[b];a.push(this.v[c])}return a};S[_P].ua=function(){this.da();return this.b.concat()};S[_P].clear=function(){this.v={};fa(this.b,0);this.l=0;this.$=0};S[_P].remove=function(a){if($b(this.v,a)){delete this.v[a];this.l--;this.$++;if(this.b[v]>2*this.l)this.da();return true}return false};S[_P].da=function(){if(this.l!=this.b[v]){var a=0,b=0;while(a<
this.b[v]){var c=this.b[a];if($b(this.v,c))this.b[b++]=c;a++}fa(this.b,b)}if(this.l!=this.b[v]){var d={},a=0,b=0;while(a<this.b[v]){var c=this.b[a];if(!$b(d,c)){this.b[b++]=c;d[c]=1}a++}fa(this.b,b)}};S[_P].fa=function(a,b){if($b(this.v,a))return this.v[a];return b};S[_P].h=function(a,b){if(!$b(this.v,a)){this.l++;this.b.push(a);this.$++}this.v[a]=b};S[_P].eb=function(a){var b,c;if(a instanceof S){b=a.ua();c=a.ia()}else{b=rb(a);c=qb(a)}for(var d=0;d<b[v];d++)this.h(b[d],c[d])};S[_P].__iterator__=
function(a){this.da();var b=0,c=this.b,d=this.v,e=this.$,f=this,g=new Wb;g.next=function(){while(true){if(e!=f.$)throw o("The map has changed since the iterator was created");if(b>=c[v])throw Vb;var h=c[b++];return a?h:d[h]}};return g};if(aa[_P][ra])var $b=function(a,b){return aa[_P][ra].call(a,b)};else $b=function(a,b){return b in a&&a[b]!==aa[_P][b]};;;var ac=function(a,b){this.x=G(a)?j(a):p;this.y=G(b)?j(b):p};ac[_P].toString=function(){return"("+this.x+", "+this.y+")"};;var bc=function(a,b,c,d){ia(this,G(a)?j(a):p);this.top=G(b)?j(b):p;ga(this,G(c)?j(c):p);oa(this,G(d)?j(d):p)};bc[_P].toString=function(){return"("+this[ta]+", "+this.top+" - "+this[w]+"w x "+this[E]+"h)"};var T=function(a,b){ga(this,G(a)?j(a):p);oa(this,G(b)?j(b):p)};T[_P].toString=function(){return"("+this[w]+" x "+this[E]+")"};T[_P].ceil=function(){ga(this,s.ceil(this[w]));oa(this,s.ceil(this[E]));return this};T[_P].floor=function(){ga(this,s.floor(this[w]));oa(this,s.floor(this[E]));return this};T[_P].round=function(){ga(this,s.round(this[w]));oa(this,s.round(this[E]));return this};T[_P].scale=function(a){this.width*=a;this.height*=a;return this};;var cc,dc=function(){if(!cc)cc=new U;return cc},fc=function(a){return a?new U(ec(a)):dc()};var gc=function(a,b,c){return dc().nb(a,b,c)},ic=function(a,b){pb(b,function(c,d){if(d=="style")a[z].cssText=c;else if(d=="class")a.className=c;else if(d=="for")a.htmlFor=c;else if(d in hc)a.setAttribute(hc[d],c);else a[d]=c})},hc={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",height:"height",width:"width",usemap:"useMap",frameborder:"frameBorder"},jc=
function(a){var b=a||F||i,c=b[y];if(M&&!ib("500")&&!hb){if(typeof b.innerHeight=="undefined")b=i;var d=b.innerHeight,e=b[y][Ea].scrollHeight;if(b==b.top)if(e<d)d-=15;return new T(b.innerWidth,d)}var f=fc(c),g=f.mb()=="CSS1Compat"&&(!cb||cb&&ib("9.50"))?c[Ea]:c[A];return new T(g.clientWidth,g.clientHeight)},kc=function(a){var b=a||F||i,c=b[y],d,e;if(!M&&c[xa]=="CSS1Compat"){d=c[Ea][wa];e=c[Ea][pa]}else{d=c[A][wa];e=c[A][pa]}return new ac(d,e)},lc=function(a){return fc(a).pb()},mc=function(a,b){a.appendChild(b)},
nc=function(a){return a&&a[Ba]?a[Ba].removeChild(a):null};var oc=M&&bb(gb,"521")<=0,pc=function(a,b){if(typeof a.contains!="undefined"&&!oc&&b[x]==1)return a==b||a.contains(b);if(typeof a.compareDocumentPosition!="undefined")return a==b||da(a.compareDocumentPosition(b)&16);while(b&&a!=b)b=b[Ba];return b==a},ec=function(a){return a[x]==9?a:a.ownerDocument||a[y]};var rc=function(a,b){var c=[];qc(a,b,c,true);return c[v]?c[0]:p},qc=function(a,b,c,d){if(a!=null)for(var e=0,f;f=a.childNodes[e];e++){if(b(f)){c.push(f);
if(d)return}qc(f,b,c,d)}},sc={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},uc={IMG:" ",BR:"\n"},wc=function(a){var b;if(db&&"innerText"in a)b=a.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var c=[];vc(a,c,true);b=c.join("")}b=b.replace(/\xAD/g,"");b=b.replace(/ +/g," ");if(b!=" ")b=b.replace(/^\s*/,"");return b},vc=function(a,b,c){if(a.nodeName in sc){}else if(a[x]==3)if(c)b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,""));else b.push(a.nodeValue);else if(a.nodeName in uc)b.push(uc[a.nodeName]);
else{var d=a.firstChild;while(d){vc(d,b,c);d=d.nextSibling}}},xc=function(a){if(a&&typeof a[v]=="number")if(Oa(a))return typeof a.item=="function"||typeof a.item=="string";else if(Na(a))return typeof a.item=="function";return false},U=function(a){this.k=a||F[y]||document};U[_P].F=function(){return this.k};U[_P].ta=function(a){return H(a)?this.k.getElementById(a):a};U[_P].nb=function(a,b,c){var d=a||"*",e=c||this.k,f=e.getElementsByTagName(d);if(b){var g=[];for(var h=0,k;k=f[h];h++){var l=k.className;
if(typeof l.split=="function"&&lb(l.split(" "),b))g.push(k)}return g}else return f};U[_P].e=function(a,b){if(db&&b&&b[Aa])a="<"+a+' name="'+$a(b[Aa])+'">';var c=this.createElement(a);if(b)ic(c,b);if(arguments[v]>2){function d(g){if(g)this.appendChild(c,H(g)?this.createTextNode(g):g)}for(var e=2;e<arguments[v];e++){var f=arguments[e];if(Ma(f)&&!(Oa(f)&&f[x]>0))kb(xc(f)?nb(f):f,d,this);else d.call(this,f)}}return c};U[_P].createElement=function(a){return this.k.createElement(a)};U[_P].createTextNode=
function(a){return this.k.createTextNode(a)};U[_P].mb=function(){if(this.k[xa])return this.k[xa];if(M){var a=this.e("div",{style:"position:absolute;width:0;height:0;width:1"}),b=a[z][w]=="1px"?"BackCompat":"CSS1Compat";return this.k.compatMode=b}return"BackCompat"};U[_P].pb=function(){var a=this.k;if(a.parentWindow)return a.parentWindow;if(M&&!ib("500")&&!hb){var b=a.createElement("script");ha(b,"document.parentWindow=window");var c=a[Ea];c.appendChild(b);c.removeChild(b);return a.parentWindow}return a[za]};
U[_P].appendChild=mc;U[_P].removeNode=nc;U[_P].contains=pc;var yc,zc=function(a,b){var c=ec(a);if(c[za]&&c[za].getComputedStyle){var d=c[za].getComputedStyle(a,"");if(d)return d[b]}return null};var Ac=function(a,b){return zc(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a[z][b]},Bc=function(a,b,c){var d,e;if(b instanceof ac){d=b.x;e=b.y}else{d=b;e=c}ia(a[z],typeof d=="number"?s.round(d)+"px":d);a[z].top=typeof e=="number"?s.round(e)+"px":e},Cc=function(a){var b;b=a?(a[x]==9?a:ec(a)):dc().F();if(db&&b[xa]!="CSS1Compat")return b[A];return b[Ea]},Dc=function(a){var b=
ec(a),c=eb&&b.getBoxObjectFor&&Ac(a,"position")=="absolute"&&(a[z].top==""||a[z][ta]=="");if(typeof yc=="undefined")yc=fb&&!ib("1.8.0.11");var d=new ac(0,0),e=Cc(b);if(a==e)return d;var f=null,g;if(a.getBoundingClientRect){g=a.getBoundingClientRect();var h=kc(lc(b));d.x=g[ta]+h.x;d.y=g.top+h.y}else if(b.getBoxObjectFor&&!c&&!yc){g=b.getBoxObjectFor(a);var k=b.getBoxObjectFor(e);d.x=g[C]-k[C];d.y=g[ua]-k[ua]}else{f=a;do{d.x+=f.offsetLeft;d.y+=f.offsetTop;if(M&&Ac(f,"position")=="fixed"){d.x+=b[A][wa];
d.y+=b[A][pa];break}f=f.offsetParent}while(f&&f!=a);if(cb||M&&Ac(a,"position")=="absolute")d.y-=b[A].offsetTop;f=a.offsetParent;while(f&&f!=b[A]){d.x-=f[wa];if(!cb||f[ya]!="TR")d.y-=f[pa];f=f.offsetParent}}return d},Ec=function(a,b,c){var d;if(b instanceof T){d=b[E];b=b[w]}else{if(c==p)throw o("missing height argument");d=c}ga(a[z],typeof b=="number"?s.round(b)+"px":b);oa(a[z],typeof d=="number"?s.round(d)+"px":d)},Fc=function(a){if(Ac(a,"display")!="none")return new T(a.offsetWidth,a.offsetHeight);
var b=a[z],c=b.visibility,d=b.position;b.visibility="hidden";b.position="absolute";na(b,"");var e=a.offsetWidth,f=a.offsetHeight;na(b,"none");b.position=d;b.visibility=c;return new T(e,f)},Gc=function(a,b){var c=a[z];if("opacity"in c)c.opacity=b;else if("MozOpacity"in c)c.MozOpacity=b;else if("filter"in c)c.filter="alpha(opacity="+b*100+")"},V=function(a,b){na(a[z],b?"":"none")};var Hc=eb&&!ib("1.9a"),Ic=function(a,b){if(eb){a.setAttribute("role",b);a.roleName=b}},Jc=function(a,b,c){if(eb)if(Hc)a.setAttributeNS("http://www.w3.org/2005/07/aaa",b,c);else a.setAttribute("aria-"+b,c)};var Kc=function(a){var b=a.className;return b&&typeof b.split=="function"?b.split(" "):[]},Lc=function(a){var b=Kc(a),c=ob(arguments,1),d=1;for(var e=0;e<c[v];e++)if(!lb(b,c[e])){b.push(c[e]);d&=1}else d&=0;a.className=b.join(" ");return da(d)},Mc=function(a,b){return lb(Kc(a),b)};var W=function(a){this.qb=a};I(W,J);var Nc=new L(0,100);W[_P].X=function(a,b,c,d,e){if(La(b)){for(var f=0;f<b[v];f++)this.X(a,b[f],c,d,e);return}var g=Jb(a,b,c||this,d||false,e||this.qb||this);if(this.b)this.b[g]=true;else if(this.G){this.b=Nc.u();this.b[this.G]=true;this.G=null;this.b[g]=true}else this.G=g};W[_P].Z=function(a,b,c,d,e){if(!this.G&&!this.b)return;if(La(b)){for(var f=0;f<b[v];f++)this.Z(a,b[f],c,d,e);return}var g=Qb(a,b,c||this,d||false,e||this.qb||this);if(g){var h=g.p;Nb(h);if(this.b)sb(this.b,
h);else if(this.G==h)this.G=null}};W[_P].vb=function(){if(this.b){for(var a in this.b){Nb(a);delete this.b[a]}Nc.J(this.b);this.b=null}else if(this.G)Nb(this.G)};W[_P].d=function(){W.s.d.call(this);this.vb()};W[_P].P=function(){throw o("EventHandler.handleEvent not implemented");};;;var X=function(a,b,c){ja(this,a);this.handle=b||a;this.kb=true;this.ea=false;this.limits=c||new bc;this.k=this[B].ownerDocument||this[B][y];ka(this,0);la(this,0);this.deltaX=0;this.deltaY=0;Jb(this.handle,"mousedown",this.cb,false,this)};I(X,R);X[_P].d=function(){X.s.d.call(this);Lb(this.handle,"mousedown",this.cb,false,this);Lb(this.k,"mousemove",this.xa,false,this);Lb(this.k,"mouseup",this.qa,false,this);delete this[B];delete this.handle};X[_P].cb=function(a){if(this.kb&&!this.ea){var b=this.dispatchEvent(new Oc("start",
this,a[Ca],a[Da],a));if(b!==false){Jb(this.k,"mousemove",this.xa,false,this);Jb(this.k,"mouseup",this.qa,false,this);ka(this,a[C]);la(this,a[ua]);this.deltaX=this[B].offsetLeft;this.deltaY=this[B].offsetTop;this.ea=true;a.preventDefault()}}};X[_P].qa=function(a){if(this.ea){this.ea=false;Lb(this.k,"mousemove",this.xa,false,this);Lb(this.k,"mouseup",this.qa,false,this);var b=this.Pa(this.deltaX),c=this.Qa(this.deltaY);this.dispatchEvent(new Oc("end",this,a[Ca],a[Da],a,b,c))}};X[_P].xa=function(a){if(this.ea&&
this.kb){var b=a[C]-this[C],c=a[ua]-this[ua];this.deltaX+=b;this.deltaY+=c;var d=this.Pa(this.deltaX),e=this.Qa(this.deltaY);ka(this,a[C]);la(this,a[ua]);var f=this.dispatchEvent(new Oc("beforedrag",this,a[Ca],a[Da],a,d,e));if(f!==false){this.ib(d,e);this.dispatchEvent(new Oc("drag",this,a[Ca],a[Da],a,d,e));a.preventDefault()}}};X[_P].Pa=function(a){var b=this.limits,c=typeof b[ta]!="undefined"?b[ta]:null,d=typeof b[w]!="undefined"?b[w]:0,e=c!=null?c+d:ba,f=c!=null?c:-ba;return s.min(e,s.max(f,a))};
X[_P].Qa=function(a){var b=this.limits,c=typeof b.top!="undefined"?b.top:null,d=typeof b[E]!="undefined"?b[E]:0,e=c!=null?c+d:ba,f=c!=null?c:-ba;return s.min(e,s.max(f,a))};X[_P].ib=function(a,b){ia(this[B][z],a+"px");this[B][z].top=b+"px"};var Oc=function(a,b,c,d,e,f,g){K.call(this,a);u(this,a);this.clientX=c;this.clientY=d;this.browserEvent=e;ia(this,G(f)?f:b.deltaX);this.top=G(g)?g:b.deltaY;this.dragger=b};I(Oc,K);var Y=function(a){R.call(this);this.c=a||fc();this.xb=Pc};I(Y,R);var Qc=0,Pc=null,Rc="Component already rendered",Sc="Unable to set parent component";Y[_P].va=null;Y[_P].c=null;Y[_P].Q=false;Y[_P].a=null;Y[_P].xb=null;Y[_P].ub=null;Y[_P].I=null;Y[_P].ca=null;Y[_P].ba=null;Y[_P].db=null;Y[_P].Oa=function(){return this.va||(this.va=this.ob())};Y[_P].ta=function(){return this.a};Y[_P].zb=function(a){if(this==a)throw o(Sc);if(a&&this.I&&this.I.Ma(this.va))throw o(Sc);this.I=a};Y[_P].ha=function(){return this.I};
Y[_P].W=function(){return this.Q};Y[_P].e=function(){this.a=this.c.createElement("div")};Y[_P].B=function(a){this.wb(a)};Y[_P].wb=function(a,b){if(this.Q)throw o(Rc);if(!this.a)this.e();if(a)a.insertBefore(this.a,b||null);else this.c.F()[A].appendChild(this.a);if(!this.I||this.I.W())this.L()};Y[_P].na=function(a){if(this.Q)throw o(Rc);else if(a&&this.aa(a)){this.db=true;if(!this.c||this.c.F()!=ec(a))this.c=fc(a);this.oa(a);this.L()}else throw o("Invalid element to decorate");};Y[_P].aa=function(){return true};
Y[_P].oa=function(a){this.a=a};Y[_P].L=function(){this.Q=true;this.ra(function(a){if(!a.W()&&a.ta())a.L()})};Y[_P].M=function(){this.ra(function(a){if(a.W())a.M()});this.Q=false};Y[_P].d=function(){Y.s.d.call(this);if(this.Q)this.M();this.ra(function(a){a.z()});if(!this.db&&this.a)nc(this.a);this.ca=null;this.ba=null;this.a=null;this.ub=null;this.I=null};Y[_P].ob=function(){return":"+Qc++};Y[_P].sa=function(){return this.a};Y[_P].Ma=function(a){return this.ba&&a?tb(this.ba,a)||null:null};Y[_P].ra=
function(a,b){if(this.ca)kb(this.ca,a,b)};Y[_P].removeChild=function(a,b){if(a){var c=H(a)?a:a.Oa();a=this.Ma(c);if(c&&a){sb(this.ba,c);mb(this.ca,a);if(b){a.M();if(a.a)nc(a.a)}a.zb(null)}}if(!a)throw o("Child is not in parent component");return a};var Z=function(a,b,c){Y.call(this,c);this.i=a||"modal-dialog";this.Aa=!(!b);this.r=Tc;this.m=new W(this)};I(Z,Y);Z[_P].i=null;Z[_P].Aa=false;Z[_P].Sa=true;Z[_P].La=true;Z[_P].fb=0.3;Z[_P].ka="";Z[_P].T="";Z[_P].r=null;Z[_P].K=null;Z[_P].Ba=false;Z[_P].jb=false;Z[_P].f=null;Z[_P].g=null;Z[_P].n=null;Z[_P].D=null;Z[_P].za=null;Z[_P].C=null;Z[_P].o=null;Z[_P].j=null;Z[_P].m=null;Z[_P].sa=function(){if(!this.o)this.B();return this.o};Z[_P].gb=function(){var a=new X(this.a,this.n);Lc(this.n,this.i+"-title-draggable");
return a};Z[_P].e=function(){this.Ra();this.a=this.c.e("div",{className:this.i,tabIndex:0},this.n=this.c.e("div",{className:this.i+"-title",id:this.Oa()},this.D=this.c.e("span",{className:this.i+"-title-text"},this.ka),this.C=this.c.e("span",{className:this.i+"-title-close"})),this.o=this.c.e("div",{className:this.i+"-content"}),this.j=this.c.e("div",{className:this.i+"-buttons"}));this.za=this.n.id;Ic(this.a,"dialog");Jc(this.a,"labelledby",this.za);if(this.T)ha(this.o,this.T);V(this.a,false);if(this.r)this.r.la(this.j)};
Z[_P].Ra=function(){if(this.Aa&&!this.g){this.g=this.c.e("iframe",{frameborder:0,style:"border: 0",className:this.i+"-bg"});V(this.g,false);Gc(this.g,0)}else if(!this.Aa&&this.g){nc(this.g);this.g=null}if(this.Sa&&!this.f){this.f=this.c.e("div",{className:this.i+"-bg"});Gc(this.f,this.fb);V(this.f,false)}else if(!this.Sa&&this.f){nc(this.f);this.f=null}};Z[_P].B=function(a){if(this.W())throw o(Rc);if(!this.a)this.e();var b=a||this.c.F()[A];this.$a(b);Z.s.B.call(this,b)};Z[_P].$a=function(a){if(this.g)a.appendChild(this.g);
if(this.f)a.appendChild(this.f)};Z[_P].aa=function(a){return a&&a[ya]&&a[ya]=="DIV"&&Z.s.aa.call(this,a)};Z[_P].oa=function(a){this.a=a;Lc(this.a,this.i);var b=this.i+"-content";this.o=rc(this.a,function(g){return g[x]==1&&Mc(g,b)});if(this.o)this.T=this.o.innerHTML;else{this.o=this.c.e("div",{className:b});if(this.T)ha(this.o,this.T);this.a.appendChild(this.o)}var c=this.i+"-title",d=this.i+"-title-text",e=this.i+"-title-close";this.n=rc(this.a,function(g){return g[x]==1&&Mc(g,c)});if(this.n){this.D=
rc(this.n,function(g){return g[x]==1&&Mc(g,d)});this.C=rc(this.n,function(g){return g[x]==1&&Mc(g,e)})}else{this.n=this.c.e("div",{className:c});this.a.insertBefore(this.n,this.o)}if(this.D)this.ka=wc(this.D);else{this.D=this.c.e("span",{className:d},this.ka);this.n.appendChild(this.D)}Jc(this.a,"labelledby",this.za);if(!this.C){this.C=this.c.e("span",{className:e},this.ka);this.n.appendChild(this.C)}var f=this.i+"-buttons";this.j=rc(this.a,function(g){return g[x]==1&&Mc(g,f)});if(this.j){this.r=
new $(this.c);this.r.na(this.j)}else{this.j=this.c.e("div",{className:f});this.a.appendChild(this.j);if(this.r)this.r.la(this.j)}this.Ra();this.$a(ec(this.a)[A])};Z[_P].L=function(){Z.s.L.call(this);if(this.La&&!this.K)this.K=this.gb();this.m.X(this.C,"click",this.Xa);this.m.X(this.j,"click",this.Ua);Ic(this.a,"dialog");if(this.D.id!=="")Jc(this.a,"labelledby",this.D.id)};Z[_P].M=function(){this.m.Z(this.C,"click",this.Xa);this.m.Z(this.j,"click",this.Ua);if(this.sb())this.w(false);if(this.K){this.K.z();
this.K=null}Z.s.M.call(this)};Z[_P].w=function(a){if(a==this.Ba)return;var b=this.c.F(),c=lc(b)||i;if(!this.W())this.B(b[A]);if(a){this.ab();this.ya();this.m.X(b,"keydown",this.Va,true);this.m.X(c,"resize",this.Wa,true)}else{this.m.Z(b,"keydown",this.Va,true);this.m.Z(c,"resize",this.Wa,true)}if(this.g)V(this.g,a);if(this.f)V(this.f,a);V(this.a,a);if(a&&this.O()){var d=this.O().Na();if(d){var e=this.j.getElementsByTagName("button");for(var f=0,g;g=e[f];f++)if(g[Aa]==d){g.focus();break}}}this.Ba=a;
if(!a){this.dispatchEvent("afterhide");if(this.jb)this.z()}};Z[_P].sb=function(){return this.Ba};Z[_P].ab=function(){if(this.g)V(this.g,false);if(this.f)V(this.f,false);var a=this.c.F(),b=lc(a)||i,c=jc(b),d=a[A].scrollWidth,e=s.max(a[A].scrollHeight,c[E]);if(this.g){V(this.g,true);Ec(this.g,d,e)}if(this.f){V(this.f,true);Ec(this.f,d,e)}if(this.La){var f=Fc(this.a);this.K.limits=new bc(0,0,d-f[w],e-f[E])}};Z[_P].ya=function(){var a=this.c.F(),b=lc(a)||i,c=kc(b),d=c.x,e=c.y,f=Fc(this.a),g=jc(b),h=s.max(d+
g[w]/2-f[w]/2,0),k=s.max(e+g[E]/2-f[E]/2,0);Bc(this.a,h,k)};Z[_P].Xa=function(){var a=this.O(),b=a&&a.ga();if(b){var c=a.fa(b);if(this.dispatchEvent(new Uc(b,c)))this.w(false)}else this.w(false)};Z[_P].d=function(){Z.s.d.call(this);if(this.m){this.m.z();this.m=null}if(this.f){nc(this.f);this.f=null}if(this.g){nc(this.g);this.g=null}this.C=null;this.j=null};Z[_P].yb=function(a){this.r=a;if(this.j)this.r.la(this.j)};Z[_P].O=function(){return this.r};Z[_P].Ua=function(a){var b=this.lb(a[B]);if(b){var c=
b[Aa],d=this.O().fa(c);if(this.dispatchEvent(new Uc(c,d)))this.w(false)}};Z[_P].lb=function(a){var b=a;while(b!=null&&b!=this.j){if(b[ya]=="BUTTON")return b;b=b[Ba]}return null};Z[_P].Va=function(a){if(a[va]==27){var b=this.O();if(b.ga()){var c=b.fa(b.ga());if(this.dispatchEvent(new Uc(b.ga(),c)))this.w(false)}else this.w(false)}else if(a[va]==13){var b=this.O(),d=a[B]&&a[B][ya]=="BUTTON"?a[B][Aa]:b.Na();if(d&&this.dispatchEvent(new Uc(d,b.fa(d))))this.w(false)}};Z[_P].Wa=function(){this.ab()};var Uc=
function(a,b){u(this,"dialogselect");this.p=a;this.caption=b};I(Uc,K);var $=function(a){this.c=a||fc();S.call(this)},Tc;I($,S);$[_P].Ia=null;$[_P].a=null;$[_P].Fa=null;$[_P].h=function(a,b,c,d){S[_P].h.call(this,a,b);if(c)this.Ia=a;if(d)this.Fa=a};$[_P].la=function(a){this.a=a;this.B()};$[_P].B=function(){if(this.a){ha(this.a,"");var a=fc(this.a);Zb(this,function(b,c){this.a.appendChild(a.e("button",{name:c},b))},this)}};$[_P].na=function(a){if(!a||a[x]!=1)return;this.a=a;var b=this.a.getElementsByTagName("button");
for(var c=0,d,e,f;d=b[c];c++){e=d[Aa]||d.id;f=wc(d)||d.value;if(e)this.h(e,f,c==0,d[Aa]=="cancel")}};$[_P].Na=function(){return this.Ia};$[_P].ga=function(){return this.Fa};(function(){var a=Ta("OK"),b=Ta("Cancel"),c=Ta("Yes"),d=Ta("No"),e=Ta("Save"),f=Ta("Continue"),g=new $;g.h("ok",a,true);var h=new $;h.h("ok",a,true);h.h("cancel",b,false,true);Tc=h;var k=new $;k.h("yes",c,true);k.h("no",d,false,true);var l=new $;l.h("yes",c);l.h("no",d,true);l.h("cancel",b,false,true);var m=new $;m.h("continue",
f);m.h("save",e);m.h("cancel",b,true,true)})();function Vc(a){Z.call(this,"cse-overlay",true);this.cse=a}Vc.rb(Z);Vc[_P].ya=function(){var a=Fc(this.cse.searchBox),b=Fc(i[y][Ea]),c=Fc(this.a),d=Dc(this.cse.searchBox),e;e=d.x+c[w]>b[w]?d.x+a[w]-c[w]:d.x;Bc(this.a,e,d.y)};function Wc(a,b,c){this.searchBox=b;this.searchResults=c;this.searchResultsContainer=gc(null,"cse-resultsContainer",this.searchResults)[0];this.closeResults=gc(null,"cse-closeResults",this.searchResults)[0];this.searchBox.onsubmit=Sa(Wc[_P].Da,this);this.searchResultsDialog=new Vc(this);
this.searchResultsDialog.yb(new $);this.searchResultsDialog.sa().appendChild(this.searchResults);na(this.searchResults[z],"");this.closeResults.onclick=Sa(Wc[_P].Ca,this);this.searchControl=new GSearchControl;var d=new GwebSearch;d.setSiteRestriction(a);var e=new GsearcherOptions;e.setExpandMode(GSearchControl.EXPAND_MODE_OPEN);this.searchControl.addSearcher(d,e);this.searchControl.setResultSetSize(GSearch.LARGE_RESULTSET);this.searchControl.setNoResultsString(GSearchControl.NO_RESULTS_DEFAULT_STRING);
this.searchControl.draw(this.searchResultsContainer)}Wc[_P].Da=function(){this.searchResultsDialog.w(true);this.searchControl.execute(this.searchBox.q.value);return false};Wc[_P].Ca=function(){this.searchResultsDialog.w(false)};Ua("CSEOverlay",Wc);
 })()
