Well, this is how I have it though I don't have that stuff on top about the top referrer, though it should be easy enough to add in the code.
First towards the top of the reflist template I took your javascript
PHP Code:
<script>
<!--
function jumpPage(newLoc) {
newPage = newLoc.options[newLoc.selectedIndex].value
if (newPage != "") { window.location.href = newPage }
}
// -->
</script>
then you have your navbar etc then here's the table row
PHP Code:
<tr align="center">
<td bgcolor="#8080A6" align="center"><smallfont color="#EEEEFF"><b>Member</b></smallfont></td>
<td bgcolor="#8080A6" align="center"><smallfont color="#EEEEFF"><b>Referrals</b></smallfont></td>
<td bgcolor="#8080A6" align="center"><smallfont color="#EEEEFF"><b>Members Referred</b></smallfont></td>
</tr>
$reflistbits
Then in the reflistbits template I've got:
PHP Code:
<tr align="center">
<td bgcolor="#F1F1F1"><smallfont><b><a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$referrer[userid]">$referrer[username]</a></b></smallfont></td>
<td bgcolor="#DFDFDF"><smallfont>$referrer[referrals]</smallfont></td>
<form><td bgcolor="#F1F1F1"><smallfont>$referrerlist</smallfont></td></form>
</tr>
hope that helps.