functions


      SelectionManager = function() {};
      
      SelectionManager.prototype.select = function(id) {
        $('#' + id).addClass('ui-selected');
      };
  
      SelectionManager.prototype.unselect = function(id) {
        $('#' + id).removeClass('ui-selected');
      };