	YAHOO.widget.Effect = function(el) {
		this.oEl = YAHOO.util.Dom.get(el);
		this.height = parseInt(YAHOO.util.Dom.getStyle(this.oEl,'height'));
		this.width = parseInt(YAHOO.util.Dom.getStyle(this.oEl,'width'));
		if (isNaN(this.height)) {
			this.height = this.oEl.offsetHeight;
		}
		if (isNaN(this.width)) {
			this.width = this.oEl.offsetWidth;
		}
	};
	YAHOO.widget.Effect.prototype.BlindUp = function(iTimer, onComplete) {
		var timer = iTimer || 1;
		this.oEl.style.overflow = 'hidden';
		var blind = new YAHOO.util.Anim(this.oEl, { height: { to:0} }, timer, YAHOO.util.Easing.easeOut);
		if ( onComplete ) {
			blind.onComplete.subscribe(onComplete);
		}
		blind.animate();
	};
	YAHOO.widget.Effect.prototype.BlindDown = function(iTimer, onComplete) {
		this.oEl.style.visibility = 'hidden';
		this.oEl.style.overflow = 'hidden';
		this.oEl.style.height = '';
		var height = parseInt(YAHOO.util.Dom.getStyle(this.oEl,'height'));
		if (isNaN(height)) {
			height = this.oEl.offsetHeight;
		}
		this.oEl.style.height = '0';
		this.oEl.style.visibility = 'visible';
		var timer = iTimer || 1;
		var blind = new YAHOO.util.Anim(this.oEl, { height: { to:height, from:0} }, timer, YAHOO.util.Easing.easeOut);
		if ( onComplete ) {
			blind.onComplete.subscribe(onComplete);
		}
		blind.animate();
	};

