rem: if( event == undefined ) event = window.event; 
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;   win.el_body.style.display = "none";      if( widthp && heightp ) {      document.onmousemove = function( event ) {	 if( event == undefined ) event = window.event;	 win.el_main.style.width = w0 + (event.clientX - x0);	 win.el_main.style.height = h0 + (event.clientY - y0);      }   } else {      if( widthp ) {	 document.onmousemove = function( event ) {	    if( event == undefined ) event = window.event;	    win.el_main.style.width = w0 + (event.clientX - x0);	 }      } else {	 if( heightp ) {	    document.onmousemove = function( event ) {	       if( event == undefined ) event = window.event;	       win.el_main.style.height = h0 + (event.clientY - y0);	    }	 } else {	    var l0 = win.offsetLeft;	    document.onmousemove = function( event ) {	       if( event == undefined ) event = window.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);	    }	 }      }   }   document.onmouseup = function( event ) {      if( event == undefined ) event = window.event;      win.el_body.style.display = "block";      document.onmousemove = false;      /* user event */      if( win.onresize ) win.onresize();   }      event.preventDefault();   event.stopPropagation();}
meta: 4636	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/25d9ce99298d54dd2c4ffab4a9109a8fbab2a981/hop-iwindow.js/clean/share/hop-iwindow.js