var scroll = true;
var scrollHandler = function(){
if(scroll){
if(targetIdxtargetIdx++;
}else{
targetIdx=0;
}
self.fade(targetIdx,curIndex);
curIndex=targetIdx;
}
}
setInterval(scroll,5000);
id(ulId).onmouseover=function(){
scroll = true;
};
id(ulId).onmouseout=function(){
scroll = false;
}