diff -Naur HTMLArea-3.0-beta/popupwin.js HTMLArea-3.0-beta-patched/popupwin.js
--- HTMLArea-3.0-beta/popupwin.js 2003-08-11 17:30:12.000000000 -0400
+++ HTMLArea-3.0-beta-patched/popupwin.js 2003-09-20 12:45:54.000000000 -0400
@@ -9,10 +9,7 @@
this.doc = doc;
var self = this;
- var base = document.baseURI || document.URL;
- if (base && base.match(/(.*)\/([^\/]+)/)) {
- base = RegExp.$1 + "/";
- }
+ var base = editor.config.editorURL;
this.baseURL = base;
doc.open();