/*$(function(){
     var len2 = $("#idSlider2 > li").length;
var index2 = 0;
$("#contureButtom img").click(function(){
    getId= $(this).attr("id");
    if(getId=="pre")
    {
        index2--;
        if(index2<0)
        index2=len2-1;
    }
    else
    {
        index2++;
        if(index2==len2)
        index2=0;
    }
   showImg2(index2);
});
//滑入 停止动画，滑出开始动画.
$('#idTransformView2').hover(function(){
     if(MyTime2){
     clearInterval(MyTime2);
     }
},function(){
     MyTime2 = setInterval(function(){
       showImg2(index2)
     index2++;
     if(index2==len2){index2=0;}
     } , 10000);
});
//自动开始
var MyTime2 = setInterval(function(){
   showImg2(index2)
   index2++;
   if(index2==len2){index2=0;}
} , 10000);
})
// Demo2 : 关键函数：通过控制left ，来显示不通的幻灯片
function showImg2(i){
   $("#idSlider2").stop(true,false).animate({left : -1000*i},800);
}*/

$(document).ready(function(){
	  $('.slider').cycle({
		fx: 'fade', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
		next:   '.left', 
    	prev:   '.right' 
	}); 			   
});
