

//检查浏览器是否安装银光插件。
function CheckSilverlightInstalled() {
    //var isSilverlightInstalled = false;
    //try {
    //    try {
    //        var slControl = new ActiveXObject('AgControl.AgControl'); //检查IE   
    //        isSilverlightInstalled = true;
    //    }
    //    catch (e) {
    //        if (navigator.plugins["Silverlight Plug-In"]) //检查非IE   
    //        {
    //            isSilverlightInstalled = true;
    //        }
    //    }
    //}
    //catch (e) { }
    //return isSilverlightInstalled;
    return false;
}
     


