function showHideSwitch (theid) {
img_close = '/images/expandbutton-close.gif';
img_open = '/images/expandbutton-open.gif';
    if (document.getElementById) {
        var src_imagen = theid.src;
        if (src_imagen.match(/expandbutton-open.gif/)) {
            theid.setAttribute ('src', img_close);
            Effect.Fade(theid.id + 'Div', {duration:.5});
        } else {
            theid.setAttribute ('src', img_open);
            new Effect.Appear(theid.id + 'Div', {duration:.5});
        }
    }
}