SUMation from Array - cant find error!

I have been working on this code for several months (just started coding), and I am getting really really close to a finished product. I am pulling values from an array to sum them up, add some waiver fees from another array, subtract all this from a fixed number for a final total.

All this works, “function ShowInfo(Info,flag,InfoType)” is giving me trouble… Im trying to style the output by creating links from the names in the array and turning negative values red etc.

My proublem is that after adding all this “styling” the JavaScript does not launch. I was wondering if anyone could help me point out where Im going wrong here. Any help would be much appreciated.

<html> 
<head> 
<style type="text/css"> 
.padRt { text-align:right; color: "black"; } 
  .padRtR { text-align:right; color: "red"; } 
  .rowW { background-color: #FFFFFF; } 
  .rowB { background-color: #d2e6f9; } 
</style> 
<title>Salary Summation</title> 
<script type="text/javascript"> 
var PlayersObj = [ 
    ['<b>Player</b>','<b>NBA Club</b>','<b>POS.</b>','<b>Birth year</b>','<b>Years in NBA</b>','<b>Salary 2008</b>','<b>Salary 2009</b>','<b>Salary 2010</b>'], 
    ['Yao Ming','Houston','C','1980','7','15070550','16378325','17686100'], 
    ['Marcus Camby','L.A.Clippers','C','1974','13','8000000','7650000',''], 
    ['Emeka Okafor','Charlotte','PF','1982','5','9537500','10538937','11540375'], 
    ['Paul Millsap','Utah','PF','1985','3','797581','',''], 
    ['Stephen Jackson','Golden State','SG/F','1978','9','7140000','7650000',''], 
    ['Caron Butler','Washington','SF','1980','7','8999980','9780970','10561960'], 
    ['Dorrel','Wright','SF','1985','5','2900000','',''], 
    ['Rudy Gay','Memphis','SG/SF','1986','3','2579400','3280996',''], 
    ['Thabo Sefolosha','Chicago','SG/SF','1984','3','1931160','2759627',''], 
    ['Allen Iverson','Denver','G','1975','13','21937500','',''], 
    ['Shaun Livingston','FA','PG','1985','5','','',''], 
    ['Chris Paul','New Orleans','PG','1985','4','4574189','',''] 
]; 
var WaiverObj = [ 
    ['<b>Spiller</b>','<b>NBA Klub</b>','<b>POS.</b>','<b>FØDT</b>','<b>ÅR</b>','<b>LØN 2008</b>','<b>LØN 2009</b>','<b>LØN 2010</b>'], 
    ['Melvin Ely','New Orleans','C','1978','7','179068','89534',''], 
    ['Marquis Daniels','Indiana','SG/SF','1981','5','1274000','',''], 
    ['Paul Davis','Clippers','C','1982','2','82550','41275',''] 
]; 
var SalarySub = [['LØN FOR AKTIV ROSTER','','','','','0','0','0']]; 
var WaiverTot = [['WAIVER FEE','','','','','0','0','0']]; 
var SalaryTot = [['<b>SAMLET LØN</b>','','','','','0','0','0']]; 
var SalaryCap = [['SALARY CAP'     ,'','','','','70416000','70416000','70416000']]; 
var Capspace  = [['<b>RÅDIGHEDSBELØB</b>'  ,'','','','','0','0','0']]; 
function CalculateSubSalaries() { 
  SalarySub[0][5] = 0; 
  SalarySub[0][6] = 0; 
  SalarySub[0][7] = 0; 
  for (p=1; p<PlayersObj.length; p++) { 
    SalarySub[0][5] += Number(PlayersObj[p][5]); 
    SalarySub[0][6] += Number(PlayersObj[p][6]); 
    SalarySub[0][7] += Number(PlayersObj[p][7]); 
  } 
} 
function CalculateTotWaiver() { 
  WaiverTot[0][5] = 0; 
  WaiverTot[0][6] = 0; 
  WaiverTot[0][7] = 0; 
  for (p=1; p<WaiverObj.length; p++) { 
    WaiverTot[0][5] += Number(WaiverObj[p][5]); 
    WaiverTot[0][6] += Number(WaiverObj[p][6]); 
    WaiverTot[0][7] += Number(WaiverObj[p][7]); 
  } 
} 
function CalculateTotSalaries() { 
  SalaryTot[0][5] = 0; 
  SalaryTot[0][6] = 0; 
  SalaryTot[0][7] = 0; 
  for (p=1; p<WaiverObj.length; p++) { 
    SalaryTot[0][5] += Number(WaiverObj[p][5]); 
    SalaryTot[0][6] += Number(WaiverObj[p][6]); 
    SalaryTot[0][7] += Number(WaiverObj[p][7]); 
  } 
  SalaryTot[0][5] = SalaryTot[0][5]+Number(SalarySub[0][5]); 
  SalaryTot[0][6] = SalaryTot[0][6]+Number(SalarySub[0][6]); 
  SalaryTot[0][7] = SalaryTot[0][7]+Number(SalarySub[0][7]); 
}    
function CalculateSalaryCapspace() { 
  Capspace[0][5] = 0; 
  Capspace[0][6] = 0; 
  Capspace[0][7] = 0; 
  for (p=1; p<WaiverObj.length; p++) { 
    Capspace[0][5] += Number(WaiverObj[p][5]); 
    Capspace[0][6] += Number(WaiverObj[p][6]); 
    Capspace[0][7] += Number(WaiverObj[p][7]); 
  } 
  Capspace[0][5] = SalaryCap[0][5]-Number(SalaryTot[0][5]); 
  Capspace[0][6] = SalaryCap[0][6]-Number(SalaryTot[0][6]); 
  Capspace[0][7] = SalaryCap[0][7]-Number(SalaryTot[0][7]); 
}    
function ShowInfo(Info,flag,InfoType) { 
  var str = '<tr class="rowW">'; 
  if (flag) { str = '<tr class="rowB">'; } 
  switch (InfoType) { 
    case "Player": 
      var tmp = Info[0].toLowerCase();      
      tmp = tmp.replace(' ','_'); 
      str += '<td><a href="http://www.nba.com/playerfile/'; 
      str += tmp+'/index.html">'; 
      str += Info[0]+'</a></td>'; 
      break; 
    case 'SalaryCap': 
      str += '<td><u>'+Info[0]+'</u></td>'; 
      break; 
    case 'SalarySub': 
    case 'Capspace': 
      str += '<td><b>'+Info[0]+'</b></td>'; 
      break; 
    default 
      str += '<td>'+Info[0]+'</td>'; 
      break; 
  } 
  for (var i=1; i<5; i++) { str += '<td>'+Info*+'</td>'; } 
  for (var i=5; i<8; i++) { 
    if (Info* < 0) { str += '<td class="padRtR">'+Info*+'</td>';  } 
                else { str += '<td class="padRt">'+Info*+'</td>'; } 
                } 
  str += '</tr>'; 
  return str; 
} 
 
</script> 
</head> 
<body> 
<center><table width="750"></center> 
 
<colgroup span="4"> 
  <col span="1" style="width:20%;" /> 
  <col span="2" style="width:33%;" /> 
  <col span="1" style="width:14%;" /> 
</colgroup> 
<tr bgcolor="white"> 
    <td rowspan="2"> 
        <img src='images/articles/NBAiKL Amsterdam Grunts (150) 02.jpg' style='margin:5px;' align='center'> 
    </td> 
    <td><font color="black"><font size=4><center><u>General Manager</u></center></font><br><b><font color="navy"><font size=4><center>Anders Laier</center></font></b> 
    </td> 
 
    <td><font color="black"><font size=4><center><u>NBAinfo Handle</u></center></font><br><b><font color="navy"><font size=4><center><a href='http://www.nbainfo.dk/messages.php?msg_send=178' target='_blank'><span style='color:navy;'>Kapitalistsvin</span></a></center></font></b> 
    </td> 
    <td rowspan="2"> 
        <img src='http://www.nbainfo.dk/fusion_images/articles/Anders (kapitalistsvin).JPG' style='margin:5px;' align='center'> 
    </td> 
</tr> 
<tr bgcolor="white">   
    <td><font color="black"><font size=4><center><u>Bedste Placering</u></center></font><br><b><font color="navy"><font size=4><center>#2 (2007, 2008)</center></font></b> 
    </td> 
 
    <td><font color="black"><font size=4><center><u>Erfaring</u></center></font><br><b><font color="navy"><font size=4><center>4. Sæson</center></font></b> 
    </td> 
</tr> 
</table></center> 
<center><center> 
<table width="750"> 
<colgroup span="8"> 
<col span="1" style="width:22%;" /> 
<col span="1" style="width:15%;" /> 
<col span="3" style="width:7%;" /> 
<col span="3" style="width:14%;" /> 
</colgroup> 
<tr bgcolor="d2e6f9"> 
  <th colspan="8"><h3>ROSTER</h3></td> 
</tr> 
<script type="text/javascript"> 
    var t = true;  var f = false; 
  CalculateSubSalaries(); 
  CalculateTotWaiver(); 
  CalculateTotSalaries(); 
  CalculateSalaryCapspace(); 
  document.write(ShowInfo(PlayersObj[0],f,'')); 
  document.write(ShowInfo(PlayersObj[1],t,'Player')); 
  document.write(ShowInfo(PlayersObj[2],f,'Player')); 
  document.write(ShowInfo(PlayersObj[3],t,'Player')); 
document.write(ShowInfo(PlayersObj[4],f,'Player')); 
  document.write(ShowInfo(PlayersObj[5],t,'Player')); 
  document.write(ShowInfo(PlayersObj[6],f,'Player')); 
  document.write(ShowInfo(PlayersObj[7],t,'Player')); 
  document.write(ShowInfo(PlayersObj[8],f,'Player')); 
  document.write(ShowInfo(PlayersObj[9],t,'Player')); 
  document.write(ShowInfo(PlayersObj[10],f,'Player')); 
  document.write(ShowInfo(PlayersObj[11],t,'Player')); 
  document.write(ShowInfo(PlayersObj[12],f,'Player')); 
  document.write(ShowInfo(SalarySub[0],f, 'SalarySub')); 
  document.write(ShowInfo(WaiverTot[0],f, 'WaiverTot')); 
  document.write(ShowInfo(SalaryTot[0],t, 'SalaryTot')); 
  document.write(ShowInfo(SalaryCap[0],f, 'SalaryCap')); 
  document.write(ShowInfo(Capspace[0],t, 'Capspace')); 
 
</script> 
</table> 
</center> 
<br> 
<hr width="94%" align=center> 
<br> 
<center><table width="750"> 
<colgroup span="8"> 
<col span="1" style="width:22%;" /> 
<col span="1" style="width:15%;" /> 
<col span="3" style="width:7%;" /> 
<col span="3" style="width:14%;" /> 
</colgroup> 
<table width="750"> 
<colgroup span="8"> 
<col span="1" style="width:22%;" /> 
<col span="1" style="width:15%;" /> 
<col span="3" style="width:7%;" /> 
<col span="3" style="width:14%;" /> 
</colgroup> 
<tr bgcolor="d2e6f9"> 
  <th colspan="8"><h3>WAIVERS</h3></td> 
</tr> 
<script type="text/javascript"> 
  CalculateTotWaiver(); 
  document.write(ShowInfo(WaiverObj[0],f)); 
  document.write(ShowInfo(WaiverObj[1],t)); 
  document.write(ShowInfo(WaiverObj[2],f)); 
  document.write(ShowInfo(WaiverObj[3],t)); 
  document.write(ShowInfo(WaiverTot[0],f)); 
 
</script> 
</table> 
</center> 
<br> 
<hr width="94%" align=center> 
<br> 
<center><table width="750"> 
<colgroup span="8"> 
<col span="1" style="width:22%;" /> 
<col span="1" style="width:15%;" /> 
<col span="3" style="width:7%;" /> 
<col span="3" style="width:14%;" /> 
</colgroup> 
</body> 
</html>