function cd_atualiza_valores() {
	
	if(arguments.length>0){
	
		for(var i=0; i<arguments.length; i=i+2)
		{
			campo = arguments[i];
			texto = arguments[i+1];
			if(!(document.getElementById(campo).value == texto))
			{				
				document.getElementById(campo).value = texto;
			}
				  
		}
		
	}
	
}

function cb_exibe_esconde(Div_Opcoes,op) {
  //if(document.getElementById(Div_Opcoes).style.display=='inline'){
  if(op==0){	
	document.getElementById(Div_Opcoes).style.display='none';
  }else{
	document.getElementById(Div_Opcoes).style.display='inline';
  }
}

function mover(src,clrOver) {
  src.style.background = clrOver;
}

function mout(src,clrIn) {
  src.style.background = clrIn;
}

function mudaimg(o){
var id = o;
var statusatual = document.getElementById(id).src;
	if (statusatual.indexOf('_1')==-1)
	{
		 statusatual = statusatual.replace("_0","_1");
		 document.getElementById("ConfTurmas").value = "1";
	}else{
		statusatual = statusatual.replace("_1","_0");
		document.getElementById("ConfTurmas").value = "0";
	}
	
	document.getElementById(id).src = statusatual;
}  
