$(document).ready(function() {
	if($().cycle) {
			
		$('#home_slideshow').cycle({
			fx: 'fade',
			pause: 1,
			speed: 500,
			timeout: 8000,
			pager: '#home_slideshow_pager'
		});
	}

	$('#nav ul.nav1 li:last-child').css('background-image', 'none');
	
	$('#nav ul li ul li:last-child a').css('border-bottom', 'none');
	
	$('#subnav ul li ul li:last-child a').css('border-bottom', 'none');
	
	$('#m_nav ul li:last-child a').css('border-bottom', 'none');
	$('#m_nav ul ul li:last-child a').css('border-bottom', '1px solid #FFF');
	
	$('#left_col').css('height', $('#main_content').height() + 'px');
	
	if ($("#subnav ul li.on").children("ul").length == 0) {
		$("#subnav").remove();
	}
	
});

