<!-- 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/billboard.jpg",
	"slides/3man_talking.jpg",
	"slides/990121e.jpg",
	"slides/african_dad_son.jpg",
	"slides/african_family_outside.jpg",
	"slides/african_woman_kids.jpg",
	"slides/2_african_ladies.jpg",
	"slides/boy_show_board.jpg",
	"slides/indian_girls_talking.jpg",
	"slides/love_life_shirts.jpg",
	"slides/muppets.jpg",
	"slides/oriental_girl_mom.jpg",
	"slides/sida_poster.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 = 12;  //the last cell in our array = (number of pictures - 1)
	
var dolCap = new Array(
	"A billboard encouraging the use of condoms to prevent HIV/AIDS is displayed on a roadside in Botswana which has the highest rates of HIV infection in the world. HIV/AIDS is now considered the greatest challenge facing the country's 1.6 million inhabitants, half of whom are under 18 years of age. An alarming rise in under-five mortality rates and a sharp drop in life expectancy in recent years have also been attributed to HIV/AIDS. HIV infection rates are highest among young people, especially adolescent girls who are four times more likely to become infected than boys.",

	"Men holding pamphlets about sexually transmitted infections (STIs) gather on a street in Mumbai, India. Placards hung behind the men by the ASHA health action project describe the dangers of STIs. In addition to these impromptu meetings, the health project also promotes awareness of HIV/AIDS by organizing demonstrations and performing street plays.",
	
	"Two sisters do homework together in the doorway of their house in a village outside of Kampala, the capital of Uganda. The two girls and another sister started living with their blind grandmother when their parents died of AIDS two years ago. With over 10 per cent of the population estimated to be HIV positive (in some areas the figure reaches 30 per cent), the impact of HIV/AIDS is straining the capacity of Uganda's social services system.",
	
	"A man sits on a mat with his grandson in the town of Chipata, Zambia.  The boy, who was orphaned by AIDS, is now cared for by his grandfather.",
	
	"Two boys, whose parents died of AIDS, wash clothes outside the house where they live with a foster family in Lusaka, the capital of Zambia.",
	
	"In the village of Kuanda, Malawi, a 65-year-old woman stands in front of her small hut with six of her nine grandchildren and a bowl of mangos balanced on her head. When her grandchildren's parents died from AIDS, she became their legal guardian.  Although Malawi has one of the highest poverty rates in the world, it has nonetheless had to absorb almost one million refugees as a result of civil conflict in Mozambique. The current state of drought in the country along with the dramatic rise in HIV/AIDS infections has intensified the humanitarian crisis in Malawi.",
	
	"A woman in Mozambique who is HIV-positive is comforted during a counselling session at the Kindlimuka centre in Maputo, the capital. Kindlimuka, which means 'Wake up!' in the local Ronga language, is an association of people living with HIV/AIDS. The centre provides counselling and home-based care for people who are HIV positive as well as information materials and educational activities to promote HIV/AIDS awareness and prevention. Peer educators from the centre also perform plays at schools and in the community in order to promote HIV awareness.",
	
	"An adolescent boy points to text on a poster he is holding during an information session on HIV/AIDS awareness and prevention for adolescents at a UNICEF-assisted centre in Cairo, Egypt. The centre, run by the Egyptian Red Crescent Society, provides medical, health and social services for children, adolescents and women.", 
	
	"At a health post in a slum in the western city of Mumbai, India, girls learn how to refuse unwanted sexual advances. The meeting is part of a local Adolescent Girls Initiative for girls who are not enrolled in school. The Initiative teaches adolescent girls life skills they need to resist peer and adult pressure to take unnecessary risks and provides information about reproductive health, nutrition and HIV/AIDS prevention.",
	
	"Youths wearing T-shirts bearing the logo of the national NGO 'loveLife' try to contain a crowd of other children behind them, many of whom have come from nearby areas to attend the opening ceremony of a 'loveLife Centre' in the village of Mathulini, South Africa. 'loveLife' centres are opening around the country to promote and provide counselling on HIV/AIDS awareness and prevention for young people.",
	
	"A puppet show about the need for AIDS awareness, written, directed and performed by children, is presented to a class at the Pang Lao School in the city of Chiang Rai, Thailand.  By the year 2000, 4 million Thais were estimated to be HIV-positive and some 90,000 children had been orphaned by AIDS. ",
	
	"A girl and a woman review a brochure on AIDS awareness that they received from health workers in the south-eastern province of Svay Rieng, Cambodia. After more than a decade of intermittent peace, the country is continuing its recovery from 30 years of conflict, including genocide.  Despite progress in health and nutrition, HIV/AIDS is spreading rapidly. With half of the country's population under the the age of 18, the growing epidemic poses a major threat to their future.", 
	
	"People ride motorcycles past an AIDS awareness billboard in downtown Ho Chi Minh City, Viet Nam." 
	);
	
var do2Cap = new Array(
	"UNICEF/HQ01-0195/ GIACOMO PIROZZI / BOTSWANA",
	"UNICEF/HQ00-0110/ ALEXIA LEWNES/ INDIA",
	"UNICEF/HQ99-0121/ GIACOMO PIROZZI/ UGANDA",
	"UNICEF/HQ98-0912/ GIACOMO PIROZZI/ ZAMBIA",
	"UNICEF/HQ98-0936/ GIACOMO PIROZZI/ ZAMBIA  ",
	"UNICEF/HQ93-2043/ CINDY ANDREW/ MALAWI",
	"UNICEF/HQ01-0166/ GIACOMO PIROZZI/ MOZAMBIQUE",
	"UNICEF/HQ00-0305/ GIACOMO PIROZZI/ EGYPT",
	"UNICEF/HQ00-0111/ ALEXIA LEWNES/ INDIA",
	"UNICEF/HQ01-0259/ GIACOMO PIROZZI/ SOUTH AFRICA",
	"UNICEF/HQ97-0243/ JEREMY HORNER/ THAILAND ",
	"UNICEF/HQ00-0125/ SHEHZAD NOORANI/ CAMBODIA",
	"UNICEF/HQ99-0874/ ROGER LEMOYNE/ VIET NAM  "
	);	
var thisCap = 0;  //the counter for the caption array
var lastCap = 12;  //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 -->
