var IE = /*@cc_on!@*/false;
var IE6 = (IE && (navigator['appVersion'].indexOf('MSIE 6') > 0)) ? true : false;
function getSilverlightVersion() {
{
var version = 'NoSilverlight';
var container = null;
try {
{
var control = null;
if (window.ActiveXObject) {
{
control = new ActiveXObject('AgControl.AgControl');
}
}
else {
{
if (navigator.plugins['Silverlight Plug-In']) {
{
container = document.createElement('div');
document.body.appendChild(container);
container.innerHTML = '';
control = container.childNodes[0];
}
}
}
}
if (control) {
{
if (control.isVersionSupported('2.0')) { { version = 'Silverlight/2.0'; } }
else if (control.isVersionSupported('1.0')) { { version = 'Silverlight/1.0'; } }
}
}
}
}
catch (e) { { } }
if (container) {
{
document.body.removeChild(container);
}
}
return version;
}
}
if (true && (getSilverlightVersion() == 'Silverlight/2.0')) {
{
var html = '';
}
}
else {
{
if (IE) {
{
var html = '';
}
} else {
{
var html = '