// Place Holder for the SilverLight Player Control
// It will be processed by GetPlayer.ashx
// SLPlayerIDbb72c185b2a34db9a90dc6b6c84a219d2087942939 will be replaced with auto-generated id
// msdnplay-0 will be replaced with id of video
// false will be replaced with autoplay setting
try
{
    document.writeln('<div id="SLPlayerIDbb72c185b2a34db9a90dc6b6c84a219d2087942939" class="msdnplayer-WPFMediaElementinButton" style="width:700px;height:525px"></div>');
    
    if ( !self.SLPlayerMain )
    {
        var html_doc = document.getElementsByTagName('head').item(0);
        self.player_autoplay = new Array();
        
        js = document.createElement('script');
        js.setAttribute('type', 'text/javascript');
        js.setAttribute('src', 'http://video.coresharp.net/GetPlayer.ashx?i=main&s=corporatesilver');
        html_doc.appendChild(js);
    }
        
    self.player_autoplay["SLPlayerIDbb72c185b2a34db9a90dc6b6c84a219d2087942939"] = false;
}
catch ( e )
{
    alert( e.name + "\r\n" + e.message );
}
