
var slvd=slvd||{};slvd.version='unknown';slvd.getVersion=function(){this._detect();return this.version;}
slvd._detect=function(){var container=null;try{var control=null;if(window.ActiveXObject){try{control=new ActiveXObject('AgControl.AgControl');}catch(e){return false;}}
else{if(navigator.plugins['Silverlight Plug-In']){container=document.createElement('div');document.body.appendChild(container);container.innerHTML='<embed type="application/x-silverlight" style="width:1;height:1;position:absolute;" src="data:," />';control=container.childNodes[0];}}
if(control){if(control.isVersionSupported('2.0')){this.version='v2';}
else if(control.isVersionSupported('1.0')){this.version='v1';}}}
catch(e){this.version='error';return false;}
if(container){try{document.body.removeChild(container);}
catch(e){};}
return true;}
slvd.logVersion=function(endPoint){var version=this.getVersion();glow.net.get(endPoint+'?L2REndPage=/f/t.gif&silverlight='+this.version,{});}
slvd.isLoaded=true;