if (!console)
{
	var console = {
		debug: function(content)
		{
			alert(content);
		}
	}
}


/* Odx Framework */
var Odx = {
	Data: {}
};

Fx.Base.implement({
	Start: function(from, to)
	{
		this.Stop().start(from, to);
		return this;
	},
	
	StartDelayed: function(delay, from, to)
	{
		if (delay <= 0)
		{
			this.Start(from, to)
		}
		else
		{
			this.$_delay = this.Start.delay(delay, this, [from, to]);
		}
		
		return this;
	},
	
	Stop: function()
	{
		if (this.$_delay)
			$clear(this.$_delay);
			
		return this.stop();
	},
	
	GetDuration: function()
	{
		return this.options['duration'];
	}
});

