//slideshow 左右箭头滑动一组li焦点图
autoSlide();function autoSlide(){clearAutoS=setInterval(autoFunS,5000);}function autoFunS(){var loc=$(".slideshow-box ul").css("left");if(loc=="-2370px"){loc="1185";}var newloc=parseInt(loc)-1185;newloc=newloc.toString()+"px";$(".slideshow-box ul").animate({left:newloc},300);}$(".slideshow-box").hover(function(){clearInterval(clearAutoS); },function(){autoSlide();});$(".arrow-left").click(function(){var loc=$(".slideshow-box ul").css("left");//console.log(loc);if(loc=="0px"){return false;}else{var newloc=parseInt(loc)+1185;newloc=newloc.toString()+"px";$(".slideshow-box ul").animate({left:newloc},300);}});$(".arrow-right").click(function(){var loc=$(".slideshow-box ul").css("left");if(loc=="-2370px"){return false;}else{var newloc=parseInt(loc)-1185;newloc=newloc.toString()+"px";$(".slideshow-box ul").animate({left:newloc},300);}});