BrochotAlbum = {

    show : function(img) {
        var img = $(img);
        var oddity = Element.hasClassName(img, 'odd') ? 'odd' : 'even';
        Element.show(img);
        // Cacher toutes les autres images du même bord
        $A(img.parentNode.childNodes).each(function(node) {
            if (node.className && Element.hasClassName(node, oddity) && Element.hasClassName(node, 'album-image')) { 
                // node is an album image, and has same oddity of the image to be shown
                if (node != img) {
                    Element.hide(node);
                }
            }
        });
    }

}
