﻿if (!window.breakTheCodeBanner)
	breakTheCodeBanner = {};

breakTheCodeBanner.Page = function() 
{
}

breakTheCodeBanner.Page.prototype =
{
	handleLoad: function(control, userContext, rootElement) 
	{
		this.control = control;
		
		// Sample event hookup:	
		this.control.content.findName("main_anim").Begin();
		rootElement.addEventListener("MouseEnter", Silverlight.createDelegate(this, this.onMouseEnter));
	
	},
	
	// Sample event handler
	onMouseEnter: function(sender, eventArgs) 
	{
		// The following line of code shows how to find an element by name and call a method on it.
		 
	}
}