rem: this.close_button = createDOM( "input", { "type": "button", "value": " x ", "class": "pulldown_button" } );  appendChildNodes( this.div, this.close_button ); 
context: function Pulldown( notebook_id, pulldown_id, button ) {  this.notebook_id = notebook_id;  this.div = createDOM( "div", { "id": pulldown_id, "class": "pulldown" } );  this.div.pulldown = this;  addElementClass( this.div, "invisible" );  this.close_button = createDOM( "input", { "type": "button", "value": " x ", "class": "pulldown_button" } );  appendChildNodes( this.div, this.close_button );  appendChildNodes( document.body, this.div );  var self = this;  connect( this.close_button, "onclick", function ( event ) { self.shutdown(); event.stop(); } );  // position the pulldown under the button that opened it  var position = getElementPosition( button );  var button_dimensions = getElementDimensions( button );  var div_dimensions = getElementDimensions( this.div );  position.x -= div_dimensions.w - button_dimensions.w;  position.y += button_dimensions.h;  setElementPosition( this.div, position );  removeElementClass( this.div, "invisible" );} 
meta: 4711	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4711/f05d3db661a366bcf7ea7a0c52281e5942127d67/Wiki.js/buggy/static/js/Wiki.js