// 插件来源于互联网，henry@celay做了适当优化
// 2009年8月
var scrollID = "#scrollDiv";
var isPause = false;
var scrollInterval = 2000;
function AutoScroll(obj){
	if (!isPause){
		$(obj).find("ul:first").animate({
			marginTop:"-23px"
		},500,function(){
			$(this).css({marginTop:"0px"}).find("li:first").appendTo(this);
		});
	}
}
$(document).ready(function(){
	$(scrollID).hover(function(){
		isPause = true;
	},
	function() {
		isPause = false;
	});
	setInterval('AutoScroll(scrollID)',scrollInterval)
});
