theimage = new Array();


// The dimensions of ALL the images should be the same or some of them may look stretched or reduced in Netscape 4.
// Format: theimage[...]=[image URL, link URL, name/description]
theimage[0]=["images/works/intro.jpg", "", ""];
theimage[1]=["images/works/home_grown/home_grown_title.jpg", "", "<strong><em> </em></strong><br> <br> "];
theimage[2]=["images/works/home_grown/after_the_rain.jpg", "", "<strong><em>After the Rain</em></strong><br>48x72<br>oil on canvas"];
theimage[3]=["images/works/home_grown/father.jpg", "", "<strong><em>Father</em></strong><br>32x42<br>oil on board"];
theimage[4]=["images/works/home_grown/forest_trees.jpg", "", "<strong><em>Forest Trees</em></strong><br>38x48<br>oil on canvas on board"];
theimage[5]=["images/works/home_grown/fresh.jpg", "", "<strong><em>Fresh</em></strong><br>38x48<br>oil on paper on board"];
theimage[6]=["images/works/home_grown/home_grown.jpg", "", "<strong><em>Home Grown</em></strong><br>43x43<br>oil on canvas"];
theimage[7]=["images/works/home_grown/lemonaide.jpg", "", "<strong><em>Lemonaide</em></strong><br>48x38<br>oil on canvas on board"];
theimage[8]=["images/works/home_grown/look_again.jpg", "", "<strong><em>Look Again</em></strong><br>38x38<br>oil on board"];
theimage[9]=["images/works/home_grown/new_horizons_1.jpg", "", "<strong><em>New Horizons 1</em></strong><br>15x36<br>oil on paper on board"];
theimage[10]=["images/works/home_grown/new_horizons_2.jpg", "", "<strong><em>New Horizons 2</em></strong><br>15x36<br>oil on paper on board"];
theimage[11]=["images/works/home_grown/new_receipe.jpg", "", "<strong><em>New Receipe</em></strong><br>48x60<br>oil on canvas"];
theimage[12]=["images/works/home_grown/plant_based.jpg", "", "<strong><em>Plant Based</em></strong><br>38x48<br>oil on canvas on board"];
theimage[13]=["images/works/home_grown/salmon.jpg", "", "<strong><em>Salmon</em></strong><br>48x60<br>oil on canvas"];
theimage[14]=["images/works/home_grown/tossed_salad.jpg", "", "<strong><em>Tossed Salad</em></strong><br>48x60<br>oil on canvas"];
theimage[15]=["images/works/home_grown/trinity.jpg", "", "<strong><em>Trinity</em></strong><br>32x42<br>oil on board"];
theimage[16]=["images/works/open_secrets/open_secrets_title.jpg", "", "<strong><em> </em></strong><br> <br> "];
theimage[17]=["images/works/open_secrets/out_of_the_garden.jpg", "", "<strong><em>Out of the Garden</em></strong><br>60x84<br>oil on canvas"];
theimage[18]=["images/works/open_secrets/garden.jpg", "", "<strong><em>Garden</em></strong><br>36x48<br>oil on paper on board"];
theimage[19]=["images/works/open_secrets/out_of_the_nest.jpg", "", "<strong><em>Out of the Nest</em></strong><br>48x60<br>oil on canvas"];
theimage[20]=["images/works/open_secrets/weeds_in_the_garden.jpg", "", "<strong><em>Weeds in the Garden</em></strong><br>60x48<br>oil on canvas"];
theimage[21]=["images/works/open_secrets/gossip.jpg", "", "<strong><em>Gossip</em></strong><br>36x48<br>oil on paper on board"];
theimage[22]=["images/works/open_secrets/secrets.jpg", "", "<strong><em>Secrets</em></strong><br>36x48<br>oil on paper on board"];
theimage[23]=["images/works/open_secrets/this_is_enough.jpg", "", "<strong><em>This is Enough</em></strong><br>16x24<br>mixed media"];
theimage[24]=["images/works/open_secrets/looking_up.jpg", "", "<strong><em>Looking Up</em></strong><br>28x23<br>oil on canvas"];
theimage[25]=["images/works/open_secrets/where_are_you.jpg", "", "<strong><em>Where are You</em></strong><br>36x60<br>oil on canvas"];
theimage[26]=["images/works/open_secrets/girl_friends.jpg", "", "<strong><em>Girl Friends</em></strong><br>36x60<br>oil on canvas"];
theimage[27]=["images/works/open_secrets/sowing_and_reaping.jpg", "", "<strong><em>Sowing and Reaping</em></strong><br>48x60<br>oil on canvas"];
theimage[28]=["images/works/open_secrets/taking_the_high_road.jpg", "", "<strong><em>Taking the High Road</em></strong><br>60x48<br>oil on canvas"];
theimage[29]=["images/works/life_lines/life_lines_title.jpg", "", "<strong><em> </em></strong><br> <br> "];
theimage[30]=["images/works/life_lines/old_new.jpg", "", "<strong><em>Old-New</em></strong><br>38x48<br>oil"];
theimage[31]=["images/works/life_lines/breeze.jpg", "", "<strong><em>Breeze</em></strong><br>30x24<br>oil"];
theimage[32]=["images/works/life_lines/family.jpg", "", "<strong><em>Family</em></strong><br>48x60<br>oil"];
theimage[33]=["images/works/life_lines/connected.jpg", "", "<strong><em>Connected</em></strong><br>30x30<br>oil"];
theimage[34]=["images/works/life_lines/spring.jpg", "", "<strong><em>Spring</em></strong><br>30x24<br>oil"];
theimage[35]=["images/works/life_lines/sisters.jpg", "", "<strong><em>Sisters</em></strong><br>48x60<br>oil"];
theimage[36]=["images/works/life_lines/my_side_of_the_bed.jpg", "", "<strong><em>My Side of the Bed I & II</em></strong><br>30x24<br>oil"];
theimage[37]=["images/works/life_lines/new_dreams.jpg", "", "<strong><em>New Dreams</em></strong><br>24x36<br>oil"];
theimage[38]=["images/works/life_lines/gen.jpg", "", "<strong><em>Gen</em></strong><br>36x48<br>oil"];
theimage[39]=["images/works/life_lines/morning.jpg", "", "<strong><em>Morning</em></strong><br>30x24<br>oil"];
theimage[40]=["images/works/life_lines/crossing.jpg", "", "<strong><em>Crossing</em></strong><br>30x24<br>oil"];
theimage[41]=["images/works/life_lines/renewal.jpg", "", "<strong><em>Renewal</em></strong><br>30x24<br>oil"];
theimage[42]=["images/works/life_lines/judie.jpg", "", "<strong><em>Judie</em></strong><br>48x60<br>oil"];
theimage[43]=["images/works/landscapes/landscapes_title.jpg", "", "<strong><em> </em></strong><br> <br> "];
theimage[44]=["images/works/landscapes/field.jpg", "", "<strong><em>Field</em></strong><br>24x30<br>acrylic"];
theimage[45]=["images/works/landscapes/beach.jpg", "", "<strong><em>Beach</em></strong><br>30x24<br>oil"];
theimage[46]=["images/works/landscapes/fall.jpg", "", "<strong><em>Fall</em></strong><br>24x30<br>oil"];
theimage[47]=["images/works/landscapes/forrest.jpg", "", "<strong><em>Forest</em></strong><br>48x60<br>oil"];
theimage[48]=["images/works/landscapes/fountain.jpg", "", "<strong><em>Fountain</em></strong><br>30x24<br>acrylic"];
theimage[49]=["images/works/landscapes/garden.jpg", "", "<strong><em>Garden</em></strong><br>30x24<br>acrylic"];
theimage[50]=["images/works/landscapes/highway.jpg", "", "<strong><em>Highway</em></strong><br>48x72<br>oil"];
theimage[51]=["images/works/landscapes/intothecity.jpg", "", "<strong><em>Into the City</em></strong><br>30x24<br>acrylic"];
theimage[52]=["images/works/landscapes/mainst.jpg", "", "<strong><em>Main St.</em></strong><br>24x30<br>acrylic"];
theimage[53]=["images/works/landscapes/rain.jpg", "", "<strong><em>Rain</em></strong><br>24x30<br>acrylic"];
theimage[54]=["images/works/landscapes/santafe.jpg", "", "<strong><em>Santa Fe</em></strong><br>24x30<br>acrylic"];
theimage[55]=["images/works/landscapes/trees.jpg", "", "<strong><em>Trees</em></strong><br>48x60<br>oil"];
theimage[56]=["images/works/landscapes/unknownst.jpg", "", "<strong><em>Unknown St.</em></strong><br>24x30<br>oil"];
theimage[57]=["images/works/fin.jpg", "", ""];

///// Plugin variables

playspeed=6000;// The playspeed determines the delay for the "Play" button in ms
//#####
//key that holds where in the array currently are
i=0;


//###########################################
window.onload=function(){

	//preload images into browser
	preloadSlide();

	//set the first slide
	SetSlide(0);

}

//###########################################
function SetSlide(num) {
	//too big
	i=num%theimage.length;
	//too small
	if(i<0)i=theimage.length-1;

	//switch the image
	document.images.imgslide.src=theimage[i][0];

	//if they want name of current slide
	document.getElementById('slidebox').innerHTML=theimage[i][2];

}


//###########################################
function PlaySlide() {
	if (!window.playing) {
		PlayingSlide(i+1);
		if(document.slideshow.play){
			document.slideshow.play.value="   Stop   ";
		}
	}
	else {
		playing=clearTimeout(playing);
		if(document.slideshow.play){
			document.slideshow.play.value="   Play   ";
		}
	}
	// if you have to change the image for the "playing" slide
	if(document.images.imgPlay){
		setTimeout('document.images.imgPlay.src="'+imgStop+'"',1);
		imgStop=document.images.imgPlay.src
	}
}


//###########################################
function PlayingSlide(num) {
	playing=setTimeout('PlayingSlide(i+1);SetSlide(i+1);', playspeed);
}


//###########################################
function preloadSlide() {
	for(k=0;k<theimage.length;k++) {
		theimage[k][0]=new Image().src=theimage[k][0];
	}
}