--- content_taxonomy_autocomplete.module	2010-05-24 11:53:26.000000000 +0200
+++ content_taxonomy_autocompleteNew.module	2010-05-24 12:11:49.000000000 +0200
@@ -193,6 +193,40 @@ function content_taxonomy_autocomplete_p
   }
   array_unshift($element[$field_key]['#element_validate'], 'content_taxonomy_autocomplete_validate');
   
+  if(module_exists(suggestedterms)){
+
+      $sort_order = variable_get('suggestedterms_sort_order', SUGGESTEDTERMS_SORT_NAME);
+      $display_what = variable_get('suggestedterms_display_mode', SUGGESTEDTERMS_DISPLAY_ALL);
+
+      switch ($sort_order) {
+        case SUGGESTEDTERMS_SORT_POPULAR:
+          $tag_description = t('Most popular terms');
+          break;
+
+        case SUGGESTEDTERMS_SORT_RECENT:
+          $tag_description = t('Recently added');
+          break;
+
+        case SUGGESTEDTERMS_SORT_WEIGHT:
+          $tag_description = t('Terms by Weight');
+          break;
+
+        case SUGGESTEDTERMS_SORT_USED:
+          $tag_description = t('Recently Used');
+          break;
+
+        default:
+          $tag_description = t('Terms by name');
+          break;
+      }
+
+      $path = drupal_get_path('module', 'suggestedterms'); 
+      drupal_add_js($path . '/suggestedterms.js');
+
+      $element[$field_key]['#description'] .= "<br />\n". t($tag_description) . ': ' .    _suggestedterms_build_suggestions($element['#vid'], $sort_order, $display_what);
+
+  }
+
   if (module_exists('active_tags') && $field['widget']['active_tags']) {
     active_tags_enable_widget('#' . $element['#id'] . '-value-wrapper');
   }
