function createSilverlight(parent)
{  
    //example calls, please replace with calls that match your site's requirements    
    //Sys.Silverlight.createObject("xaml/piano.xml", pe, "AgControl1",
                                 //{width:'1024', height:'530', inplaceInstallPrompt:false, background:'white', isWindowless:'false', framerate:'24', version:'0.90.0'},
                                 //{onError:null, onLoad:null},
                                 //null);
                                 
                                 
    //Sys.Silverlight.createObjectEx({source: 'xaml/piano.xml', parentElement:pe, id:'AgControl1', properties:{width:'1024', height:'530', background:'white', isWindowless:'false', framerate:'24', version:'0.90.0'}, events:{onError:null, onLoad:null}, context:null});
    
    Sys.Silverlight.createObject("xaml/VideoWindow.xaml", 
                                 parent, 
                                 "slPlayer", 
                                 {width:"100%", height:"100%", background: '#00000000', isWindowless:'true', framerate:"24", version:'0.9'}, 
                                 {onError:null, onLoad:null},
                                 null);

}


     

