ValAll("Nombre","Apellido","Direccion","Telefono","",5);
function ValAll(C1,C2,C3,C4,C5,Nc){ for(i=1;i<=Nc;i++){ if(document.getElementById('C'+i).length>0){ alert("Debe llenar el campo "+'C'+i); } }}
function ValAll(){ for (i=0;i<arguments.length;i++){ if(document.getElementById(arguments[i]).value.length==0) alert("Debe llenar el campo "+arguments[i]); }}
alert(arguments.length);
function ValAll(C1,C2,C3,C4,C5,Nc){ for(i=1;i<=Nc;i++){ if(document.getElementById('C'+i).value==""){ alert("Debe llenar el campo "+'C'+i); } }}
for(i=1;i==2;i++){ varM = 'C'+i;// Luego aqui seguir con el codigo}