var thePrograms = new Array();
thePrograms[0] = '/images/images_school_programs/school_programs01.jpg';
thePrograms[1] = '/images/images_school_programs/school_programs02.jpg';
thePrograms[2] = '/images/images_school_programs/school_programs03.jpg';
thePrograms[3] = '/images/images_school_programs/school_programs04.jpg';
thePrograms[4] = '/images/images_school_programs/school_programs05.jpg';
thePrograms[5] = '/images/images_school_programs/school_programs06.jpg';
thePrograms[6] = '/images/images_school_programs/school_programs07.jpg';
thePrograms[7] = '/images/images_school_programs/school_programs08.jpg';
thePrograms[8] = '/images/images_school_programs/school_programs09.jpg';
thePrograms[9] = '/images/images_school_programs/school_programs10.jpg';
thePrograms[10] = '/images/images_school_programs/school_programs11.jpg';
thePrograms[11] = '/images/images_school_programs/school_programs12.jpg';
thePrograms[12] = '/images/images_school_programs/school_programs13.jpg';
thePrograms[13] = '/images/images_school_programs/school_programs14.jpg';
thePrograms[14] = '/images/images_school_programs/school_programs15.jpg';
thePrograms[15] = '/images/images_school_programs/school_programs16.jpg';
thePrograms[16] = '/images/images_school_programs/school_programs17.jpg';
thePrograms[17] = '/images/images_school_programs/school_programs18.jpg';
thePrograms[18] = '/images/images_school_programs/school_programs19.jpg';
thePrograms[19] = '/images/images_school_programs/school_programs20.jpg';
thePrograms[20] = '/images/images_school_programs/school_programs21.jpg';
thePrograms[21] = '/images/images_school_programs/school_programs22.jpg';
thePrograms[21] = '/images/images_school_programs/school_programs23.jpg';
thePrograms[22] = '/images/images_school_programs/school_programs24.jpg';
thePrograms[23] = '/images/images_school_programs/school_programs25.jpg';

var theProgramsAlt = new Array();
theProgramsAlt[0] = 'Elementary Students with Butterflies';
theProgramsAlt[1] = 'Primary Students in Vegetable Garden';
theProgramsAlt[2] = 'Primary Student in Vegetable Garden';
theProgramsAlt[3] = 'Primary Student with Butterflies';
theProgramsAlt[4] = 'Elementary Students at Holiday Concert';
theProgramsAlt[5] = 'Elementary Students with Butterflies';
theProgramsAlt[6] = 'Primary Student with Butterflies';
theProgramsAlt[7] = 'Primary Students with Tulip Bulbs';
theProgramsAlt[8] = 'Elementary Students with Luna Moth';
theProgramsAlt[9] = 'Elementary Students Hulling Strawberries';
theProgramsAlt[10] = 'Elementary Students Cooking';
theProgramsAlt[11] = 'Elementary Students - Alice in Wonderland';
theProgramsAlt[12] = 'Elementary Students - Alice in Wonderland';
theProgramsAlt[13] = 'Elementary Students - Alice in Wonderland';
theProgramsAlt[14] = 'Elementary Students - Alice in Wonderland';
theProgramsAlt[15] = 'Elementary Students - Alice in Wonderland';
theProgramsAlt[16] = 'Elementary Students - Alice in Wonderland';
theProgramsAlt[17] = 'Elementary Student with Butterflies';
theProgramsAlt[18] = 'Elementary Students with Butterflies';
theProgramsAlt[19] = 'Class Pet';
theProgramsAlt[20] = 'Class Work';
theProgramsAlt[21] = 'Class Work - Luna Moth';
theProgramsAlt[22] = 'Tagging Butterflies';
theProgramsAlt[23] = 'Tagged Butterflies';
theProgramsAlt[24] = 'Releasing Tagged Butterflies';




var i = 0;
var j = 0;
var p = thePrograms.length;
var preBuffer = new Array();
for (i = 0; i < p; i++){
	preBuffer[i] = new Image();
	preBuffer[i].src = thePrograms[i];
}

var whichPrograms = Math.round(Math.random()*(p-1));
function showPrograms(){
	if(whichPrograms==0){
		document.write('<img src="' + thePrograms[whichPrograms] + '" alt="' + theProgramsAlt[whichPrograms] + '" title="' + theProgramsAlt[whichPrograms] + '" width=174>');
	}
	else if(whichPrograms==1){
		document.write('<img src="' + thePrograms[whichPrograms] + '" alt="' + theProgramsAlt[whichPrograms] + '" title="' + theProgramsAlt[whichPrograms] + '" width=174>');
	}
	else if(whichPrograms==2){
		document.write('<img src="' + thePrograms[whichPrograms] + '" alt="' + theProgramsAlt[whichPrograms] + '" title="' + theProgramsAlt[whichPrograms] + '" width=174>');
	}	
	else if(whichPrograms==3){
		document.write('<img src="' + thePrograms[whichPrograms] + '" alt="' + theProgramsAlt[whichPrograms] + '" title="' + theProgramsAlt[whichPrograms] + '" width=174>');
	}
  else if(whichPrograms==4){
		document.write('<img src="' + thePrograms[whichPrograms] + '" alt="' + theProgramsAlt[whichPrograms] + '" title="' + theProgramsAlt[whichPrograms] + '" width=174>');
	}
   else if(whichPrograms==5){
		document.write('<img src="' + thePrograms[whichPrograms] + '" alt="' + theProgramsAlt[whichPrograms] + '" title="' + theProgramsAlt[whichPrograms] + '" width=174>');
	}
   else if(whichPrograms==6){
		document.write('<img src="' + thePrograms[whichPrograms] + '" alt="' + theProgramsAlt[whichPrograms] + '" title="' + theProgramsAlt[whichPrograms] + '" width=174>');
	}
   else if(whichPrograms==7){
		document.write('<img src="' + thePrograms[whichPrograms] + '" alt="' + theProgramsAlt[whichPrograms] + '" title="' + theProgramsAlt[whichPrograms] + '" width=174>');
	}
   else if(whichPrograms==8){
		document.write('<img src="' + thePrograms[whichPrograms] + '" alt="' + theProgramsAlt[whichPrograms] + '" title="' + theProgramsAlt[whichPrograms] + '" width=174>');
	}
	 else if(whichPrograms==9){
		document.write('<img src="' + thePrograms[whichPrograms] + '" alt="' + theProgramsAlt[whichPrograms] + '" title="' + theProgramsAlt[whichPrograms] + '" width=174>');
	}
	 else if(whichPrograms==10){
		document.write('<img src="' + thePrograms[whichPrograms] + '" alt="' + theProgramsAlt[whichPrograms] + '" title="' + theProgramsAlt[whichPrograms] + '" width=174>');
	}
	 else if(whichPrograms==11){
		document.write('<img src="' + thePrograms[whichPrograms] + '" alt="' + theProgramsAlt[whichPrograms] + '" title="' + theProgramsAlt[whichPrograms] + '" width=174>');
	}
	 else if(whichPrograms==12){
		document.write('<img src="' + thePrograms[whichPrograms] + '" alt="' + theProgramsAlt[whichPrograms] + '" title="' + theProgramsAlt[whichPrograms] + '" width=174>');
	}
	 else if(whichPrograms==13){
		document.write('<img src="' + thePrograms[whichPrograms] + '" alt="' + theProgramsAlt[whichPrograms] + '" title="' + theProgramsAlt[whichPrograms] + '" width=174>');
	}
	 else if(whichPrograms==14){
		document.write('<img src="' + thePrograms[whichPrograms] + '" alt="' + theProgramsAlt[whichPrograms] + '" title="' + theProgramsAlt[whichPrograms] + '" width=174>');
	}
	 else if(whichPrograms==15){
		document.write('<img src="' + thePrograms[whichPrograms] + '" alt="' + theProgramsAlt[whichPrograms] + '" title="' + theProgramsAlt[whichPrograms] + '" width=174>');
	}
	 else if(whichPrograms==16){
		document.write('<img src="' + thePrograms[whichPrograms] + '" alt="' + theProgramsAlt[whichPrograms] + '" title="' + theProgramsAlt[whichPrograms] + '" width=174>');
	}
	 else if(whichPrograms==17){
		document.write('<img src="' + thePrograms[whichPrograms] + '" alt="' + theProgramsAlt[whichPrograms] + '" title="' + theProgramsAlt[whichPrograms] + '" width=174>');
	}
	 else if(whichPrograms==18){
		document.write('<img src="' + thePrograms[whichPrograms] + '" alt="' + theProgramsAlt[whichPrograms] + '" title="' + theProgramsAlt[whichPrograms] + '" width=174>');
	}
	 else if(whichPrograms==18){
		document.write('<img src="' + thePrograms[whichPrograms] + '" alt="' + theProgramsAlt[whichPrograms] + '" title="' + theProgramsAlt[whichPrograms] + '" width=174>');
	}
	 else if(whichPrograms==19){
		document.write('<img src="' + thePrograms[whichPrograms] + '" alt="' + theProgramsAlt[whichPrograms] + '" title="' + theProgramsAlt[whichPrograms] + '" width=174>');
	}
	 else if(whichPrograms==20){
		document.write('<img src="' + thePrograms[whichPrograms] + '" alt="' + theProgramsAlt[whichPrograms] + '" title="' + theProgramsAlt[whichPrograms] + '" width=174>');
	}
	 else if(whichPrograms==21){
		document.write('<img src="' + thePrograms[whichPrograms] + '" alt="' + theProgramsAlt[whichPrograms] + '" title="' + theProgramsAlt[whichPrograms] + '" width=174>');
	}
	 else if(whichPrograms==22){
		document.write('<img src="' + thePrograms[whichPrograms] + '" alt="' + theProgramsAlt[whichPrograms] + '" title="' + theProgramsAlt[whichPrograms] + '" width=174>');
	}
	 else if(whichPrograms==23){
		document.write('<img src="' + thePrograms[whichPrograms] + '" alt="' + theProgramsAlt[whichPrograms] + '" title="' + theProgramsAlt[whichPrograms] + '" width=174>');
	}
	 else if(whichPrograms==24){
		document.write('<img src="' + thePrograms[whichPrograms] + '" alt="' + theProgramsAlt[whichPrograms] + '" title="' + theProgramsAlt[whichPrograms] + '" width=174>');
	}
	}

