MooTools Simple Show & Hide

$$(.showhide).addEvents({click: function(){var e = $(example);var s = (e.getStyle(display)==block) ? none:block;e.setStyle(display,s);}});

MooTools basics - useful tips