/** * QLIB 1.0 Box Abstraction * Copyright (C) 2002 2003, Quazzle.com Serge Dolgov * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * http://qlib.quazzle.com */ function QBoxCtrl_content() { with (this) { if (res) { this.cwidth = width - res.L - res.R - 8; this.cheight = height && (height - res.T - res.B - 8); var ec = '">
'; document.write('
'); if (typeof(body) == "function") { this.body(); } else { document.write(body); } document.write('

'); } } } function QBoxCtrl() { this.res = false; this.body = " "; this.cwidth = this.cheight = 0; this.content = QBoxCtrl_content; } QBoxCtrl.prototype = new QWndCtrl();