	function countDown(startCount, endCount){
		this.startCount = startCount;
		this.endCount = endCount;
		this.countVar = 2; //amount to count down by per millisecond
		this.start();
	}
	
	countDown.prototype.oncountdown = function(){}
	
	countDown.prototype.start=function(){
		var thisobj = this;
		
		if(this.startCount > this.endCount){
			var numfield = (this.startCount = this.startCount - this.countVar);
			var result = {num: numfield}
			this.oncountdown(result)
			setTimeout(function(){thisobj.start()}, 1) //update results every millisecond
		}
	}

