function CreateSilverlight()
{
	Silverlight.createObjectEx({
   source:'XAML/showvideo.xaml',
		parentElement: document.getElementById('divSilverlight'),
		id: 'slControl',
		properties: {
			width: '400',
			height: '400',
			background:'#efefef',
     isWindowless: 'false',
			version: '1.0'
		},
		events: {
		  onError: null,
		  onLoad: null
		},		
		context: null 
	});
}
