function ULScroller(id) {
	this.el = document.getElementById(id);
	this.currentLi = 0;
	this.move_margin = 0;
	this.moving	= 0;
	this.children = this.el.getElementsByTagName('LI');
}
ULScroller.prototype.start = function() {
	this.next();
	var self = this;
	setInterval(function() { self.next() }, 8*1000);
}
ULScroller.prototype.delegate = function(obj, func) { 
	alert(arguments.length);
	obj[func](); 
};

ULScroller.prototype.next = function(t) {
	//alert(arg);
	// actually - want to fade it out
	this.children[this.currentLi].style.display	= "block";
	var li = this.children[this.currentLi];
	li.startFadeout = function() {

		li.moveBy 	= 0;
		li.maxMove 	= 200;

		var self = this;
		this.int = setInterval(function() { self.fadeOut() }, 10); 
	}
	li.fadeOut = function() {
		this.style.top = this.moveBy+"px";
		this.moveBy+=5;
		if (this.moveBy > this.maxMove) {
			this.style.display = "none";
			this.style.top = "0px";
			clearInterval(this.int);
		}
	}
	setTimeout(function() { li.startFadeout(); }, 7*1000);
	this.currentLi++;
	if (this.currentLi >= this.children.length-1) this.currentLi = 0;
}

