function showDiv(id,front,end){

	elemento=document.getElementById(front);
	elemento1=document.getElementById(end);
    
	elemento3=document.getElementById('act');
	elemento3.value = id;
		
		if(id==1){
			elemento.style.display='block';	
			elemento.style.visibility='visible';
			elemento1.style.display='none';	
			elemento1.style.visibility='hidden';

		}else{
		
			elemento1.style.display='block';	
			elemento1.style.visibility='visible';
			elemento.style.display='none';	
			elemento.style.visibility='hidden';				
		}
	}

function cambiarAct(theForm){
	alert("cambiaract"+theForm.cedula.value);
	theForm.act.value='1';
	
	return (true);
}

function IsNumber(e) {
	var charCode 
	charCode = (document.all) ? e.keyCode : e.which 
	status = charCode 
	if (charCode > 31 && (charCode < 48 || charCode > 57)) {
	return false
	}
	return true
}
