document.write('<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.1.min.js" type="text/javascript"></script><script src="http://technet.microsoft.com/areas/sto/content/scripts/silverlight.js" type="text/javascript"></script><script src="http://technet.microsoft.com/areas/sto/content/scripts/Silverlight.SuppertedUserAgents.js" type="text/javascript"></script><script src="http://technet.microsoft.com/areas/sto/content/scripts/jquery.silverlight.js" type="text/javascript"></script>');
if (!window.Microsoft) var Microsoft = {}; 
if (!Microsoft.Mtps) Microsoft.Mtps = {}; 
if (!Microsoft.Mtps.Silverlight) Microsoft.Mtps.Silverlight = {}; 
if (!Microsoft.Mtps.Silverlight.SplashScreensLoaded) 
    Microsoft.Mtps.Silverlight.SplashScreensLoaded = new Array(); 
Microsoft.Mtps.Silverlight.SplashScreenProgress = 0.3; 
Microsoft.Mtps.Silverlight.OnSourceDownloadProgressChanged = function(sender, e) { 
    Microsoft.Mtps.Silverlight.SourceDownloadProgressChanged(sender, (e.progress ? e.progress : e.get_progress())); 
} 
Microsoft.Mtps.Silverlight.SetProgress = function(host, progress) { 
    Microsoft.Mtps.Silverlight.SplashScreensLoaded[host] = ' ' + Math.round(progress * 1000); 
} 
Microsoft.Mtps.Silverlight.SourceDownloadProgressChanged = function(sender, progress) { 
    var host = sender.GetHost(); 
    var xLoadingArea = sender.findName('xLoadingArea'); 
    var xProgressBarSize = sender.findName('xProgressBarSize'); 
    var xProgressBarSizeWidth = sender.findName('xProgressBarSizeWidth'); 
    var xProgressBar2Size = sender.findName('xProgressBar2Size'); 
    var xProgressBar2SizeWidth = sender.findName('xProgressBar2SizeWidth'); 
    var xProgressBar2SizeLeft = sender.findName('xProgressBar2SizeLeft'); 
    var xProgressBarContainer = sender.findName('xProgressBarContainer'); 
    var xProgressBar = sender.findName('xProgressBar'); 
    var xProgressBar2 = sender.findName('xProgressBar2'); 
    var xProgressBarText = sender.findName('xProgressBarText'); 
    // determine the max progress  
    progress = progress * Microsoft.Mtps.Silverlight.SplashScreenProgress; 
    // Set the progress to get for the SL client 
    Microsoft.Mtps.Silverlight.SetProgress(host, progress); 
    // Update the bars and text 
    var progressBarMaxWidth = xProgressBarContainer.ActualWidth - 2; 
    xProgressBarSizeWidth.Value = Math.round(progressBarMaxWidth * progress); 
    xProgressBarSize.Begin(); 
    xProgressBar2SizeWidth.Value = Math.round((1 - progress) * progressBarMaxWidth); 
    xProgressBar2SizeLeft.Value = Math.round((progressBarMaxWidth * progress)) + 2; 
    xProgressBar2Size.Begin(); 
    xProgressBarText.Text = Math.round(progress * 100) + ' percent'; 
    Microsoft.Mtps.Silverlight.AlignRight(xProgressBarText, xLoadingArea); 
    Microsoft.Mtps.Silverlight.SetProgress(sender.GetHost(), progress); 
} 
Microsoft.Mtps.Silverlight.OnSourceDownloadComplete = function(sender, e) { 
    var xProgressBarContainer = sender.findName('xProgressBarContainer'); 
    var xProgressBar = sender.findName('xProgressBar'); 
    var progressBarMaxWidth = xProgressBarContainer.ActualWidth - 2; 
} 
MCWCSilverlightOnSplashScreenLoaded = 
Microsoft.Mtps.Silverlight.OnSplashScreenLoaded = function(sender) { 
    var host = sender.GetHost(); 
    host.OnSourceDownloadProgressChanged = Microsoft.Mtps.Silverlight.OnSourceDownloadProgressChanged; 
    host.OnSourceDownloadComplete = Microsoft.Mtps.Silverlight.OnSourceDownloadComplete; 
    var width = host.offsetWidth / 1; 
    var height = host.offsetHeight / 1; 
    var xLayoutRoot = sender.findName('xLayoutRoot'); 
    xLayoutRoot.Width = width; 
    xLayoutRoot.Height = height; 
    var xLoadingArea = sender.findName('xLoadingArea'); 
    xLoadingArea.Opacity = 0; 
    Microsoft.Mtps.Silverlight.AlignCenter(xLoadingArea, xLayoutRoot); 
    Microsoft.Mtps.Silverlight.AlignMiddle(xLoadingArea, xLayoutRoot); 
    Microsoft.Mtps.Silverlight.SourceDownloadProgressChanged(sender, 0); 
    var xLoadingShow = sender.findName('xLoadingShow'); 
    xLoadingShow.Begin(); 
    var xLoadingProgress = sender.findName('xLoadingProgress'); 
    xLoadingProgress.Begin(); 
} 
Microsoft.Mtps.Silverlight.AlignRight = function(child, parent) 
{ 
    child.SetValue('Canvas.Left', parent.Width - child.ActualWidth); 
} 
Microsoft.Mtps.Silverlight.AlignCenter = function(child, parent) 
{ 
    child.SetValue('Canvas.Left', Math.round((parent.Width / 2.0) - (child.ActualWidth / 2.0))); 
} 
Microsoft.Mtps.Silverlight.AlignMiddle = function(child, parent) 
{ 
    child.SetValue('Canvas.Top', Math.round((parent.Height /2.0) - (child.ActualHeight / 2.0))); 
} 
Microsoft.Mtps.Silverlight.IsSplashScreenLoaded = function(plugin) { 
    return Microsoft.Mtps.Silverlight.SplashScreensLoaded[plugin]; 
};
document.write('<div id="c_01b8d03e39e043408c54149fa3248a04"></div>');
function createSilverlightVideoPlayer(){
    $("#c_01b8d03e39e043408c54149fa3248a04").Silverlight({ src: "http://i3.technet.microsoft.com/areas/sto/content/silverlight/Microsoft.Mtps.Silverlight.App.SmfVideoPlayer.xap", id:"c_01b8d03e39e043408c54149fa3248a04", width: "612", height: "459", aspectRatio: "1.33333333333333", highlightColor:"#06a4de", initParams:"SourceUri=http://content4.catalog.video.msn.com/e2/ds/75a8844a-7f55-425d-8da1-c4690989ff11.wmv,ImageUri=http://img1.catalog.video.msn.com/image.aspx?uuid=602d15c6-5cc6-46ad-8d2b-3cbe7ca7a3f3&w=400&h=300,PtId=gg405047,MsnId=602d15c6-5cc6-46ad-8d2b-3cbe7ca7a3f3,CaptionServiceUri=http://i2.technet.microsoft.com/Caption/gg405047?language={0},Title=Windows Azure for the IT Pro,Analytics=Msn;Omniture,Author=,Brand=technet,Locale=en-us,EmbedVideoText=Embed,EmbedXapUri=http://technet.microsoft.com/en-us/videoembed/windows-azure-for-the-it-pro,DisplayTimeLine=1,HeaderColor=#06a4de,HighlightColor=#06a4de,MoreLinkColor=#0066dd,LinkColor=#0066dd,LoadingColor=#06a4de", version:"4.0.60531.0", windowless:"false", splashScreenSource:"http://i.technet.microsoft.com/areas/sto/content/silverlight/SplashScreen.xaml" });
}

if(window.attachEvent){
    window.attachEvent("onload",function() {createSilverlightVideoPlayer();});
}
else{
    window.addEventListener("load",function() {createSilverlightVideoPlayer();},true);
}
 
