selected
SelectionManager.prototype.isSelected = function(id) { return $('#' + id).hasClass('ui-selected');
};
sel = new SelectionManager();