anvas_rect = slider.getBoundingClientRect();
	var x = client_x - canvas_rect.left - 16;
	if(x < 1)
		x = 1;
	if(x > max_slider_x)
		x = max_slider_x;
	slider_xs[no] = x;

	proportion = slider_xs[no] / max_slider_x;
	if(proportion < 0.01)
		proportion = 0.01;
	if(proportion > 0.99)
		proportion = 0.99;

	comment_on_slider(no);
	path = search_path(0, 639, proportion);
	draw("search");
	draw("search_int");
}

function init_slider(no){
	draw_slider(no);
	var slider = document.getElementById("slider_" + (no + 1)