eft + dw * value01, slider_margin_top);
		ctx.lineTo(slider_margin_left + dw * value01, slider_h - slider_margin_bottom);
		ctx.stroke();
		ctx.closePath();
		ctx.textBaseline = "middle";
		ctx.fillStyle="#000000";
		if(value01 < 0.75) {
			ctx.textAlign = "left";
			ctx.fillText(value_to_print, slider_margin_left + dw * value01 + 6, slider_h / 2);
		} else {
			ctx.textAlign = "right";
			ctx.fillText(value_to_print, slider_margin_left + dw * value01 - 6, slider_h / 2);
		}
	}
}

function colorized(text) {