function validaForm(id){
  var retorno = true;
  
  $('#'+id + ' input').each(function(){
    if ( $(this).hasClass('required') && ($.trim( $(this).val() ) == "") || ($(this).val().indexOf('*') != -1)){
      $(this).css({'color' : '#F00'});
      retorno = false;					
    }
  });

  $('#'+id + ' textarea').each(function(){
    if ( $(this).hasClass('required') && ($.trim( $(this).val() ) == "") || ($(this).val().indexOf('*') != -1)){
      $(this).css({'color' : '#F00'});
      retorno = false;					
    }
  });		
  return retorno;
}
