$(document).ready(function() {
	$("#top_wrapper .big_img_wrapper .big_carousel_controls").show();

	$("#top_wrapper .big_img_wrapper .big_carousel").jCarouselLite({
		btnNext: "#top_wrapper .big_img_wrapper .big_carousel_controls .next",
		btnPrev: "#top_wrapper .big_img_wrapper .big_carousel_controls .prev",
		visible: 1
	});
	
	$("#top_wrapper .big_img_wrapper ul.big_img_texts").hover(
		function() {
			$(this).animate({
				height: "220px",
				marginBottom: "-220px",
				top: "-230px"
			}, { queue:false, duration:1000 });
		},
		function() {
			$(this).animate({
				height: "38px",
				marginBottom: "-38px",
				top: "-49px"
			}, { queue:false, duration:1000 });
		}
	);
	
	$("#center_wrapper .left_part ul.menu_left li").each(function() {
		if ($("ul", $(this)).length) {
			$("a:first", $(this)).addClass("dynamic");
			$("ul", $(this).not(":has(li.current)")).hide();
			$("a.dynamic", $(this)).click(function() {
				$("ul:first", $(this).parent()).slideToggle();
				return false;
			});
		}
	});
});