Index: modules/user/user.js
===================================================================
RCS file: /cvs/drupal/drupal/modules/user/user.js,v
retrieving revision 1.10
diff -u -p -r1.10 user.js
--- modules/user/user.js	18 Feb 2009 13:46:55 -0000	1.10
+++ modules/user/user.js	5 Mar 2009 23:17:18 -0000
@@ -49,6 +49,19 @@ Drupal.behaviors.password = {
           passwordDescription.show();
         }
 
+	//Adjust the color of the strength indicator
+	var indicatorColor = '#f00';        
+	if (result.strength < 50) {
+	  indicatorColor = '#f00';
+	}
+	if (result.strength >= 50 && result.strength < 75) {
+	  indicatorColor = '#ff0';
+	} 
+	if (result.strength >=75) {
+	  indicatorColor = '#0f0';
+	} 
+	$("#indicator").css('background-color', indicatorColor);	
+
         // Adjust the length of the strength indicator.
         $("#indicator").css('width', result.strength + '%');
 
