function MoveTween(tmp_width, tmp_totalposicao, tmp_idobjeto) {
	this.position = 0;
	this.width = tmp_width;
	this.margin = this.position * this.width;
	this.positionTotal = tmp_totalposicao;
	this.idobjeto = tmp_idobjeto;
	this.tempo = 1;
	
	/********** HORIZONTAL ****************/
	this.move_left = function () {
		if (this.position < 0) {
			this.position++;
			this.margin = this.position * this.width + 1;
			Tween.addTween(document.getElementById(this.idobjeto), {_marginLeft: this.margin, time: this.tempo, transition: "circOut"});
		}
	}
	this.move_right = function() {
		if (this.position > -(this.positionTotal)) {
			this.position--;
			this.margin = this.position * this.width;
			Tween.addTween(document.getElementById(this.idobjeto), {_marginLeft: this.margin, time: this.tempo, transition: "circOut"});
		}
	}
	/********** / HORIZONTAL ****************/
	
	/********** VERTICAL ****************/
	this.move_top = function () {
		if (this.position < 0) {
			this.position++;
			this.margin = this.position * this.width + 1;
			Tween.addTween(document.getElementById(this.idobjeto), {_marginTop: this.margin, time: this.tempo, transition: "circOut"});
		}
	}
	this.move_bottom = function() {
		if (this.position > -(this.positionTotal)) {
			this.position--;
			this.margin = this.position * this.width;
			Tween.addTween(document.getElementById(this.idobjeto), {_marginTop: this.margin, time: this.tempo, transition: "circOut"});
		}
	}
	/********** / VERTICAL ****************/
}
