var markedRow = new Array();

function setPointer(theRow, thePointerColor, theNormalBgColor)
{
    var theCells = null;

    if (thePointerColor == '' || typeof(theRow.style) == 'undefined') {
        return false;
    }
    if (typeof(document.getElementsByTagName) != 'undefined') {
        theCells = theRow.getElementsByTagName('td');
    }
    else if (typeof(theRow.cells) != 'undefined') {
        theCells = theRow.cells;
    }
    else {
        return false;
    }

    var rowCellsCnt  = theCells.length;
    var currentColor = null;
    var newColor     = null;

    if (typeof(window.opera) == 'undefined'
        && typeof(theCells[0].getAttribute) != 'undefined' && typeof(theCells[0].getAttribute) != 'undefined') {
        currentColor = theCells[0].getAttribute('bgcolor');
        newColor     = (currentColor.toLowerCase() == thePointerColor.toLowerCase())
                     ? theNormalBgColor
                     : thePointerColor;
        for (var c = 0; c < rowCellsCnt; c++) {
            theCells[c].setAttribute('bgcolor', newColor, 0);
        } // end for
    }
    else {
        currentColor = theCells[0].style.backgroundColor;
        newColor     = (currentColor.toLowerCase() == thePointerColor.toLowerCase())
                     ? theNormalBgColor
                     : thePointerColor;
        for (var c = 0; c < rowCellsCnt; c++) {
            theCells[c].style.backgroundColor = newColor;
        }
    }

    return true;
} 


if (document.images)
{
  var menu0 = new Image(); menu0.src = "fileadmin/bilder/allgemein/homeN.gif";
  var menu0b = new Image(); menu0b.src = "fileadmin/bilder/allgemein/homeH.gif";

  var menu1 = new Image(); menu1.src = "fileadmin/bilder/allgemein/sitemapN.gif";
  var menu1b = new Image(); menu1b.src = "fileadmin/bilder/allgemein/sitemapH.gif";

  var menu2 = new Image(); menu2.src = "fileadmin/bilder/allgemein/loginN.gif";
  var menu2b = new Image(); menu2b.src = "fileadmin/bilder/allgemein/loginH.gif"

  var menu3 = new Image(); menu3.src = "fileadmin/bilder/allgemein/impressN.gif";
  var menu3b = new Image(); menu3b.src = "fileadmin/bilder/allgemein/impressH.gif";

  var menu4 = new Image(); menu4.src = "fileadmin/bilder/allgemein/kontaktN.gif";
  var menu4b = new Image(); menu4b.src = "fileadmin/bilder/allgemein/kontaktH.gif"

  var menu5 = new Image(); menu5.src = "fileadmin/bilder/allgemein/nuN.gif";
  var menu5b = new Image(); menu5b.src = "fileadmin/bilder/allgemein/nuH.gif"
  
  var menu6 = new Image(); menu6.src = "fileadmin/bilder/allgemein/rssN.gif";
  var menu6b = new Image(); menu6b.src = "fileadmin/bilder/allgemein/rssH.gif"  

}

function aktiv_menu0(bild) { window.status = ""; if (document.images) bild.src = menu0.src;}
function aktiv_menu0b(bild,text) {window.status = text; if (document.images) bild.src = menu0b.src;}

function aktiv_menu1(bild) { window.status = ""; if (document.images) bild.src = menu1.src;}
function aktiv_menu1b(bild,text) {window.status = text; if (document.images) bild.src = menu1b.src;}

function aktiv_menu2(bild) { window.status = ""; if (document.images) bild.src = menu2.src;}
function aktiv_menu2b(bild,text) {window.status = text; if (document.images) bild.src = menu2b.src;}

function aktiv_menu3(bild) { window.status = ""; if (document.images) bild.src = menu3.src;}
function aktiv_menu3b(bild,text) {window.status = text; if (document.images) bild.src = menu3b.src;}

function aktiv_menu4(bild) { window.status = ""; if (document.images) bild.src = menu4.src;}
function aktiv_menu4b(bild,text) {window.status = text; if (document.images) bild.src = menu4b.src;}

function aktiv_menu5(bild) { window.status = ""; if (document.images) bild.src = menu5.src;}
function aktiv_menu5b(bild,text) {window.status = text; if (document.images) bild.src = menu5b.src;}

function aktiv_menu6(bild) { window.status = ""; if (document.images) bild.src = menu6.src;}
function aktiv_menu6b(bild,text) {window.status = text; if (document.images) bild.src = menu6b.src;}


