<!-- 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/victim_girlhittingball.jpg",

	"slides/victim_fancesca.jpg",

	"slides/victim_twoboys.jpg",

	"slides/victim_prostheticlimb.jpg",

	"slides/victim_vian.jpg",

	"slides/victim_manboy.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(

	"When landmine survivors start to get the assistance they need, they learn to use their new artificial limbs, and to rejoin their communities. \nA favourite pass-time can still be enjoyed by this landmine survivor.",



	"Elena Fancesca, 24, is from Angola. She lost her left leg in a landmine accident and sits playing with her baby, Lucia, 16 months old outside the UNICEF-assisted center of the International Committee of the Red Cross, in Kuito, Angola.",

	

	"Two Afghani boys with physical disabilities ride bicycles at a rehabilitation centre for children. The programme is run by the Afghan Amputee Bicyclists for Rehabilitation and Recreation, a local UNICEF-supported NGO.  The centre teaches children how to ride, to help them strengthen and use their bodies, and gain self-esteem.",

	

	"A landmine survivor tests a newly fitted prosthetic limb.  Rehabilitation is an ongoing process that involves many treatments to increase comfort and mobility.",

	

	"Vian, 20, from Iraq, lost her right hand and injured both legs five years ago when she picked up a \"butterfly\" landmine she found in the fields in the northern city of Erbil.  Her parents wanted to show her injuries as their testimony to what landmines can do.",
	
	

	"A man and boy support each other as they learn to walk with their artificial limbs in the ICRC (Red Cross) hospital for war wounds in Kabul, Afghanistan."

	);

	

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 -->

