Following are optimized code for SelectRow function
Stylesheet
.selectedRow
{
color: #303030;
font-size:3em;
font-weight:bold;
}
.normalRow
{
color: #909090;
font-size:2em;
font-weight:normal;
}
Javascript
function SelectRow(row) {
var _rows = row.parentNode.childNodes;
try {
for (i = 0; i < _rows.length; i++) {
_rows[i].getElementsByTagName("td")[0].className='normalRow';
}
}
catch (e) { }
row.getElementsByTagName("td")[0].className='selectedRow';
}
Thanks,
Imdadhusen