// JScript source code

//contains calls to silverlight.js, examples are below

//setting the alpha-channel in the 'background' parameter drastically affects the cost of rendering


function createSilverlight(xaml)

{  
                                 
   Silverlight.createObjectEx({source: xaml, parentElement:pe, id:'SlControl1', properties:{width:'500', height:'500', background:'#2A2A2A', isWindowless:'false', framerate:'24', enableFramerateCounter:'false', version:'1.0'}, events:{onError:null, onLoad:null, onResize:null}, context:null});
    
}

