jQuery.noConflict();

jQuery(document).ready(function(){
	// add firstChild class to all li:first-child elements
	jQuery("ul li:first-child").addClass("firstChild");
	 
	// add a cover to the headerImage to give the rounded corner appearance
	jQuery("#headerImage").append('<div id="headerImageCover">&nbsp;</div>');
	jQuery("#headerImageInner").append('<div id="headerImageCoverInner">&nbsp;</div>');
	
	//Initialize the font sizer for the site.
	var options = { min: -4, max: 5, normal: -2};
	// jQuery.FontSizer.SetSize(-2);
	jQuery.FontSizer.Init(options);
	
	jQuery("#mainNav ul li").each(function(){
		var _title = jQuery(this).find("a").attr("title");							
		switch(_title.toLowerCase()){
			case "getting answers":
				jQuery(this).attr("id","gettingAnswers");
				break;
			case "staying healthy":
				jQuery(this).attr("id","stayingHealthy");
				break;
			case "help at home":
				jQuery(this).attr("id","helpAtHome");
				break;
			case "staying safe":
				jQuery(this).attr("id","stayingSafe");
				break;
			case "special events":
				jQuery(this).attr("id","specialEvents");
				break;
			case "document center":
				jQuery(this).attr("id","documentCenter");
				break;
		}
	});
	
	// separate footer menu into two columns
	jQuery("#navigationAreas ul > li:even").addClass("col2");
	jQuery("#navigationAreas ul > li:odd").addClass("col1");
});