if (!window.landingPageAni)
	window.landingPageAni = {};

landingPageAni.Page = function() 
{
}

landingPageAni.Page.prototype =
{
	handleLoad: function(control, userContext, rootElement) 
	{		
		this.control = control;
		rootElement.findName("pokal").addEventListener("Completed", Silverlight.createDelegate(this, this.cards));
		rootElement.findName("flyingCards").addEventListener("Completed", Silverlight.createDelegate(this, this.cards));
	},


	cards:function(sender, eventArgs) {
		sender.findName("flyingCards").Begin();
	},

	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();
	}
}