rem: z.step = function(f,tt){ 
add:   z.el = el;   var y = z.el.style;   z.a = function(){ z.el.style[ty] = z.now+'px'; };   z.max = function(){return z.el["$$orig"+ty]||z.cur();};   z.cur = function(){return $.css(z.el,ty);};   z.custom = function(from,to){ z.startTime = (new Date()).getTime(); z.now = from; z.a();  z.timer = setInterval(function(){ z.step(from, to); }, 13); };   z.show = function(){ y.display = "block"; z.o.auto = true; z.custom(0,z.max()); };   z.hide = function(){  z.el["$$orig"+ty] = this.cur();   z.custom(z.cur(),0); };   z.toggle = function(){ if ( z.cur() > 0 ) { z.hide(); } else { z.show(); } };   z.oldOverflow = y.overflow;   y.overflow = "hidden";   z.step = function(firstNum, lastNum){ 
context: $.fx = function(el,op,ty,tz){	var z = this;	z.el = el.constructor==String?document.getElementById(el):el;	var y = z.el.style;	z.a = function(){z.el.style[ty]=z.now+z.o.unit;};	z.max = function(){return z.el["io"+ty]||z.cur();};	z.cur = function(){return $.css(z.el,ty);};	z.show = function(){z.ss("block");z.o.auto=true;z.custom(0,z.max());};	z.hide = function(){z.el.$o=$.getCSS(z.el,"overflow");z.el["io"+ty]=this.cur();z.custom(z.cur(),0);};	z.ss = function(a){if(y.display!=a){y.display=a;}};	z.toggle = function(){if(z.cur()>0){z.hide();}else{z.show();}};	z.modify = function(a){z.custom(z.cur(),z.cur()+a);};	z.clear = function(){clearInterval(z.timer);z.timer=null;};	z.oo = y.overflow;	y.overflow = "hidden";	z.o = {		unit: "px",		duration: (op && op.duration) || 400,		onComplete: (op && op.onComplete) || op	};	z.step = function(f,tt){		var t = (new Date()).getTime();		var p = (t - z.s) / z.o.duration;		if (t >= z.o.duration+z.s) {			z.now = tt;			z.clear();			setTimeout(function(){				y.overflow = z.oo;				if(y.height=="0px"||y.width=="0px"){z.ss("none");}				if ( ty != "opacity" && z.o.auto ) {					$.setAuto( z.el, "height" );					$.setAuto( z.el, "width" );				}				if(z.o.onComplete.constructor == Function){z.el.$_ = z.o.onComplete;z.el.$_();}			},13);		} else {			z.now = ((-Math.cos(p*Math.PI)/2) + 0.5) * (tt-f) + f;		}		z.a();	};	z.custom = function(f,t){		if(z.timer) {return null;}		this.now=f;z.a();z.io=z.cur();z.s=(new Date()).getTime();		z.timer=setInterval(function(){z.step(f,t);}, 13);	};};
meta: 5264	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5264/807c75dadf647a5f07b661ff62c102cd3797479a/fx.js/clean/fx/fx.js