function ShowHide(el, next) {
	
	e = $(el);
	
	if (e) {
		e.setStyle(
			'display', 
			e.getStyle('display') == 'block' ? 'none' : 'block'
		);

		if (next) {
			$(next).setStyle('top', parseInt("-" + e.getStyle('height')));
		}
	}
}

/* mootools extend */

Element.extend({
	hide: function() {
		return this.setStyle('display', 'none');
	},
	
	show: function() {
		return this.setStyle('display', 'block');
	}
	
});
