// Select Box Change File
// for use with "The Life Support Site" gallery

function addImageNumbers(){
	// Adds the number of images to the options in the select box
	for(i=1;i<photo.length;i++){
		document.getElementById("sltGallery").options[i].value = document.getElementById("sltGallery").options[i].text;
		document.getElementById("sltGallery").options[i].text += " (" + photo[i].length + " image" + (photo[i].length != 1 ? "s" : "") + ")";
	}
}

addImageNumbers();
changeGallery();
urlParse();
document.getElementById("sltGallery").disabled = false;