/** * Additional visual effects module * * Copyright (C) 2008-2009 Nikolay V. Nemshilov aka St. */ if (!self.Fx) throw "RightJS Fx is missing";eval((function(s,d){for(var i=d.length-1;i>-1;i--)if(d[i])s=s.replace(new RegExp(i,'g'),d[i]);return s})("Fx.23=45 43(Fx.66,{47:{15:29.36(Fx.15,{27:'long',14:'44'})},30:7(e){9 3.37(3.12(e))},12:7(e){11 b=3.5.get93('14'),a={};if(b!='44'||b!='26')3.5.65.14=b=b=='fixed'?'44':'26';if(e.42)e.y=e.42.76();if(e.22)e.x=e.22.76();11 c=3.5.14();11 p=3.41();11 r=c.x-p.x;11 d=c.y-p.y;if(3.19.14=='26'){if(b=='44'){if(31(e.x))e.x+=c.x;if(31(e.y))e.y+=c.x}35{if(31(e.x))e.x+=r;if(31(e.y))e.y+=d}}35 if(b=='26'){if(31(e.x))e.x+=r-c.x;if(31(e.y))e.y+=d-c.y}91(11 k in e)61(k){18 '42':18 '22':24;18 'y':a.42=e.y+'px';24;18 'x':a.22=e.x+'px';24;70:a[k]=e[k]}9 a},41:7(){Fx.23.53=Fx.23.53||45 69('78',{65:'25:0;20:0;21:62'});3.5.insert(Fx.23.53,'be91e');11 p=Fx.23.53.14();Fx.23.53.re84();9 p}});Fx.71=45 43(Fx.23,{59:$w('25 20 58 paddingTop paddingRight paddingBottom paddingLeft 68 33'),47:{15:29.36(Fx.23.15,{14:'26',27:'normal',85:'75'})},30:7(s,a){9 3.37(3.17(s,a))},17:7(s,a){11 p=3.52(s);9 29.36(3.51(p),3._12(p),a||{})},52:7(s){if(isHash(s)){11 a=$E('78').64($E('78',{65:\"21:62;float:22;20:0;25:0\"}).64(document.body)).13(s).55();if(s.20)s=a.y/3.5.55().y;35 s=a.x/3.5.55().x}35 if(is92(s))s=s.endsWith('%')?s.50()/100:s.50();9 s},51:7(p){11 s=3._clone93(3.5,3.59),r=/([\\d\\.]+)/g;s.25=s.25||(3.5.46+'px');s.20=s.20||(3.5.offsetHeight+'px');91(11 k in s){if(k=='25'||k=='20')s[k]=s[k]||3.5[offset+k.capitalize()];if(r.test(s[k]))s[k]=s[k].56(r,7(a){9 ''+(a.50()*p)});35 delete(s[k])}if(s.33&&s.33.50()<1)s.33='1px';9 s},_12:7(a){11 p={};11 s=3.5.55();11 x=s.x*(a-1);11 y=s.y*(a-1);61(3.19.85.56('-',' ').split(' ').sort().join('_')){18 '42':p.x=-x/2;24;18 '67':p.x=-x;p.y=-y/2;24;18 '60':p.x=-x/2;18 '60_22':p.y=-y;24;18 '60_67':p.y=-y;18 '67_42':p.x=-x;24;18 '75':p.x=-x/2;18 '22':p.y=-y/2;24;70:}9 p}});Fx.Bounce=45 43(Fx,{47:{15:29.36(Fx.15,{27:'short',28:'42',79:16})},30:7(v){v=v||3.19.79;11 p=3.5.14();11 a=Fx.Durations[3.19.27]||3.19.27;11 m={27:a,14:'26'};11 k='y';61(3.19.28){18 '67':v=-v;18 '22':k='x';24;18 '60':v=-v}11 u={},d={};u[k]=-v;d[k]=v;45 Fx.23(3.5,m).77(u);45 Fx.23(3.5,m).77(d);3.finish.72(3).delay(1);9 3}});Fx.Run=45 43(Fx.23,{47:{15:29.36(Fx.23.15,{28:'22'})},30:7(h){11 h=h||'54',p={},d=3.5.57(),t=80;if(h=='88'||(h=='54'&&3.5.38())){if(3.19.28=='22')p.x=-d.25-t;35 p.y=-d.20-t;3.34(7(){3.5.87().13(3.12({x:d.22,y:d.42}))})}35{d=3.5.13('21: 62').83().57();11 a={};if(3.19.28=='22'){a.x=-d.25-t;p.x=d.22}35{a.y=-d.20-t;p.y=d.42}3.5.13(3.12(a)).13('21: 38')}9 3.37(p)}});Fx.Puff=45 43(Fx.71,{47:{15:29.36(Fx.71.15,{82:1.4})},30:7(h){11 h=h||'54',o=0,s=3.19.82;if(h=='88'||(h=='54'&&3.5.38())){11 i=3.12(3.17(1));3.34(7(){i.49=1;3.5.87().13(i)})}35{3.5.13('21: 38').83();11 w=3.5.46;11 i=3.12(3.17(1));3.34(7(){3.5.13(i)});3.5.13(29.36(3.12(3.17(s)),{49:0,21:'38'}));s=w/3.5.46;o=1}9 3.37(s,{49:o})}});Fx.89=45 43(Fx.66,{74:$w('25 20 58 49 border padding margin color 68 background 42 22 67 60'),30:7(a,r){3.40=a||'';3.32=r||'';if(a)3.34(3.5.40.72(3.5,a));if(r)3.34(3.5.32.72(3.5,r));9 3.37({})},63:eval(\"({f:\"+Fx.66.prototype.63.to92().56(/(\\.13\\(\\w+\\))/,'$1.40(3.40).32(3.32)')+\"})\").f,_65Keys:7(){11 h={};3.74.each(7(n){h[n]=1});9 3.37(h)}});69.addMethods({84:7(p,o){9 3.fx('84',[p,o||{}])},73:7(){9 3.fx('73',39)},86:7(s,o){9 3.fx('86',[s,o||{}])},90:7(){9 3.fx('90',39)},81:7(){9 3.fx('81',39)},morphTo43:7(){11 a=$A(39);if(a[0]===null)a[0]='';9 3.fx('89',a)}});",",,,this,,element,,function,,return,,var,getEndPosition,setStyle,position,Options,,_getZoomedStyle,case,options,height,visibility,left,Move,break,width,relative,duration,direction,Object,prepare,defined,removeClass,borderWidth,onFinish,else,merge,$super,visible,arguments,addClass,getParentPosition,top,Class,absolute,new,offsetWidth,extend,_getEndPosition,opacity,toFloat,_getBasicStyle,_getProportion,Dummy,toggle,sizes,replace,dimensions,lineHeight,PROPERTIES,bottom,switch,hidden,_endStyle,insertTo,style,Morph,right,fontSize,Element,default,Zoom,bind,bounce,STYLES,center,toInt,start,div,value,,puff,size,show,move,from,zoom,hide,out,CSS,run,for,String,Style".split(",")));