//array
// nextPicture...find the source of current, then get the newpic substring, then...
// search the array for a match on the 0 position of the array element
// for (i=0;1<picSet.length;i++) {
//	alert(picSet[i]);
//}
// then take the quote from the 1 position of the element
picSet = new Array();
	picSet[0]=["10","ACES participant Anna Lohr"];//picSet[0][0] is 10, picSet[0][0] is the quote
	picSet[1]=["11","ACES participant Ceasar Seabron"];
	picSet[2]=["12","ACES participant Martell Brennan"];
	picSet[3]=["13","ACES participant Willie Perry"];
	picSet[4]=["14","ACES participant Michael Parsons"];
	picSet[5]=["15","ACES participant Jeni Doody"];
	picSet[6]=["16","ACES participant Lori Mayo"];
	picSet[7]=["17","ACES Founder, Dr. Diane Nelson Bryen, Executive Director, Institute on Disabilities"];
	picSet[8]=["18","ACES participants heading across Temple University\'s campus"];
	picSet[9]=["19","ACES participants heading across Temple University\'s campus"];
	picSet[10]=["20","ACES participants on Temple University\'s campus"];
	picSet[11]=["21","ACES 2006 participants gather under the \"Temple Owl\""];
	picSet[12]=["22","ACES 2006 participants along with assistants, interns and staff gather on Temple University\'s campus"];
	picSet[13]=["23","Martell Brennen and family member working with an augmentative communication device"];
	picSet[14]=["24","Anna Lohr in class"];
	picSet[15]=["25","Anna working with screen reader software"];
	picSet[16]=["26","Willie Perry is trying out different augmentative communication keyboards"];
	picSet[17]=["27","Willie works with keyboards"];
	picSet[18]=["28","Typing with an augmentative communication device keyboard"];
	picSet[19]=["29","Keyboarding..."];
	picSet[20]=["30","Willie deep in concentration"];
	picSet[21]=["31","Anna working with screen reader software in the computer lab at Temple University"];
	picSet[22]=["32","Willie hard at work"];
	picSet[23]=["33","Inside the Tuttleman Learning Center"];
	picSet[24]=["34","Michael Parsons doing classwork"];
	picSet[25]=["35","A speech synthesizing device"];
	picSet[26]=["36","Ceasar works with ACES instructor"];
	picSet[27]=["37","Michael gets it right again"];
	picSet[28]=["38","Michael doing classwork with augmentative communication device"];
	picSet[29]=["39","Ceasar in class"];
	picSet[30]=["40","Tuttleman Learning Center on Temple\'s main campus"];
	picSet[31]=["41","Tuttleman Learning Center on Temple\'s main campus"];
	picSet[32]=["42","Tuttleman Learning Center on Temple\'s main campus"];
	picSet[33]=["43","Student Activity Center on Temple\'s main campus"];
	picSet[34]=["44","Tuttleman Learning Center on Temple\'s main campus"];
	picSet[35]=["45","Jeni gathers with family and friends at ACES 2006 graduation"];
	picSet[36]=["46","Dr. Bryen acknowledges Rosangela Boyd, ACES coordinator for the past several years"];
	picSet[37]=["47","Dr. Boyd says a few words of thanks"];
	picSet[38]=["48","Priscilla Danielson, new ACES coordinator, makes introductory speech"];
	picSet[39]=["49","Vulf Rakhman, ACES staff member, addresses the graduates and audience"];
	picSet[40]=["50","Martell makes his graduation speech"];
	
	picSet[41]=["51","Jeni makes her graduation speech"];
	picSet[42]=["52","Anna makes her graduation speech"];
	picSet[43]=["53","Lori makes her graducation speech"];
	picSet[44]=["54","Willie\'s family presents a cake in celebration of his graduation"];
	picSet[45]=["55","Ceasar makes his graduation speech"];
	picSet[46]=["56","ACES 2006 graduation class is recognized by the audience"];
	picSet[47]=["57","Dr. Bryen and former ACES participant Bob Williams present the ACES Free Speech Now Award to 2006 recipient Colin Portnuff"];
	picSet[48]=["58","Willie, family and friends gather after the graduation ceremony"];
	picSet[49]=["59","ACES 2005 graduate Kathleen Curcio join Roseangela and Priscilla after the graduation ceremony"];
	picSet[50]=["60","Former ACES graduate donates quilt to ACES program"];
	
	picSet[51]=["61","Anna in classroom"];
	picSet[52]=["62","Anna in classroom"];
	picSet[53]=["63","Anna in classroom"];
	picSet[54]=["64","Michael works intently in classroom"];
	picSet[55]=["65","Lori in classroom"];
	picSet[56]=["66","Lori meets with ACES mentor and graduate Bob Williams"];
	picSet[57]=["67","Michael works in classroom"];
	picSet[58]=["68","Michael shares a laugh with ACES staff assistant"];
	picSet[59]=["69","Something very funny!"];
	picSet[60]=["70","Kathleen works in classroom as mentor"];
	
	picSet[61]=["71","Kathleen has message for ACES coordinator"];
	picSet[62]=["72","Kathleen works with communication device keyboard"];
	picSet[63]=["73","Priscilla suggests solution"];
	picSet[64]=["74","Another communication device board"];
	picSet[65]=["75","Anna works intently in classroom"];
	picSet[66]=["76","Anna works in classroom"];
	picSet[67]=["77","Michael in classroom"];
	picSet[68]=["78","Bob Williams in classroom"];
	picSet[69]=["79","Ceasar laughs during classroom session"];
	picSet[70]=["80","Willie enjoys a classroom moment"];
	
	picSet[71]=["81","Willie in classroom"];
	picSet[72]=["82","Ceasar in classroom"];
	picSet[73]=["83","Willie with communication device"];
	picSet[74]=["84","Jeni works in classroom"];
	picSet[75]=["85","Martell working in classroom"];
	picSet[76]=["86","Lori in classroom"];
	picSet[77]=["87","Mentor and teacher Carol Marfisi in classroom"];
	picSet[78]=["88","Mentor and teacher Carol Marfisi in classroom"];
	picSet[79]=["89","Mentor and teacher Carol Marfisi in classroom"];
	picSet[80]=["90","Dr. Bryen records the participants\' hopes and dreams"];
	
	picSet[81]=["91","Willie in classroom"];
	picSet[82]=["92","Willie in classroom"];
	

function swapPhoto(photoSRC,theCaption) {
	var displayedCaption = document.getElementById("caption");
	displayedCaption.firstChild.nodeValue = theCaption;
    document.images.imgPhoto.src = "images/" + photoSRC;		
	    }
	
function nextPicture() {
	var displayedCaption = document.getElementById("caption");
	
	var currPhoto = document.getElementById("imgPhoto");
	var currPhotoSource = currPhoto.src;
	// get the numeric portion of the image name, counting back from the end of string...
	var myIndex = currPhotoSource.length - 6;
	var myIndex2 = currPhotoSource.length - 4;
	var newpic = (currPhotoSource.substring(myIndex,myIndex2));
	var intNewpic = parseInt(newpic);
	if ((intNewpic + 1) <= 92) {
		document.images.imgPhoto.src  = "images/aces" + (intNewpic + 1) + ".jpg";
		displayedCaption.firstChild.nodeValue = picSet[(intNewpic+1)-10][1];
		//there have to be upper/lower limits
		} else {
			document.images.imgPhoto.src = "images/aces10.jpg";
			}
			
			//for (i=0;i<picSet.length;i++) { //
				//alert(picSet[i][0] + picSet[i][1]); //
				//} //
	}
	
function prevPicture() {
	var currPhoto = document.getElementById("imgPhoto");
	var currPhotoSource = currPhoto.src;
	// get the numberic portion of the image name, counting back from the end of string...
	var myIndex = currPhotoSource.length - 6;
	var myIndex2 = currPhotoSource.length - 4;
	var newpic = (currPhotoSource.substring(myIndex,myIndex2));
	var intNewpic = parseInt(newpic);
	if ((intNewpic - 1) >= 10) {
		document.images.imgPhoto.src  = "images/aces" + (intNewpic - 1) + ".jpg"; 
	} else {
		document.images.imgPhoto.src = "images/aces92.jpg";
		}
	}
