
/**
 * aktiviert/deaktiviert Leuchtbalken im Browser-Mode
 *
 * @param   object   die Tabellenzeile
 * @param   object   die Farbe für die Tabellenzeile
 *
 * @return  boolean  prüft, ob Leuchtbalken aktiviert
 */
function setPointer(theRow, thePointerColor)
{
    if (thePointerColor == '' || typeof(theRow.style) == 'undefined') {
        return false;
    }
    if (typeof(document.getElementsByTagName) != 'undefined') {
        var theCells = theRow.getElementsByTagName('td');
    }
    else if (typeof(theRow.cells) != 'undefined') {
        var theCells = theRow.cells;
    }
    else {
        return false;
    }

    var rowCellsCnt  = theCells.length;
    for (var c = 0; c < rowCellsCnt; c++) {
        theCells[c].style.backgroundColor = thePointerColor;
    }

    return true;
} // end of the 'setPointer()' function


function confirmLink(theLink, termin)
{
 
    if (confirmMsg == '') {
        return true;
    }

    var is_confirmed = confirm(confirmMsg + ' \n' + termin);
    if (is_confirmed) {
        theLink.href;
    }

    return is_confirmed;
} 

function toZeig(strID){
  var objTABLE = document.getElementById(strID);
  objTABLE.className = 'nichtwech';
}

function toNichtZeig(strID){
  var objTABLE = document.getElementById(strID);
  objTABLE.className = 'wech';
}

