
	if (document.images)
	{		
		item1on = new Image()
		item1on.src = "../r30/vc_shop/bilder/firma95/navigation/nav_models_a.gif"
		item2on = new Image()
		item2on.src = "../r30/vc_shop/bilder/firma95/navigation/nav_partgroups_a.gif"
		item3on = new Image()
		item3on.src = "../r30/vc_shop/bilder/firma95/navigation/nav_parts_a.gif"
		item4on = new Image()                                                 
		item4on.src = "../r30/vc_shop/bilder/firma95/navigation/nav_dealers_a.gif"
		item5on = new Image()                                                
		item5on.src = "../r30/vc_shop/bilder/firma95/navigation/nav_accessgroups_a.gif"
		item6on = new Image()                                                 
		item6on.src = "../r30/vc_shop/bilder/firma95/navigation/nav_orders_a.gif"
		item7on = new Image()                                                  
		item7on.src = "../r30/vc_shop/bilder/firma95/navigation/nav_logout_a.gif"
		item8on = new Image()                                                  
		item8on.src = "../r30/vc_shop/bilder/firma95/navigation/nav_warenkorb_en_a.gif"
		item9on = new Image()                                                  
		item9on.src = "../r30/vc_shop/bilder/firma95/navigation/nav_abmelden_en_a.gif"
		item10on = new Image()                                                  
		item10on.src = "../r30/vc_shop/bilder/firma95/navigation/nav_artikelsuche_en_a.gif"
		item11on = new Image()                                                  
		item11on.src = "../r30/vc_shop/bilder/firma95/navigation/nav_1import_a.gif"
		item12on = new Image()                                                  
		item12on.src = "../r30/vc_shop/bilder/firma95/navigation/nav_maintenance_a.gif"
		
			
		item1off = new Image()
		item1off.src = "../r30/vc_shop/bilder/firma95/navigation/nav_models.gif"
		item2off = new Image()
		item2off.src = "../r30/vc_shop/bilder/firma95/navigation/nav_partgroups.gif"
		item3off = new Image()
		item3off.src = "../r30/vc_shop/bilder/firma95/navigation/nav_parts.gif"
		item4off = new Image()
		item4off.src = "../r30/vc_shop/bilder/firma95/navigation/nav_dealers.gif"
		item5off = new Image()
		item5off.src = "../r30/vc_shop/bilder/firma95/navigation/nav_accessgroups.gif"
		item6off = new Image()
		item6off.src = "../r30/vc_shop/bilder/firma95/navigation/nav_orders.gif"
		item7off = new Image()
		item7off.src = "../r30/vc_shop/bilder/firma95/navigation/nav_logout.gif"
		item8off = new Image()
		item8off.src = "../r30/vc_shop/bilder/firma95/navigation/nav_warenkorb_en.gif"
		item9off = new Image()
		item9off.src = "../r30/vc_shop/bilder/firma95/navigation/nav_abmelden_en.gif"
		item10off = new Image()
		item10off.src = "../r30/vc_shop/bilder/firma95/navigation/nav_artikelsuche_en.gif"
		item11off = new Image()
		item11off.src = "../r30/vc_shop/bilder/firma95/navigation/nav_1import.gif"	
		item12off = new Image()
		item12off.src = "../r30/vc_shop/bilder/firma95/navigation/nav_maintenance.gif"		
		
	}	
	function img_act(imgName)
	{
		if (document.images) 
		{
			imgOn = eval(imgName + "on.src")
			document [imgName].src = imgOn; 
		}
	}
	function img_inact(imgName) 
	{
		if (document.images) 
		{
			imgOff = eval(imgName + "off.src")
			document [imgName].src = imgOff; 
		}
	}

function setHighlight(theRow, theAction, theDefaultColor, thePointerColor, theMarkColor)
{
    var theCells = null;
    if ((thePointerColor == '' && theMarkColor == '')
        || 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 domDetect    = null;
    var currentColor = null;
    var newColor     = null;
    if (typeof(window.opera) == 'undefined'
        && typeof(theCells[0].getAttribute) != 'undefined') {
        currentColor = theCells[0].getAttribute('bgcolor');
        domDetect    = true;
    }
    else {
        currentColor = theCells[0].style.backgroundColor;
        domDetect    = false;
    }
    if (currentColor == ''
        || currentColor.toLowerCase() == theDefaultColor.toLowerCase()) {
        if (theAction == 'over' && thePointerColor != '') {
            newColor = thePointerColor;
        }
        else if (theAction == 'click' && theMarkColor != '') {
            newColor = theMarkColor;
        }
    }
    else if (currentColor.toLowerCase() == thePointerColor.toLowerCase()) {
        if (theAction == 'out') {
            newColor = theDefaultColor;
        }
        else if (theAction == 'click' && theMarkColor != '') {
            newColor = theMarkColor;
        }
    }
    else if (currentColor.toLowerCase() == theMarkColor.toLowerCase()) {
        if (theAction == 'click') {
            newColor = (thePointerColor != '')
                     ? thePointerColor
                     : theDefaultColor;
        }
    }
    if (newColor) {
        var c = null;
        if (domDetect) {
            for (c = 0; c < rowCellsCnt; c++) {
                theCells[c].setAttribute('bgcolor', newColor, 0);
            }
        }
        else {
            for (c = 0; c < rowCellsCnt; c++) {
                theCells[c].style.backgroundColor = newColor;
            }
        }
    }
    return true;
}
