function navInit(){

///////////////START NAV JS////////////////

//Add classes for IE to replicate the CSS3 rounded corners
$("ul#navigation li:first").addClass("firstNavItem");
$("ul#navigation li:last").addClass("lastNavItem");

//Add class 'hasDropDown' to Nav items w/ drop downs, also makes dropdowns work in IE6 via hover event
$("ul#navigation li").filter(function(index) {
	return $("ul", this).length == 1;})
	.addClass("hasDropDown").hover(
		function() {$(this).addClass("hover");}, 
		function() {$(this).removeClass("hover");
});

//Adds class 'olberSelected' to the section user is in
var path = location.pathname.substring(1);
var currentSection = window.location.toString().split("/");
$("ul#navigation li a").filter(function(index){
	var linkSection = $(this).attr("href").toString().split("/");
	var currentSection = window.location.toString().split("/");
	if(linkSection[1] == currentSection[3])
	{	
		return $(this);}
	}).eq(0).addClass('navSelected');
	$(".olberSelected").filter("hasDropDown").addClass("navSelectedDropDown");
}

///////////////END NAV JS////////////////
