(function($){
	/**
	 * [rb] George had code here for a secondary nav but I couldnt find it
	 * 		have written one instead it works without css except that when you
	 * 		hover out of parent into child the parent sprite state changes back
	 * 		so just adding a bit of js here to deal with that.
	 * 		oh and for Internet Excreater fixing the :last-child of secondary
	 * 
	 */
	$(function(){
		// Enhance all non current items
		$('#nav > li[class!=current]').bind({
			mouseenter: function(){
				$(this).addClass('current');
			}
			, mouseleave: function(){
				$(this).removeClass('current');
			}
		});
		$('#nav .secondary li:last-child').css({
			backgroundImage: 'none'
			, backgroundColor: 'transparent'
			, paddingRight: 0
		});
	});
	
	$(function(){
		var tallest = 0;
		$('.panels .col').each(function(i,el){
			var h = $(el).height();
			if(h>tallest) tallest = h;
		});
		$('.panels .col').css('height',tallest);
	});
	
})(jQuery);
