dropdown = function() {
	if (document.all && document.getElementById) {
		var navRoot = document.getElementById('dropdown');
		for (i=0; i<navRoot.childNodes.length; i++) {
			var node = navRoot.childNodes[i];
			if (node.nodeName == 'LI') {
				node.onmouseover = function() {
					if (this.className == 'active') {
						this.className += ' hover';
					}
					else if (this.className == 'divider') {
						this.className = 'divider';
					}
					else {
						this.className += 'hover';
					}
					//alert(this.className);
				}
				node.onmouseout=function() {
					this.className = this.className.replace('active hover', 'active');
					this.className = this.className.replace('hover', '');
					
				}				
			}
		}
	}
}
window.onload=dropdown;
