/* - - - - - - - - - - - - - - - - - - - - - - -
 JavaScript
 giovedì 15 maggio 2008 17.42.06
 HAPedit 3.1.11.111
 - - - - - - - - - - - - - - - - - - - - - - - */
function mostra(pulsante){


if (pulsante == 'utente'){
var u = document.getElementById("utente");
var mod_u = document.getElementById("mod_utente");
    if (u.style.visibility == 'hidden') {
        u.style.visibility = 'visible';
        u.style.display = 'block';
        mod_u.value= '-';
    } else {
        u.style.visibility = 'hidden';
        u.style.display = 'none';
        mod_u.value= '+ elimina un utente';
    }   }
if (pulsante == 'doc'){
var c = document.getElementById("doc");
var mod_c = document.getElementById("mod_doc");
    if (c.style.visibility == 'hidden') {
        c.style.visibility = 'visible';
        c.style.display = 'block';
        mod_c.value= '-';
    } else {
        c.style.visibility = 'hidden';
        c.style.display = 'none';
        mod_c.value= '+ edita uno scritto';
    }   }
if (pulsante == 'lista'){
var l = document.getElementById("lista");
var mod_l = document.getElementById("mod_lista");
    if (l.style.visibility == 'hidden') {
        l.style.visibility = 'visible';
        l.style.display = 'block';
        mod_l.value= '-';
    } else {
        l.style.visibility = 'hidden';
        l.style.display = 'none';
        mod_l.value= '+ lista iscritti';
    }   }
    if (pulsante == 'condizioni'){
var cond = document.getElementById("condizioni");
var mod_cond = document.getElementById("mod_cond");
    if (cond.style.visibility == 'hidden') {
        cond.style.visibility = 'visible';
        cond.style.display = 'block';
        mod_cond.value= '-';
    } else {
        cond.style.visibility = 'hidden';
        cond.style.display = 'none';
        mod_cond.value= '+ condizioni di utilizzo';
    }   }
    if (pulsante == 'com'){
var com = document.getElementById("com");
var mod_com = document.getElementById("mod_com");
    if (com.style.visibility == 'hidden') {
        com.style.visibility = 'visible';
        com.style.display = 'block';
        mod_com.value= '-';
    } else {
        com.style.visibility = 'hidden';
        com.style.display = 'none';
        mod_com.value= '+ modera commenti';
    }   }
    if (pulsante == 'comlib'){
var com_lib = document.getElementById("comlib");
var mod_com_lib = document.getElementById("mod_com_lib");
    if (com_lib.style.visibility == 'hidden') {
        com_lib.style.visibility = 'visible';
        com_lib.style.display = 'block';
        mod_com_lib.value= '-';
    } else {
        com_lib.style.visibility = 'hidden';
        com_lib.style.display = 'none';
        mod_com_lib.value= '+ modera commenti liberi';
    }   }
    if (pulsante == 'msg'){
var msg = document.getElementById("msg");
var mod_msg = document.getElementById("mod_msg");
    if (msg.style.visibility == 'hidden') {
        msg.style.visibility = 'visible';
        msg.style.display = 'block';
        mod_msg.value= '-';
    } else {
        msg.style.visibility = 'hidden';
        msg.style.display = 'none';
        mod_msg.value= '+ pubblica pensieri';
    }   }
    if (pulsante == 'clu'){
var clu = document.getElementById("clu");
var mod_clu = document.getElementById("mod_clu");
    if (clu.style.visibility == 'hidden') {
        clu.style.visibility = 'visible';
        clu.style.display = 'block';
        mod_clu.value= '-';
    } else {
        clu.style.visibility = 'hidden';
        clu.style.display = 'none';
        mod_clu.value= '+ area clu';
    }   }
if (pulsante == 'link'){
var link = document.getElementById("link");
var mod_link = document.getElementById("mod_link");
    if (link.style.visibility == 'hidden') {
        link.style.visibility = 'visible';
        link.style.display = 'block';
        mod_link.value= '-';
    } else {
        link.style.visibility = 'hidden';
        link.style.display = 'none';
        mod_link.value= '+ link';
    }   }
}