// PICTURE SWITCHER FUNCTIONS
function selectImage(thing,imgIndex){
	// clear all the boxes
	for(i=0; i < document.links.length; i++){
		if(document.links[i].name.indexOf("box") == 0){
			document.links[i].className = '';
		}
	}
	// set the image descriptors
	document.titlePic.src 	= eval("pic"+imgIndex+".src");
	document.titlePic.alt 	= eval("pic"+imgIndex+".alt");
	// fill in the box for this image
	thing.className = 'current';
}