anchor.diff:              cursor: 'move',
               revert: 'invalid',
               helper: "clone"
  +        }).on("click", function(event){
  +            event.preventDefault();
  +            addTopicToSelectedList(jQuery(this));
           });
  +
  +        function addTopicToSelectedList(topic) {
  +            var topicId = topic.attr('topic-id');
  +            if(jQuery(".selected-list").find("li[topic-id='" + topicId + "']").length == 0) {
  +                if(jQuery(".selected-list").children().length < selectedList_limit){
  +                    var link = jQuery("<div class='dismiss'>" +
  +                                        "<a href='#' title='Remove bid'>" +
  +                                            '<%= image_tag ('delete_icon.png') %>' +
  +                                        "</a></div>");
  +                    var list = jQuery("<li class='topic'></li>").html(topic.html());
  +                    jQuery(list).attr('topic-id', topicId);
  +                    jQuery(list).find('div.topic-content-wrapper').prepend(link);
  +                    jQuery(list).appendTo(".selected-list");
  +                } else {
  +                    alert('Maximum number of bids reached. Please remove any bid to continue with subsequent bids.');
  +                }
  +            } else {
  +                alert('You have already bid for this topic. Please choose a different topic.');
  +            }
  +        }
   
           jQuery(".selected-list").droppable({
               addClasses: false,
  
positive.code:         content: "";
          height: 20px;
          width: 20px;
          /*padding: 2px;*/
          margin: 5px;
          border-radius: 20px;
          -moz-border-radius: 20px;
  
negative.code:         border-radius: 4px;
          -moz-border-radius: 4px;
          -webkit-border-radius: 4px;
          background-color: #8e8e8e !important;
          color: #FFF;
          font-weight: bold;
      }
      .topic-name {
          margin:0 auto;
  