if (!window.locker)
	window.locker = {};

locker.Scene = function() 
{
}

locker.Scene.prototype =
{
	handleLoad: function(host, userContext, rootElement) 
	{
		control = host;
		
	    control.content.onFullScreenChange = onFullScreenChange;
	    control.content.onResize = onResize;
	    
		changeSource( source );
		
		scaleLayout();
		
		// Sample event hookup:	
		//rootElement.addEventListener("MouseLeftButtonDown", Silverlight.createDelegate(this, this.handleMouseDown));
	},
	
	// Sample event handler
	handleMouseDown: function(sender, eventArgs) 
	{
	    // The following line of code shows how to find an element by name and call a method on it.
	    // this.control.content.findName("Timeline1").Begin();
	}
}