
	arrColors	=	new Array('#ACBBC6','#FFFFFF','','#D5E4F0');
	arrRows		=	new Array();

	function init_events(){
		tbl	=	document.getElementById('CMSTableColorChanger');
		for(var r=0;r<tbl.rows.length;++r){
			arrRows[r]	=	new Array();
			for(var c=0;c<tbl.rows[r].cells.length;++c){
				arrRows[r].push(tbl.rows[r].cells[c]);
				if(tbl.rows[r].cells[c] != tbl.rows[r].cells[0]){
					tbl.rows[r].cells[c].onmouseover=new Function('F','highlight(this,'+r+')');
					tbl.rows[r].cells[c].onmouseout=new Function('F','highlight2(this,'+r+')');
					//tbl.rows[r].cells[c].onmouseover=new Function('F','changeColor(this,'+r+')');
					//	alert("tbl.rows["+r+"].cells["+c+"]");
				}
			}
		}
	}
	
	function highlight(o,r){
		for(c=0;c<arrRows[r].length;++c){
			arrRows[r][c].style.backgroundColor=(o!=arrRows[r][c])?arrColors[0]:arrColors[1]
		}
	}

	function highlight2(o,r){
		for(c=0;c<arrRows[r].length;++c){
			arrRows[r][c].style.backgroundColor=(o!=arrRows[r][c])?arrColors[2]:arrColors[3]
		}
	}

	if(document.getElementById){
		window.onload=init_events;
	}
