﻿function ov(cosa) {
    cosa.style.background = '#f9f9f9'; 
}

function ou(cosa) {
    cosa.style.background = '#ffffff'; 
}

function addClick(clientId) {
    var b = document.getElementById(clientId);
    if (b && typeof (b.click) == 'undefined') {
        b.click = function() {
            var result = true;
            if (b.onclick) result = b.onclick();
            if (typeof (result) == 'undefined' || result) {
                eval(b.getAttribute('href'));
            }
        }
    }
}
//  // aggiungo l'evento click per firefox per il defaultbutton di aspPanel
//  Page.ClientScript.RegisterStartupScript(GetType(), "", "addClick('" + but.ClientID + "');", true);
