? images/.DS_Store
Index: bartik.info
===================================================================
RCS file: /cvs/drupal-contrib/contributions/themes/bartik/bartik.info,v
retrieving revision 1.8
diff -u -p -r1.8 bartik.info
--- bartik.info	28 Apr 2010 03:20:54 -0000	1.8
+++ bartik.info	30 Apr 2010 02:32:31 -0000
@@ -11,6 +11,8 @@ stylesheets[all][] = css/style.css
 stylesheets[all][] = css/colors.css
 stylesheets[print][] = css/print.css
 
+scripts[] = scripts/search.js
+
 regions[header] = Header
 regions[help] = Help
 regions[page_top] = Page top
Index: css/style.css
===================================================================
RCS file: /cvs/drupal-contrib/contributions/themes/bartik/css/style.css,v
retrieving revision 1.57
diff -u -p -r1.57 style.css
--- css/style.css	29 Apr 2010 04:00:57 -0000	1.57
+++ css/style.css	30 Apr 2010 02:32:32 -0000
@@ -905,7 +905,6 @@ html.js input.throbbing {
 }
 
 /* -------------- Other Overrides ------------- */
-
 div.password-suggestions {
   border: 0;
 }
Index: scripts/search.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/themes/bartik/scripts/search.js,v
retrieving revision 1.1
diff -u -p -r1.1 search.js
--- scripts/search.js	22 Apr 2010 10:34:18 -0000	1.1
+++ scripts/search.js	30 Apr 2010 02:32:32 -0000
@@ -0,0 +1,26 @@
+// $Id$
+(function ($) {
+
+  Drupal.behaviors.bartik = {
+    attach: function(context) {
+    
+      $('#search-block-form input[type=text]').val('Search');
+    
+      $('#search-block-form input[type=text]').focus(function(){
+        $(this).addClass('has-focus');
+        if ($(this).val() == 'Search') {
+          $(this).val('');
+        }
+      });
+    
+      $('#search-block-form input[type=text]').blur(function(){
+        $(this).removeClass('has-focus');
+        if ($(this).val() == '') {
+          $(this).val('Search');
+        }
+      });
+    }
+    
+  };
+
+})(jQuery);
