var scroll = function(id){
	this.box = document.getElementById(id);
	this.speed = 60;
	this.move = function() {
		var now = null;
		var e = this.box.firstChild;
		var lilen = 48;
		var px = 0;
		while (e) {
			if (e.tagName == 'LI') {
				now = e;
				break;
			}
			e = e.nextSibling;
		}
		lilen = now.clientWidth;
		if (now.style.marginLeft != '') {
			px = parseInt(now.style.marginLeft);
		}
		now.style.marginLeft = ( px - 1 ) + 'px';
		if ( parseInt(now.style.marginLeft) <= -(lilen) ) {
			now.style.marginLeft = '0px';
			this.box.removeChild(now);
			this.box.appendChild(now);
		}
		setTimeout('this.move()', this.speed);
	}
	setTimeout('this.move()', this.speed);
}
