/**
 * Toggle slide
 * @param {String} anchor (optional) One of the valid Fx anchor positions (defaults to top: 't')
 * @param {Object} options (optional) Object literal with any of the Fx config options
 * @return {Ext.Element} The Element
 */
Ext.Element.prototype.slideToggle = Ext.Fx.slideToggle = function(anchor, o) 
{ 
	var el = this.getFxEl();

	if(el.isDisplayed())
	{
		el.slideOut(anchor || "t", o || {useDisplay:true, duration: 5 });
	}
	else
	{
		el.slideIn(anchor || "t", o || {useDisplay:true, duration: 5 });
	}
};
