566350838b042366c00a9e0841f71ffd37fa449e.svn-base 662 Bytes
var toolIdMME = "";
//获取工具插件ID
var fileName = "importMME.js";
var isLoadMME = 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")
                toolIdMME = finalObj[j + 1]; //iD
        }
    }
}

loadjscssfile("/js/MouseMoveEvent.js", "js", toolIdMME); //ID