<!-- Hide script from old browsers

//hey this is easy - just populate this array with

//the pictures you want in this slide show.

var dolPix = new Array(

	"slides/deminer_tripwiresearch.jpg",

	"slides/cutting_grass.jpg",

	"slides/deminer_metal_detector.jpg",

	"slides/deminer_marker.jpg",

	"slides/convering_mine.jpg",
	
	"slides/destroying_mine.jpg"

);

/* above is the array that holds our images, it is indexed from 0 to 

   (number of elements - 1) */

var thisPic = 0;  //the counter for the image array

var lastPic = 5;  //the last cell in our array = (number of pictures - 1)

	

var dolCap = new Array(

	"1. First the deminer checks for tripwires by carefully feeling ahead using a light and thin \"feeler\" such as a piece of wire.",



	"2. Then the deminer uses various tools to clip away undergrowth and tall grass.",

	

	"3. A metal detector is then used to search for mines in the ground. The deminer listens for a signal that identifies the presence of metal.",

	

	"4. A marker is placed where metal is detected.",

	

	"5. The ground is then carefully probed and excavated to expose the source of the signal.",
	
	

	"6. Mines discovered in the ground are destroyed on site, by placing and explosive charge alongside them."

	);

	

var do2Cap = new Array(

	"PHOTO CREDIT",

	"PHOTO CREDIT",

	"PHOTO CREDIT",

	"PHOTO CREDIT",

	"PHOTO CREDIT",

	"PHOTO CREDIT"

	);	

var thisCap = 0;  //the counter for the caption array

var lastCap = 5;  //the last cell in our array = (number of captions - 1)



function processPrevious() {

        if (document.images) {

                if (thisPic==0) //if at the very beginning of array

                 {

                    thisPic=lastPic; //goto the last cell in the array

                    thisCap=lastCap; //goto the last cell in the array

                 }

                 else 

                 {

                    thisPic--; //else simply decrement the counter                    

                    thisCap--; //else simply decrement the counter                    

                 }

                  document.myPicture.src=dolPix[thisPic];

                  document.capform.caption.value=dolCap[thisCap];

				 //document.capform2.caption2.value=do2Cap[thisCap];

        }

}

function processNext() {

        if (document.images) {

                if (thisPic==lastPic) //if at the very end of the array

                 {

                    thisPic=0; //goto the first cell of the array

                    thisCap=0; //goto the first cell of the array

                 }

                 else 

                 {

                    thisPic++; //else simply increment the counter

                    thisCap++; //else simply increment the counter

                 }

                document.myPicture.src=dolPix[thisPic];

                document.capform.caption.value=dolCap[thisCap];

				//document.capform2.caption2.value=do2Cap[thisCap];

        }

}



//End hiding script from old browsers -->

