/* This compressed file is part of Xinha. For uncompressed sources, forum, and bug reports, go to xinha.org */ /* This file is part of version 0.96beta2 released Fri, 20 Mar 2009 11:01:14 +0100 */ function PopupWin(d,g,i,e){this.editor=d;this.handler=i;var f=window.open("","__ha_dialog","toolbar=no,menubar=no,personalbar=no,width=600,height=600,left=20,top=40,scrollbars=no,resizable=yes");this.window=f;var h=f.document;this.doc=h;var j=this;var a=document.baseURI||document.URL;if(a&&a.match(/(.*)\/([^\/]+)/)){a=RegExp.$1+"/"}if(typeof _editor_url!="undefined"&&!(/^\//.test(_editor_url))&&!(/http:\/\//.test(_editor_url))){a+=_editor_url}else{a=_editor_url}if(!(/\/$/.test(a))){a+="/"}this.baseURL=a;h.open();var c="