$(document).ready(function(){
	$('ul.main-nav li').mouseenter(function(){
		$(this).addClass('over');
	})
	.mouseleave(function(){
		$(this).removeClass('over');
	});
	
	$('ul#subnav li:last, ul#main-nav li:last, div#bottom div.full:last, div#footer ul li:last').addClass('last');
	
	if($('body.inner div#content div.article').height() < 491){
		$('body.inner div#content div.article').height(491);
	}
	
	$('div#content div.council:even, div#content div.anchor-links div:even').addClass('even');
	
	if ($('body.home div.article').height() < $('body.home div.aside').height()){
		$('body.home div.article').height($('body.home div.aside').height());
	};
	
	$('form#mailing div.text input').focus(function(){
		if($(this).val() == 'Your Email Address'){
			$(this).val('');
		}
	})
	.blur(function(){
		if($(this).val() == ''){
			$(this).val('Your Email Address');
		}
	});
	
	var eventsHeight = $('div#bottom div.events').height() + 28;
	var bottomHeight = $('div#bottom').height();
	var remainder = bottomHeight - eventsHeight;
	
	$('div#bottom div.contact').height(remainder);
});