var ThumbAnimator = function (node){
	this.SIZE =10;
	this.entity = new Entity(node.offsetLeft, node.offsetTop, node.offsetWidth, node.offsetHeight);
	this.node = node;
	this.animate = function () {
		//var wrapper = this.node.getWrapper();
		//alert(wrapper.toString());
		this.node.width = this.entity.w + this.SIZE;
		this.node.style.left = (this.entity.x -this.SIZE/2) + "px";
		this.node.height = this.entity.h + this.SIZE;
		this.node.style.top = (this.entity.y -this.SIZE/2) + "px";
	}
	this.stopAnimation = function () {
		
		this.node.style.left = this.entity.x + "px";
		this.node.width = this.entity.w;
		
		this.node.style.top = this.entity.y + "px";
		this.node.height = this.entity.h;
		
		//var wrapper = this.node.getWrapper();
		//alert(wrapper.toString() + "out");
	}
}
var Entity = function (x, y, w, h) {
	this.x = x;
	this.y = y;
	this.w = w;
	this.h = h;
	// Getters?
}
