eval(function(A,G){return A.replace(/(\w+)/g,function(a,b){return G[parseInt(b,36)]})}("0 1=2(3){0 4=2(){5 (6 7 8) 8[6].9=8;a (b[c] !=\n\'d\'\n&&8.e) f 8.e.g(8,b);};4.h=8.h;4.i=8.i;4.j=3;f 4;};1.k=2(){};1.l=2(3){f m 1(3);};1.j={h:2(3){0 j=m 8(\n\'d\'\n);5 (n 7 3){0 o=j[n];0 p=3[n];a (o&&o !=p) p=o.q(p)||p;j[n]=p;}\nf m 1(j);},i:2(3){5 (n 7 3) 8.j[n]=3[n];}}\nr.h=2(){0 s=b;a (s[t]) s=[s[c],s[t]];u s=[8,s[c]];5 (n 7 s[t]) s[c][n]=s[t][n];f s[c];};r.v=2(){5 (0 w=c;w\'\n));$2j(8.5w).2d(2(5x){a (5x.5u !=\n\'5u\'\n) 3j.5s(5x.5u,5x.2k);});a (8.3r) 8.45(3j);};5y:8.4p(n,2k);}\nf 3j||8;},5z:2(4o){5 (n 7 4o) 8.5s(n,4o[n]);f 8;},60:2(61){8.62=61;f 8;},63:2(n){f 8.64(n);},49:2(){f 8.65.2v();},66:2(5k){5k=5k.2u();0 3j=8;0 67=c;68 {67+=3j[\n\'67\'\n+5k]||c;3j=3j.69;} 5m (3j);f 67;},6a:2(){f 8.66(\n\'6b\'\n);},6c:2(){f 8.66(\n\'6d\'\n);}});2 $3i(3j,6e,s){a ($15(s) !=\n\'16\'\n) s=[s];f 3i.j[6e].g(3j,s);};m r.v(3i);2 $(3j){a ($15(3j)==\n\'1z\'\n) 3j=3k.6f(3j);a ($15(3j)==\n\'1w\'\n){a (!3j.h){5e.6g.28(3j);3j.h=r.h;3j.h(3i.j);}\nf 3j;} u f 1b;};1a.59=3i.j.59;1a.5g=3i.j.5g;0 5e={6g:[],5f:[],6h:[],6i:2(){5e.5f.2d(2(14){14();});1a.5g(\n\'6i\'\n,1a.6j);5e.6g.2d(2(3j){5(6 7 3i.j){1a[6]=1l;3k[6]=1l;3j[6]=1l;}\n3j.h=1l;});}};1a.6j=5e.6i;1a.59(\n\'6i\'\n,1a.6j);;0 6k=6l={};6k.6m=m 1({6n:2(6o){8.6o=r.h({6p:6q,6r:1.k,6s:1.k,6t:\n\'6u\'\n,6v:2i,6w:6k.6x,6y:6z},6o||{});},70:2(){0 71=(m 72).73();a (71>=8.6o.6p+8.74){8.75();8.76=8.77;8.6o.6r.12(8.3j,8).1c(2b);8.29();} u {8.78=(71-8.74) / 8.6o.6p;8.79();}\n8.7a();},79:2(){8.76=8.7b(8.7c,8.77);},7b:2(7c,77){f 8.6o.6w(8.78) * (77-7c)+7c;},7d:2(7c,77){a(!8.6o.6v) 8.75();a (8.1i) f;8.6o.6s.12(8.3j,8).1c(2b);8.7c=7c;8.77=77;8.74=(m 72).73();8.1i=8.70.1f(7e.7f(7g/8.6o.6y),8);f 8;},7h:2(77){8.76=77;8.7a();f 8;},75:2(){8.1i=$1h(8.1i);f 8;},4k:2(3j,n,2k){a (n==\n\'4l\'\n){a (2k==t&&7i.7j.1t(\n\'7k\'\n)) 2k=c.7l;3j.4m(2k);} u 3j.4k(n,2k+8.6o.6t);}});6k.6m.i(m 25);6k.7m=6k.6m.h({e:2(3j,n,6o){8.3j=$(3j);8.6n(6o);8.n=n.2o();},7n:2(){f 8.7h(c);},7o:2(7p){f 8.7d(8.76||c,7p);},7a:2(){8.4k(8.3j,8.n,8.76);}});6k.7q=6k.7m.h({e:2(3j,7r,6o){8.11(3j,7r,6o);8.7r=7r.2u();8.3j.4k(\n\'7s\'\n,\n\'4r\'\n);},7t:2(){a (8.3j[\n\'67\'\n+8.7r]>c) f 8.7d(8.3j[\n\'67\'\n+8.7r],c);u f 8.7d(c,8.3j[\n\'7u\'\n+8.7r]);},7v:2(){f 8.7h(8.3j[\n\'7u\'\n+8.7r]);}});6k.7w=6k.7q.h({e:2(3j,6o){8.11(3j,\n\'7x\'\n,6o);}});6k.7y=6k.7q.h({e:2(3j,6o){8.11(3j,\n\'7z\'\n,6o);}});6k.80=6k.7m.h({e:2(3j,6o){8.11(3j,\n\'4l\'\n,6o);8.76=t;},7t:2(){a (8.76>c) f 8.7d(t,c);u f 8.7d(c,t);},7v:2(){8.7h(t);}});3i.h({81:2(n,6o){f m 6k.7m(8,n,6o);}});6k.6x=2(82){f ((-7e.83(82*7e.84)\n/3f) + c.85);}; //8 6w 86 7c 87.88.89\n6k.8a=2(82){f 82;};6k.8b=2(82){f 7e.8c(82,1r);};6k.8d=2(82){f 7e.8e(82);};;6k.8f=6k.6m.h({e:2(3j,6o){8.3j=$(3j);8.6n(6o);8.76={};},79:2(){5 (6 7 8.7c) 8.76[6]=8.7b(8.7c[6],8.77[6]);},7d:2(8g){0 7c={};0 77={};5 (6 7 8g){7c[6]=8g[6][c];77[6]=8g[6][t];}\nf 8.11(7c,77);},8h:2(8i,8j){f 8.7d({\n\'7x\'\n:[8.3j.8k,8i],\n\'7z\'\n:[8.3j.8l,8j]});},8m:2(8n,8o){f 8.7d({\n\'7x\'\n:[8.3j.8k,8.3j.8k+8n],\n\'7z\'\n:[8.3j.8l,8.3j.8l+8o]});},7a:2(){5 (6 7 8.76) 8.4k(8.3j,6,8.76[6]);}});6k.8p=6k.6m.h({e:2(3j,n,6o){8.3j=$(3j);8.6n(6o);8.n=n.2o();8.76=[];},7d:2(7c,77){f 8.11(7c.3d(2i),77.3d(2i));},79:2(){[c,t,3f].2d(2(w){8.76[w]=7e.7f(8.7b(8.7c[w],8.77[w]));},8);},7a:2(){8.3j.4k(8.n,\n\"34(\"\n+8.76[c]+\n\",\"\n+8.76[t]+\n\",\"\n+8.76[3f]+\n\")\"\n);},8q:2(53){f 8.7d(53,8.3j.4w(8.n));},8r:2(53){f 8.7d(8.3j.4w(8.n),53);}});3i.h({8s:2(6o){f m 6k.8f(8,6o);}});6k.8t=2(82){f 7e.8c(3f,2b * (82-t))};6k.8u=2(82){f (-7e.8c(3f,-2b * 82)+t)};6k.8v=2(82){f 7e.8c(82,3f)};6k.8w=2(82){f-(82)*(82-3f)};6k.8x=2(82){f 7e.8e(t-7e.8c(82-t,3f))};6k.8y=2(82){f-(7e.8e(t-7e.8c(82,3f))-t)};6k.8z=2(82){f (82)*82*((3f.90)*82-t.90)};6k.91=2(82){f ((82-t)*(82-t)*((3f.90)*(82-t)+t.90)+t)};6k.92=2(82){f 7e.93(82 * (7e.84\n/3f))};6k.94=2(82){f-7e.83(82 * (7e.84/3f))+t};6k.95=2(82){f-(7e.83(7e.84*82)-t)/3f};6k.96=2(82){f (-7e.83(82*7e.84*(97*82))/3f)+c.85};6k.98=2(82){f (7e.99(82*2b)%3f==c?(82*2b-7e.99(82*2b)):t-(82*2b-7e.99(82*2b)))};","var,Class,function,properties,klass,for,p,in,this,_proto_,if,arguments,0,noinit,initialize,return,apply,extend,implement,prototype,empty,create,new,property,previous,current,parentize,Object,args,1,else,Native,i,length,Function,Array,String,parent,pass,bind,fn,type,array,bindAsEventListener,event,call,window,false,delay,ms,setTimeout,periodical,setInterval,clear,timer,clearTimeout,clearInterval,null,obj,types,instanceof,nodeName,nodeType,3,S,test,nodeValue,textnode,element,typeof,object,string,number,isFinite,check,objTrue,objFalse,Chain,chain,chains,push,callChain,splice,10,forEach,each,copy,nArray,remove,item,true,A,value,params,match,RegExp,camelCase,replace,D,gi,charAt,toUpperCase,capitalize,toLowerCase,b,a,z,g,trim,s,clean,rgbToHex,rgb,rgba,4,d,hex,toString,16,hexText,join,hexToRgb,w,2,parseInt,rgbText,Element,el,document,createElement,inject,where,switch,case,before,parentNode,insertBefore,break,after,getNext,appendChild,inside,injectBefore,injectAfter,injectInside,adopt,removeChild,clone,cloneNode,replaceWith,replaceChild,appendText,text,getTag,style,ActiveXObject,styleSheet,cssText,createTextNode,hasClassName,className,addClassName,removeClassName,toggleClassName,setStyle,opacity,setOpacity,setStyles,source,setAttribute,visibility,hidden,visible,filter,alpha,100,getStyle,num,proPerty,defaultView,getComputedStyle,getPropertyValue,currentStyle,color,backgroundColor,borderColor,auto,transparent,removeStyles,addEvent,action,addEventListener,attachEvent,on,Unload,functions,removeEvent,removeEventListener,detachEvent,getBrother,what,Sibling,while,getPrevious,next,getFirst,firstChild,nextSibling,setProperty,class,name,input,attributes,attribute,default,setProperties,setHTML,html,innerHTML,getProperty,getAttribute,tagName,getOffset,offset,do,offsetParent,getTop,top,getLeft,left,method,getElementById,elements,vars,unload,removeFunction,Fx,fx,Base,setOptions,options,duration,500,onComplete,onStart,unit,px,wait,transition,sinoidal,fps,30,step,currentTime,Date,getTime,startTime,clearTimer,now,to,tPos,setNow,increase,compute,from,custom,Math,round,1000,set,navigator,userAgent,Firefox,9999,Style,hide,goTo,val,Layout,layout,overflow,toggle,scroll,show,Height,height,Width,width,Opacity,effect,pos,cos,PI,5,is,script,aculo,us,linear,cubic,pow,circ,sqrt,Styles,objFromTo,resizeTo,hto,wto,offsetHeight,offsetWidth,resizeBy,hby,wby,Color,fromColor,toColor,effects,expoIn,expoOut,quadIn,quadOut,circOut,circIn,backIn,7,backOut,sineOut,sin,sineIn,sineInOut,wobble,9,pulse,floor".split(","))); // declaring the class var timedSlideShow = Class.create(); // implementing the class timedSlideShow.prototype = { initialize: function(element, data) { this.currentIter = 0; this.lastIter = 0; this.maxIter = 0; this.slideShowElement = element; this.slideShowData = data; this.slideShowInit = 1; this.slideElements = Array(); this.slideShowDelay = 5000; this.articleLink = ""; this.slideInfoZone = ""; element.style.display="block"; this.articleLink = document.createElement('div'); this.articleLink.className = 'global'; element.appendChild(this.articleLink); this.articleLink.href = ""; this.maxIter = data.length; for(i=0;i= this.maxIter) { this.currentIter = 0; this.lastIter = this.maxIter - 1; } this.slideShowInit = 0; this.doSlideShow.bind(this)(); }, doSlideShow: function() { if (this.slideShowInit == 1) { setTimeout(this.startSlideShow.bind(this),10); } else { if (this.currentIter != 0) { this.slideElements[parseInt(this.currentIter)].currentOpacity.options.onComplete = function() { this.slideElements[parseInt(this.lastIter)].setStyle('opacity',0); }.bind(this); this.slideElements[parseInt(this.currentIter)].currentOpacity.custom(0, 1); } else { this.slideElements[parseInt(this.currentIter)].setStyle('opacity',1); this.slideElements[parseInt(this.lastIter)].currentOpacity.custom(1, 0); } setTimeout(this.showInfoSlideShow.bind(this),1000); setTimeout(this.hideInfoSlideShow.bind(this),this.slideShowDelay-1000); setTimeout(this.nextSlideShow.bind(this),this.slideShowDelay); } }, showInfoSlideShow: function() { /* this.articleLink.removeChild(this.slideInfoZone); this.slideInfoZone = document.createElement('div'); this.slideInfoZone.styles = new fx.Styles(this.slideInfoZone); this.slideInfoZone.setStyle('opacity',0); var slideInfoZoneTitle = document.createElement('h2'); slideInfoZoneTitle.innerHTML = this.slideShowData[this.currentIter][2] this.slideInfoZone.appendChild(slideInfoZoneTitle); var slideInfoZoneDescription = document.createElement('p'); slideInfoZoneDescription.innerHTML = this.slideShowData[this.currentIter][3]; this.slideInfoZone.appendChild(slideInfoZoneDescription); this.articleLink.appendChild(this.slideInfoZone); this.articleLink.href = this.slideShowData[this.currentIter][1]; this.slideInfoZone.className = 'slideInfoZone'; this.slideInfoZone.normalHeight = this.slideInfoZone.getStyle('height', true).toInt(); this.slideInfoZone.styles.custom({'opacity': [0, 0.7], 'height': [0, this.slideInfoZone.normalHeight]}); */ }, hideInfoSlideShow: function() { // this.slideInfoZone.styles.custom({'opacity': [0.7, 0]}); } }; function initTimedSlideShow(element, data) { var slideshow = new timedSlideShow(element, data); } function addLoadEvent(func) { var oldonload = window.onload; if (typeof window.onload != 'function') { window.onload = func; } else { window.onload = function() { oldonload(); func(); } } }