rem:   updateLocationVisibility(window.arguments[3] == 'mode'); 
add:     var mainbox = document.getElementById("main-box"); var controlbox = document.getElementById("control-box"); mainbox.removeChild(controlbox.nextSibling); 
context: onLoad = function(){  // remove the box containing all the relevant controls from  // the dom tree, we bring a new one to the table. this is necessary  // since those controls don't specify id's, so we need to override  // all of them.  var mainbox = document.getElementById("main-box");  var controlbox = document.getElementById("control-box");  mainbox.removeChild(controlbox.nextSibling);  // show the location option (place toolbar at top or bottom)  // if this feature has been requested.  updateLocationVisibility(window.arguments[3] == 'mode');  // now call the default implementation of the load handler, since  // this retrieves the toolbox element from the arguments.  gOnLoad();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/49d99658257e01d5bb14d94382a0b2604eb4fa45/customize-toolbar.js/buggy/calendar/lightning/content/customize-toolbar.js