$.tablesorter.addParser({
    // set a unique id
    id: 'creation-date',
    is: function(s) {
            // return false so this parser is not auto detected
            return false;
    },
    format: function(s, table, cell) {
            // format your data for normalization

            var dateSplit = s.split('/');

            if(2 !== dateSplit.length)
                    return 0;

            return new Date(dateSplit[1], dateSplit[0], 1);
    },
    // set type, either numeric or text
    type: 'numeric'
});

jQuery(document).ready(function(){

    $("#promoTabs > ul").tabs();

    $("table.tablesorter")
      .tablesorter(
      {headers:{
        0:{sorter:false}, 
        1:{sorter:false},
        2:{sorter:'creation-date'}},
        widthFixed: true,
        widgets: ['zebra']
      });
//.tablesorterPager({container: $("#pager"), size:30});

  //$("td.Title").textOverflow();
  //$("td.Authors").textOverflow();



    //jQuery("#filter-tag-search").autocomplete(filter_tags, {
      //multiple: false,
      //mustMatch: true,
      //autoFill: false,
      //selectFirst: false
    //});

  });   

