

var sl = function(id){ return document.getElementById(id)}
var speed = 0;
var timer = null;
var i=0;
function slProdust(){
var slchanpingCon01 = sl("slchanpingCon01").getElementsByTagName("li");
var slElem = sl("slchanpingCon01");
var slDivWidth = slchanpingCon01[0].offsetWidth * slchanpingCon01.length;
slElem.style.width = slDivWidth +"px";
function autoFunc(){
if(speed > -slDivWidth ){
speed--;
slElem.style.left = speed + "px"
}
else{
clearTimeout(timer);
}
timer = setTimeout(function(){autoFunc()},10);
}
autoFunc();
}
slProdust();
script>
