var num=0;

// format: src, alt, text
imgArray = [  


 
//News number 1
//---------------------------------
 ['news/news-takreem.jpg',
 
 'Al-Matouq Honored IICO Staff and Employees',
 
' IICO chairman honored its staff and employees involved in the organization and management of its 25th anniversary celebration', 
 
  'news/iico-party-eng.htm'],

//News number 1
//---------------------------------

['news/news-conf.jpg',
 
'Al-Shurouk Committee Held "Making the Future" Conference',
 
'Al-Shurouk Committee held a conference - Making the Future - in cooperation with the Ministry of Education', 
 
  'news/iico-youth-eng.htm'],

//---------------------------------
//---------------------------------
 
['news/news-12m.jpg',
 
'IICO Delegation Visited H.H the Emir of Kuwait',
 
'His Highness the Amir of Kuwait received in Al-Bayan Palace a delegation of IICO headed by its new Chairman Dr. Al-Maatouq',
 
'news/iico-ameer-visit-eng.htm'],


//News number 1
//---------------------------------

['news/news-iico-25.jpg',
 
'His Highness the Amir of Kuwait, attended IICO 25th anniversary',
 
'IICO is honoured with the patronage of His Highness the Emir of Kuwait, to its 25th anniversary celebration',
 
'news/iico-party-25-eng.htm'],
 

//News number 1
 //---------------------------------
 ['news/iico-meeting25.jpg',
 
 'The 12th  meeting of IICO General Assembly',
 
'IICO held the 12th  meeting of its General Assembly on May 8th, 2010 at its headquarters in Kuwait', 
 
 'news/iico-meeting-eng.htm'],
 
  
  //News number 1
 //---------------------------------
 ['news/news-12.jpg',
 
 'Dr. Al-Maatouq Chairman of IICO',
 
'IICO Board of Directors elected former Minister of Awqaf and adviser at the Emiri Diwan, Dr. Abdullah Al-Maatouq as IICO Chairman', 
 
'news/iico-election-eng.htm'],
  
  
//News number 8
//---------------------------------
 ['news/news-7.jpg',
 
 'IICO Organized  a Conference on Moderation',
 
 'IICO organized the International conference on moderation and dialogue for peaceful coexistence among Peoples on 12 to 13 May 2010', 
 
 'news/iico-moderation-eng.htm'],
 

//News number 1
//---------------------------------
 
 ['news/news-old.jpg',
 
 'IICO Supports the Elderly Care Mobile Unit',
 
'IICO donated 30 thousand Dinar to the Administration of the Care of the Elderly in the Ministry of Labour and Social Affairs',
 
 'news/iico-old-eng.htm'],



//News number 1
 //---------------------------------
 ['news/news-6.jpg',
 
 'IICO Signed a Cooperation Agreement with PAYS',
 
 'IICO signed a cooperation agreement with the Public Authority for Youth and Sports (PAYS) in order to take advantage of the youth capabilities ..',
 
 'news/iico-eng-1.htm'],


//News number 1
 //---------------------------------
 ['news/news-5.jpg',
 
 'IICO Launches a Relief Project in Sudan',
 
 'IICO funded a relief project in collaboration with a number of concerned authorities, benefiting 3,917 Sudanese citizens of the state of Sennar in Sudan',
 
 'news/iico-eng-2.htm'],



//News number 1
//---------------------------------
 ['news/news-1.jpg',
 
 'A Tour with IICO in Java in Indonesia',
 
 'The IICO Committee of the Muslims of Asia opened various charitable projects in an area about 100 thousand square meters, which was named the "Village of Kuwait" by the Indonesians ...',
 
 'news/iico-eng-6.htm'],



//News number 1
//---------------------------------
 ['news/news-8.jpg',
 
 'The Donors Conference for the Relief of Darfur',
 
 'IICO and the Joint Committee Pledged two million dollars to finance Relief Projects to help the people of Darfur',
 
 'news/iico-eng-8.htm'],


//News number 5
 //---------------------------------
 ['news/news-9.jpg',
 
 'IICO Finances developmental projects in Yemen',
 
 'IICO signed a contract to provide non-interest loans to finance developmental projects that help poor families in Yemen',
 
  'news/iico-eng-9.htm'],

 
  
//News number 4
//---------------------------------
 ['news1/news-3.jpg',
 
 'Opening of Kuwait Hospital and a Mosque in Somalia',
 
 'A number of Somalis officials as well as guests from Kuwait attended the opening ceremony of the Kuwait Hospital and a Mosque in Somalia',
 
  'news1/iico-eng4.htm']
  
  

//News number 1
 //---------------------------------
 ['news-1/news-1.jpg',
 
 'Relief Aids to Mauritania',
 
 '1400 Mauritanian families benefited from the Kuwaiti Joint Relief Committee humanitarian aid during its third visit to the Mauritanian capital',
 
  'news-1/iico-eng.htm'],
  
  
  
 //News number 3
 //---------------------------------
 ['news-1/news.jpg',
 
 'Humanitarian Aid to Manila and Sumatra',
 
 'Kuwaiti Joint Relief committee continued its efforts to support the victims of the earthquake and floods in Manila  and Sumatra',
 
 'news-1/iico-eng-2.htm'],
 

//News number 2
//---------------------------------
['news/news-1.jpg',
 
'KJRC provided aids for flood affected people in Bangladesh',
 
 'Kuwaiti Joint Relief Committee (KJRC) carried out a relief programme in flood affected areas of Bangladesh ',
  
  'news/iico-eng-1.htm']
 
  
 
]


function slideshow(slide_num) {
  document.getElementById('mypic').src=imgArray[slide_num][0];
  document.getElementById('mylink').href=imgArray[slide_num][3];
    document.getElementById('mylink2').href=imgArray[slide_num][3];
    document.getElementById('mylink3').href=imgArray[slide_num][3];

// document.getElementById("mylbl").childNodes[0].nodeValue=imgArray[slide_num][2];
  document.getElementById('mytxt').innerHTML=imgArray[slide_num][2];
    document.getElementById('mylbl').innerHTML=imgArray[slide_num][1];
}

function slideshowUp() {
  num++;
  num = num % imgArray.length;
  slideshow(num);
}

function slideshowBack() {
  num--;
  if (num < 0) { num = imgArray.length-1; }
  num = num % imgArray.length;
  slideshow(num);
}
