1b1376b6334e01b50dcfa1f00cf50a8fae3ae016.svn-base 721 Bytes
var toolIdMCI = "";
//获取工具插件ID
var fileName = "importMCI.js";
var isLoadMCI = false;
var scripts = document.getElementsByTagName("script");
for (var i = 0; i < scripts.length; i++) {

    var src = scripts[i].src;
    if (src.indexOf(fileName) !== -1) {
        src = src.substring(src.lastIndexOf(fileName
+ "?") + (fileName.length + 1));
        var array = src.split("&");
        for (var j = 0; j < array.length; j++) {
            var finalObj = array[j].split("=");
            if (finalObj[j] == "toolId")
                toolIdMCI = finalObj[j + 1]; //iD
        }
    }
}

loadjscssfile("/lib/styleMCI.css", "css", toolIdMCI); //ID
loadjscssfile("/js/MContainerInfo.js", "js", toolIdMCI); //ID