context:     init: function(insertAtIndex, props) {        var styleClass = props.styleClass;        var style = tw_Component.defaultStyles[styleClass];        delete props.styleClass;        this.setStyle("borderType", style["borderType"]);        this.setStyle("borderSize", style["borderSize"]);        this.setStyle("borderColor", style["borderColor"]);        this.setStyle("fontFamily", style["fontFamily"]);        this.setStyle("fontColor", style["fontColor"]);        this.setStyle("fontSize", style["fontSize"]);        this.setStyle("fontItalic", style["fontItalic"]);        this.setStyle("fontBold", style["fontBold"]);        this.setStyle("fontUnderline", style["fontUnderline"]);                for (var prop in props) {            this[this.__setters__[prop]](props[prop]);        }                if (this._parent != null) {            if (this._parent instanceof tw_BaseContainer) {                if (this instanceof tw_Menu && this._windowMenu) {                    this._parent.setMenu(this);                } else {                    this._parent.addComponent(insertAtIndex, this);                }            } else if (this._parent instanceof tw_DropDownGridBox || this._parent instanceof tw_GridBox) {                this._parent.getBaseWindow().getBox().appendChild(this._box);            } else {                alert("No known way to attach this component:" + this._box.className + " to the DOM");            }        } else {            document.body.appendChild(this._box);        }                this.setStyle("backgroundColor", style["backgroundColor"]);        this._inited = true;    },
meta: 5515	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5515/f1782c774313ba79c127ba5da30580c5ce1f4c32/Component.js/buggy/src/thinwire/render/web/resources/Component.js