
/////切换表格 Cell：

function mOvr(src,clrOver)
{
 if(!src.contains(event.fromElement))
 {src.style.cursor='hand';
  src.bgColor = clrOver;
 }
}

function mOut(src,clrIn)
{
 if(!src.contains(event.toElement))
 {src.style.cursor='default';
  src.bgColor=clrIn; }
}

function mClk(src)
{ //执行单元格中的链接
 if(event.srcElement.tagName=='TD')
 {src.children.tags('A')[0].click();}
}

 /////切换表格横条(<tr></tr>)：

 //for 内容显示：
 //function mouseover_tr(obj) {obj.style.backgroundColor="white";	}
 //function mouseout_tr(obj) {obj.style.backgroundColor="";	}

 //for 后台管理目录：
 //function mouseover_tr1(obj) {obj.style.backgroundColor="aliceblue";	}
 //function mouseout_tr1(obj) {obj.style.backgroundColor="";	}

 //通用：
 function mouseover_of_tr(obj,Color) {obj.style.backgroundColor=Color;	}
 function mouseout_of_tr(obj,Color) {obj.style.backgroundColor=Color;	}