code: function()
                {
                  container.find('td.Radio input').unbind('click', radioClicked);
                  currentPreview.unbind('click', currentClicked);
                  cancelButton.unbind('click', cancelClicked);
                  okButton.unbind('click', okClicked);
                  if (settings.window.expandable)
                  {
                    iconImage.unbind('click', iconImageClicked);
                    moveBar.unbind('mousedown', moveBarMouseDown);
                    $this.icon = null;
                  }
                  container.find('.QuickColor').unbind('click', quickPickClicked);
                  colorMapDiv = null;
                  colorBarDiv = null;
                  colorMapL1 = null;
                  colorMapL2 = null;
                  colorMapL3 = null;
                  colorBarL1 = null;
                  colorBarL2 = null;
                  colorBarL3 = null;
                  colorBarL4 = null;
                  colorBarL5 = null;
                  colorBarL6 = null;
                  colorMap.destroy();
                  colorMap = null;
                  colorBar.destroy();
                  colorBar = null;
                  colorPicker.destroy();
                  colorPicker = null;
                  activePreview = null;
                  currentPreview = null;
                  okButton = null;
                  cancelButton = null;
                  grid = null;
                  commitCallback = null;
                  cancelCallback = null;
                  liveCallback = null;
                  container.html('');
                  for (i = 0; i < List.length; i++) if (List[i] == $this) List.splice(i, 1);
                }
docs: Basic control binding for inline use - You will need to override the liveCallback or commitCallback function to retrieve results