	if (document.getElementById){ 
	document.write('<style type="text/css">\n')
	document.write('.sub{display: none;}\n')
	document.write('</style>\n')
	}
	
	function SwitchMenu(obj){
		if(document.getElementById){
		var el = document.getElementById(obj);
		var ar = document.getElementById("masterdiv").getElementsByTagName("span"); 
			if(el.style.display != "block"){ 
				for (var i=0; i<ar.length; i++){
					if (ar[i].className=="sub") 
					ar[i].style.display = "none";
				}
				el.style.display = "block";
			}else{
				// el.style.display = "none";
			}
		}
	}
	
	function setPointer(theMenu, theRow)
	{
	    var MenuColorActive = '#80AFFF';
	    var MenuColorActiveNews = '#FF9999';
	    var MenuColorInActive = '#E5ECEF';
	    var MenuPoint = '../images/02_menu_punt.gif';
	
	    for (var i = 0; i < theMenu.rows.length; i++)
            {
            	for (var j = 0; j < theMenu.rows(i).cells.length; j++)
                { 
                	theMenu.rows(i).cells(j).style.backgroundColor = MenuColorInActive; 
                	theMenu.rows(i).cells(j).background = ''; 
                }
	    }

	    if (typeof(theRow) == 'undefined') {
	        return false;
	    }
	    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;
	    }

	    if (theMenu != menunews) {
		    var rowCellsCnt  = theCells.length;
		    for (var c = 0; c < rowCellsCnt; c++) {
		        theCells[c].style.backgroundColor = MenuColorActive;
		    }
		    theCells[0].background = MenuPoint;
	    }
	    else {
		    var rowCellsCnt  = theCells.length;
		    for (var c = 0; c < rowCellsCnt; c++) {
		        theCells[c].style.backgroundColor = MenuColorActiveNews;
		    }
	    }

	    return true;
	} 
