$(document).ready(function() {
		if($().cycle) {
		$('#header_slideshow').cycle({
			fx: 'fade',
			random: true,
			speed: 2500,
			timeout: 5000
		});
	
	}
	
	$('#nav ul li ul li:last-child a').css('border-bottom', 'none');
	
	$('#nav ul.nav1 li:last-child').css('background-image', 'none');
	
	//$('#subnav ul li ul li:last-child a').css('border-bottom', 'none');
		
	if ($("#subnav ul li.on").children("ul").length == 0) {
		$("#subnav").remove();
	}

	if ($("#sub_nav_area").children().size() == 0) {					
		$("#content").css({
			"width": "auto",
			"margin-right": "32px",
			"float": "none"
		});
	}
	
	$('#footer_nav li:last-child').css({
		'border': 'none',
		'padding-right': '0'
	});

});

