rem: var win = event.target.parentElement.parentElement; if(win) { messages.post("hide-view", {id: win.getAttribute('ref_id')}); win.parentElement.removeChild(win); } 
add: set['window-scale-right'](event); set['window-scale-top'](event); 
context:   click_handlers['window-close'] = function(event)  {    var win = event.target.parentElement.parentElement;    if(win)    {      messages.post("hide-view", {id: win.getAttribute('ref_id')});      win.parentElement.removeChild(win);    }  }
meta: 7593	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7593/b6b285deb859c02df5f4422053e63b11338b0112/html_windows.js/clean/src/scripts/html_windows.js