/** COPYRIGHT 2011 ADMX V.O.F., BAARLE-NASSAU, SCHIJF, THE NETHERLANDS  */
var ItemTween = Class.create();ItemTween.prototype = {timer : null,object : null,target : null,stepSize : 3,initialize : function(object) {this.object = $(object);},tween : function(target, stepSize) {this.target = target;this.stepSize = stepSize;if (this.timer != null) {clearInterval(this.timer);}var obj = this;this.timer = setInterval(function() {obj.setWidth();}, 20);},setWidth : function() {var w = this.object.clientWidth;if (w) {if ((w <= this.target) && ((w + this.stepSize) <= this.target)) {this.object.style.width = (w + this.stepSize) + "px";} else if ((w >= this.target) && ((w - this.stepSize) >= this.target)) {this.object.style.width = (w - this.stepSize) + "px";} else {clearInterval(this.timer);}}}};

