if (!window.radio_buttons)
	window.radio_buttons = {};

radio_buttons.Page = function() {
}

radio_buttons.Page.prototype =	{
	handleLoad: function(control, userContext, rootElement) {
		this.control = control;		
		// Sample event hookup:	
		rootElement.addEventListener("MouseLeftButtonDown", Silverlight.createDelegate(this, this.handleMouseDown));
		//ESEGUI ANIMAZIONE INIZIALE
		this.intro();		
	},
	
	// 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();
	},
	
	//ANIMAZIONE INIZIALE
	intro: function(){
		rootCanvas = this.control.content.FindName("rootCanvas");	
		inizioLoadingGenerale(rootCanvas,null);
	}
}
