var _=function(){var x="drag",y="image",z="menu",A="CLOSE",B='<br clear="right"><img align="center" src="http://i50.tinypic.com/15yi1wj.gif" alt="Loading..." />';var e=window,f=document,l,k,i,j,h,r,s,t,u;f.write('<style> #uv_pop{background:#FFF;z-index:99;position:absolute;top:50%;left:50%;display:none;border:5px solid #FFF} #uv_px {font-weight:bold;color:red;float:right} #uv_ov{position:absolute;top:0;left:0;z-index:90;background-color:#000;display:none;opacity:.7} </style>');return{$:function(a){return(typeof a=='string')?f.getElementById(a):a},t:function(a,b){a=a||'*';b=b||f;return _.$(b).getElementsByTagName(a)},c:function(b,c,d){var g=[],n=new RegExp('\\b'+b+'\\b');_.all(_.t(c,d),function(a){if(n.test(a.className)){g.push(a)}});return g},s:function(a,b,c){var d=_.$(a).style;if(b||c){d.position='absolute';if(b){d.left=b+'px'}if(c){d.top=c+'px'}}d.display='block'},h:function(a){_.$(a).style.display='none'},v:function(a){var b,c=_.$(a),d=c.nodeName;if(d=="INPUT"||d=="TEXTAREA"){return c.value}if(d=="SELECT"){b=c.options[c.selectedIndex];return b.value||b.innerHTML}return c.innerHTML},gs:function(a,b){var c=_.$(a).currentStyle||f.defaultView.getComputedStyle(_.$(a),null);return c[b]},e:function(a,b,c){return e.addEventListener?a.addEventListener(b,c,false):a.attachEvent("on"+b,c)},re:function(a,b,c){return e.removeEventListener?a.removeEventListener(b,c,false):a.detachEvent("on"+b,c)},wW:function(){return k.clientWidth||e.innerWidth-18},wH:function(){return k.clientHeight||e.innerHeight-18},dW:function(){return Math.max(k.scrollWidth,_.wW())},dH:function(){return Math.max(k.scrollHeight,_.wH())},sX:function(){return e.pageXOffset||k.scrollLeft},sY:function(){return e.pageYOffset||k.scrollTop},all:function(a,b){for(var c=0;c<a.length;c++){b(a[c])}},dd:function(a,b){var c=_.$(a);c.onmousedown=_.da;c.drp=b;c.style.cursor='move'},da:function(a){if(h){_.dz()}a=a?a:e.event;t=a.clientX;u=a.clientY;h=this;r=this.offsetLeft;s=this.offsetTop;_.e(f,'mousemove',_.dm);_.e(f,'mouseup',_.dz);return false},dm:function(a){a=a?a:e.event;_.s(h,a.clientX-t+r,a.clientY-u+s)},dz:function(a){_.h(h);h.droppedOn=_.oxy(a);_.s(h);if(h.drp){h.drp()}_.dx()},dx:function(){_.re(f,'mousemove',_.dm);_.re(f,'mouseup',_.dz);h=false},oxy:function(a){a=a?a:e.event;var b=/Safari|Opera/.test(navigator.userAgent),c=b?a.pageX:a.clientX,d=b?a.pageY:a.clientY;return f.elementFromPoint(c,d)},hv:function(a){a.onmouseover=function(){this.className+=" hover"};a.onmouseout=function(){this.className=this.className.replace(new RegExp(" hover\\b"),"")}},rsz:function(){i.style.width=_.dW()+'px';i.style.height=_.dH()+'px'},ce:function(a,b){b=b||'div';var c=f.createElement(b);c.setAttribute('id',a);l.insertBefore(c,l.firstChild);return _.$(a)},oc:function(){_.s(i);_.sp('','hidden',B);_.pop(75,50);var a=new Image();a.onload=_.ol;a.title=this.title;a.src=this.href;return false},ol:function(){var a=this.width,b=this.height,c=Math.min(1,(_.wW()-50)/a,(_.wH()-50)/b);a*=c;b*=c;_.sp(this.title,'hidden','<img src="'+this.src+'" width="'+a+'" height="'+b+'">');_.pop(a,b)},xp:function(a){_.h(j);_.h(i);_.hs(1)},hs:function(b){_.all(_.t('SELECT'),function(a){if(b){_.$(a).style.display='inline'}else{_.h(a)}})},box:function(a,b,c,d){if(!d)d='';if(a.indexOf('http:')===0){_.sp(d,'hidden','<iframe src="'+a+'" width="'+b+'" height="'+c+'"></iframe>')}else{d||_.sp(_.$(a).title,'auto',_.$(a).innerHTML)}_.pop(b,c)},sp:function(a,b,c){j.style.overflow=b;j.title=a;j.innerHTML='<div style="text-align:right;font-size:smaller"><button id="uv_px" title="'+A+'" onclick="_.xp();">&times;</button>'+a+'&nbsp;</div>'+c},pop:function(a,b){_.hs();_.s(i);a=a?parseInt(a,10):640;b=b?parseInt(b+25,10):480;j.style.width=a+'px';j.style.height=b+'px';_.s(j,_.sX()+(_.wW()-a)/2,_.sY()+(_.wH()-b)/2)},ani:function(b,c,d,g){var n=parseInt((g||500)/20),o=(d-parseFloat(_.gs(b,c)))/n,p=c=='opacity',v='alpha(opacity=',m=_.$(b).style,C=setInterval(D,20),w=p?'':'px',q;function D(){var a=parseFloat(_.gs(b,c));if((o<0&&a<=d)||(o>0&&a>=d)){clearInterval(C);if(p){m.filter=v+(d*100)+')'}m[c]=d+w}else{q=a+o;if(p){m.filter=v+(q*100)+')'}m[c]=q+w}}},ajx:function(a,b){var c,d=Math.random(),g=e.XMLHttpRequest?new XMLHttpRequest():e.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):false;a+=(a.indexOf("?")>0)?"&uq="+d:"?"+d;g.onreadystatechange=function(){if(g.readyState==4){c=g.responseText;if(b){_.$(b).innerHTML=c}else{eval(c)}}};g.open("GET",a,true);g.send(null);return g},go:function(){if(!l){l=f.body;k=f.documentElement?f.documentElement:l;j=_.ce('uv_pop');i=_.ce('uv_ov');_.all(_.c(y,'A'),function(a){a.onclick=_.oc});i.onclick=_.xp;_.rsz();i.style.filter='alpha(opacity=70)';_.e(e,'resize',_.rsz);_.all(_.c(x),_.dd);_.all(_.c(z),function(){_.all(_.t('LI'),_.hv)});if(e.docReady)docReady()}}}}();if(document.addEventListener){document.addEventListener("DOMContentLoaded",_.go,false)}else if(document.all)(function(){try{document.documentElement.doScroll("left")}catch(er){setTimeout(arguments.callee,9);return}_.go()})();window.onload=_.go;