var DayNam = new Array('Niedziela','Poniedziałek','Wtorek','Środa','Czwartek','Piątek','Sobota');
var MnthNam = new Array('Styczeń','Luty','Marzec','Kwiecień','Maj','Czerwiec','Lipiec','Sierpień','Wrzesień','Październik','Listopad','Grudzień');

function RevisionELEM(id) {
    if ((document.getElementById) && (document.getElementById(id))) return document.getElementById(id);
    else if ((document.all) && (document.all(id))) return document.all(id);
    else if ((document.layers) && (document.layers[id])) return document.layers[id];
    else return false;
};

RevisionNBAR = function() {
	var menu = RevisionELEM('menu');
		
	if (!menu) 
		return false;
	
	for (var i = 0; i < menu.childNodes.length; i++) {
		var node = menu.childNodes[i];
		if (node.nodeName != 'LI') 
			continue;

		node.onmouseover = function() { 
			this.style.backgroundColor = '#1f6f88';
			this.style.color = '#FFFFFF';
			this.className += ' over';
		}
		node.onmouseout = function() { 
			this.style.background = 'transparent';
			this.style.color = '#444444';
			this.className = this.className.replace(' over', '');
		}
	}
};

if (window.attachEvent) window.attachEvent('onload', RevisionNBAR);
else window.onload = RevisionNBAR; 

