rem: this.caption = new Label({ left:5, bgcolor: params.bgcolor, caption: params.caption }); 
add: var oWidget = this; if (params.checked) this.caption = new Field( { left: 5, bgcolor: params.bgcolor, caption: params.caption, border: "thin", value: true, onclick: function() { GroupBox__checkBody(oWidget); if (oWidget.onclick) oWidget.onclick(); }, type: "checkbox" }); else this.caption = new Label({ left:5, bgcolor: params.bgcolor, caption: params.caption });  
context: function GroupBox(params){	params = params || {};	params.overflow = 'hidden';	this.base = Widget;	this.base(params);	this.div.className = 'groupbox';		this.border = new Widget({		top: 8,		width:"100%",		padding:"8,8,8,8",		height: "this.parent.getHeight()-this.getTop()",		border: params.border || 2	});	this.border.div.className = "groupboxframe";	this.appendChild(this.border);	this.caption = new Label({		left:5,		bgcolor: params.bgcolor,		caption: params.caption	});	this.appendChild(this.caption);	this.caption.div.className = this.div.className;	this.body = new Widget({		width: "100%",		height: "100%"	});	this.border.appendChild(this.body);}
meta: 10647	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10647/491dcf2883d91c1dbe48bd95b5539344f995d547/common.js/buggy/porcupine/branches/ievlev/pubdir/__xul/common.js