rem: win.el_body.style.display = "none"; 
add: hop_style_set( win.el_body, "display", "none" ); 
context: function hop_iwindow_resize( event, win, widthp, heightp ) {   var x0 = event.clientX;   var y0 = event.clientY;   var w0 = win.el_main.offsetWidth;   var h0 = win.el_main.offsetHeight;   var mousemove;   win.el_body.style.display = "none";      if( widthp && heightp ) {      mousemove = function( event ) {	 win.el_main.style.width = w0 + (event.clientX - x0);	 win.el_main.style.height = h0 + (event.clientY - y0);      };      hop_add_event_listener( document, "mousemove", mousemove );   } else {      if( widthp ) {	 mousemove = function( event ) {	    win.el_main.style.width = w0 + (event.clientX - x0);	 };	 hop_add_event_listener( document, "mousemove", mousemove );      } else {	 if( heightp ) {	    mousemove = function( event ) {	       win.el_main.style.height = h0 + (event.clientY - y0);	    };	    hop_add_event_listener( document, "mousemove", mousemove );	 } else {	    var l0 = win.offsetLeft;	    mousemove = function( event ) {	       var w = w0 + (x0 - event.clientX);	       win.style.left = (l0 + w0) - w;	       win.el_main.style.width = w;	       win.el_main.style.height = h0 + (event.clientY - y0);	    }	    hop_add_event_listener( document, "mousemove", mousemove );	 }      }   }   document.onmouseup = function( event ) {      win.el_body.style.display = "block";      hop_remove_event_listener( document, "mousemove", mousemove );      /* user event */      if( win.onresize ) win.onresize();   }      hop_stop_propagation( event );}
meta: 4636	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/a6ed8e1dacfac579593af3fc5dd75eae78ef2b2f/hop-iwindow.js/buggy/share/hop-iwindow.js