var Mover = function(elementName) {
	this.initialize(elementName);
};
Mover.prototype = {
	second  : 2,
	endPoint: null,

	initialize: function(elementName){
		this.element = $('#' + elementName);
	},

	start: function(func){
		func = func || '';
		if(func != ''){
			func();
		}
		//if (this.endPoint) {
		//	this.element.animate({height: this.endPoint}, this.second * 1000);
		//}
		this.element.slideDown(this.second * 1000);
	},

	back: function(func){
		func = func || '';
		this.element.slideUp(
			this.second * 1000,
			function(){
				if(func != ''){
					func();
				}
			}
		);
	},

	cancel: function(){
		this.element.stop(false, true);
	}
};

