/* 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,"home",
              "/complex/images_ph/home1.gif",   
		      "/complex/images_ph/home1.gif",
              "/complex/images_ph/home2.gif",
		      "/complex/EMoses/index.html", 
              "Home");
 	 
barArray[2] = new BarClass(2,"people",
              "/complex/images_ph/people1.gif", 
   		      "/complex/images_ph/people1.gif",
  		      "/complex/images_ph/people2.gif",
		      "/complex/EMoses/people.html",
              "People"); 
 
barArray[3]= new BarClass(3,"research",
             "/complex/images_ph/research1.gif", 
   		     "/complex/images_ph/research1.gif",
  		     "/complex/images_ph/research2.gif",
	 	     "/complex/EMoses/research.html", 
             "Research");

barArray[4]= new BarClass(4,"publications",
             "/complex/images_ph/publications1.gif", 
   		     "/complex/images_ph/publications1.gif",
  		     "/complex/images_ph/publications2.gif",
	 	     "/complex/EMoses/publications.html", 
             "Publications");

barArray[5]= new BarClass(5,"education",
             "/complex/images_ph/education1.gif", 
   		     "/complex/images_ph/education1.gif",
  		     "/complex/images_ph/education2.gif",
	 	     "/complex/EMoses/education.html", 
             "Education");

barArray[6]= new BarClass(6,"epiphanies",
             "/complex/images_ph/epiphanies1.gif", 
   		     "/complex/images_ph/epiphanies1.gif",
  		     "/complex/images_ph/epiphanies2.gif",
	 	     "/complex/EMoses/epiphanies.html", 
             "Epiphanies");

barArray[7]= new BarClass(7,"contact",
             "/complex/images_ph/contact1.gif", 
   		     "/complex/images_ph/contact1.gif",
  		     "/complex/images_ph/contact2.gif",
	 	     "/complex/EMoses/contact.html", 
             "Contact Us");
	 				 
}	

//-----------------------------------------------------------------
// step 3.b: Set the parameter numOfBars to total number of the bars (/complex/images_ph)
//-----------------------------------------------------------------
function initNav() { 
  var numOfBars= 7
  ;
  var  topHtml='';
  var  botHtml=' ';

 topHtml += '' ;
 botHtml += '';
  //hor comity bot:
  //botHtml += '<p><form method="post" action="/cgi-bin/htsearch">';
//botHtml += '<input type=hidden name=restrict value="/conferences/electrostatic/" >';
//botHtml += '<input type=hidden name=exclude value="">';
//botHtml += '<img src="images/search.gif" width="55" height="17"> <input type="text" name="words">';    
//botHtml += '<input type=hidden name=method value=or >';
//botHtml += '<input type=hidden name=format value=builtin-long >';
//botHtml += '</form>';

 


 theNav= new NavClass(numOfBars, topHtml, botHtml);  //the parameter - number of the bars in the navagation bar 
  setBarArray();             //fill barAray with /complex/images_ph          //fill barAray with /complex/images_ph
}
 
 

