function showTableSorter($id, $options = '') { JavascriptReady("\$('#{$id}').tablesorter({$options});"); echo "<table id='{$id}' class='dataGrid2'>"; }
function InitMenuTabs($tabname) { JavascriptReady("\$('{$tabname}').tabs({ select: function(event, ui){\r\n\t\twindow.location.replace(ui.tab.hash); return true;}});"); }