




// BLUR FOCUS
/***************************/
// blur focus of every link clicked to avoid focus box uglies
$('a').focus(function() {
	this.blur();
});
/***************************/





// MARK LOCATION
/***************************/
// set current location class for nav highlighting
function markLocation(){
	$("#nav a").each(function(){
		if(this.href == location){
			$(this).parents("li").not($("#nav").parents()).addClass("selected").add().children("a").addClass("selected");
		}
	});
};
markLocation();
// two part mouseover mouseout functionality for removing current location to allow a:hover styles
// and then returning the nav item for the current page back to a selected state
$("#nav a").hover(
	function(){
		$("#nav *").removeClass("selected");
	},
	function(){
		markLocation();
	});
/***************************/





// SUCKERFISH
/***************************/
// enable li:hover  li.hover suckerfish style functionality in ie by setting a class
$('#nav li').hover(
	function(){
		$(this).addClass('hover');
	},
	function(){
		$(this).removeClass('hover');
	});
/***************************/







