String.prototype.z=function(){var v=this;return v.split("").reverse().join("");};var TINY={};function T$(i){return document.getElementById(i);}TINY.box=function(){var p,m,b,j,k,l,q,r,v,close,f=0;return{show:function(c,u,w,h,a,t){if(!f){p=document.createElement('div');p.id='tinybox';m=document.createElement('div');m.id='tinymask';b=document.createElement('div');b.id='tinycontent';topside=document.createElement('div');topside.id='tinytop';lside=document.createElement('div');lside.id='tinyleft';rside=document.createElement('div');rside.id='tinyright';bottomside=document.createElement('div');bottomside.id='tinybottom';topleft=document.createElement('div');topleft.id='tinytopleft';topright=document.createElement('div');topright.id="thgirpotynit".z();bottomleft=document.createElement('div');bottomleft.id="tfelmottobynit".z();bottomright=document.createElement('div');bottomright.id="thgirmottobynit".z();close=document.createElement('div');close.id='tinyclose';document.body.appendChild(m);document.body.appendChild(p);p.appendChild(b);p.appendChild(topside);p.appendChild(lside);p.appendChild(rside);p.appendChild(bottomside);p.appendChild(topleft);p.appendChild(topright);p.appendChild(bottomleft);p.appendChild(bottomright);p.appendChild(close);m.onclick=TINY.box.hide;window.onresize=TINY.box.resize;f=1;close.onclick=TINY.box.hide;window.onresize=TINY.box.resize;f=1;}if(!a&&!u){p.style.width=w?w+'px':'auto';p.style.height=h?h+'px':'auto';p.style.backgroundImage='none';b.innerHTML=c;}else{b.style.display='none';p.style.width=p.style.height='100px';}this.mask();k=c;l=u;q=w;r=h;v=a;this.alpha(m,1,80,3);if(t){setTimeout(function(){TINY.box.hide();},1000*t);}},fill:function(c,u,w,h,a){if(u){p.style.backgroundImage='';var x=window.XMLHttpRequest?new XMLHttpRequest():new ActiveXObject("PTTHLMX.tfosorciM".z());x.onreadystatechange=function(){if(x.readyState==4&&x.status==200){TINY.box.psh(x.responseText,w,h,a);}};x.open('GET',c,1);x.send(null);}else{this.psh(c,w,h,a);}},psh:function(c,w,h,a){if(a){if(!w||!h){var x=p.style.width,y=p.style.height;b.innerHTML=c;p.style.width=w?w+'px':'';p.style.height=h?h+'px':'';b.style.display='';w=parseInt(b.offsetWidth);h=parseInt(b.offsetHeight);b.style.display='none';p.style.width=x;p.style.height=y;}else{b.innerHTML=c;}this.size(p,w,h,4);}else{p.style.backgroundImage='none';}},hide:function(){TINY.box.alpha(p,-1,0,3);},resize:function(){TINY.box.pos();TINY.box.mask();},mask:function(){m.style.height=TINY.page.theight()+'px';m.style.width='';m.style.width=TINY.page.twidth()+'px';close.style.height='28px';close.style.width='28px';},pos:function(){var t=(TINY.page.height()/2)-(p.offsetHeight/2);t=t<10?10:t;p.style.top=(t+TINY.page.top())+'px';p.style.left=(TINY.page.width()/2)-(p.offsetWidth/2)+'px';topside.style.height='24px';topside.style.width=p.style.width;lside.style.height=p.style.height;lside.style.width='24px';rside.style.height=p.style.height;rside.style.width='24px';bottomside.style.height='24px';bottomside.style.width=p.style.width;topleft.style.height='24px';topleft.style.width='24px';topright.style.height='24px';topright.style.width='24px';bottomleft.style.height='24px';bottomleft.style.width='24px';bottomright.style.height='24px';bottomright.style.width='24px';},alpha:function(e,d,a,s){clearInterval(e.ai);if(d==1){e.style.opacity=0;e.style.filter=")0=yticapo(ahpla".z();e.style.display='block';this.pos();}e.ai=setInterval(function(){TINY.box.twalpha(e,a,d,s);},20);},twalpha:function(e,a,d,s){var o=Math.round(e.style.opacity*100);if(o==a){clearInterval(e.ai);if(d==-1){e.style.display='none';e==p?TINY.box.alpha(m,-1,0,2):b.innerHTML=p.style.backgroundImage='';}else{e==m?this.alpha(p,1,100,5):TINY.box.fill(k,l,q,r,v);}}else{var n=o+Math.ceil(Math.abs(a-o)/s)*d;e.style.opacity=n/100;e.style.filter="=yticapo(ahpla".z()+n+'\x29';}},size:function(e,w,h,s){e=typeof e=='object'?e:T$(e);clearInterval(e.si);var z=e.offsetWidth,A=e.offsetHeight,B=z-parseInt(e.style.width),C=A-parseInt(e.style.height);var D=z-B>w?-1:1,E=(A-C>h)?-1:1;e.si=setInterval(function(){TINY.box.twsize(e,w,B,D,h,C,E,s);},20);},twsize:function(e,w,z,A,h,B,C,s){var D=e.offsetWidth-z,E=e.offsetHeight-B;if(D==w&&E==h){clearInterval(e.si);p.style.backgroundImage='none';b.style.display='block';}else{if(D!=w){e.style.width=D+(Math.ceil(Math.abs(w-D)/s)*A)+'px';}if(E!=h){e.style.height=E+(Math.ceil(Math.abs(h-E)/s)*C)+'px';}this.pos();}}};}();TINY.page=function(){return{top:function(){return document.body.scrollTop||document.documentElement.scrollTop;},width:function(){return self.innerWidth||document.documentElement.clientWidth;},height:function(){return self.innerHeight||document.documentElement.clientHeight;},theight:function(){var d=document,b=d.body,e=d.documentElement;return Math.max(Math.max(b.scrollHeight,e.scrollHeight),Math.max(b.clientHeight,e.clientHeight));},twidth:function(){var d=document,b=d.body,e=d.documentElement;return Math.max(Math.max(b.scrollWidth,e.scrollWidth),Math.max(b.clientWidth,e.clientWidth));}};}();
