function trHtml(fields){
var html = '';
$(fields).each(function(){
html += tdHtml(this);
});
return '<tr class="unitBox">'+html+'</tr>';
}
},
selectedTodo: function(){
function _getIds(selectedIds, targetType){
var ids = "";
var $box = targetType == "dialog" ? $.pdialog.getCurrent() : navTab.getCurrentPanel();
$box.find("input:checked").filter("[name='"+selectedIds+"']").each(function(i){
var val = $(this).val();
ids += i==0 ? val : ","+val;