--- jquery.cluetip.js	2008-05-22 13:05:42.000000000 -0500
+++ php/themes/desert_sand/javascript/jquery.cluetip.js	2008-07-05 00:28:42.000000000 -0500
@@ -98,9 +98,14 @@
         .prependTo($cluetip);
       }
       var tipAttribute = $this.attr(opts.attribute), ctClass = opts.cluetipClass;
-      if (!tipAttribute && !opts.splitTitle && !js) return true;
+      if (!tipAttribute && !opts.autoid && !opts.splitTitle && !js) return true;
       // if hideLocal is set to true, on DOM ready hide the local content that will be displayed in the clueTip      
-      if (opts.local && opts.hideLocal) { $(tipAttribute + ':first').hide(); }
+      if (opts.local && opts.hideLocal) { 
+          if (opts.autoid) {
+              $('#cluetip_' + $this.attr('id')).hide();
+          } else {
+              $(tipAttribute + ':first').hide(); }
+          }
       var tOffset = parseInt(opts.topOffset, 10), lOffset = parseInt(opts.leftOffset, 10);
       // vertical measurement variables
       var tipHeight, wHeight;
@@ -247,7 +252,12 @@
 * load an element from the same page
 ***************************************/
       } else if (opts.local){
-        var $localContent = $(tipAttribute + ':first');
+        var $localcontent;
+        if (opts.autoid){
+            $localContent = $('#cluetip_' + $this.attr('id'));
+        } else{
+            $localContent =  $(tipAttribute + ':first');
+        }
         var localCluetip = $.fn.wrapInner ? $localContent.wrapInner('<div></div>').children().clone(true) : $localContent.html();
         $.fn.wrapInner ? $cluetipInner.empty().append(localCluetip) : $cluetipInner.html(localCluetip);
         cluetipShow(pY);
