 comments = [['/*', '*/'], ['#', '\n']];

	function painted_in(line, color) {
		return line.length == 0 ? "" : "<span style=\"color:#" + color + "\">" + line + "</span>";
	}

	function colorized(token) {
		var code_sum = 0;
		for(var i = 0; i < token.length; ++i)
			code_sum += ([1, 7, 11, 13][i % 4] * token.charCodeAt(i));
		var zero_channel = code_sum % 3;
		var color = '' + (zero_channel == 0 ? '0' : '') + (1 + (code_sum % 5) * 2)
			+ (zero_channel == 1 ? '0' : '') + (4 + (code_sum % 2) * 5)
			+ (zero_