- this.lines.setStyle("bottom", bottompos + "px");
- this.lines.setStyle("right", rightpos + "px");
+
+ if(bv == "ie6") {
+ var w = this.window.getSize().x;
+ if(w == 0) {
+ this.reflow.delay(1, this);
+ return;
+ }
+ if(this.type == WINDOW_CHANNEL)
+ this.topic.setStyle("width", (w - TOPIC_BORDER_SIZE) + "px");
+ this.formdiv.setStyle("width", (w - 2 * INPUT_BORDER_SIZE) + "px");
+ this.lines.setStyle("width", (w - rightpos) + "px");
+ } else {
+ this.lines.setStyle("right", rightpos + "px");
+ }
+ /* @IESUCKS */
+ if(bv == "ie7" || bv == "ie6") {
+ var winheight = this.window.getSize().y;
+ if(winheight == 0) {
+ this.reflow.delay(1, this);
+ return;
+ }
+ this.lines.setStyle("height", (winheight - toppos - bottompos) + "px");
+ this.formdiv.setStyle("top", (winheight - bottompos) + "px");
+ if(this.type == WINDOW_CHANNEL && (bv == "ie6"))
+ this.nicklist.setStyle("height", (winheight - toppos - bottompos) + "px");
+ } else {
+ this.lines.setStyle("bottom", bottompos + "px");
+ }