function chkCbo()
{
    var i, campo, nombre, errors, msg;
    errors 	= chkCbo.arguments[0];
	msg		= chkCbo.arguments[1];
    for (i=2; i< chkCbo.arguments.length; i += 2)
    {    	
        campo  = chkCbo.arguments[i];
        nombre = chkCbo.arguments[i+1];
        if ( (campo.selectedIndex == -1) || (campo.options[campo.selectedIndex].value == null) || 
            (campo.options[campo.selectedIndex].value == '') )
                errors += '- '+ nombre +': ' + msg + '.\n';
    }
    return errors;
}

