function InitDataView(table,colorOver, colorOut){
	var tbl  = document.getElementById(table);
//  var ccc=new Array();
	for(var i=0; i<tbl.rows.length; i++){
    row = tbl.rows[i];
    if(row == null || row == 'undefined'){
			continue;
		}
		
    row.onmouseover = function(){
      color = colorOver;
//      this.oldcolor = this.style.background;
      this.style.background=color;
      this.mo=true;
    }

    row.onmouseout = function(){
      color = colorOut;
//      this.bgColor = color;
      this.style.background=this.className=='h'?'#ffc':'#fff';
      this.mo=false;
    }
/*    
    row.cb=document.getElementById('cb'+(i-1));

    if(row.cb==null || row.cb=='undefined'){
      row.cb='undefined';
    }else{
      if(row.cb.checked){
        row.dpcolor= true;
        row.bgColor=colorOutCl;
      }
*/
//      row.style.cursor=cursorhand;
/*
      row.onclick = function(){ 
        if(this.cb!=null && this.cb!='undefined'){
          this.dpcolor= !this.dpcolor; 
          this.cb.checked = !this.cb.checked;
          this.dpcolor=this.cb.checked;
          if(row.mo){
            color = this.dpcolor ?  colorOutCl : colorOut;
          }else{
            color = this.dpcolor ?  colorCl : colorOver;
          }
          this.bgColor = color;
        }
      }//onclick
    }
*/
  }//for rows
}
