  $(document).ready(function(){
    
  $('[name=anketa_form]').submit(function() {
  
    var is_empty = false;
    
    
       $('[name=anketa_form] input').each(function(index) {
         
        if(($(this).val()=='') && ($(this).attr("name") != '9.Source of information another'))
            is_empty = true;
      });
      
      $('[name=anketa_form] textarea').each(function(index) {
      
        if($(this).val()=='')
            is_empty = true;
      });
      
      
      if((!$("input[name='captcha']").length) ||  ($("input[name='captcha']").val()<0)) 
        {
           alert("ERROR captcha verification!");     return false;
        }
              
          if(is_empty)
            {
            
            if($('#cur_language').text()=='ru')
              alert('Все поля обязательны для заполнения!');
            else if($('#cur_language').text()=='cn')
                alert('以下空白处必须填写.');
            else
              alert('It is obligatory to fill in all the fields!');
              return false;
            } 
});   
  });