function hoverNav () {
	/* alert ("Function called..."); */
	var navRoot = document.getElementById("navItems");
	//alert(navRoot.innerHTML); //show all html code that is being used by function hoverNav
	
	for(i = 0; i < navRoot.childNodes.length; i++) {
		
		var node = navRoot.childNodes[i];
		
		if (node.nodeName.toUpperCase() == "LI") // when looking for html tags, must be capitalised
		{
			
			node.onmouseover = function() {
				this.className="over";	
			}
			node.onmouseout = function() {
				this.className = this.className.replace("over", "");	
			}
										 
		
		}
		
	}
}




					   
/*window.onload = hoverNav; */ //Have currently moved onload into body of pages to accomodate multiple onload functions if neccessary (ie formValidation script on booking page).
