var AnimationStage = new Class({
	/* The physical boundary upon which the Actors perform animation. */
	Implements: [Options,Events, Chain], 						  

	options: {
		/* CSS Selector */
		stage : ''
	}, 
	
	log: function(){
		return false;
		//if('console' in window && 'log' in window.console) console.log.apply(console, arguments);
	},
	
	initialize: function(options){ 
		this.setOptions(options);
		
		/* local properties */
		this.StageElement = '';
		this.StageWidth = '';
		this.StageHeight = '';
		var r = false;
		
		if( this.StageElement = document.getElement(this.options.stage) ){
			var dimensions = this.StageElement.getSize();
			this.StageWidth = dimensions.x;
			this.StageHeight = dimensions.y;
			r = this;
		}
		
		return r;
		
	},
	
	/*
	called when using document.id with this class as parameter
	*/
	toElement : function (){
		return this.StageElement;
	}
});
