var SlideShowSpeed = 3000;

var CrossFadeDuration = 2;

var Picture = new Array();
var Caption = new Array();
var showHot = false;

Picture[1]  = '../images/gallery/images/walk_2009/02.jpg';
Picture[2]  = '../images/gallery/images/walk_2009/03.jpg';
Picture[3]  = '../images/gallery/images/walk_2009/04.jpg';
Picture[4]  = '../images/gallery/images/walk_2009/05.jpg';
Picture[5]  = '../images/gallery/images/walk_2009/06.jpg';
Picture[6]  = '../images/gallery/images/walk_2009/07.jpg';
Picture[7]  = '../images/gallery/images/walk_2009/08.jpg';
Picture[8]  = '../images/gallery/images/walk_2009/09.jpg';
Picture[9]  = '../images/gallery/images/walk_2009/10.jpg';
Picture[10]  = '../images/gallery/images/walk_2009/11.jpg';
Picture[11]  = '../images/gallery/images/walk_2009/12.jpg';
Picture[12]  = '../images/gallery/images/walk_2009/13.jpg';
Picture[13]  = '../images/gallery/images/walk_2009/14.jpg';
Picture[14]  = '../images/gallery/images/walk_2009/15.jpg';
Picture[15]  = '../images/gallery/images/walk_2009/16.jpg';
Picture[16]  = '../images/gallery/images/walk_2009/17.jpg';
Picture[17]  = '../images/gallery/images/walk_2009/18.jpg';
Picture[18]  = '../images/gallery/images/walk_2009/19.jpg';
Picture[19]  = '../images/gallery/images/walk_2009/20.jpg';
Picture[20]  = '../images/gallery/images/walk_2009/21.jpg';
Picture[21]  = '../images/gallery/images/walk_2009/22.jpg';
Picture[22]  = '../images/gallery/images/walk_2009/23.jpg';
Picture[23]  = '../images/gallery/images/walk_2009/24.jpg';
Picture[24]  = '../images/gallery/images/walk_2009/25.jpg';
Picture[25]  = '../images/gallery/images/walk_2009/26.jpg';
Picture[26]  = '../images/gallery/images/walk_2009/27.jpg';
Picture[27]  = '../images/gallery/images/walk_2009/28.jpg';
Picture[28]  = '../images/gallery/images/walk_2009/01.jpg';




Caption[1]  = "WALK UAE, now in its third year, is part of the award-winning public health awareness campaign, ‘Diabetes Knowledge Action’, organised by ICLDC, under the patronage of Her Highness Sheikha Fatima bint Mubarak, and in partnership with Emirates Foundation for Philanthropy. WALK UAE participants will join in several activities supporting the nation’s ‘GET ACTIVE! live healthily’ message.";
Caption[2]  = "The last year diabetes walkathon, Walk UAE 2009 had witnessed strong community support with more than 10,000 participants. The walkathon is organised to spread the message that ‘diabetes is preventable through early detection and a healthy lifestyle’.";
Caption[3]  = "ICLDC WALK UAE 2009";
Caption[4]  = "ICLDC WALK UAE 2009";
Caption[5]  = "ICLDC WALK UAE 2009";
Caption[6]  = "ICLDC WALK UAE 2009";
Caption[7]  = "ICLDC WALK UAE 2009";
Caption[8]  = "ICLDC WALK UAE 2009";
Caption[9]  = "ICLDC WALK UAE 2009";
Caption[10]  = "ICLDC WALK UAE 2009";
Caption[11]  = "ICLDC WALK UAE 2009";
Caption[12]  = "ICLDC WALK UAE 2009";
Caption[13]  = "ICLDC WALK UAE 2009";
Caption[14]  = "ICLDC WALK UAE 2009";
Caption[15]  = "ICLDC WALK UAE 2009";
Caption[16]  = "ICLDC WALK UAE 2009";
Caption[17]  = "ICLDC WALK UAE 2009";
Caption[18]  = "ICLDC WALK UAE 2009";
Caption[19]  = "ICLDC WALK UAE 2009";
Caption[20]  = "ICLDC WALK UAE 2009";
Caption[21]  = "A young participant at Walk UAE 2009. He is one of many children who joined the five-kilometre diabetes walkathon at Yas Marina Circuit. Diabetes is known to be reaching epidemic levels worldwide and children as young as seven year of age are developing the disease.";
Caption[22]  = "More than 10,000 participants gathered to walk the Yas Marina Circuit in the third diabetes walkathon, WALK UAE 2009, organised by Imperial College London Diabetes Centre, in partnership with Emirates Foundation for Philanthropy with the support of Daman-the National Insurance Company, the event’s exclusive sponsor.";
Caption[23]  = "In recent years diabetes has reached epidemic levels worldwide, with children as young as seven years of age developing diabetes and ICLDC aims to help reverse this prevalence through awareness";
Caption[24]  = "WALK UAE 2009 calls for the nation to start walking to live a healthier life.";
Caption[25]  = "The crucial message is that exercise - especially walking - is a great way to maintain or achieve a healthy weight and minimise risks of obesity and diabetes. We need to participate in at least 30 minutes of moderate physical activity on most days of the week,” said ICLDC’s Dr Maha Taysir Barakat.";
Caption[26]  = "The UAE is said to have the second highest diabetes prevalence worldwide, and more than 10,000 community members stepped out to show there support in the drive to fight the disease.";
Caption[27]  = "A young participant walks on the Yas marina Circuit";
Caption[28]  = "WALK UAE 2009 coincides with a month of global diabetes activities and initiatives spearheaded by the International Diabetes Federation (IDF) and World Health Organisation (WHO).";

var tss;
var iss;
var jss = 0;
var pss = Picture.length-1;

var preLoad = new Array();
for (iss = 1; iss < pss+1; iss++){
preLoad[iss] = new Image();
preLoad[iss].src = Picture[iss];}

function control(how){
if (showHot){
if (how=="H") jss = 1;
if (how=="F") jss = jss + 1;
if (how=="B") jss = jss - 1;
if (jss > (pss)) jss=1;
if (jss < 1) jss = pss;
if (document.all){
document.images.PictureBox.style.filter="blendTrans(duration=2)";
document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.PictureBox.filters.blendTrans.Apply();}
document.images.PictureBox.src = preLoad[jss].src;
if (document.getElementById) document.getElementById("CaptionBox").innerHTML= Caption[jss];
if (document.all) document.images.PictureBox.filters.blendTrans.Play();
}}