// updated from DevDiv
var jsPath = scriptPath();
writeCSS(jsPath);
function scriptPath() {
//Determine path to JS-the CSS is in the same directory as the script
if(document.scripts)
{
var spath = document.scripts[document.scripts.length - 1].src;
spath = spath.toLowerCase();
return spath.replace("script.js", "");
}else{
return('../local/');
}
}
function writeCSS(spath) {
document.writeln('');
document.writeln('');
}