--- sites/all/modules/jstools/jstools.js.orig	2007-10-09 21:37:13.035984259 -0400
+++ sites/all/modules/jstools/jstools.js	2007-10-09 21:37:16.242272136 -0400
@@ -232,3 +232,8 @@ if (Drupal.jsEnabled) {
   // Attach all behaviors.
   $(document).ready(Drupal.attachBehaviors);
 }
+
+// small utility function for text input fields
+Drupal.clearInput = function (input) {
+  if (input.value == input.defaultValue) input.value = "";
+};
