<script type="text/javascript">
// Money code
// By Gornakle of InvisionFree.com
var sign = "$";
var name = "Money";
var PerPost = 10;
var default_amount = 0;
var MID=[];
MID["member1"]="20"
MID["member2"]="-30"
MID["member3"]="120"
// No need to edit below this line!
td=document.getElementsByTagName("TD")
for(i=0;i<td.length;i++) {
if((td[i].className=="post1"||td[i].className=="post2")&&td[i].innerHTML.match("Posts: ")&&td[i].width!="100%") {
sPost=td[i].getElementsByTagName("SPAN")[0]
if(sPost.innerHTML.replace(",","").replace('.','').replace(' ','').match(/Posts: (\d+)/)) Posts = parseInt(RegExp.$1)
uname = td[i-2].innerHTML.replace(/<[^>]+>/g,"").replace(/ /g,"")
if(MID[uname]){ EXP = (parseInt(MID[uname]) + (Posts * PerPost))+parseInt(default_amount) }
else{ EXP = (Posts * PerPost)+parseInt(default_amount) }
var midR="Group: " + sPost.innerHTML.split('Group: ')[1]
var topR=sPost.innerHTML.split('Group: ')[0]
if(sPost.innerHTML.match('<!-- placeholder -->')) {
NewCode = sPost.innerHTML.replace("<!-- placeholder -->", ""+name + ": " + sign + EXP + "<br><!-- placeholder -->")
}
else {
NewCode = topR + midR +name + ": " + sign + EXP + "<br><!-- placeholder --><br><br>"
}
sPost.innerHTML = NewCode
}}
</script>