// ALWAYS PLAYS 'L.MP3'

if (!window.audioplayer)
	window.audioplayer = {};

audioplayer.Page = function() 
{
}

audioplayer.Page.prototype =
{
	handleLoad: function(control, userContext, rootElement) 
	{
		this.control = control;
		
		// Sample event hookup:	
		// rootElement.addEventListener("MouseLeftButtonDown", Silverlight.createDelegate(this, this.handleMouseDown));

		//nathan
		// element.AddEventListener("MouseEnter", "onMouseEnter");
		// rootElement.AddEventListener("MouseLeftButtonDown", "playl");

		
		// rootElement.AddEventListener("MouseLeftButtonDown", "playl");


		
	},
	
	// 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();

		// NEEDED?
		// this.control.content.findName("mediaplayer").Play("audio/x.mp3");
	}
}