Cufon.replace("#mission h1 p, #sidebar h2, #subnav h2, #sidenav h2, .side-list h2",{hover:true});
Cufon.replace("#content h1");

$(document).ready(function () {
	
	// Hover support (for IE6, and to work with other browsers in conjuction with keyboard nav
	$("#nav li:not(li li)").hover(
		function () { $(this).addClass('hover') }, 
		function () { $(this).removeClass('hover') }
	);
	
	// Enable keyboard navigation of dropdowns
	$("#nav li li a")
		.focus(function(){
			$(this).addClass('hover');
			$(this).parents("li:last").addClass('hover');
		})
		.blur(function(){
			$(this).removeClass('hover');
			$(this).parents("li:last").removeClass('hover');
		});
	$("#nav li:not(li li) a")
		.focus(function(){
			$(this).parent().addClass('hover');
		})
		.blur(function(){
			$(this).parent().removeClass('hover');
		});
		
	// Open rel=external as new windows
	$("a[rel=external]").attr("target","_blank");

});
