rem: win.el_body.style.top = 0; 
add: hop_style_set( win.el_body, "top", 0 ); 
context: function hop_iwindow_open( id, obj, title, klass, width, height, x, y, parent ) {   var win = document.getElementById( id );   var isnew = false;   klass = klass ? ("hop-iwindow " + klass) : "hop-iwindow";   if( win == null ) {      win = make_hop_iwindow( id, klass, parent );      isnew = true;   } else {      win.style.display = "block";   }   /* start hidden otherwise we loose the border on drag! */   win.el_body.style.display = "none";   if( hop_is_html_element( obj ) ) {      var c = win.el_body.childNodes;      var i = c.length;      while( i > 0 ) {	 i--;	 win.el_body.removeChild( c[ i ] );      }      win.el_body.appendChild( obj );   } else {      var cb = function( http ) {     	         if( http.responseText != null ) {	           win.el_body.innerHTML = http.responseText;	           hop_js_eval( http );	         }               };      if( typeof obj == "function" ) {	 hop( obj(), cb );      } else {	 if( (obj instanceof String) || (typeof obj == "string") ) {	    hop( obj, cb );	 } else {	    alert( "*** Hop Error, Illegal `iwindow' content -- " + obj	       + " (" + typeof obj + ")" );	 }      }   }   win.el_title.innerHTML = title ? title : id;   if( isnew ) {      if( x ) win.style.left = x;      if( y ) win.style.top = y;      if( width ) {	 win.el_main.style.width = width;	 win.el_content.style.width = "100%";      }      if( height ) {	 win.el_main.style.height = height;/* 	 win.el_content.style.height = "100%";                         */      }            if( win.onresize ) win.onresize();   } else {      win.el_body.style.top = 0;   }      win.el_body.style.display = "block";   hop_iwindow_raise( win );   return win;}
meta: 4636	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/a6ed8e1dacfac579593af3fc5dd75eae78ef2b2f/hop-iwindow.js/buggy/share/hop-iwindow.js