// Extending MooTools 1.2
////////////////////////

// Basic show / hide / toggle and isVisible
Element.implement({
	show: function() {
		this.setStyle('display','');
	},
	hide: function() {
		this.setStyle('display','none');
	},
	toggle: function() {
		this.isVisible() ? this.hide() : this.show();
	},
	isVisible: function() {
		return this.getStyle('display') != 'none';
	}
});
