var twitterMovers=new Array
function twitterMover(div,property,seconds,onDone){
	this.id=twitterMovers.length
	twitterMovers[this.id]=this
	this.div=div
	this.timeout
	this.property=property
	this.seconds=seconds
	this.onDone=onDone
	this.updateWithinMiliseconds=10
}
twitterMover.prototype = {
	moveTo : function(position,startDate,startPosition){
		clearTimeout(this.timeout)
		var now=new Date
		if(typeof(startDate)=='undefined'){
			var startDate=now.getTime()
			var startPosition=this.div[this.property]
		}
		
		if((now.getTime()-startDate)/1000>=this.seconds){
			this.div[this.property]=position
			if(this.onDone){
				this.onDone()
			}
		}else{
			this.div[this.property]=startPosition+((now.getTime()-startDate)/(this.seconds*1000))*(position-startPosition)
			this.timeout=setTimeout("twitterMovers["+this.id+"].moveTo("+position+","+startDate+","+startPosition+")",this.updateWithinMiliseconds)
		}
	}
}