// retrieves all links contained within navcontainer li tags and sets a css style to the active link...
// active link is determined by checking what page we are currently on and comparing it to the links...
window.onload = function(){
		var list = document.getElementById("navcontainer").getElementsByTagName("li");
		if (list != null){
			for(var i = 0;i < list.length;i++){
				if (list[i].className == "navLinks"){
					var aList = list[i].getElementsByTagName("a");
					for(var k = 0;k < aList.length;k++){
						if (location.href == aList[k].href){
							list[i].className = "navLinksActive"
						}
					}
				}
			}
		}		
	}