/* adding the show() and hide() methods to the Element class */
Element.extend({
	visible: function() { return this.style.display != 'none' },
	toggle: function() { this[this.visible() ? 'hide' : 'show'](); return this },
	hide: function() { this.style.display = 'none'; return this },
	show: function() { this.style.display = ''; return this }
})