rem: z.custom(z.cur(),0); 
add: z.custom(z.el.orig[prop], 0); 
context: 	fx: function( elem, options, prop ){			var z = this;			// The users options		z.o = {			duration: options.duration || 400,			complete: options.complete,			step: options.step		};			// The element		z.el = elem;			// The styles		var y = z.el.style;			// Simple function for setting a style value		z.a = function(){			if ( options.step )				options.step.apply( elem, [ z.now ] );			if ( prop == "opacity" ) {				if (z.now == 1) z.now = 0.9999;				if (window.ActiveXObject)					y.filter = "alpha(opacity=" + z.now*100 + ")";				else					y.opacity = z.now;			// My hate for IE will never die			} else if ( parseInt(z.now) )				y[prop] = parseInt(z.now) + "px";			y.display = "block";		};			// Figure out the maximum number to run to		z.max = function(){			return parseFloat( jQuery.css(z.el,prop) );		};			// Get the current size		z.cur = function(){			var r = parseFloat( jQuery.curCSS(z.el, prop) );			return r && r > -10000 ? r : z.max();		};			// Start an animation from one number to another		z.custom = function(from,to){			z.startTime = (new Date()).getTime();			z.now = from;			z.a();				z.timer = setInterval(function(){				z.step(from, to);			}, 13);		};			// Simple 'show' function		z.show = function( p ){			if ( !z.el.orig ) z.el.orig = {};			// Remember where we started, so that we can go back to it later			z.el.orig[prop] = this.cur();			z.custom( 0, z.el.orig[prop] );			// Stupid IE, look what you made me do			if ( prop != "opacity" )				y[prop] = "1px";		};			// Simple 'hide' function		z.hide = function(){			if ( !z.el.orig ) z.el.orig = {};			// Remember where we started, so that we can go back to it later			z.el.orig[prop] = this.cur();			z.o.hide = true;			// Begin the animation			z.custom(z.cur(),0);		};			// IE has trouble with opacity if it does not have layout		if ( jQuery.browser.msie && !z.el.currentStyle.hasLayout )			y.zoom = "1";			// Remember  the overflow of the element		if ( !z.el.oldOverlay )			z.el.oldOverflow = jQuery.css( z.el, "overflow" );			// Make sure that nothing sneaks out		//if ( z.el.oldOverlay == "visible" )		y.overflow = "hidden";			// Each step of an animation		z.step = function(firstNum, lastNum){			var t = (new Date()).getTime();				if (t > z.o.duration + z.startTime) {				// Stop the timer				clearInterval(z.timer);				z.timer = null;				z.now = lastNum;				z.a();				// Hide the element if the "hide" operation was done				if ( z.o.hide ) y.display = 'none';					// Reset the overflow				y.overflow = z.el.oldOverflow;				// Reset the property, if the item has been hidden				if ( z.o.hide )					y[ prop ] = z.el.orig[ prop ].constructor == Number && prop != "opacity" ?						z.el.orig[prop] + "px" : z.el.orig[prop];				// set its height and/or width to auto				if ( prop == 'height' || prop == 'width' )					jQuery.setAuto( z.el, prop );				// If a callback was provided, execute it				if( z.o.complete && z.o.complete.constructor == Function )					// Execute the complete function					z.o.complete.apply( z.el );			} else {				// Figure out where in the animation we are and set the number				var p = (t - this.startTime) / z.o.duration;				z.now = ((-Math.cos(p*Math.PI)/2) + 0.5) * (lastNum-firstNum) + firstNum;					// Perform the next step of the animation				z.a();			}		};		}
meta: 2798	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2798/48ec10044f011ccfe9bd232d629682b59cccbd97/fx.js/buggy/src/fx/fx.js