$(function(){ 
	// rack to remove last border
	$("#project .first li:last").css("border", "none");

	// hover with loader
	$(".second .next, .second .prev, .scroll .left_prev, .scroll .right_next").each(function(){
		var img = $(this);
		var _loader = new Image();
		$(_loader).attr("src", img.attr("src").replace(".jpg", "_on.jpg"));
	}).hover(
		function(){
			$(this).attr("src", $(this).attr("src").replace(".jpg", "_on.jpg"));
		},function(){
			$(this).attr("src", $(this).attr("src").replace("_on", ""));
	});
	
	// scroll
	$(".second div").jCarouselLite({
		btnNext: ".next",
		btnPrev: ".prev",
		visible: 19,
		scroll: 1,
		speed: 250,
		circular: false,
		vertical: true
	});
});
