Cufon.replace('h2', {hover: true})('h3', {hover: true});
Cufon.replace('#sidenav a', {hover: true});

//A little hack to make the front nav icon light up when the h2 is hovered
/*
$('#front_subnav li h2 a').hover(
	function(){
				
		var parent = $(this).parent().parent();
		var child = $(parent).children('p');
		child = $(child).children('a');

		var current_bg = child.split(" ");

		var x = current_bg[0];
		var y = current_bg[2];
			
		$(child).css('background-position', x + " -76px");		
		
		//$(parent).children('p > a').trigger('focus');
		
		//$(parent + ' > p > a').css('background','red');
	
		//$(this + '> p a').trigger('hover');
	},
	function(){
	
	}
);
*/

Cufon.now();
