// JavaScript Document
/* 
	Taken from: http://www.alistapart.com/articles/horizdropdowns/
	IE/Win only allows the :hover pseudo-class to be applied to a link — so the li:hover that makes the sub-menus appear means nothing to IE.
	This required to kick IE back into action
*/

startList = function() {
	if (document.all&&document.getElementById) 
	{
		navRoot = document.getElementById("TopNav");
		
		for (i=0; i<navRoot.childNodes.length; i++) {
			
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+=" over";
					//alert(this.secondChild.nodeName);
				}
				node.onmouseout=function(e) { 
					this.className=this.className.replace(" over", "");	
					
				}
			}
		}
	}
}
window.onload=startList;
