+function init_autotraces() {
+ $("#unlocked .autotactic").tooltip({
+ delay: 0,
+ showURL: false,
+ bodyHandler: function() {
+ return (trace_of($(this)[0]));
+ }
+ });
+ $("#locked .autotactic").tooltip({
+ delay: 0,
+ showURL: false,
+ bodyHandler: function() {
+ return (trace_of($(this)[0]));
+ }
+ });
+}
+
+function trace_of(node) {
+ return text_of_html(filterByClass(node.childNodes,"autotrace")[0]);
+}
+