$(document).ready(function(){ 


	// fix the PNGs in IE6
	$(document).pngFix(); 


	// first heading doesn't need the margin
	// $('.promoContainer .promo h4:first').addClass('first');
	// disabled because it makes the content "jump" - is hard coded in html


	// add little arrow indicators to the closed accordian item parents
	$('#subNavigation li:not(.selected) > a:not(:last-child)')
		.parent()
		.addClass('isAccordionParent')
	;


	// see not for class in css
	$('#subNavigation li ul li:last-child').addClass('last');


	// crank up the accordion
	$('#subNavigation').accordion({
		alwaysOpen: false,
		active: ".current",
		header: "a:not(:last-child)",
		autoHeight: false
	});


});

