
Cufon.replace('#navigation > ul > li > a', { fontFamily: 'Frutiger Black', hover : true });
Cufon.replace('.dd > ul > li > a', { fontFamily: 'Frutiger Roman', hover : true });
Cufon.replace('#sidebar .nav h3, #sidebar .nav li a', { fontFamily: 'Frutiger Regular', hover : true });

$(function () {
	
	$("#navigation ul li").hover(function() {
		$(this).css({ 'z-index' : 100 });
		$(this).find("> .dd").show();
		$(this).find("a:eq(0)").addClass('hover');
	}, function() {
		$(this).css({ 'z-index' : 1 });
		$(this).find("> .dd").hide();
		$(this).find("a:eq(0)").removeClass('hover');
		Cufon.replace('#navigation > ul > li > a', { fontFamily: 'Frutiger Black', hover : true });
	});
	
	$("#navigation ul li .dd ul li").hover(function() {
		$(this).css({ 'z-index' : 100 });
		$(this).find("> .dd2").show();
		$(this).find("a:eq(0)").addClass('hover');
	}, function() {
		$(this).css({ 'z-index' : 1 });
		$(this).find("> .dd2").hide();
		$(this).find("a:eq(0)").removeClass('hover');
		Cufon.replace('#navigation > ul > li > a', { fontFamily: 'Frutiger Black', hover : true });
	});
	
	$("#sidebar .nav ul li").hover(function() {
		$(this).css({ 'z-index' : 100 });
		$(this).find("> .dd").show();
		$(this).find("a:eq(0)").addClass('hover');
	}, function() {
		$(this).css({ 'z-index' : 1 });
		$(this).find("> .dd").hide();
		$(this).find("a:eq(0)").removeClass('hover');
		Cufon.replace('#navigation > ul > li > a', { fontFamily: 'Frutiger Black', hover : true });
	});
});
