// JavaScript Document

startList = function() {

if (document.all&&document.getElementById) {

	var navRoot = document.getElementById("menu");
	var courses2 = document.getElementById("courses2");
	var courses3 = document.getElementById("courses3");
	var courses4 = document.getElementById("courses4");
	var courses5 = document.getElementById("courses5");
	var resources2 = document.getElementById("resources2");
	var services2 = document.getElementById("services2"); 
	var international2 = document.getElementById("international2");
	var applications2 = document.getElementById("applications2");
	//var applications3 = document.getElementById("applications3");
	var staff2 = document.getElementById("staff2");
	
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {	
				node.onmouseover=function() {
					this.className+=" over";
			  	}
			  	node.onmouseout=function() {
			  		this.className=this.className.replace(" over", "");
				}			
			}		
		}
		
		for (i=0; i<courses2.childNodes.length; i++) {
			node = courses2.childNodes[i];			
			if (node.nodeName=="LI") {		
				node.onmouseover=function() {			
					this.className+=" over";			
			  	}			
			  	node.onmouseout=function() {			
			  		this.className=this.className.replace(" over", "");			
				}			
			}		
		}
		
		for (i=0; i<courses3.childNodes.length; i++) {
			node = courses3.childNodes[i];			
			if (node.nodeName=="LI") {		
				node.onmouseover=function() {			
					this.className+=" over";			
			  	}			
			  	node.onmouseout=function() {			
			  		this.className=this.className.replace(" over", "");			
				}			
			}		
		}
		
		for (i=0; i<courses4.childNodes.length; i++) {
			node = courses4.childNodes[i];			
			if (node.nodeName=="LI") {		
				node.onmouseover=function() {			
					this.className+=" over";			
			  	}			
			  	node.onmouseout=function() {			
			  		this.className=this.className.replace(" over", "");			
				}			
			}		
		}
		
		for (i=0; i<courses5.childNodes.length; i++) {
			node = courses5.childNodes[i];			
			if (node.nodeName=="LI") {		
				node.onmouseover=function() {			
					this.className+=" over";			
			  	}			
			  	node.onmouseout=function() {			
			  		this.className=this.className.replace(" over", "");			
				}			
			}		
		}
		
		for (i=0; i<resources2.childNodes.length; i++) {
			node = resources2.childNodes[i];			
			if (node.nodeName=="LI") {		
				node.onmouseover=function() {			
					this.className+=" over";			
			  	}			
			  	node.onmouseout=function() {			
			  		this.className=this.className.replace(" over", "");			
				}			
			}		
		}
		
		for (i=0; i<services2.childNodes.length; i++) {
			node = services2.childNodes[i];			
			if (node.nodeName=="LI") {		
				node.onmouseover=function() {			
					this.className+=" over";			
			  	}			
			  	node.onmouseout=function() {			
			  		this.className=this.className.replace(" over", "");			
				}			
			}		
		}
		
		for (i=0; i<international2.childNodes.length; i++) {
			node = international2.childNodes[i];			
			if (node.nodeName=="LI") {		
				node.onmouseover=function() {			
					this.className+=" over";			
			  	}			
			  	node.onmouseout=function() {			
			  		this.className=this.className.replace(" over", "");			
				}			
			}		
		}
		
		for (i=0; i<applications2.childNodes.length; i++) {
			node = applications2.childNodes[i];			
			if (node.nodeName=="LI") {		
				node.onmouseover=function() {			
					this.className+=" over";			
			  	}			
			  	node.onmouseout=function() {			
			  		this.className=this.className.replace(" over", "");			
				}			
			}		
		}
		
		/*for (i=0; i<applications3.childNodes.length; i++) {
			node = applications3.childNodes[i];			
			if (node.nodeName=="LI") {		
				node.onmouseover=function() {			
					this.className+=" over";			
			  	}			
			  	node.onmouseout=function() {			
			  		this.className=this.className.replace(" over", "");			
				}			
			}		
		}*/
		
		for (i=0; i<staff2.childNodes.length; i++) {
			node = staff2.childNodes[i];			
			if (node.nodeName=="LI") {		
				node.onmouseover=function() {			
					this.className+=" over";			
			  	}			
			  	node.onmouseout=function() {			
			  		this.className=this.className.replace(" over", "");			
				}			
			}		
		}
	}
}

window.onload=startList;