So for a table called 'tblswatches',
document.all.tblswatches.rows(irow).cells(icol).borderColor='#AAAAAA'; turns the border on.
Any thoughts on how to implement this with Firefox? I certainly don't want to alienate that growing user base.
Unless you expect IE4 users you can safely discontinue document.all.
Possible problem - id must be unique, one per page (each td would need its own id) - so your code is closer to requiring document.getElementsByTagName.