		   var currentIndex = 0;
            var DEMO; //函数对象
            var currentID = 0; //取得鼠标下方的对象ID
            var pictureID = 0; //索引ID
            $("#ifocus_piclist li").eq(0).show(); //默认
            autoScroll();
            $("#ifocus_btn li").hover(function() {
                StopScrolll();
                $("#ifocus_btn li").removeClass("current")//所有的li去掉当前的样式加上正常的样式
                $(this).addClass("current"); //而本身则加上当前的样式去掉正常的样式
                currentID = $(this).attr("id"); //取当前元素的ID
                pictureID = currentID.substring(currentID.length - 1); //取最后一个字符
                $("#ifocus_piclist li").eq(pictureID).fadeIn("slow"); //本身显示
                $("#ifocus_piclist li").not($("#ifocus_piclist li")[pictureID]).hide(); //除了自身别的全部隐藏
                $("#ifocus_tx li").hide();
                $("#ifocus_tx li").eq(pictureID).show();

            }, function() {
                //当鼠标离开对象的时候获得当前的对象的ID以便能在启动自动时与其同步
                currentID = $(this).attr("id"); //取当前元素的ID
                pictureID = currentID.substring(currentID.length - 1); //取最后一个字符
                currentIndex = pictureID;
                autoScroll();
            });
            //自动滚动
            function autoScroll() {
                $("#ifocus_btn li:last").removeClass("current");
                $("#ifocus_tx li:last").hide();
                $("#ifocus_btn li").eq(currentIndex).addClass("current");
                $("#ifocus_btn li").eq(currentIndex - 1).removeClass("current");
                $("#ifocus_tx li").eq(currentIndex).show();
                $("#ifocus_tx li").eq(currentIndex - 1).hide();
                $("#ifocus_piclist li").eq(currentIndex).fadeIn("slow");
                $("#ifocus_piclist li").eq(currentIndex - 1).hide();
                currentIndex++; currentIndex = currentIndex >= 4 ? 0 : currentIndex;
                DEMO = setTimeout(autoScroll, 3000);
            }
            function StopScrolll()//当鼠标移动到对象上面的时候停止自动滚动
            {
                clearTimeout(DEMO);
            }
$(document).ready(function(){
//szb
$("#szb_pic").jCarouselLite({
    //mouseWheel: true,
    speed: 800,
    auto: 800,
    visible: 1,
    scroll: 2,
    easing: "backout"
    });
//tbtj
	$(".tbtj .leftpic").eq(0).show();
	$(".tbtj li").hover(function(){
	currentID = $(this).attr("id"); //取当前元素的ID
	$(".tbtj .leftpic").not($(".tbtj .leftpic")[currentID]).hide(); //除了自身别的全部隐藏
    $(".tbtj .leftpic").eq(currentID).show();				
	})
//dushu
	$(".dushu .leftpic").eq(0).show();
	$(".dushu li").hover(function(){
	currentID = $(this).attr("id"); //取当前元素的ID
	$(".dushu .leftpic").not($(".dushu .leftpic")[currentID]).hide(); //除了自身别的全部隐藏
    $(".dushu .leftpic").eq(currentID).show();				
	})
//shequ
	$(".shequ .leftpic").eq(0).show();
	$(".shequ li").hover(function(){
	currentID = $(this).attr("id"); //取当前元素的ID
	$(".shequ .leftpic").not($(".shequ .leftpic")[currentID]).hide(); //除了自身别的全部隐藏
    $(".shequ .leftpic").eq(currentID).show();				
	})

//video
	$('.video').mouseover (function(){
	$(this).attr("src","http://www.cnwest.com/images/5.files/video1.gif");	
	})
	$('.video').mouseout (function(){
	$(this).attr("src","http://www.cnwest.com/images/5.files/video.gif");
	})
//
});				
//tab
function menu_on(x,id,y)
{
for(i=1;i<=y;i++)
{
document.getElementById("menu_"+x+"_"+i+"_"+y).className = "menu_off";
document.getElementById("cont_"+x+"_"+i+"_"+y).style.display = "none";
}
document.getElementById("menu_"+x+"_"+id+"_"+y).className = "menu_on";
document.getElementById("cont_"+x+"_"+id+"_"+y).style.display = "block";
}
//bottom_scroll
var marquee2=new Marquee("marqueedivcontrol");
marquee2.Direction="left";
marquee2.Step=1;
marquee2.Width=916;
marquee2.Height=74;
marquee2.Timer=20;
marquee2.ScrollStep=-1;//此句禁止鼠标控制
document.getElementById('bot_scroll_l').onclick=function(){marquee2.Direction=2};
document.getElementById('bot_scroll_r').onclick=function(){marquee2.Direction=3};
marquee2.Start();