// 版本 9104 writeCSS(scriptPath()); function scriptPath() { var col = document.scripts; return col[col.length - 1].src; } function writeCSS(spath) { var css = ""; var hxlinkPath = ""; var hxlink = ""; var hxlinkdefault = ""; // 获取基于浏览器的 CSS 名称。 if (navigator.appName == "Microsoft Internet Explorer") { var sVer = navigator.appVersion; sVer = sVer.substring(0, sVer.indexOf(".")); if (sVer >= 4) { document.writeln(''); document.writeln(''); document.writeln(''); css = "vs70_5.css"; hxlinkPath = "ms-help://Hx/HxRuntime/" hxlink = "HxLink.css"; hxlinkdefault = "HxLinkDefault.css"; } else css = "vs70_5.css"; hxlinkPath = "ms-help://Hx/HxRuntime/" hxlink = "HxLink.css"; hxlinkdefault = "HxLinkDefault.css"; } // 插入 CSS 调用 spath = spath.toLowerCase(); spath = spath.replace(/vs70link.js/, ""); // 插入 Alink CSS document.writeln(''); // CSS 与脚本位于同一目录中。 document.writeln(''); // document.writeln(''); }