diff --git a/code/javascript/core/scripts/selenium-testrunner.js b/code/javascript/core/scripts/selenium-testrunner.js
index <HASH>..<HASH> 100644
--- a/code/javascript/core/scripts/selenium-testrunner.js
+++ b/code/javascript/core/scripts/selenium-testrunner.js
@@ -160,7 +160,7 @@ Object.extend(SeleniumFrame.prototype, {
         var styleLink = d.createElement("link");
         styleLink.rel = "stylesheet";
         styleLink.type = "text/css";
-        styleLink.href = window.location.pathname.replace(/[^\/]+$/, "selenium-test.css");
+        styleLink.href = window.location.pathname.replace(/[^\/\\]+$/, "selenium-test.css");
         head.appendChild(styleLink);
     },
Look for the last slash or backslash; fixes broken css when running IE or HTA from c:"

r<I>