Change the following code:
strChallengerName = allGames("Challenger")
numChallengerID = GetMemberID(strMemberName)
strDefenderName = allGames("Defender")
numDefenderID = GetMemberID(strMemberName)
to
strChallengerName = allGames("Challenger")
numChallengerID = GetMemberID(strChallengerName)
strDefenderName = allGames("Defender")
numDefenderID = GetMemberID(strDefenderName)
Then change the following code
if allGames("TYPE")="Ladder Duel" then
response.write "<td align=""center"" style=""border-style: outset; border-width: 1"" bordercolorlight=""#CCCCCC"" bordercolordark=""#000000"">" & profileLink(strChallengerName, numMemberID) & " (" & "<font color=""white"">" & allGames("Chall_spot") & "</font>)</td>"
response.write "<td align=""center"" style=""border-style: outset; border-width: 1"" bordercolorlight=""#CCCCCC"" bordercolordark=""#000000"">" & profileLink(strDefenderName, numMemberID) & " (" & "<font color=""white"">" & allGames("Def_spot") & "</font>)</td>"
else
response.write "<td align=""center"" style=""border-style: outset; border-width: 1"" bordercolorlight=""#CCCCCC"" bordercolordark=""#000000"">" & profileLink(strChallengerName, numMemberID) & "</td>"
response.write "<td align=""center"" style=""border-style: outset; border-width: 1"" bordercolorlight=""#CCCCCC"" bordercolordark=""#000000"">" & profileLink(strDefenderName, numMemberID) & "</td>"
end if
to
if allGames("TYPE")="Ladder Duel" then
response.write "<td align=""center"" style=""border-style: outset; border-width: 1"" bordercolorlight=""#CCCCCC"" bordercolordark=""#000000"">" & profileLink(strChallengerName, numChallengerID) & " (" & "<font color=""white"">" & allGames("Chall_spot") & "</font>)</td>"
response.write "<td align=""center"" style=""border-style: outset; border-width: 1"" bordercolorlight=""#CCCCCC"" bordercolordark=""#000000"">" & profileLink(strDefenderName, numDefenderID) & " (" & "<font color=""white"">" & allGames("Def_spot") & "</font>)</td>"
else
response.write "<td align=""center"" style=""border-style: outset; border-width: 1"" bordercolorlight=""#CCCCCC"" bordercolordark=""#000000"">" & profileLink(strChallengerName, numChallengerID) & "</td>"
response.write "<td align=""center"" style=""border-style: outset; border-width: 1"" bordercolorlight=""#CCCCCC"" bordercolordark=""#000000"">" & profileLink(strDefenderName, numDefenderID) & "</td>"
end if