$(document).ready(function() {
// Start jQuery goodness

	// Control the fading in of each of the primary navigation items
	
	$('#header ul li a').css({opacity:0});
	$("#header ul li[class$='_on'] a").css({opacity:1});
	
	$('#header ul li a').hover(
		function() {
			$(this).queue( [ ] ).stop().addClass('hover').animate({opacity: 1});
		},function() {
			$(this).animate({opacity: 0}, removeClassHover);
		}
	);
	
	function removeClassHover(){
		$(this).removeClass('hover')
	}
	
	// Add the class even to rows in archive
	
	$('ul.archive_list li:odd').addClass('odd');

// End jQuery goodness
});
