jQ(document).ready(function() {
    /**
    * Nastavuje napovedu
    **/
    setHelp();
});

/**
 * Nastavuje otvirani napovedy na objekty na strance
 */
function setHelp() {
    jQ('a.charges').click(function() {
        viewHelp(1);
    });
}

function show_note(divID, action) {
    var x = document.getElementById(divID);
    //alert(x);
    //alert(x.style.display);
    if (x) {
        if (action == 1) x.style.display = 'block';
        else x.style.display = 'none';
    }
}

function show_note2(divID) {
    var x = document.getElementById(divID);
    //alert('object `'+divID+'`'+' '+x+' =`'+x.style.display+'`');
    //alert(x.style.display);
    if (x) {
        if (x.style.display == '') x.style.display = 'none';
        else x.style.display = '';
    }
}
