Ummm, you can't remove their code bud! lol Brian added that code because the modules need it. What you needed to do was modify his code. Replace your adv_portal_module_shell with this:
(If you changed the names of the original classes, change them in the code below as well.)
Let me know if that works for you.
HTML Code:
$mods[formcode]
<table border="1" cellpadding="5" cellspacing="0" width="100%" class="tab1" bordercolor="#000000" style="border-collapse: collapse">
<tr>
<td width="100%" align="center">
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<thead>
<tr>
<td class="tcat2" colspan="$mods[colspan]">
<if condition="$vba_style['portal_collapsemods']">
<a href="#top" onclick="return toggle_collapse('module_$mods[collapse]')" style="float:$stylevar[right]"><img alt="" border="0" id="collapseimg_module_$mods[collapse]" src="$stylevar[imgdir_button]/collapse_tcat$modimgcollapse.gif" /></a>
</if>
<span class="smallfont"><strong>$vba_style[portal_blockbullet] <if condition="$mods['link']"><a href="$mods[link]">$mods[title]</a><else />$mods[title]</if></strong></span></td>
</tr>
</thead>
<tbody id="collapseobj_module_$mods[collapse]" style="$modcollapse">
<if condition="$show['tablerow']">
<tr>
<td class="alt3" height="100%">
$modulehtml
</td>
</tr>
<else />
$modulehtml
</if>
</tbody>
</table>
</td>
</tr>
</table>
<div><img src="$vboptions[bburl]/$vboptions[cleargifurl]" height="$vba_style[portal_vspace]" alt="" /></div>
<if condition="$mods['formcode']"></form></if>