rem: function hop_iwindow_open( id, obj, title, class, width, height, x, y, parent ) { 
add: function hop_iwindow_open( id, obj, title, klass, width, height, x, y, parent ) { var win = document.getElementById( id ); var isnew = false;  klass = klass ? klass : "hop-iwindow";  if( !win ) { 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( (obj instanceof HTMLElement) || (obj instanceof Object && obj.propertyIsEnumerable( "innerHTML" )) ) { 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; } 
context: function hop_iwindow_open( id, obj, title, class, width, height, x, y, parent ) {
meta: 4636	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/737cbaf83d84c17cd17f1c4c7d6d6aaf1da87b7a/hop-iwindow.js/clean/share/hop-iwindow.js