/**
 * QLIB 1.0 Box Resource
 * Serge Dolgov (C) 2002
 * studio.quazzle.com
 */

function QBoxRes(width, headersize, footersize, header, footer, body, content, effects, filter, opacity) {
    this.width = width;
    this.headersize = headersize;
    this.footersize = footersize;
    this.header = new Image();
    this.header.src = header;
    this.footer = new Image();
    this.footer.src = footer;
    this.body = new Image();
    this.body.src = body;
    this.content = content || "&nbsp;";
    var args = QBoxRes.arguments.length;
    this.effects = (args > 7) ? effects : QLayer.DEFAULT;
    this.filter = (args > 8) ? filter : QLayer.SHADOW;
    this.opacity = (args > 9) ? opacity : 100;
}