//when the dom is ready...
window.addEvent('domready', function() {
	//time to implement fancy show / hide
	Element.implement({
		//hides
		hideShow: function() {
			var hidden = this.getStyle('display');
			if (hidden == "none") {
				this.fade('hide').removeClass('hidden'); 
				this.fade('in');
			} else {
				this.fade('hide').addClass('hidden');
			}
		}
	});
});