/* step 3.a: Set the array of icons
     for each image in the navigator bar, replace the corresponding
     image source files and the corresponding link file/url
*/  
//-----------------------------------------------------------------
// NavClass Method - function setBarArray()
//         creates bar instances with correc settings for each bar
//-----------------------------------------------------------------
function setBarArray()	
{	

//barArray[1] = new BarClass(1,  
//                 "/ISC/images/mission.gif",   
//		 "/ISC/images/mission.gif",
//                 "/ISC/images/mission2.gif",
//		 "/ISC/mission.html", 
//                 "Mission");
//				 

//barArray[3] = new BarClass(3, 
//                "/ISC/images/issues.gif",   
//		 "/ISC/images/issues.gif",
//                 "/ISC/images/issues2.gif",
//		 "/ISC/issues.html", 
//                 "Issues");

//barArray[4] = new BarClass(4, 
//                 "/ISC/images/contributions.gif",   
//		 "/ISC/images/contributions.gif",
//                 "/ISC/images/contributions2.gif",
//		 "/ISC/contributions.html", 
//                 "Contributions");
				 
//barArray[5] = new BarClass(5, 
//                 "/ISC/images/recent.gif",   
//		 "/ISC/images/recent.gif",
//                 "/ISC/images/recent2.gif",
//		 "/ISC/recent.html", 
//                 "Recent Events");
					 
//barArray[6] = new BarClass(6, 
//                 "/ISC/images/media.gif",   
//		 "/ISC/images/media.gif",
//                 "/ISC/images/media2.gif",
//		 "/ISC/media.html", 
//                 "Media Reactions");

//barArray[4] = new BarClass(4, 
//                "/ISC/images/activities.gif",   
//		 "/ISC/images/activities.gif",
//                 "/ISC/images/activities2.gif",
//		 "/ISC/activities.html", 
//                 "Activities");


//barArray[9] = new BarClass(9, 
//                 "/ISC/images/links.gif",   
//		 "/ISC/images/links.gif",
 //                "/ISC/images/links2.gif",
//		 "/ISC/links.html", 
  //               "Links");
				 
					 
barArray[1] = new BarClass(1, 
                 "/ISC/images/home.gif",   
		 "/ISC/images/home.gif",
                 "/ISC/images/home2.gif",
		 "/ISC/index.html", 
                 "Home");
 
barArray[2] = new BarClass(2, 
                 "/ISC/images/contact.gif",   
		 "/ISC/images/contact.gif",
                 "/ISC/images/contact2.gif",
		 "/ISC/contact.html", 
                 "Contact Us");
barArray[3] = new BarClass(3,  
                 "/ISC/images/members.gif",   
		 "/ISC/images/members.gif",
                 "/ISC/images/members2.gif",
		 "/ISC/members.html", 
                 "ISC Members");

barArray[4] = new BarClass(4, 
                "/ISC/images/documents1.gif",   
		 "/ISC/images/documents1.gif",
                 "/ISC/images/documents2.gif",
		 "/ISC/documents.html", 
                 "ISC Documents");
			 

}	

//-----------------------------------------------------------------
// step 3.b: Set the parameter numOfBars to total number of the bars (images)
//-----------------------------------------------------------------
function initNav() { 
  var numOfBars= 4;
  barArray = new Array(numOfBars);  // create global barArray to store images
  theNav= new NavClass(numOfBars);  //the parameter - number of the bars in the navagation bar 
  theNav.setBarArray();             //fill barAray with images
}
 
 
 
 

