$(document).ready(function(){
	$("#menu li a:last").css("border","none");
	$(".box-event:last").css("border","none");
	$("#search .box:last").css("border","none");
	
	if($("#bottom .links").height() > $("#bottom .box:first").height()){
		$("#bottom .box:first").css("height",$("#bottom .links").height());	
	}else{
		$("#bottom .links").css("height",$("#bottom .box:first").height());
	}
	
	if($("#submenu").length > 0){
		var hsub = $("#middle").height();
		$("#submenu").css("height", hsub);
		$("#submenu li:last").css("border", "none");
	}
	if($(".wrap-list").length > 0){
		$(".wrap-list:last").css("border", "none");
	}
	
	if($(".wrap-cont").length > 0){
		$(".wrap-cont:last").css("border","none");
		$(".wrap-cont:even").css("background","#F5F5F5");
	}
});
