- function trlinkOver(src) {
- var obj = src.cells;
- if (obj != null) {
- for (i = 0; i < obj.length; i++) {
- obj[i].style.backgroundColor = "#7D9FC0";
- }
- }
- src.style.cursor = "hand";
- src.style.textDecoration = "none";
- }
- function trlinkOut(src) {
- var obj = src.cells;
- if (obj != null) {
- for (i = 0; i < obj.length; i++) {
- obj[i].style.backgroundColor = "#FFFFFF";
- }
- }
- src.style.cursor = "auto";
- src.style.textDecoration = "none";
- }
- function setDataTableOver(id){
- if (document.all(id)==null) return;
- var changeTr=document.getElementById(id).getElementsByTagName("tr");
- for(i=1;i<changeTr.length;i++){
- changeTr[i].onmouseover=function(){
- trlinkOver(this);
- };
- changeTr[i].onmouseout=function(){
- trlinkOut(this);
- };
- }
- }