Index: openacs-4/packages/acs-templating/www/resources/xinha-nightly/modules/Dialogs/popupwin.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/xinha-nightly/modules/Dialogs/popupwin.js,v diff -u -r1.5 -r1.6 --- openacs-4/packages/acs-templating/www/resources/xinha-nightly/modules/Dialogs/popupwin.js 13 May 2008 18:53:45 -0000 1.5 +++ openacs-4/packages/acs-templating/www/resources/xinha-nightly/modules/Dialogs/popupwin.js 16 Jan 2009 09:05:46 -0000 1.6 @@ -1,123 +1,2 @@ -/* 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.95 released Mon, 12 May 2008 17:33:15 +0200 */ -/* The URL of the most recent version of this file is http://svn.xinha.webfactional.com/trunk/modules/Dialogs/popupwin.js */ -function PopupWin(_1,_2,_3,_4){ -this.editor=_1; -this.handler=_3; -var _5=window.open("","__ha_dialog","toolbar=no,menubar=no,personalbar=no,width=600,height=600,left=20,top=40,scrollbars=no,resizable=yes"); -this.window=_5; -var _6=_5.document; -this.doc=_6; -var _7=this; -var _8=document.baseURI||document.URL; -if(_8&&_8.match(/(.*)\/([^\/]+)/)){ -_8=RegExp.$1+"/"; -} -if(typeof _editor_url!="undefined"&&!(/^\//.test(_editor_url))&&!(/http:\/\//.test(_editor_url))){ -_8+=_editor_url; -}else{ -_8=_editor_url; -} -if(!(/\/$/.test(_8))){ -_8+="/"; -} -this.baseURL=_8; -_6.open(); -var _9="