$(function () {
   
   	if ($('.zebra').length) {
        $('.zebra').find('tr:even').addClass('hilight');
    }
	if ($('#index_bannernews').length) {
		$('#index_bannernews').jcarousel({
			vertical: true,
			scroll: 2
		});
	}
	if ($('.wrap_accordion').length) {
		$(".wrap_accordion .wrap_txt:not(:first)").hide();
	
		$(".wrap_accordion h4").click(function(){
			$(this).next(".wrap_txt").slideToggle("slow")
			.siblings(".wrap_txt:visible").slideUp("slow");
		});
	}
	
	if ($('.scroll-pane').length) {
	   $('.scroll-pane').jScrollPane({
			horizontalDragMinWidth: 150,
			horizontalDragMaxWidth: 150
		});
	}
	
});
