client/js/libs/stringcolor.js
function(word) {
		var h = 0;
		for (var i = 0; i < word.length; i++) {
			h = word.charCodeAt(i) + ((h << 5) - h);
		}
		return h;
	}
function(word) {
		var h = 0;
		for (var i = 0; i < word.length; i++) {
			h = word.charCodeAt(i) + ((h << 5) - h);
		}
		return h;
	}
function ( word ) { var h = 0 ; for ( var i = 0 ; i < word . length ; i ++ ) { h = word . charCodeAt ( i ) + ( ( h << 5 ) - h ) ; } return h ; }
Generate a Hash for the String
Generate a Hash for the String