
		   
//Nav underline
	$("#nav ul").after('<div id="navCurrent"><div id="diagLeft"></div><div id="diagRight"></div></div>');
		   

	
//Set Current
	function setCurrent(where) {
		$("#navCurrent").stop().animate({'opacity':1},500).css({'width':'0px'});
		var theWidth = where.width(); theWidth+=26;
		var fromLeft = where.position(); fromLeft = fromLeft.left;
		$("#navCurrent").css({'left':fromLeft}).stop().animate({'width':theWidth},400);
	}
	

	$("#top #nav li a").hover(
		function() { 
			if(($(this).parent('li').attr('class')) != 'current') {
				setCurrent($(this));
			}
		},
		function() {
			if(($(this).parent('li').attr('class')) != 'current') {
				setCurrent($("#nav li.current a"));
			}
		}
	);



//Add Current Class
	function addCurrent(where) {
		$("#top #nav li a").each(function() { 
			var theText = $(this).text();
			theText = theText.split(' ');
			theText = theText.join('');
			theText = theText.toLowerCase();
			if(theText == where) {
				$(this).parent('li').addClass('current');
				setCurrent($(this));
			}
		});
	}
