/* This script and many more are available free online at
The JavaScript Source!! http://javascript.internet.com
Created by: Jay M. Rumsey, OD | http://www.nova.edu/~rumsey */

var num=0;

imgArray = [
  ['img/pix1.jpg','message', 'This is Agbado- station Road through Alakuko in Ifo- Local Government of Ogun state, When It rained… It become impassable for another one week. It is a border road between Ijaiye-Ojokoro Local Government Development Area of Lagos state. We understand there was agreement between the Lagos and Ogun state Government to improve on the road of which Lagos state has fulfiled her part but our dear state OGUN is yet to honor her part of the agreement. This road serves mainly the people of Ogun state'],
  ['img/pix2.jpg','message','This is “EGBADO” Road in Dalemo-Akera area of Ifo Local Government of Ogun state… The inhabitants of this area are mainly people of Yewa division (formerly Egbado) of Ogun state. No wonder one of the major roads was named after the subtle Yoruba sub-ethnic group. The state of this road is not different from what is obtainable in their homestead even though they are regarded by the Constitution of the Federal republic Nigeria as an equal partner in the union of Ogun state.'],
  ['img/pix3.jpg','message','Another Portion of the Road.'],
  ['img/pix4.jpg','message', 'Further view of Egbado road, Dalemo via Alakuko, Ifo Loacal government area in its original bumby and dusty nature. What you are seeing is as a result of communal efforts of over twenty (20) Community development Association (CDA) to at least ensure that the road is passable...'],
  ['img/pix5.jpg','message','This is Lagos Portion of Alagbado road, even though it is narrow, but it is tarred.'],
  ['img/pix6.jpg','message','Ogun state Portion of the road.'],
  ['img/pix7.jpg','message','More view of Egbado road, Dalemo via Alakuko Ifo Local Government area of Ogun state.'],
  ['img/pix8.jpg','message', 'Overview of Entrance to Egbado Road in Dalemo- Akera via Alakuko, Ifo Local Government Area. You can see a big Gate, High and Low tension wire YES all these are through communal effort… even the electricity transformers that distribute power was made possible through the effort of the CDAs.'],
  ['img/pix9.jpg','message','Another Major road in Dalemo Akera area known as OJU ELEGBA road. The area is habited by mainly AWORI people and is under the jurisdiction of ADO-ODO Ota local government area of Ogun state.'],
  ['img/pix10.jpg','message','AN ANGLE VIEW OF DALEMO-AKERA AREA OF IFO LOCAL GOVERNMENT.'],

]

function slideshow(slide_num) {
  document.getElementById('mypic').src=imgArray[slide_num][0];
  document.getElementById('mypic').alt=imgArray[slide_num][1];
  document.getElementById('burns').innerHTML=imgArray[slide_num][2];
}

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);
}

