2 // apply css styles on <table> row mouseover
\r
3 // set tableId in html
\r
4 /* var tableId = ""; */
\r
6 /* if (tableId == null) return; */
\r
8 var rows = document.getElementById(tableId).getElementsByTagName('tr');
\r
9 var lngth = rows.length;
\r
10 for ( i=0; i<lngth; i++ ) {
\r
11 rows[i].onmouseover = function() {
\r
12 this.className="mouseOn";
\r
14 rows[i].onmouseout = function() {
\r
15 this.className="mouseOff";
\r