this.Section = Class.create({
  id: "section",
  callbackOpen: null,
  callbackClose: null,
  
  initialize: function( id )
  {
    Section.ID = "section";
    this.id = id || Section.ID;
  },
  
  open: function( callback )
  {
    this.callbackOpen = callback;
    this.doOpen();
  },
  
  doOpen: function()
  {
    // EXTEND ME
    //this.onOpen();
  },
  
  onOpen: function()
  {
    if( this.callbackOpen ) this.callbackOpen();
  },
  
  close: function( callback )
  {
    this.callbackClose = callback;
    this.doClose();
  },
  
  doClose: function()
  {
    // EXTEND ME
    //this.onClose();
  },
  
  onClose: function()
  {
    if( this.callbackClose ) this.callbackClose();
  }
});

