$(document).ready(function() {
	//removes padding from the last element of the nav
	//$('.member #nav ul.nav1>li:last-child').css('padding-right', '0');

	//set info cols to the same height
	$('#info_cols>div').css('height', $('#info_cols').height() + 'px');

	//removes the leaves of the green e's
	$('a[id^="mpip"]').css('background', 'none');

	//removes the subnav if it isn't present
	if ($('#subnav ul li.on').children('ul').length == 0) {
		$('#subnav ul').remove();
	}

	//changes the page width on pages w/o a subnav area
	if ($('#subnav').children().size() == 0) {					
		$('.member #main_content.article').css({
			'width': '100%',
			'float': 'none'
		});
	}

	//extends the sub content divider to the full length of the page
	$('#sub_content').css('height', $('#content_area').height() + 'px');
});

