﻿function onSourceDownloadProgressChanged(sender, eventArgs) {
    sender.findName("bufferingProgress").Width = (sender.findName("WidthProgress").Width * eventArgs.progress);
}


if (!window.autosalontv)
	window.autosalontv = {};

autosalontv.preload = function() 
{
}

autosalontv.preload.prototype =
{
	handleLoad: function(plugIn, userContext, rootElement) 
	{
		this.plugIn = plugIn;
		
		// Sample button event hookup: Find the button and then attach event handlers
		// this.button = rootElement.children.getItem(0);	
		
		// this.button.addEventListener("MouseDown", Silverlight.createDelegate(this, this.handleMouseDown));
	}
	
	// Sample event handler
	//handleMouseDown: function(sender, eventArgs) 
	//{
	//}
}