function checkbox_clicked(the_checkbox)
{
	var the_checked_images = new Array();

	for (i = 0, j = 0; i < theform.checked_image.length; i++) {
		if (theform.checked_image[i].checked) {
			the_checked_images[j++] = theform.checked_image[i].value;
		}
	}

	if (the_checked_images.length > 0) {
		the_checked_images.sort();
		theform.selected_images.value = "Performance: " + rodeo + "\nImages: " + the_checked_images.join(", ");
	} else {
		theform.selected_images.value = "";
	}
	return;
}


