In place of,
DWRUtil.showById("id"); you should use
$("id").style.display = '';.
And in place of
DWRUtil.drawTable(...) you should use