function bb1() {
	var nav_num = '';
	var obj_li = $(".bb li");
	var count = obj_li.length;
	obj_li.first().css("display", "block");
	obj_li.each(function() {
		var index = $(this).index() + 1;
		nav_num += '<li><a href="javascript:void(0)">' + index + '</a></li>';
	});
	$(".banner").append('<ul class="num">' + nav_num + '</ul>');
	$(".num li").first().addClass("num_hover");
	$(".num li").hover(function() {
		sw = $(".num li").index(this);
		myShow(sw);
	});

	function myShow(i) {
		$(".num li").eq(i).addClass("num_hover").siblings().removeClass("num_hover");
		obj_li.eq(i).stop(true, true).fadeIn(600).siblings("li").fadeOut(600);
	}

	var myTime = 0;

	$(".bb").hover(function() {
		if(myTime) {
			clearInterval(myTime);
		}
	}, function() {
		myTime = setInterval(function() {
			myShow(sw);
			sw++;
			if(sw == count) {
				sw = 0;
			}
		}, 2500);
	});

	var sw = 0;
	myTime = setInterval(function() {
		myShow(sw);
		sw++;
		if(sw == count) {
			sw = 0;
		}
	}, 2000);
}

jQuery(document).ready(function ($) {
    $('.rtTop h4 img').hover(function () {
        $(this).stop().animate({ "top": "-43px" }, 200)
    }, function () {
        $(this).stop().animate({ "top": "0" }, 200)
    })
    $(window).scroll(function () {
        var st = $(document).scrollTop();
        if (st > 200) {
            $('.rtTop').show();
        } else {
            $('.rtTop').hide();
        }
    })
    $('.rtTop h4').click(function () {
        $('html,body').animate({ 'scrollTop': 0 }, 500);
    });
    //回到顶部函数
});

$(document).ready(function(){
$(".product .bd  ul li:nth-child(4)").css("margin-right","0");
$(".product .bd  ul li:nth-child(8)").css("margin-right","0");
$(".honor .bd ul li dd:last-child").css("margin-right","0");
$(".case dl dd:last-child").css("margin-right","0");	
$(".smallbanner1 dl dd:last-child").css("margin-right","0");
})
jQuery(".honor").slide({ mainCell:".bd ul",effect:"fade",autoPlay:false,titCell:".hd li"});
jQuery(".company-power").slide({ mainCell:".bd ul",vis:4,effect:"leftMarquee",interTime:20,autoPlay:true,trigger: "click",prevCell:".prev",nextCell:".next"});
jQuery(".newlist2").slide({ mainCell:".bd dl",vis:3,effect:"topMarquee",interTime:20,autoPlay:true,opp:true});











