// JavaScript Document

function startList() {
	if (document.all && document.getElementById) {
		var the_menu = document.getElementById('topMenu').getElementsByTagName('UL')[0];
		var current_node;
		
		for (aa=0; aa<the_menu.childNodes.length; aa++) {
			current_node = the_menu.childNodes[aa];
			if (current_node.nodeName == 'LI') {
				current_node.onmouseover = function() {
					this.className = 'over';
				}
				current_node.onmouseout = function() {
					this.className = 'foo';
				}
			}
		}
	}
}
window.onload=startList;