function makeItGlow() {
	if (getElementsByClassName('tags')[0]) {
		var tags = getElementsByClassName('tags')[0].childNodes;
		for (i = 0; i < tags.length; i++) {
			var hash = hex_md5(tags[i].firstChild.innerHTML);
			tags[i].firstChild.style.backgroundColor = color(hash);
		}
	}
}

function color(hash) {
	var code = hash.replace(/[a-z0]/g, '');
	var colors = new Array(200 - code.substr(0, 2), 200 - code.substr(1, 2), 200 - code.substr(2, 2));
//	colors.sort(function(a, b) { return a - b; });
	return 'rgb(' + colors[0] + ',' + colors[1] + ',' + colors[2] + ')'; 
}

function getElementsByClassName(searchClass, node) {
	if (node == null) { node = document; }
	if (node.getElementsByClassName) {
		return node.getElementsByClassName(searchClass);
	} else { // custom function for IE and FF2 (http://www.dustindiaz.com/getelementsbyclass/)
		var classElements = new Array();
		var els = node.getElementsByTagName('*');
		var elsLen = els.length;
		var pattern = new RegExp('(^|\\s)' + searchClass + '(\\s|$)');
		for (i = 0, j = 0; i < elsLen; i++) {
			if (pattern.test(els[i].className)) {
				classElements[j] = els[i];
				j++;
			}
		}
		return classElements;
	}
}
