function CWScroller(ulId, speed) {

this.container = document.getElementById(ulId);
this.container.Scroller = this;
this.speed = speed;

this.scroll = function() {
var c = this.container.firstChild;
var first = null;
while (c) {
if (c.tagName == 'LI') {
first = c;
break;
}
c = c.nextSibling;
}
var nodeSize = 78; // Default
var px = 0;
nodeSize = first.clientWidth;
if (first.style.marginLeft != '') {
px = parseInt(first.style.marginLeft);
}
first.style.marginLeft = ( px - 1 ) + 'px';
if ( parseInt(first.style.marginLeft) <= -(nodeSize) ) {
first.style.marginLeft = '0px';
this.container.removeChild(first);
this.container.appendChild(first);
}
setTimeout('document.getElementById(\'' + this.container.id + '\').Scroller.scroll()', this.speed);
}

setTimeout('document.getElementById(\'' + ulId + '\').Scroller.scroll()', this.speed);

}