function aa(a){return function(b){this[a]=b}}function ba(a){return function(){return this[a]}}var g,ca=ca||{},l=this;function da(a,b){a=a.split(".");b=b||l;for(var c;c=a.shift();)if(b[c])b=b[c];else return null;return b}function ea(){}function fa(a){a.fa=function(){return a.oc||(a.oc=new a)}}
function ga(a){var b=typeof a;if(b=="object")if(a){if(a instanceof Array||!(a instanceof Object)&&Object.prototype.toString.call(a)=="[object Array]"||typeof a.length=="number"&&typeof a.splice!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("splice"))return"array";if(!(a instanceof Object)&&(Object.prototype.toString.call(a)=="[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 n(a){return ga(a)=="array"}function ha(a){var b=ga(a);return b=="array"||b=="object"&&typeof a.length=="number"}function p(a){return typeof a=="string"}function q(a){return typeof a=="number"}function ia(a){return ga(a)=="function"}function ja(a){a=ga(a);return a=="object"||a=="array"||a=="function"}function r(a){if(a.hasOwnProperty&&a.hasOwnProperty(ka))return a[ka];a[ka]||(a[ka]=++la);return a[ka]}
var ka="closure_hashCode_"+Math.floor(Math.random()*2147483648).toString(36),la=0;function ma(a){var b=ga(a);if(b=="object"||b=="array"){if(a.u)return a.u.call(a);b=b=="array"?[]:{};for(var c in a)b[c]=ma(a[c]);return b}return a}function s(a,b){var c=b||l;if(arguments.length>2){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(c,e)}}else return function(){return a.apply(c,arguments)}}
var v=Date.now||function(){return+new Date};function w(a,b){function c(){}c.prototype=b.prototype;a.h=b.prototype;a.prototype=new c;a.prototype.constructor=a};var x=Array.prototype,na=x.indexOf?function(a,b,c){return x.indexOf.call(a,b,c)}:function(a,b,c){c=c==null?0:c<0?Math.max(0,a.length+c):c;if(p(a)){if(!p(b)||b.length!=1)return-1;return a.indexOf(b,c)}for(c=c;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},y=x.forEach?function(a,b,c){x.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=p(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},oa=x.map?function(a,b,c){return x.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=new Array(d),
f=p(a)?a.split(""):a,h=0;h<d;h++)if(h in f)e[h]=b.call(c,f[h],h,a);return e};function pa(a,b){b=na(a,b);var c;if(c=b>=0)x.splice.call(a,b,1);return c}function qa(){return x.concat.apply(x,arguments)}function ra(a){if(n(a))return qa(a);else{for(var b=[],c=0,d=a.length;c<d;c++)b[c]=a[c];return b}};var sa;function ta(a,b){this.x=a!==undefined?a:0;this.y=b!==undefined?b:0}ta.prototype.u=function(){return new ta(this.x,this.y)};ta.prototype.toString=function(){return"("+this.x+", "+this.y+")"};function z(a,b){this.width=a;this.height=b}g=z.prototype;g.u=function(){return new z(this.width,this.height)};g.toString=function(){return"("+this.width+" x "+this.height+")"};g.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};g.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};g.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};
g.scale=function(a){this.width*=a;this.height*=a;return this};function ua(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function va(a){var b=[],c=0;for(var d in a)b[c++]=a[d];return b}function wa(a){var b=[],c=0;for(var d in a)b[c++]=d;return b}function xa(a){for(var b in a)return false;return true}function ya(a,b){var c;if(c=b in a)delete a[b];return c}function za(a,b,c){if(b in a)return a[b];return c}var Aa=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];
function Ba(a){for(var b,c,d=1;d<arguments.length;d++){c=arguments[d];for(b in c)a[b]=c[b];for(var e=0;e<Aa.length;e++){b=Aa[e];if(Object.prototype.hasOwnProperty.call(c,b))a[b]=c[b]}}};function Ca(a,b){var c=a.length-b.length;return c>=0&&a.lastIndexOf(b,c)==c}function Da(a,b){if(b)return a.replace(Ea,"&amp;").replace(Fa,"&lt;").replace(Ga,"&gt;").replace(Ha,"&quot;");else{if(!Ia.test(a))return a;if(a.indexOf("&")!=-1)a=a.replace(Ea,"&amp;");if(a.indexOf("<")!=-1)a=a.replace(Fa,"&lt;");if(a.indexOf(">")!=-1)a=a.replace(Ga,"&gt;");if(a.indexOf('"')!=-1)a=a.replace(Ha,"&quot;");return a}}var Ea=/&/g,Fa=/</g,Ga=/>/g,Ha=/\"/g,Ia=/[&<>\"]/;
function Ja(a,b){var c=0;a=String(a).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split(".");b=String(b).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split(".");for(var d=Math.max(a.length,b.length),e=0;c==0&&e<d;e++){var f=a[e]||"",h=b[e]||"",j=new RegExp("(\\d*)(\\D*)","g"),k=new RegExp("(\\d*)(\\D*)","g");do{var m=j.exec(f)||["","",""],o=k.exec(h)||["","",""];if(m[0].length==0&&o[0].length==0)break;c=Ka(m[1].length==0?0:parseInt(m[1],10),o[1].length==0?0:parseInt(o[1],10))||Ka(m[2].length==0,o[2].length==0)||
Ka(m[2],o[2])}while(c==0)}return c}function Ka(a,b){if(a<b)return-1;else if(a>b)return 1;return 0}var La=v();var Ma,Na,Oa,Pa,Qa,Ra,Sa;function Ta(){return l.navigator?l.navigator.userAgent:null}function Ua(){return l.navigator}Qa=Pa=Oa=Na=Ma=false;var Va;if(Va=Ta()){var Wa=Ua();Ma=Va.indexOf("Opera")==0;Na=!Ma&&Va.indexOf("MSIE")!=-1;Pa=(Oa=!Ma&&Va.indexOf("WebKit")!=-1)&&Va.indexOf("Mobile")!=-1;Qa=!Ma&&!Oa&&Wa.product=="Gecko"}var Xa=Ma,A=Na,B=Qa,C=Oa,Ya=Pa,Za,$a=Ua();Za=$a&&$a.platform||"";Ra=Za.indexOf("Mac")!=-1;Sa=Za.indexOf("Win")!=-1;
var ab=!!Ua()&&(Ua().appVersion||"").indexOf("X11")!=-1,bb,cb="",db;if(Xa&&l.opera){var eb=l.opera.version;cb=typeof eb=="function"?eb():eb}else{if(B)db=/rv\:([^\);]+)(\)|;)/;else if(A)db=/MSIE\s+([^\);]+)(\)|;)/;else if(C)db=/WebKit\/(\S+)/;if(db){var fb=db.exec(Ta());cb=fb?fb[1]:""}}bb=cb;var gb={};function D(a){return gb[a]||(gb[a]=Ja(bb,a)>=0)};function hb(a){return a?new ib(jb(a)):sa||(sa=new ib)}
function E(a,b,c){c=c||document;a=a&&a!="*"?a.toUpperCase():"";if(c.querySelectorAll&&(a||b)&&(!C||kb(document)||D("528")))b=c.querySelectorAll(a+(b?"."+b:""));else if(b&&c.getElementsByClassName){c=c.getElementsByClassName(b);if(a){for(var d={},e=0,f=0,h;h=c[f];f++)if(a==h.nodeName)d[e++]=h;d.length=e;b=d}else b=c}else{c=c.getElementsByTagName(a||"*");if(b){d={};for(f=e=0;h=c[f];f++){a=h.className;if(typeof a.split=="function"&&na(a.split(/\s+/),b)>=0)d[e++]=h}d.length=e;b=d}else b=c}return b}
function lb(a,b){ua(b,function(c,d){if(d=="style")a.style.cssText=c;else if(d=="class")a.className=c;else if(d=="for")a.htmlFor=c;else if(d in mb)a.setAttribute(mb[d],c);else a[d]=c})}var mb={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",height:"height",width:"width",usemap:"useMap",frameborder:"frameBorder",type:"type"};function nb(a){a=!C&&kb(a)?a.documentElement:a.body;return new ta(a.scrollLeft,a.scrollTop)}
function ob(){return pb(document,arguments)}function pb(a,b){var c=b[0],d=b[1];if(A&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',Da(d.name),'"');if(d.type){c.push(' type="',Da(d.type),'"');d=ma(d);delete d.type}c.push(">");c=c.join("")}var e=a.createElement(c);if(d)if(p(d))e.className=d;else lb(e,d);if(b.length>2){d=function(h){if(h)e.appendChild(p(h)?a.createTextNode(h):h)};for(c=2;c<b.length;c++){var f=b[c];ha(f)&&!(ja(f)&&f.nodeType>0)?y(qb(f)?ra(f):f,d):d(f)}}return e}
function kb(a){return a.compatMode=="CSS1Compat"}function rb(a){return a&&a.parentNode?a.parentNode.removeChild(a):null}function jb(a){return a.nodeType==9?a:a.ownerDocument||a.document}function sb(a,b){var c=[];tb(a,b,c,false);return c}function tb(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 true}if(tb(f,b,c,d))return true}return false}var ub={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},vb={IMG:" ",BR:"\n"};
function wb(a){if(A&&"innerText"in a)a=a.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var b=[];xb(a,b,true);a=b.join("")}a=a.replace(/\xAD/g,"");a=a.replace(/ +/g," ");if(a!=" ")a=a.replace(/^\s*/,"");return a}function xb(a,b,c){if(!(a.nodeName in ub))if(a.nodeType==3)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in vb)b.push(vb[a.nodeName]);else for(a=a.firstChild;a;){xb(a,b,c);a=a.nextSibling}}
function qb(a){if(a&&typeof a.length=="number")if(ja(a))return typeof a.item=="function"||typeof a.item=="string";else if(ia(a))return typeof a.item=="function";return false}function ib(a){this.D=a||l.document||document}ib.prototype.a=function(a){return p(a)?this.D.getElementById(a):a};ib.prototype.q=function(){return pb(this.D,arguments)};ib.prototype.createElement=function(a){return this.D.createElement(a)};ib.prototype.createTextNode=function(a){return this.D.createTextNode(a)};
function yb(a){return kb(a.D)}ib.prototype.appendChild=function(a,b){a.appendChild(b)};function zb(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}zb.prototype.u=function(){return new zb(this.top,this.right,this.bottom,this.left)};zb.prototype.toString=function(){return"("+this.top+"t, "+this.right+"r, "+this.bottom+"b, "+this.left+"l)"};function F(){this.j=[];this.e=[];this.S=[]}F.prototype.oa=null;F.prototype.C=null;F.prototype.Pa=true;var Ab=[];Ab[0]=2;Ab[1]=2;Ab[2]=6;Ab[3]=6;Ab[4]=0;g=F.prototype;g.moveTo=function(a,b){if(this.j[this.j.length-1]==0)this.S.length-=2;else{this.j.push(0);this.e.push(1)}this.S.push(a,b);this.C=this.oa=[a,b];return this};
g.lineTo=function(){var a=this.j[this.j.length-1];if(a==null)throw Error("Path cannot start with lineTo");if(a!=1){this.j.push(1);this.e.push(0)}for(a=0;a<arguments.length;a+=2){var b=arguments[a],c=arguments[a+1];this.S.push(b,c)}this.e[this.e.length-1]+=a/2;this.C=[b,c];return this};
g.sb=function(){var a=this.j[this.j.length-1];if(a==null)throw Error("Path cannot start with curve");if(a!=2){this.j.push(2);this.e.push(0)}for(a=0;a<arguments.length;a+=6){var b=arguments[a+4],c=arguments[a+5];this.S.push(arguments[a],arguments[a+1],arguments[a+2],arguments[a+3],b,c)}this.e[this.e.length-1]+=a/6;this.C=[b,c];return this};g.close=function(){var a=this.j[this.j.length-1];if(a==null)throw Error("Path cannot start with close");if(a!=4){this.j.push(4);this.e.push(1);this.C=this.oa}return this};
g.ac=function(a,b,c,d){var e=this.C[0]-a*Math.cos(c*Math.PI/180),f=this.C[1]-b*Math.sin(c*Math.PI/180),h=d*Math.PI/180;d=Math.ceil(Math.abs(h)/Math.PI*2);h=h/d;c=c*Math.PI/180;for(var j=0;j<d;j++){var k=Math.cos(c),m=Math.sin(c),o=4/3*Math.sin(h/2)/(1+Math.cos(h/2)),t=e+(k-o*m)*a,u=f+(m+o*k)*b;c+=h;k=Math.cos(c);m=Math.sin(c);this.sb(t,u,e+(k+o*m)*a,f+(m-o*k)*b,e+k*a,f+m*b)}return this};
function Bb(a,b){for(var c=a.S,d=0,e=0,f=a.j.length;e<f;e++){var h=a.j[e],j=Ab[h]*a.e[e];b(h,c.slice(d,d+j));d+=j}}F.prototype.u=function(){var a=new this.constructor;a.j=this.j.concat();a.e=this.e.concat();a.S=this.S.concat();a.oa=this.oa&&this.oa.concat();a.C=this.C&&this.C.concat();a.Pa=this.Pa;return a};var Cb={};Cb[0]=F.prototype.moveTo;Cb[1]=F.prototype.lineTo;Cb[4]=F.prototype.close;Cb[2]=F.prototype.sb;Cb[3]=F.prototype.ac;
function Db(a){if(a.Pa)return a.u();var b=new F;Bb(a,function(c,d){Cb[c].apply(b,d)});return b};function G(a,b){var c=jb(a);if(c.defaultView&&c.defaultView.getComputedStyle)if(a=c.defaultView.getComputedStyle(a,""))return a[b];return null}function Eb(a,b){return G(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style[b]}function Fb(a,b,c){var d,e=B&&(Ra||ab)&&D("1.9");if(b instanceof ta){d=b.x;b=b.y}else{d=b;b=c}a.style.left=typeof d=="number"?(e?Math.round(d):d)+"px":d;a.style.top=typeof b=="number"?(e?Math.round(b):b)+"px":b}
function Gb(a){if(A)return a.offsetParent;var b=jb(a),c=Eb(a,"position"),d=c=="fixed"||c=="absolute";for(a=a.parentNode;a&&a!=b;a=a.parentNode){c=Eb(a,"position");d=d&&c=="static"&&a!=b.documentElement&&a!=b.body;if(!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||c=="fixed"||c=="absolute"))return a}return null}
function Hb(a,b,c){if(b instanceof z){c=b.height;b=b.width}else{if(c==undefined)throw Error("missing height argument");c=c}a.style.width=typeof b=="number"?Math.round(b)+"px":b;a.style.height=typeof c=="number"?Math.round(c)+"px":c}
function Ib(a){var b=Xa&&!D("10");if(Eb(a,"display")!="none")return b?new z(a.offsetWidth||a.clientWidth,a.offsetHeight||a.clientHeight):new z(a.offsetWidth,a.offsetHeight);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";if(b){b=a.offsetWidth||a.clientWidth;a=a.offsetHeight||a.clientHeight}else{b=a.offsetWidth;a=a.offsetHeight}c.display=d;c.position=f;c.visibility=e;return new z(b,a)}
function Jb(a,b,c,d){if(/^\d+px?$/.test(b))return parseInt(b,10);else{var e=a.style[c],f=a.runtimeStyle[c];a.runtimeStyle[c]=a.currentStyle[c];a.style[c]=b;b=a.style[d];a.style[c]=e;a.runtimeStyle[c]=f;return b}}function Kb(a,b){return Jb(a,a.currentStyle?a.currentStyle[b]:null,"left","pixelLeft")}var Lb={thin:2,medium:4,thick:6};
function Mb(a,b){if((a.currentStyle?a.currentStyle[b+"Style"]:null)=="none")return 0;b=a.currentStyle?a.currentStyle[b+"Width"]:null;if(b in Lb)return Lb[b];return Jb(a,b,"left","pixelLeft")};function Nb(){}Nb.prototype.vb=false;Nb.prototype.V=function(){if(!this.vb){this.vb=true;this.b()}};Nb.prototype.b=function(){};function H(a,b){this.type=a;this.currentTarget=this.target=b}w(H,Nb);H.prototype.b=function(){delete this.type;delete this.target;delete this.currentTarget};H.prototype.ka=false;H.prototype.ma=true;H.prototype.preventDefault=function(){this.ma=false};function I(a,b){a&&this.N(a,b)}w(I,H);g=I.prototype;g.target=null;g.relatedTarget=null;g.offsetX=0;g.offsetY=0;g.clientX=0;g.clientY=0;g.screenX=0;g.screenY=0;g.button=0;g.keyCode=0;g.charCode=0;g.ctrlKey=false;g.altKey=false;g.shiftKey=false;g.metaKey=false;g.Ea=null;
g.N=function(a,b){var c=this.type=a.type;this.target=a.target||a.srcElement;this.currentTarget=b;if(b=a.relatedTarget){if(B)try{b=b.nodeName&&b}catch(d){b=null}}else if(c=="mouseover")b=a.fromElement;else if(c=="mouseout")b=a.toElement;this.relatedTarget=b;this.offsetX=a.offsetX!==undefined?a.offsetX:a.layerX;this.offsetY=a.offsetY!==undefined?a.offsetY:a.layerY;this.clientX=a.clientX!==undefined?a.clientX:a.pageX;this.clientY=a.clientY!==undefined?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.Ea=a;delete this.ma;delete this.ka};var Ob=A&&!D("8");I.prototype.preventDefault=function(){this.ma=false;var a=this.Ea;if(a.preventDefault)a.preventDefault();else{a.returnValue=false;if(Ob)try{if(a.ctrlKey||a.keyCode>=112&&a.keyCode<=123)a.keyCode=-1}catch(b){}}};
I.prototype.b=function(){I.h.b.call(this);this.relatedTarget=this.currentTarget=this.target=this.Ea=null};function Pb(){}var Qb=0;g=Pb.prototype;g.key=0;g.la=false;g.Wa=false;g.N=function(a,b,c,d,e,f){if(ia(a))this.Db=true;else if(a&&a.handleEvent&&ia(a.handleEvent))this.Db=false;else throw Error("Invalid listener argument");this.ja=a;this.Rb=b;this.src=c;this.type=d;this.capture=!!e;this.Ia=f;this.Wa=false;this.key=++Qb;this.la=false};g.handleEvent=function(a){if(this.Db)return this.ja.call(this.Ia||this.src,a);return this.ja.handleEvent.call(this.ja,a)};function J(a,b){this.Jb=b;this.W=[];if(a>this.Jb)throw Error("[goog.structs.SimplePool] Initial cannot be greater than max");for(b=0;b<a;b++)this.W.push(this.B?this.B():{})}w(J,Nb);J.prototype.B=null;J.prototype.ub=null;function Rb(a){if(a.W.length)return a.W.pop();return a.B?a.B():{}}function Sb(a,b){a.W.length<a.Jb?a.W.push(b):Tb(a,b)}function Tb(a,b){if(a.ub)a.ub(b);else if(ia(b.V))b.V();else for(var c in b)delete b[c]}
J.prototype.b=function(){J.h.b.call(this);for(var a=this.W;a.length;)Tb(this,a.pop());delete this.W};var Ub;var Vb=(Ub="ScriptEngine"in l&&l.ScriptEngine()=="JScript")?l.ScriptEngineMajorVersion()+"."+l.ScriptEngineMinorVersion()+"."+l.ScriptEngineBuildVersion():"0";var Wb,Xb,Yb,Zb,$b,ac,bc,cc,dc,ec,fc;
(function(){function a(){return{e:0,t:0}}function b(){return[]}function c(){function u(he){return h.call(u.src,u.key,he)}return u}function d(){return new Pb}function e(){return new I}var f=Ub&&!(Ja(Vb,"5.7")>=0),h;ac=function(u){h=u};if(f){Wb=function(){return Rb(j)};Xb=function(u){Sb(j,u)};Yb=function(){return Rb(k)};Zb=function(u){Sb(k,u)};$b=function(){return Rb(m)};bc=function(){Sb(m,c())};cc=function(){return Rb(o)};dc=function(u){Sb(o,u)};ec=function(){return Rb(t)};fc=function(u){Sb(t,u)};
var j=new J(0,600);j.B=a;var k=new J(0,600);k.B=b;var m=new J(0,600);m.B=c;var o=new J(0,600);o.B=d;var t=new J(0,600);t.B=e}else{Wb=a;Xb=ea;Yb=b;Zb=ea;$b=c;bc=ea;cc=d;dc=ea;ec=e;fc=ea}})();var gc={},K={},L={},hc={};
function M(a,b,c,d,e){if(b)if(n(b)){for(var f=0;f<b.length;f++)M(a,b[f],c,d,e);return null}else{d=!!d;var h=K;b in h||(h[b]=Wb());h=h[b];if(!(d in h)){h[d]=Wb();h.e++}h=h[d];var j=r(a),k;h.t++;if(h[j]){k=h[j];for(f=0;f<k.length;f++){h=k[f];if(h.ja==c&&h.Ia==e){if(h.la)break;return k[f].key}}}else{k=h[j]=Yb();h.e++}f=$b();f.src=a;h=cc();h.N(c,f,a,b,d,e);c=h.key;f.key=c;k.push(h);gc[c]=h;L[j]||(L[j]=Yb());L[j].push(h);if(a.addEventListener){if(a==l||!a.Ya)a.addEventListener(b,f,d)}else a.attachEvent(ic(b),
f);return c}else throw Error("Invalid event type");}function jc(a,b,c,d,e){if(n(b)){for(var f=0;f<b.length;f++)jc(a,b[f],c,d,e);return null}a=M(a,b,c,d,e);gc[a].Wa=true;return a}function kc(a,b,c,d,e){if(n(b)){for(var f=0;f<b.length;f++)kc(a,b[f],c,d,e);return null}d=!!d;a=lc(a,b,d);if(!a)return false;for(f=0;f<a.length;f++)if(a[f].ja==c&&a[f].capture==d&&a[f].Ia==e)return mc(a[f].key);return false}
function mc(a){if(!gc[a])return false;var b=gc[a];if(b.la)return false;var c=b.src,d=b.type,e=b.Rb,f=b.capture;if(c.removeEventListener){if(c==l||!c.Ya)c.removeEventListener(d,e,f)}else c.detachEvent&&c.detachEvent(ic(d),e);c=r(c);e=K[d][f][c];if(L[c]){var h=L[c];pa(h,b);h.length==0&&delete L[c]}b.la=true;e.Lb=true;nc(d,f,c,e);delete gc[a];return true}
function nc(a,b,c,d){if(!d.Ma)if(d.Lb){for(var e=0,f=0;e<d.length;e++)if(d[e].la){var h=d[e].Rb;h.src=null;bc(h);dc(d[e])}else{if(e!=f)d[f]=d[e];f++}d.length=f;d.Lb=false;if(f==0){Zb(d);delete K[a][b][c];K[a][b].e--;if(K[a][b].e==0){Xb(K[a][b]);delete K[a][b];K[a].e--}if(K[a].e==0){Xb(K[a]);delete K[a]}}}}
function oc(a,b,c){var d=0,e=a==null,f=b==null,h=c==null;c=!!c;if(e)ua(L,function(k){for(var m=k.length-1;m>=0;m--){var o=k[m];if((f||b==o.type)&&(h||c==o.capture)){mc(o.key);d++}}});else{a=r(a);if(L[a]){a=L[a];for(e=a.length-1;e>=0;e--){var j=a[e];if((f||b==j.type)&&(h||c==j.capture)){mc(j.key);d++}}}}return d}function lc(a,b,c){var d=K;if(b in d){d=d[b];if(c in d){d=d[c];a=r(a);if(d[a])return d[a]}}return null}function ic(a){if(a in hc)return hc[a];return hc[a]="on"+a}
function pc(a,b,c,d,e){var f=1;b=r(b);if(a[b]){a.t--;a=a[b];if(a.Ma)a.Ma++;else a.Ma=1;try{for(var h=a.length,j=0;j<h;j++){var k=a[j];if(k&&!k.la)f&=qc(k,e)!==false}}finally{a.Ma--;nc(c,d,b,a)}}return Boolean(f)}function qc(a,b){b=a.handleEvent(b);a.Wa&&mc(a.key);return b}
ac(function(a,b){if(!gc[a])return true;a=gc[a];var c=a.type,d=K;if(!(c in d))return true;d=d[c];var e,f;if(A){e=b||da("window.event");b=true in d;var h=false in d;if(b){if(e.keyCode<0||e.returnValue!=undefined)return true;a:{var j=false;if(e.keyCode==0)try{e.keyCode=-1;break a}catch(k){j=true}if(j||e.returnValue==undefined)e.returnValue=true}}j=ec();j.N(e,this);e=true;try{if(b){for(var m=Yb(),o=j.currentTarget;o;o=o.parentNode)m.push(o);f=d[true];f.t=f.e;for(var t=m.length-1;!j.ka&&t>=0&&f.t;t--){j.currentTarget=
m[t];e&=pc(f,m[t],c,true,j)}if(h){f=d[false];f.t=f.e;for(t=0;!j.ka&&t<m.length&&f.t;t++){j.currentTarget=m[t];e&=pc(f,m[t],c,false,j)}}}else e=qc(a,j)}finally{if(m){m.length=0;Zb(m)}j.V();fc(j)}return e}f=new I(b,this);try{e=qc(a,f)}finally{f.V()}return e});function rc(a){this.X=a}w(rc,Nb);var sc=new J(0,100);g=rc.prototype;g.gb=function(a,b,c,d,e){if(n(b))for(var f=0;f<b.length;f++)this.gb(a,b[f],c,d,e);else{a=M(a,b,c||this,d||false,e||this.X||this);if(this.c)this.c[a]=true;else if(this.O){this.c=Rb(sc);this.c[this.O]=true;this.O=null;this.c[a]=true}else this.O=a}return this};
g.Vb=function(a,b,c,d,e){if(this.O||this.c)if(n(b))for(var f=0;f<b.length;f++)this.Vb(a,b[f],c,d,e);else{a:{c=c||this;e=e||this.X||this;d=!!(d||false);if(a=lc(a,b,d))for(b=0;b<a.length;b++)if(a[b].ja==c&&a[b].capture==d&&a[b].Ia==e){a=a[b];break a}a=null}if(a){a=a.key;mc(a);if(this.c)ya(this.c,a);else if(this.O==a)this.O=null}}return this};g.Sb=function(){if(this.c){for(var a in this.c){mc(a);delete this.c[a]}Sb(sc,this.c);this.c=null}else this.O&&mc(this.O)};g.b=function(){rc.h.b.call(this);this.Sb()};
g.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};function N(){}w(N,Nb);g=N.prototype;g.Ya=true;g.Na=null;g.nb=aa("Na");g.addEventListener=function(a,b,c,d){M(this,a,b,c,d)};g.removeEventListener=function(a,b,c,d){kc(this,a,b,c,d)};
g.dispatchEvent=function(a){a=a;if(p(a))a=new H(a,this);else if(a instanceof H)a.target=a.target||this;else{var b=a;a=new H(a.type,this);Ba(a,b)}b=1;var c,d=a.type,e=K;if(d in e){e=e[d];d=true in e;var f;if(d){c=[];for(f=this;f;f=f.Na)c.push(f);f=e[true];f.t=f.e;for(var h=c.length-1;!a.ka&&h>=0&&f.t;h--){a.currentTarget=c[h];b&=pc(f,c[h],a.type,true,a)&&a.ma!=false}}if(false in e){f=e[false];f.t=f.e;if(d)for(h=0;!a.ka&&h<c.length&&f.t;h++){a.currentTarget=c[h];b&=pc(f,c[h],a.type,false,a)&&a.ma!=
false}else for(c=this;!a.ka&&c&&f.t;c=c.Na){a.currentTarget=c;b&=pc(f,c,a.type,false,a)&&a.ma!=false}}a=Boolean(b)}else a=true;return a};g.b=function(){N.h.b.call(this);oc(this);this.Na=null};function tc(){}fa(tc);tc.prototype.tc=0;tc.fa();function uc(a){this.v=a||hb();this.Dc=vc}w(uc,N);uc.prototype.mc=tc.fa();var vc=null;g=uc.prototype;g.ga=null;g.v=null;g.m=false;g.f=null;g.Dc=null;g.rc=null;g.r=null;g.l=null;g.Aa=null;g.Nc=false;g.a=ba("f");g.nb=function(a){if(this.r&&this.r!=a)throw Error("Method not supported");uc.h.nb.call(this,a)};g.q=function(){this.f=this.v.createElement("div")};g.L=function(){this.m=true;this.l&&y(this.l,function(a){!a.m&&a.a()&&a.L()},void 0)};
g.pa=function(){this.l&&y(this.l,function(a){a.m&&a.pa()},void 0);this.Ga&&this.Ga.Sb();this.m=false};g.b=function(){uc.h.b.call(this);this.m&&this.pa();if(this.Ga){this.Ga.V();delete this.Ga}this.l&&y(this.l,function(a){a.V()},void 0);!this.Nc&&this.f&&rb(this.f);this.r=this.rc=this.f=this.Aa=this.l=null};
g.removeChild=function(a,b){if(a){var c=p(a)?a:a.ga||(a.ga=":"+(a.mc.tc++).toString(36));a=this.Aa&&c?za(this.Aa,c)||null:null;if(c&&a){ya(this.Aa,c);pa(this.l,a);if(b){a.pa();a.f&&rb(a.f)}b=a;if(b==null)throw Error("Unable to set parent component");b.r=null;uc.h.nb.call(b,null)}}if(!a)throw Error("Child is not in parent component");return a};function O(a,b,c,d,e){uc.call(this,e);this.width=a;this.height=b;this.n=c||null;this.ea=d||null}w(O,uc);O.prototype.k=null;O.prototype.K=0;O.prototype.U=0;O.prototype.p=function(){if(this.m)return Ib(this.a());if(q(this.width)&&q(this.height))return new z(this.width,this.height);return null};function wc(a){var b=a.p();return b?b.width/(a.n?new z(a.n,a.ea):a.p()).width:0};function xc(a,b,c,d,e,f){if(arguments.length==6)this.setTransform(a,b,c,d,e,f);else if(arguments.length!=0)throw Error("Insufficient matrix parameters");else{this.F=this.H=1;this.w=this.G=this.P=this.Q=0}}g=xc.prototype;g.u=function(){return new xc(this.F,this.w,this.G,this.H,this.P,this.Q)};g.setTransform=function(a,b,c,d,e,f){if(!q(a)||!q(b)||!q(c)||!q(d)||!q(e)||!q(f))throw Error("Invalid transform parameters");this.F=a;this.w=b;this.G=c;this.H=d;this.P=e;this.Q=f;return this};
g.scale=function(a,b){this.F*=a;this.w*=a;this.G*=b;this.H*=b;return this};g.translate=function(a,b){this.P+=a*this.F+b*this.G;this.Q+=a*this.w+b*this.H;return this};g.rotate=function(a,b,c){var d=new xc,e=Math.cos(a);a=Math.sin(a);b=d.setTransform(e,a,-a,e,b-b*e+c*a,c-b*a-c*e);c=this.F;d=this.G;this.F=b.F*c+b.w*d;this.G=b.G*c+b.H*d;this.P+=b.P*c+b.Q*d;c=this.w;d=this.H;this.w=b.F*c+b.w*d;this.H=b.G*c+b.H*d;this.Q+=b.P*c+b.Q*d;return this};
g.toString=function(){return"matrix("+[this.F,this.w,this.G,this.H,this.P,this.Q].join(",")+")"};function P(a,b){this.f=a;this.M=b;this.Ya=false}w(P,N);g=P.prototype;g.M=null;g.f=null;g.Ub=null;g.a=ba("f");g.addEventListener=function(a,b,c,d){M(this.f,a,b,c,d)};g.removeEventListener=function(a,b,c,d){kc(this.f,a,b,c,d)};g.b=function(){P.h.b.call(this);oc(this.f)};function Q(a,b,c,d){P.call(this,a,b);this.Gc(c);this.Fc(d)}w(Q,P);g=Q.prototype;g.ab=null;g.ob=null;g.Fc=function(a){this.ab=a;this.M.lb(this,a)};g.hc=ba("ab");g.Gc=function(a){this.ob=a;this.M.mb(this,a)};g.jc=ba("ob");function yc(a,b,c,d){Q.call(this,a,b,c,d)}w(yc,Q);function zc(a,b){P.call(this,a,b)}w(zc,P);function Ac(a,b){P.call(this,a,b)}w(Ac,P);function Bc(a,b,c,d){Q.call(this,a,b,c,d)}w(Bc,Q);function Cc(a,b,c,d){Q.call(this,a,b,c,d)}w(Cc,Q);function Dc(a,b,c,d){Q.call(this,a,b,c,d)}w(Dc,Q);function Ec(a){P.call(this,null,a);this.l=[]}w(Ec,zc);Ec.prototype.appendChild=function(a){this.l.push(a)};Ec.prototype.draw=function(){for(var a=0,b=this.l.length;a<b;a++)Fc(this.M,this.l[a])};function Gc(a,b,c,d,e){Q.call(this,a,b,d,e);this.setPath(c)}w(Gc,Bc);Gc.prototype.Ca=false;Gc.prototype.setPath=function(a){this.yc=a.Pa?a:Db(a);this.Ca&&this.M.s()};
Gc.prototype.draw=function(a){this.Ca=true;a.beginPath();Bb(this.yc,function(b,c){switch(b){case 0:a.moveTo(c[0],c[1]);break;case 1:for(b=0;b<c.length;b+=2)a.lineTo(c[b],c[b+1]);break;case 2:for(b=0;b<c.length;b+=6)a.bezierCurveTo(c[b],c[b+1],c[b+2],c[b+3],c[b+4],c[b+5]);break;case 3:throw Error("Canvas paths cannot contain arcs");case 4:a.closePath();break}})};function Hc(a,b,c,d,e,f,h){P.call(this,a,b);this.Oc=c;this.Pc=d;this.Wb=e;this.zb=f;this.Ic=h}w(Hc,Ac);Hc.prototype.Ca=false;
Hc.prototype.draw=function(a){if(this.Bb){this.Wb&&this.zb&&a.drawImage(this.Bb,this.Oc,this.Pc,this.Wb,this.zb);this.Ca=true}else{a=new Image;a.onload=s(this.lc,this,a);a.src=this.Ic}};Hc.prototype.lc=function(a){this.Bb=a;this.M.s()};function Ic(a,b){this.A=a;this.ta=b||1}w(Ic,function(){});function R(a,b,c,d,e){O.call(this,a,b,c,d,e)}w(R,O);R.prototype.lb=function(){this.s()};R.prototype.mb=function(){this.s()};function Jc(a,b){a=a.getContext();a.save();b=b.Ub?b.Ub.u():new xc;var c=b.P,d=b.Q;if(c||d)a.translate(c,d);(b=b.w)&&a.rotate(Math.asin(b))}R.prototype.q=function(){var a=this.v.q("div",{style:"position:relative;overflow:hidden"});this.f=a;this.na=this.v.q("canvas");a.appendChild(this.na);this.pc=this.k=new Ec(this);this.Bc=0;Kc(this)};
R.prototype.getContext=function(){this.a()||this.q();if(!this.da){this.da=this.na.getContext("2d");this.da.save()}return this.da};R.prototype.p=function(){var a=this.width,b=this.height,c=p(a)&&a.indexOf("%")!=-1,d=p(b)&&b.indexOf("%")!=-1;if(!this.m&&(c||d))return null;var e,f;if(c){e=this.a().parentNode;f=Ib(e);a=parseFloat(a)*f.width/100}if(d){e=e||this.a().parentNode;f=f||Ib(e);b=parseFloat(b)*f.height/100}return new z(a,b)};
function Kc(a){Hb(a.a(),a.width,a.height);var b=a.p();if(b){Hb(a.na,b.width,b.height);a.na.width=b.width;a.na.height=b.height;a.da=null}}R.prototype.reset=function(){var a=this.getContext();a.restore();var b=this.p();b.width&&b.height&&a.clearRect(0,0,b.width,b.height);a.save()};
R.prototype.s=function(){if(this.Yc)this.Xc=true;else if(this.m){this.reset();if(this.n){var a=this.p();this.getContext().scale(a.width/this.n,a.height/this.ea)}if(this.K||this.U)this.getContext().translate(-this.K,-this.U);Jc(this,this.k);this.k.draw(this.da);this.getContext().restore()}};
function Fc(a,b){var c=a.getContext();Jc(a,b);if(!b.hc||!b.jc)b.draw(c);else{var d=b.ab;if(d)if(d instanceof Ic){if(d.ta!=0){c.globalAlpha=d.ta;c.fillStyle=d.A;b.draw(c);c.fill();c.globalAlpha=1}}else{var e=c.createLinearGradient(d.dd,d.fd,d.ed,d.gd);e.addColorStop(0,d.Qc);e.addColorStop(1,d.Rc);c.fillStyle=e;b.draw(c);c.fill()}if(d=b.ob){b.draw(c);c.strokeStyle=d.A;b=d.Xb;if(p(b)&&b.indexOf("px")!=-1)b=parseFloat(b)/wc(a);c.lineWidth=b;c.stroke()}}a.getContext().restore()}g=R.prototype;
g.J=function(a,b){b=b||this.k;b.appendChild(a);this.m&&!this.Bc&&!(b!=this.k&&b!=this.pc)&&Fc(this,a)};g.drawImage=function(a,b,c,d,e,f){a=new Hc(null,this,a,b,c,d,e);this.J(a,f);return a};g.Za=function(a,b,c,d){a=new Gc(null,this,a,b,c);this.J(a,d);return a};g.b=function(){this.da=null;R.h.b.call(this)};g.L=function(){var a=this.p();R.h.L.call(this);if(!a){Kc(this);this.dispatchEvent("resize")}this.s()};function Lc(a,b){this.Ka=a||1;this.xa=b||S;this.Va=s(this.Jc,this);this.fb=v()}w(Lc,N);Lc.prototype.enabled=false;var S=l.window;g=Lc.prototype;g.ba=null;g.Jc=function(){if(this.enabled){var a=v()-this.fb;if(a>0&&a<this.Ka*0.8)this.ba=this.xa.setTimeout(this.Va,this.Ka-a);else{this.dispatchEvent(Mc);if(this.enabled){this.ba=this.xa.setTimeout(this.Va,this.Ka);this.fb=v()}}}};g.start=function(){this.enabled=true;if(!this.ba){this.ba=this.xa.setTimeout(this.Va,this.Ka);this.fb=v()}};
g.stop=function(){this.enabled=false;if(this.ba){this.xa.clearTimeout(this.ba);this.ba=null}};g.b=function(){Lc.h.b.call(this);this.stop();delete this.xa};var Mc="tick";function Nc(a,b){P.call(this,a,b)}w(Nc,zc);w(function(a,b,c,d){Q.call(this,a,b,c,d)},yc);w(function(a,b,c,d){Q.call(this,a,b,c,d)},Cc);function Oc(a,b,c,d){Q.call(this,a,b,c,d)}w(Oc,Bc);Oc.prototype.setPath=function(a){Pc(this.M,this.a(),{d:Qc(a)})};w(function(a,b,c,d){Q.call(this,a,b,c,d)},Dc);function Rc(a,b){P.call(this,a,b)}w(Rc,Ac);function T(a,b,c,d,e){O.call(this,a,b,c,d,e);this.cc={};this.qb=C&&!D(526);this.X=new rc(this)}var Sc;w(T,O);function Tc(a,b,c){b=a.v.D.createElementNS("http://www.w3.org/2000/svg",b);c&&Pc(a,b,c);return b}function Pc(a,b,c){for(var d in c)b.setAttribute(d,c[d])}g=T.prototype;g.J=function(a,b){(b||this.k).a().appendChild(a.a())};g.lb=function(a,b){a=a.a();if(b instanceof Ic){a.setAttribute("fill",b.A);a.setAttribute("fill-opacity",b.ta)}else a.setAttribute("fill","none")};
g.mb=function(a,b){a=a.a();if(b){a.setAttribute("stroke",b.A);b=b.Xb;p(b)&&b.indexOf("px")!=-1?a.setAttribute("stroke-width",parseFloat(b)/wc(this)):a.setAttribute("stroke-width",b)}else a.setAttribute("stroke","none")};
g.q=function(){var a=Tc(this,"svg",{width:this.width,height:this.height,overflow:"hidden"}),b=Tc(this,"g");this.tb=Tc(this,"defs");this.k=new Nc(b,this);a.appendChild(this.tb);a.appendChild(b);this.f=a;if(this.n||this.K||this.U){this.a().setAttribute("preserveAspectRatio","none");this.qb?this.Sa():this.a().setAttribute("viewBox",this.K+" "+this.U+" "+(this.n?this.n+" "+this.ea:""))}};
g.Sa=function(){if(this.m&&(this.n||this.K||!this.U)){var a=this.p();if(a.width==0)this.a().style.visibility="hidden";else{this.a().style.visibility="";var b=-this.K,c=-this.U,d=a.width/this.n;a=a.height/this.ea;this.k.a().setAttribute("transform","scale("+d+" "+a+") translate("+b+" "+c+")")}}};
g.p=function(){if(!B)return Ib(this.a());var a=this.width,b=this.height,c=p(a)&&a.indexOf("%")!=-1,d=p(b)&&b.indexOf("%")!=-1;if(!this.m&&(c||d))return null;var e,f;if(c){e=this.a().parentNode;f=Ib(e);a=parseFloat(a)*f.width/100}if(d){e=e||this.a().parentNode;f=f||Ib(e);b=parseFloat(b)*f.height/100}return new z(a,b)};
g.drawImage=function(a,b,c,d,e,f){a=Tc(this,"image",{x:a,y:b,width:c,height:d,"image-rendering":"optimizeQuality",preserveAspectRatio:"none"});a.setAttributeNS("http://www.w3.org/1999/xlink","href",e);e=new Rc(a,this);this.J(e,f);return e};g.Za=function(a,b,c,d){a=Tc(this,"path",{d:Qc(a)});b=new Oc(a,this,b,c);this.J(b,d);return b};
function Qc(a){var b=[];Bb(a,function(c,d){switch(c){case 0:b.push("M");Array.prototype.push.apply(b,d);break;case 1:b.push("L");Array.prototype.push.apply(b,d);break;case 2:b.push("C");Array.prototype.push.apply(b,d);break;case 3:c=d[3];b.push("A",d[0],d[1],0,Math.abs(c)>180?1:0,c>0?1:0,d[4],d[5]);break;case 4:b.push("Z");break}});return b.join(" ")}
T.prototype.L=function(){var a=this.p();T.h.L.call(this);a||this.dispatchEvent("resize");if(this.qb){a=this.width;var b=this.height;typeof a=="string"&&a.indexOf("%")!=-1&&typeof b=="string"&&b.indexOf("%")!=-1&&this.X.gb(Uc(),Mc,this.Sa);this.Sa()}};T.prototype.pa=function(){T.h.pa.call(this);this.qb&&this.X.Vb(Uc(),Mc,this.Sa)};T.prototype.b=function(){delete this.cc;delete this.tb;delete this.k;T.h.b.call(this)};function Uc(){if(!Sc){Sc=new Lc(400);Sc.start()}return Sc};function Vc(){return this.f=this.M.v.a(this.ga)||this.f}function Wc(a,b){this.ga=a.id;P.call(this,a,b)}w(Wc,zc);Wc.prototype.a=Vc;function Xc(a,b,c,d){this.ga=a.id;Q.call(this,a,b,c,d)}w(Xc,Bc);Xc.prototype.a=Vc;Xc.prototype.setPath=function(a){Yc(this.a(),"path",Zc(a))};function $c(a,b){this.ga=a.id;P.call(this,a,b)}w($c,Ac);$c.prototype.a=Vc;function U(a,b,c,d,e){O.call(this,a,b,c,d,e);this.X=new rc(this)}w(U,O);var ad=document.documentMode&&document.documentMode>=8;function bd(a){return p(a)&&Ca(a,"%")?a:parseFloat(a.toString())+"px"}function V(a){return Math.round(parseFloat(a.toString())*100)}function Yc(a,b,c){if(ad)a[b]=c;else a.setAttribute(b,c)}function cd(a,b){a=a.v.createElement("g_vml_:"+b);a.id="goog_"+La++;return a}function dd(a){if(ad&&a.m)a.a().innerHTML=a.a().innerHTML}
U.prototype.J=function(a,b){(b||this.k).a().appendChild(a.a());dd(this)};U.prototype.lb=function(a,b){a=a.a();a.fillcolor="";for(var c=0;c<a.childNodes.length;c++){var d=a.childNodes[c];d.tagName=="fill"&&a.removeChild(d)}if(b instanceof Ic)if(b.A=="transparent")a.filled=false;else if(b.ta!=1){a.filled=true;c=cd(this,"fill");c.opacity=Math.round(b.ta*100)+"%";c.color=b.A;a.appendChild(c)}else{a.filled=true;a.fillcolor=b.A}else a.filled=false;dd(this)};
U.prototype.mb=function(a,b){a=a.a();if(b){a.stroked=true;var c=b.Xb;if(p(c)&&c.indexOf("px")==-1)c=parseFloat(c);else c*=wc(this);var d=a.getElementsByTagName("stroke")[0];if(c<1){d=d||cd(this,"stroke");d.opacity=c;d.cd="1px";d.color=b.A;a.appendChild(d)}else{d&&a.removeChild(d);a.strokecolor=b.A;a.strokeweight=c+"px"}}else a.stroked=false;dd(this)};
function ed(a,b,c,d,e){var f=a.style;f.position="absolute";f.left=Math.round((parseFloat(b.toString())-0.5)*100)+"px";f.top=Math.round((parseFloat(c.toString())-0.5)*100)+"px";f.width=V(d)+"px";f.height=V(e)+"px";if(a.tagName=="shape")a.coordsize=V(d)+" "+V(e)}try{eval("document.namespaces")}catch(fd){}g=U.prototype;
g.q=function(){var a=this.v.D;if(!a.namespaces.g_vml_){ad?a.namespaces.add("g_vml_","urn:schemas-microsoft-com:vml","#default#VML"):a.namespaces.add("g_vml_","urn:schemas-microsoft-com:vml");a.createStyleSheet().cssText="g_vml_\\:*{behavior:url(#default#VML)}"}a=this.width;var b=this.height,c=this.v.q("div",{style:"overflow:hidden;position:relative;width:"+bd(a)+";height:"+bd(b)});this.f=c;var d=cd(this,"group"),e=d.style;e.position="absolute";e.left=e.top=0;e.width=this.width;e.height=this.height;
d.coordsize=this.n?V(this.n)+" "+V(this.ea):V(a)+" "+V(b);d.coordorigin=this.K!==undefined?V(this.K)+" "+V(this.U):"0 0";c.appendChild(d);this.k=new Wc(d,this);M(c,"resize",s(this.cb,this))};g.cb=function(){var a=Ib(this.a()),b=this.k.a().style;if(a.width){b.width=a.width+"px";b.height=a.height+"px"}else{for(a=this.a();a&&a.currentStyle&&a.currentStyle.display!="none";)a=a.parentNode;a&&a.currentStyle&&this.X.gb(a,"propertychange",this.cb)}this.dispatchEvent("resize")};
g.p=function(){var a=this.a();return new z(a.style.pixelWidth||a.offsetWidth||1,a.style.pixelHeight||a.offsetHeight||1)};g.drawImage=function(a,b,c,d,e,f){var h=cd(this,"image");ed(h,a,b,c,d);Yc(h,"src",e);a=new $c(h,this);this.J(a,f);return a};g.Za=function(a,b,c,d){var e=cd(this,"shape"),f=this.n?new z(this.n,this.ea):this.p();ed(e,0,0,f.width,f.height);Yc(e,"path",Zc(a));a=new Xc(e,this,b,c);this.J(a,d);return a};
function Zc(a){var b=[];Bb(a,function(c,d){switch(c){case 0:b.push("m");Array.prototype.push.apply(b,oa(d,V));break;case 1:b.push("l");Array.prototype.push.apply(b,oa(d,V));break;case 2:b.push("c");Array.prototype.push.apply(b,oa(d,V));break;case 4:b.push("x");break;case 3:var e=d[2]+d[3];c=V(d[4]-d[0]*Math.cos(e*Math.PI/180));e=V(d[5]-d[1]*Math.sin(e*Math.PI/180));var f=V(d[0]),h=V(d[1]),j=Math.round(d[2]*-65536);d=Math.round(d[3]*-65536);b.push("ae",c,e,f,h,j,d);break}});return b.join(" ")}
U.prototype.L=function(){U.h.L.call(this);this.cb();dd(this)};U.prototype.b=function(){this.k=null;U.h.b.call(this)};function gd(a,b,c,d,e){if(Ra&&B&&!D("1.9a")){a=new R(a,b,c,d,e);a.q();return a}a=A?new U(a,b,c,d,e):C&&(!D("420")||Ya)?new R(a,b,c,d,e):new T(a,b,c,d,e);a.q();return a};function hd(a){this.f=a;this.Hb=M(this.f,B?"DOMMouseScroll":"mousewheel",this)}w(hd,N);hd.prototype.handleEvent=function(a){var b=0,c=0,d=0;a=a.Ea;if(a.type=="mousewheel"){c=1;if(A||C&&(Sa||D("532.0")))c=40;d=-a.wheelDelta/c;if(a.wheelDeltaX!==undefined){b=-a.wheelDeltaX/c;c=-a.wheelDeltaY/c}else c=d}else{d=a.detail;if(d>100)d=3;else if(d<-100)d=-3;if(a.axis!==undefined&&a.axis===a.HORIZONTAL_AXIS)b=d;else c=d}b=new id(d,a,b,c);try{this.dispatchEvent(b)}finally{b.V()}};
hd.prototype.b=function(){hd.h.b.call(this);mc(this.Hb);delete this.Hb};function id(a,b,c,d){b&&this.N(b,void 0);this.type="mousewheel";this.detail=a;this.Sc=c;this.dc=d}w(id,I);function jd(a){if(typeof a.Fa=="function")return a.Fa();if(p(a))return a.split("");if(ha(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return va(a)}function kd(a,b,c){if(typeof a.forEach=="function")a.forEach(b,c);else if(ha(a)||p(a))y(a,b,c);else{var d;if(typeof a.bb=="function")d=a.bb();else if(typeof a.Fa!="function")if(ha(a)||p(a)){d=[];for(var e=a.length,f=0;f<e;f++)d.push(f);d=d}else d=wa(a);else d=void 0;e=jd(a);f=e.length;for(var h=0;h<f;h++)b.call(c,e[h],d&&d[h],a)}};function ld(a){this.sa={};this.c=[];var b=arguments.length;if(b>1){if(b%2)throw Error("Uneven number of arguments");for(var c=0;c<b;c+=2)this.set(arguments[c],arguments[c+1])}else a&&this.Zb(a)}g=ld.prototype;g.e=0;g.Mc=0;g.Fa=function(){md(this);for(var a=[],b=0;b<this.c.length;b++)a.push(this.sa[this.c[b]]);return a};g.bb=function(){md(this);return this.c.concat()};g.bc=function(a){return Object.prototype.hasOwnProperty.call(this.sa,a)};
function md(a){if(a.e!=a.c.length){for(var b=0,c=0;b<a.c.length;){var d=a.c[b];if(Object.prototype.hasOwnProperty.call(a.sa,d))a.c[c++]=d;b++}a.c.length=c}if(a.e!=a.c.length){var e={};for(c=b=0;b<a.c.length;){d=a.c[b];if(!Object.prototype.hasOwnProperty.call(e,d)){a.c[c++]=d;e[d]=1}b++}a.c.length=c}}ld.prototype.set=function(a,b){if(!Object.prototype.hasOwnProperty.call(this.sa,a)){this.e++;this.c.push(a);this.Mc++}this.sa[a]=b};
ld.prototype.Zb=function(a){var b;if(a instanceof ld){b=a.bb();a=a.Fa()}else{b=wa(a);a=va(a)}for(var c=0;c<b.length;c++)this.set(b[c],a[c])};ld.prototype.u=function(){return new ld(this)};function nd(a){return od(a||arguments.callee.caller,[])}
function od(a,b){var c=[];if(na(b,a)>=0)c.push("[...circular reference...]");else if(a&&b.length<50){c.push(pd(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":f=f;break;case "number":f=String(f);break;case "boolean":f=f?"true":"false";break;case "function":f=(f=pd(f))?f:"[fn]";break;case "undefined":default:f=typeof f;break}if(f.length>40)f=f.substr(0,40)+"...";c.push(f)}b.push(a);c.push(")\n");
try{c.push(od(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 pd(a){a=String(a);if(!qd[a]){var b=/function ([^\(]+)/.exec(a);qd[a]=b?b[1]:"[Anonymous]"}return qd[a]}var qd={};function rd(){this.Cc=v()}new rd;rd.prototype.set=aa("Cc");rd.prototype.reset=function(){this.set(v())};function sd(a,b,c,d,e){this.$c=typeof e=="number"?e:td++;this.bd=d||v();this.ia=a;this.Wc=b;this.Vc=c}sd.prototype.gc=null;sd.prototype.fc=null;var td=0;sd.prototype.Tb=aa("ia");function ud(a){this.sc=a;this.r=null;this.l={};this.Ab=[]}ud.prototype.ia=null;function vd(a,b){this.name=a;this.value=b}vd.prototype.toString=ba("name");var wd=new vd("SEVERE",1E3),xd=new vd("WARNING",900),yd=new vd("CONFIG",700),zd=new vd("FINE",500),Ad=new vd("FINEST",300);ud.prototype.Tb=aa("ia");function Bd(a,b){if(a.ia)return b.value>=a.ia.value;if(a.r)return Bd(a.r,b);return false}ud.prototype.log=function(a,b,c){Bd(this,a)&&Cd(this,this.ic(a,b,c))};
ud.prototype.ic=function(a,b,c){var d=new sd(a,String(b),this.sc);if(c){d.gc=c;var e;var f=arguments.callee.caller;try{var h,j=da("window.location.href");h=typeof c=="string"?{message:c,name:"Unknown error",lineNumber:"Not available",fileName:j,stack:"Not available"}:!c.lineNumber||!c.fileName||!c.stack?{message:c.message,name:c.name,lineNumber:c.lineNumber||c.Uc||"Not available",fileName:c.fileName||c.filename||c.sourceURL||j,stack:c.stack||"Not available"}:c;e="Message: "+Da(h.message)+'\nUrl: <a href="view-source:'+
h.fileName+'" target="_new">'+h.fileName+"</a>\nLine: "+h.lineNumber+"\n\nBrowser stack:\n"+Da(h.stack+"-> ")+"[end]\n\nJS stack traversal:\n"+Da(nd(f)+"-> ")}catch(k){e="Exception trying to expose exception! You win, we lose. "+k}d.fc=e}return d};function W(a,b,c){a.log(zd,b,c)}function Cd(a,b){if(Bd(a,b.ia))for(a=a;a;){for(var c=a,d=0;d<c.Ab.length;d++)c.Ab[d](b);a=a.r}}var Dd={},Ed=null;function Fd(a){if(!Ed){Ed=new ud("");Dd[""]=Ed;Ed.Tb(yd)}return a in Dd?Dd[a]:Gd(a)}
function Gd(a){var b=new ud(a),c=a.split("."),d=c[c.length-1];c.length-=1;c=Fd(c.join("."));c.l[d]=b;b.r=c;return Dd[a]=b};function Hd(a){this.Kb=new Id(a.prev_class,a.next_class);this.map=new Jd(a.map_class);if(a.panorama)this.Pb=new Kd(a.panorama_class);Ld(this);this.N()}function Ld(a){for(var b=["AutoPagerize_DOMNodeInserted","AutoPatchWork.DOMNodeInserted"],c=b.length,d=0;d<c;++d)window.addEventListener&&window.addEventListener(b[d],function(){a.N()},false)}Hd.prototype.N=function(){this.Kb&&this.Kb.s();this.map&&this.map.s();this.Pb&&this.Pb.s()};
function Id(a,b){this.Ac=a;this.uc=b;this.Xa="photo_nav_box";this.Ec="photo_"}Id.prototype.s=function(){var a=E("a",this.Ac),b=E("a",this.uc);y(a,function(c){Md(this,c,"prev")},this);y(b,function(c){Md(this,c,"next")},this)};
function Md(a,b,c){if(E("span",a.Xa,b).length==0&&b.parentNode.className.indexOf("photo_area")!=-1){var d=ob("span",{"class":a.Xa+" "+a.Xa+"_"+c}),e=new gd(48,48),f=new Ic("white"),h=new F;if(c=="prev"){h.moveTo(10,24);h.lineTo(34,12);h.lineTo(34,36)}else{h.moveTo(38,24);h.lineTo(14,12);h.lineTo(14,36)}h.close();e.Za(h,null,f);if(e.m)throw Error("Component already rendered");e.f||e.q();d?d.insertBefore(e.f,null):e.v.D.body.appendChild(e.f);if(!e.r||e.r.m)e.L();b.appendChild(d)}c="";d=b.href.split("/").pop();
if(d.length==24)c=a.Ec+d.substr(0,19);if(p(c)?document.getElementById(c):c){b.href="#"+c;b.target="_self"}}function Jd(a){this.Ib=a}
Jd.prototype.s=function(){var a=E("div",this.Ib);y(a,function(b){var c=E("span","latitude",b)[0],d=E("span","longitude",b)[0];c=wb(c);d=wb(d);if(c&&d){c=new google.maps.LatLng(c,d);d=new google.maps.Map(b,{zoom:12,center:c,scrollwheel:false,mapTypeId:google.maps.MapTypeId.ROADMAP});new google.maps.Marker({position:c,map:d});b.className=b.className.replace(this.Ib,"")}},this)};function Kd(a){this.xc=a;this.Qb=[];this.jb=null}
Kd.prototype.s=function(){for(var a=E("a",this.xc),b=0,c=a.length;b<c;++b){var d=a[b];if(!(na(this.Qb,d)>=0)){new Nd(d,this);this.Qb.push(d)}}};Kd.prototype.show=function(a){this.jb=this.jb||new Od;this.jb.show(a)};function Od(){this.padding=30;this.qc="loading...";this.kc="\u30db\u30a4\u30fc\u30eb\u3067\u30b9\u30af\u30ed\u30fc\u30eb\u3057\u307e\u3059\u3002";this.Ba=this.Ha=this.za=this.Y=this.ha=this.ca=this.hb=null}g=Od.prototype;
g.initEvent=function(){jc(this.Y,"load",this.Nb,false,this);jc(this.za,"click",this.close,false,this);this.hb=new hd(this.ca);M(this.hb,"mousewheel",this.wc,false,this)};
g.show=function(a){this.ca=ob("div",{id:"panorama_wrapper"});this.za=ob("div",{"class":"panorama_bg"});this.Y=document.createElement("img");this.ha=ob("div",{"class":"panorama_img"});this.Ha=ob("div",{"class":"panorama_guide"},this.qc);this.ha.appendChild(this.Y);this.ca.appendChild(this.za);this.ca.appendChild(this.ha);this.ca.appendChild(this.Ha);Fb(this.ha,0,-1000);this.initEvent();this.Y.src=a;document.getElementsByTagName("body")[0].appendChild(this.ca)};
g.wc=function(a){var b=a.dc;b=Math.abs(b)>10?b:b*60;this.ha.scrollLeft+=b;a.preventDefault()};
g.Nb=function(){var a;a=this.Y;var b=jb(a),c=A&&a.currentStyle;if(c&&yb(hb(b))&&c.width!="auto"&&c.height!="auto"&&!c.boxSizing){b=Jb(a,c.width,"width","pixelWidth");a=Jb(a,c.height,"height","pixelHeight");a=new z(b,a)}else{c=new z(a.offsetWidth,a.offsetHeight);if(A){b=Kb(a,"paddingLeft");var d=Kb(a,"paddingRight"),e=Kb(a,"paddingTop"),f=Kb(a,"paddingBottom");b=new zb(e,d,f,b)}else{b=G(a,"paddingLeft");d=G(a,"paddingRight");e=G(a,"paddingTop");f=G(a,"paddingBottom");b=new zb(parseFloat(e),parseFloat(d),
parseFloat(f),parseFloat(b))}if(A){d=Mb(a,"borderLeft");e=Mb(a,"borderRight");f=Mb(a,"borderTop");a=Mb(a,"borderBottom");a=new zb(f,e,a,d)}else{d=G(a,"borderLeftWidth");e=G(a,"borderRightWidth");f=G(a,"borderTopWidth");a=G(a,"borderBottomWidth");a=new zb(parseFloat(f),parseFloat(e),parseFloat(a),parseFloat(d))}a=new z(c.width-a.left-b.left-b.right-a.right,c.height-a.top-b.top-b.bottom-a.bottom)}if(a.height==0&&a.width==0){a=this.Nb;if(ia(a)){if(this)a=s(a,this)}else if(a&&typeof a.handleEvent=="function")a=
s(a.handleEvent,a);else throw Error("Invalid listener argument");S.setTimeout(a,500)}else{a=a;c={};b=window;d=b.document;if(C&&!D("500")&&!Ya){if(typeof b.innerHeight=="undefined")b=window;d=b.innerHeight;e=b.document.documentElement.scrollHeight;if(b==b.top)if(e<d)d-=15;b=new z(b.innerWidth,d)}else{b=kb(d)&&(!Xa||Xa&&D("9.50"))?d.documentElement:d.body;b=new z(b.clientWidth,b.clientHeight)}d=document.createElement("div");d.style.cssText="visibility:hidden;overflow:scroll;position:absolute;top:0;width:100px;height:100px";
document.body.appendChild(d);e=d.offsetWidth-d.clientWidth;rb(d);d=e+this.padding*2;e=a.height+d;b=b.height;if(e<=b)e=Math.floor((b-e)/2);else{e=this.padding;c.height=b-d;c.width=a.width*(c.height/a.height)}c.top=e;c.width!=null&&c.height!=null&&Hb(this.Y,c.width,c.height);Fb(this.ha,0,c.top);this.Ha.innerHTML=this.kc;this.Ba=ob("a",{"class":"panorama_close_link"},"\u7d42\u4e86");jc(this.Ba,"click",this.close,false,this);this.Ha.appendChild(this.Ba)}};
g.close=function(){kc(this.hb,"mousewheel");oc(this.Ba);oc(this.Y);oc(this.za);rb(this.ca)};function Nd(a,b){this.parent=b;this.nc=a.href;M(a,"click",this.ib,false,this)}Nd.prototype.ib=function(a){a.preventDefault();this.parent.show(this.nc)};function Pd(){this.Oa="photobox_active";this.zc="photobox_title";this.kb="photobox_title_active";Qd(this,"index_top_navi_item_link");Rd(this)}function Qd(a,b){b=E("a",b);for(var c=b.length,d=0;d<c;++d)M(b[d],"click",function(){Rd(a,decodeURI(this.href.substr(this.href.indexOf("#")+1)))},false)}
function Rd(a,b){var c=E("h2",a.zc),d=c.length;b=b?b:location.hash.substr(1);for(i=0;i<d;++i){var e=c[i],f=e.className,h=e.id,j=f.indexOf(a.kb)!=-1;if(h==b){if(j==false)e.className+=" "+a.kb;e=e.parentNode;f=e.className;f.indexOf(a.Oa)!=-1||(e.className+=" "+a.Oa)}else if(j){f=f.split(" ");pa(f,a.kb);e.className=f.join(" ");e=e.parentNode;f=e.className;if(f.indexOf(a.Oa)!=-1){f=f.split(" ");pa(f,a.Oa);e.className=f.join(" ")}}}};/\uffff/.test("\uffff");function Sd(){return Td()}var Td=null,Ud=null,Vd=null;Td=function(){var a=Wd();return a?new ActiveXObject(a):new XMLHttpRequest};Ud=function(){var a={};if(Wd()){a[Xd]=true;a[Yd]=true}return a};Vd=null;var Xd=0,Yd=1,Zd=null;
function Wd(){if(!Zd&&typeof XMLHttpRequest=="undefined"&&typeof ActiveXObject!="undefined"){for(var a=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],b=0;b<a.length;b++){var c=a[b];try{new ActiveXObject(c);return Zd=c}catch(d){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return Zd};function $d(){if(B){this.T={};this.Ua={};this.Qa=[]}}$d.prototype.i=Fd("goog.net.xhrMonitor");$d.prototype.Da=B;function ae(a,b){if(a.Da){var c=p(b)?b:ja(b)?r(b):"";a.i.log(Ad,"Pushing context: "+b+" ("+c+")",void 0);a.Qa.push(c)}}function be(a){if(a.Da){var b=a.Qa.pop();a.i.log(Ad,"Popping context: "+b,void 0);ce(a,b)}}function de(a,b){if(a.Da){b=r(b);W(a.i,"Opening XHR : "+b);for(var c=0;c<a.Qa.length;c++){var d=a.Qa[c];ee(a,a.T,d,b);ee(a,a.Ua,b,d)}}}
function ce(a,b){var c=a.Ua[b],d=a.T[b];if(c&&d){a.i.log(Ad,"Updating dependent contexts",void 0);y(c,function(e){y(d,function(f){ee(this,this.T,e,f);ee(this,this.Ua,f,e)},this)},a)}}function ee(a,b,c,d){b[c]||(b[c]=[]);na(b[c],d)>=0||b[c].push(d)}var X=new $d;function Y(){this.headers=new ld}w(Y,N);g=Y.prototype;g.i=Fd("goog.net.XhrIo");g.I=false;g.g=null;g.Ta=null;g.Gb="";g.Fb="";g.qa=0;g.ra="";g.$a=false;g.Ja=false;g.db=false;g.Z=false;g.Ra=0;g.aa=null;
g.send=function(a,b,c,d){if(this.I)throw Error("[goog.net.XhrIo] Object is active with another request");b=b||"GET";this.Gb=a;this.ra="";this.qa=0;this.Fb=b;this.$a=false;this.I=true;this.g=new Sd;this.Ta=Vd||(Vd=Ud());de(X,this.g);this.g.onreadystatechange=s(this.Ob,this);try{W(this.i,Z(this,"Opening Xhr"));this.db=true;this.g.open(b,a,true);this.db=false}catch(e){W(this.i,Z(this,"Error opening Xhr: "+e.message));fe(this,5,e);return}a=c||"";var f=this.headers.u();d&&kd(d,function(j,k){f.set(k,j)});
b=="POST"&&!f.bc("Content-Type")&&f.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");kd(f,function(j,k){this.g.setRequestHeader(k,j)},this);try{if(this.aa){S.clearTimeout(this.aa);this.aa=null}if(this.Ra>0){W(this.i,Z(this,"Will abort after "+this.Ra+"ms if incomplete"));this.aa=S.setTimeout(s(this.Kc,this),this.Ra)}W(this.i,Z(this,"Sending request"));this.Ja=true;this.g.send(a);this.Ja=false}catch(h){W(this.i,Z(this,"Send error: "+h.message));fe(this,5,h)}};
g.dispatchEvent=function(a){if(this.g){ae(X,this.g);try{return Y.h.dispatchEvent.call(this,a)}finally{be(X)}}else return Y.h.dispatchEvent.call(this,a)};g.Kc=function(){if(typeof ca!="undefined")if(this.g){this.ra="Timed out after "+this.Ra+"ms, aborting";this.qa=8;W(this.i,Z(this,this.ra));this.dispatchEvent("timeout");this.abort(8)}};function fe(a,b,c){a.I=false;if(a.g){a.Z=true;a.g.abort();a.Z=false}a.ra=c;a.qa=b;ge(a);ie(a)}
function ge(a){if(!a.$a){a.$a=true;a.dispatchEvent("complete");a.dispatchEvent("error")}}Y.prototype.abort=function(a){if(this.g){W(this.i,Z(this,"Aborting"));this.I=false;this.Z=true;this.g.abort();this.Z=false;this.qa=a||7;this.dispatchEvent("complete");this.dispatchEvent("abort");ie(this)}};Y.prototype.b=function(){if(this.g){if(this.I){this.I=false;this.Z=true;this.g.abort();this.Z=false}ie(this,true)}Y.h.b.call(this)};Y.prototype.Ob=function(){!this.db&&!this.Ja&&!this.Z?this.vc():je(this)};
Y.prototype.vc=function(){je(this)};function je(a){if(a.I)if(typeof ca!="undefined")if(a.Ta[Yd]&&ke(a)==4&&le(a)==2)W(a.i,Z(a,"Local request error detected and ignored"));else if(a.Ja&&ke(a)==4)S.setTimeout(s(a.Ob,a),0);else{a.dispatchEvent("readystatechange");if(ke(a)==4){W(a.i,Z(a,"Request complete"));a.I=false;if(me(a)){a.dispatchEvent("complete");a.dispatchEvent("success")}else{a.qa=6;a.ra=ne(a)+" ["+le(a)+"]";ge(a)}ie(a)}}}
function ie(a,b){if(a.g){var c=a.g,d=a.Ta[Xd]?ea:null;a.g=null;a.Ta=null;if(a.aa){S.clearTimeout(a.aa);a.aa=null}if(!b){ae(X,c);a.dispatchEvent("ready");be(X)}if(X.Da){b=r(c);W(X.i,"Closing XHR : "+b);delete X.Ua[b];for(var e in X.T){pa(X.T[e],b);X.T[e].length==0&&delete X.T[e]}}try{c.onreadystatechange=d}catch(f){a.i.log(wd,"Problem encountered resetting onreadystatechange: "+f.message,void 0)}}}function me(a){switch(le(a)){case 0:case 200:case 204:case 304:return true;default:return false}}
function ke(a){return a.g?a.g.readyState:0}function le(a){try{return ke(a)>2?a.g.status:-1}catch(b){a.i.log(xd,"Can not get status: "+b.message,void 0);return-1}}function ne(a){try{return ke(a)>2?a.g.statusText:""}catch(b){W(a.i,"Can not get status: "+b.message);return""}}function Z(a,b){return b+" ["+a.Fb+" "+a.Gb+" "+le(a)+"]"};function oe(){this.La=this.Zc=this.data=null;this.Eb=false}fa(oe);w(oe,N);oe.prototype.load=function(){if(this.La&&this.Eb==false){this.ua=new Y;M(this.ua,"complete",this.complete,false,this);this.ua.send(this.La,"GET");this.Eb=true}};
oe.prototype.complete=function(){if(me(this.ua)){var a;a:{var b=String(this.ua.g?this.ua.g.responseText:"");if(/^\s*$/.test(b)?false:/^[\],:{}\s\u2028\u2029]*$/.test(b.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{a=eval("("+b+")");break a}catch(c){}throw Error("Invalid JSON string: "+b);}this.data=a;this.dispatchEvent("ONLOAD")}};function pe(a){this.R=oe.fa();this.pb=a.ul_id;this.Lc=a.to_root;this.Mb=parseInt(a.numofpics);if(this.Mb<=0)throw"wrong data: numofpics";this.R.data==null?M(this.R,"ONLOAD",this.Cb,false,this):this.Cb()}
pe.prototype.Cb=function(){var a;var b=this.R.data.length;if(b<1)a=[];else{for(a=[];a.length<this.Mb;){var c=Math.floor(Math.random()*b);na(a,c)>=0==false&&a.push(c)}b=this.R.data;c=[];for(var d=a.length,e=0;e<d;++e){var f=b[a[e]];f&&c.push(f)}a=c}b=a.length;c="";d=this.Lc;for(e=0;e<b;++e){f=a[e];var h=d+"photos/"+f[0]+".html",j=d+"photos/"+f[0]+"_tn.jpg",k=f[3];if(f[4])k+="("+f[4]+")";h='<li class="random_listitem"><a href="'+h+'" class="photo_link"><img src="'+j+'" width="96 "';h+='height="96" title="'+
k+'" alt="'+k+'"\u3078\u306e\u30ea\u30f3\u30af" /></a>';if(f[6]=="true")h+='<span class="photobox_panorama">\u30d1\u30ce\u30e9\u30de</span>';h+="</li>";c+=h}(p(this.pb)?document.getElementById(this.pb):this.pb).innerHTML=c};function qe(a,b,c,d){if(!n(a)||!n(b))throw Error("Start and end parameters must be arrays");if(a.length!=b.length)throw Error("Start and end points must be the same length");this.va=a;this.ec=b;this.duration=c;this.rb=d;this.coords=[]}w(qe,N);var re={},se=null;function te(){S.clearTimeout(se);var a=v();for(var b in re)ue(re[b],a);se=xa(re)?null:S.setTimeout(te,20)}function ve(a){a=r(a);delete re[a];if(se&&xa(re)){S.clearTimeout(se);se=null}}g=qe.prototype;g.z=0;g.yb=0;g.o=0;g.$=null;g.xb=null;
g.eb=null;g.stop=function(a){ve(this);this.z=0;if(a)this.o=1;we(this,this.o);$(this,"stop");$(this,"end")};g.b=function(){this.z!=0&&this.stop(false);$(this,"destroy");qe.h.b.call(this)};function ue(a,b){a.o=(b-a.$)/(a.xb-a.$);if(a.o>=1)a.o=1;a.yb=1E3/(b-a.eb);a.eb=b;ia(a.rb)?we(a,a.rb(a.o)):we(a,a.o);if(a.o==1){a.z=0;ve(a);$(a,"finish");$(a,"end")}else a.z==1&&xe(a)}function we(a,b){a.coords=new Array(a.va.length);for(var c=0;c<a.va.length;c++)a.coords[c]=(a.ec[c]-a.va[c])*b+a.va[c]}
function xe(a){$(a,"animate")}function ye(a){$(a,"begin")}function ze(a){$(a,"resume")}function $(a,b){a.dispatchEvent(new Ae(b,a))}function Ae(a,b){H.call(this,a);this.coords=b.coords;this.x=b.coords[0];this.y=b.coords[1];this.hd=b.coords[2];this.duration=b.duration;this.o=b.o;this.Tc=b.yb;this.ad=b.z;this.ya=b}w(Ae,H);function Be(){var a=location.href;a=a.indexOf("#")==-1?a:a.split("#")[0];for(var b=sb(document,function(e){return e.nodeName.toLowerCase()=="a"&&e.href.indexOf(a)==0&&e.href.split("#")[1]}),c=b.length,d=0;d<c;++d)new Ce(b[d])}function Ce(a){this.ya=null;this.wa=decodeURI(a.href.substr(a.href.indexOf("#")+1));M(a,"click",this.ib,false,this)}
Ce.prototype.ib=function(a){a.preventDefault();a=nb(document);var b=p(this.wa)?document.getElementById(this.wa):this.wa,c,d=jb(b),e=Eb(b,"position"),f=B&&d.getBoxObjectFor&&!b.getBoundingClientRect&&e=="absolute"&&(c=d.getBoxObjectFor(b))&&(c.screenX<0||c.screenY<0),h=new ta(0,0),j;c=d?d.nodeType==9?d:jb(d):document;j=A&&!yb(hb(c))?c.body:c.documentElement;if(b!=j)if(b.getBoundingClientRect){c=b.getBoundingClientRect();if(A){b=b.ownerDocument;c.left-=b.documentElement.clientLeft+b.body.clientLeft;
c.top-=b.documentElement.clientTop+b.body.clientTop}c=c;d=hb(d);d=nb(d.D);h.x=c.left+d.x;h.y=c.top+d.y}else if(d.getBoxObjectFor&&!f){c=d.getBoxObjectFor(b);d=d.getBoxObjectFor(j);h.x=c.screenX-d.screenX;h.y=c.screenY-d.screenY}else{c=b;do{h.x+=c.offsetLeft;h.y+=c.offsetTop;if(c!=b){h.x+=c.clientLeft||0;h.y+=c.clientTop||0}if(C&&Eb(c,"position")=="fixed"){h.x+=d.body.scrollLeft;h.y+=d.body.scrollTop;break}c=c.offsetParent}while(c&&c!=b);if(Xa||C&&e=="absolute")h.y-=d.body.offsetTop;for(c=b;(c=Gb(c))&&
c!=d.body&&c!=j;){h.x-=c.scrollLeft;if(!Xa||c.tagName!="TR")h.y-=c.scrollTop}}this.ya=new qe([0,a.y],[0,h.y],250,this.Yb);M(this.ya,["begin","animate","end"],this.$b,false,this);a:{a=this.ya;if(a.z==0){a.o=0;a.coords=a.va}else if(a.z==1)break a;ve(a);a.$=v();if(a.z==-1)a.$-=a.duration*a.o;a.xb=a.$+a.duration;a.eb=a.$;a.o||ye(a);$(a,"play");a.z==-1&&ze(a);a.z=1;h=r(a);h in re||(re[h]=a);se||(se=S.setTimeout(te,20));ue(a,a.$)}};
Ce.prototype.$b=function(a){window.scrollTo(0,a.y);if(a.type=="end")if(this.wa!="top")location.hash=this.wa};Ce.prototype.Yb=function(a){return 1-Math.pow(1-a,3)};function De(a){this.id=a.id;this.map=null;a={zoom:5,center:new google.maps.LatLng(-40.273114,173.299241),mapTypeId:google.maps.MapTypeId.ROADMAP};this.map=new google.maps.Map(document.getElementById(this.id),a);this.R=oe.fa();this.Hc="./img/mapicon_shadow.png";this.R.data==null?M(this.R,"ONLOAD",this.wb,false,this):this.wb()}
De.prototype.wb=function(){var a=this.R.data;if(a)for(var b=a.length,c=this.Hc,d=0;d<b;++d){var e=a[d],f=e[0],h=e[1],j=e[2],k=e[3];e=e[4];if(h!=null&&j!=null){h=new google.maps.LatLng(h,j);k='<div style="text-align:center;"><img src="'+("./photos/"+f+"_tn.jpg")+'" width="96" height="96" /></div><div style="text-align:center;"><span style="font-weight:bold">'+k+'</span><br/><span style="font-size:90%">('+e+')</span></div><br/><span style="font-size: 10px; color: #999;">\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u5199\u771f\u306e\u30da\u30fc\u30b8\u3078\u79fb\u52d5\u3057\u307e\u3059\u3002</span>';
j=new google.maps.MarkerImage("./photos/"+f+"_mapicon.png",new google.maps.Size(22,26),new google.maps.Point(0,0),new google.maps.Point(11,26));e=new google.maps.MarkerImage(c,new google.maps.Size(35,28),new google.maps.Point(0,0),new google.maps.Point(10,27));h=new google.maps.Marker({position:h,map:this.map,icon:j,shadow:e});Ee(this,k,h,f)}}};
function Ee(a,b,c,d){var e=new google.maps.InfoWindow({content:b,maxWidth:300,disableAutoPan:true});google.maps.event.addListener(c,"mouseover",function(){e.open(this.map,c)});google.maps.event.addListener(c,"mouseout",function(){e.close(this.map,c)});google.maps.event.addListener(c,"click",function(){location.href="./photos/"+d+".html"})};function Fe(a){new Be;new Hd(a)}window.init_photonavi=Fe;function Ge(a){new Be;new Pd(a)}window.init_index=Ge;function He(a){new Be;var b=oe.fa();b.La=a.pdata;b.load();new De(a)}window.init_map=He;function Ie(a){new Be;var b=oe.fa();b.La=a.pdata;b.load();new pe(a)}window.init_top=Ie;
