__gcssload__('simpledialogbox.css', '.db,.sdb{z-index:10;visibility:hidden}.db .t{position:relative}.db .tt{margin-right:15px;padding-right:15px}.db .si{position:absolute;overflow:hidden;z-index:-1}.db .cr{position:absolute;z-index:-1}.db .cr div{overflow:hidden}.db .s{z-index:-1}.db .s div{overflow:hidden}.db .x{cursor:pointer}.dbgr{position:absolute;top:0;left:0;width:100%;height:100%;z-index:8;visibility:hidden}.sdb .w{margin:8px}');GAddMessages({});
__gjsload_maps2__('sdb', 'function K$(){AEa.apply(this,arguments)} (function(){sa(K$,33,{close:1,show:2,visible:3,hide:4,ck:5})})();var AEa=function(a,b){this.Je=a;b=(b=b)||{};this.G=Yh(b.modal,h);this.Yb=Yh(b.hasMargins,h);this.I=Yh(b.allowScroll,h);this.md=Yh(b.showInitially,h);this.fa=Yh(b.backgroundColor,"white");this.va=Yh(b.borderColor,"#d5ddf3");this.fb=Yh(b.grayOutColor,"#666666");this.hb=Yh(b.grayOutOpacity,0.5);this.Z=Ii(b.verticalPosition);this.T=Ii(b.horizontalPosition);this.pa=j;b=L$(this,"sdb",document.body,new Q(200,BEa().scrollTop+200));b.style.backgroundColor=this.va;b.style.border="1px solid black";this.j=b; rl(b);if(!this.G)this.Ga=new Em(b);this.N=L$(this,"w",b);this.N.style.backgroundColor=this.fa;var c=L$(this,"c",this.N);c.appendChild(a);if(this.Ga){S(c,db,cl);Ej(c,"default")}if(this.I)c.style.overflow="auto";this.Lb=c;if(this.G){this.C=L$(this,"dbgr",document.body);this.C.style.background=this.fb;Oj(this.C,this.hb);S(this.C,Ta,bl);S(this.C,ib,cl);S(this.C,jb,cl)}S(b,ib,cl);S(b,jb,cl);this.ck(s(this.M$,this))}; n=K$.prototype;n.M$=function(){this.md&&this.show();this.Wv=T(window,Db,this,this.b_);this.Kc=S(window,lb,Si(this,this.b_,h))}; n.ck=function(a){this.F=ek();this.C&&jj(this.C,CEa());this.pa&&yj(this.j);if(this.I){this.N.style.width=mj(this.F.width-20-20);var b=this.Lb.style;b.position="absolute";b.left=mj(this.Lb.offsetLeft);b.top=mj(this.Lb.offsetTop);b.padding=0;b.margin=0;b.width="auto";b.height="auto"}setTimeout(s(this.Y6,this,a),0)}; n.Y6=function(a){if(this.I){var b=rj(this.Lb),c=b.height-(this.F.height-20);if(c>0){b.height-=c;b.width+=20}jj(this.Lb,b);this.N.style.width="";b=this.Lb.style;b.position="";b.left="";b.top=""}if(this.Yb)this.Lb.style.padding="4px";this.I?setTimeout(s(this.MV,this,a),0):this.MV(a)}; n.MV=function(a){this.kc=rj(this.j);var b,c;c=this.F.height-this.kc.height;var d=this.F.width-this.kc.width;b=BEa();c=this.Z=="top"?b.scrollTop:this.Z=="bottom"?c+b.scrollTop:c/2+b.scrollTop;b=this.T=="left"?b.scrollLeft:this.T=="right"?d+b.scrollLeft:d/2+b.scrollLeft;b=wh(b,d);c=Hg(c,0);this.Ga?this.Ga.og(b,c):ij(this.j,new Q(b,c));if(this.pa){Aj(this.j);sl(this.j)}a&&a()}; n.b_=function(a){if(!this.r_&&(a||!ek().equals(this.F)))this.r_=jk(this,function(){this.ck(s(function(){delete this.r_}, this))}, 10)}; var L$=function(a,b,c,d,e){a=H("div",c,d,e);M(a,b);return a}; K$.prototype.show=function(){this.pa=h;Aj(this.j);sl(this.j);this.G&&Aj(this.C);y(this,"show")}; K$.prototype.hide=function(){this.pa=j;yj(this.j);this.G&&yj(this.C);y(this,"hide")}; K$.prototype.close=function(){tl(this.j);E(this.Wv);E(this.Kc);wk(this.j);this.G&&wk(this.C);y(this,Cc)}; K$.prototype.visible=l("pa");function BEa(){return{scrollLeft:document.body.scrollLeft,scrollTop:document.body.scrollTop}} function CEa(){var a,b;if(window.innerHeight&&window.scrollMaxY){a=document.body.scrollWidth;b=window.innerHeight+window.scrollMaxY}else if(document.body.scrollHeight>document.body.offsetHeight){a=document.body.scrollWidth;b=document.body.scrollHeight}else{a=document.body.offsetWidth;b=document.body.offsetHeight}var c,d;if(window.innerHeight){c=window.innerWidth;d=window.innerHeight}else if(document.documentElement&&document.documentElement.clientHeight){c=document.documentElement.clientWidth;d=document.documentElement.clientHeight}else if(document.body){c= document.body.clientWidth;d=document.body.clientHeight}return new I(a<c?c:a,b<d?d:b)} ;X("sdb",1,K$);X("sdb");');
