home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
business-86-101-185-173.business.broadband.hu
/
business-86-101-185-173.business.broadband.hu.zip
/
business-86-101-185-173.business.broadband.hu
/
trans
/
sqlncli2005_x64.msi
/
sqlncli.chm.91A5E41F_8A38_40FB_BC6E_28CA47D512BD
/
local
/
script.js
< prev
next >
Wrap
Text File
|
2005-08-01
|
570b
|
18 lines
// updated from DevDiv
var jsPath = scriptPath();
writeCSS(jsPath);
function scriptPath() {
//Determine path to JS-the CSS is in the same directory as the script
var spath = document.scripts[document.scripts.length - 1].src;
spath = spath.toLowerCase();
return spath.replace("script.js", "");
}
function writeCSS(spath) {
document.writeln('<SCRIPT SRC="' + spath + '\script_loc.js"></SCRIPT>');
document.writeln('<SCRIPT SRC="' + spath + '\script_main.js"></SCRIPT>');
document.writeln('<SCRIPT SRC="' + spath + '\script_fb.js"></SCRIPT>');
}