// Styleveränderung von Navigations-Tabellenzellen

function navOver(navtd,bgcolor)
{
    if (typeof(navtd.style) == 'undefined') {
        return false;
    }
    navtd.style.borderRight = "13px solid #ff0000";
    navtd.style.backgroundColor = bgcolor;

    return true;
}
function navOut(navtd,bgcolor)
{
    if (typeof(navtd.style) == 'undefined') {
        return false;
    }
    navtd.style.border = "0px solid #ff0000";
    navtd.style.backgroundColor = bgcolor;
    return true;
}

function navOutAct(navtd,bgcolor,bordercolor)
{
    if (typeof(navtd.style) == 'undefined') {
        return false;
    }
    navtd.style.border = "0px solid #ff0000";
    navtd.style.backgroundColor = bgcolor;
    navtd.style.borderBottom = "1px solid "+bordercolor;
    return true;
}



/* ----------------------------------------------------*/
// Styleveränderungs-Funktion aus cms

function setPointeron(theRow)
{
    if (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 = "#FF9900";
    }

    return true;
}

function setPointeroff(theRow)
{
    if (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 = "#ffffff";
    }

    return true;
}

/* ----------------------------------------------------*/


