
sniffBrowsers();

mainheaderbullet = new bulletPoint("images/menustory_off.gif", "images/menustory_on.gif");
mainheaderbullet1 = new bulletPoint("images/menuservices_off.gif", "images/menuservices_on.gif");
mainheaderbullet2 = new bulletPoint("images/menuprojects_off.gif", "images/menuprojects_on.gif");
mainheaderbullet3 = new bulletPoint("images/menuaccomplish_off.gif", "images/menuaccomplish_on.gif");
mainheaderbullet4 = new bulletPoint("images/menuopportunity_off.gif", "images/menuopportunity_on.gif");
mainheaderbullet5 = new bulletPoint("images/menucontact_off.gif", "images/menucontact_on.gif");
blankBullet1 = new bulletPoint("images/blankbullet.jpg", "images/blankbullet.jpg");
historybullet = new bulletPoint("images/menu_history_off.gif", "images/menu_history_on.gif");
visionbullet = new bulletPoint("images/menu_vision_off.gif", "images/menu_vision_on.gif");
clientsbullet = new bulletPoint("images/menu_clients_off.gif", "images/menu_clients_on.gif");
leadershipbullet = new bulletPoint("images/menu_leadership_off.gif", "images/menu_leadership_on.gif");
newsbullet = new bulletPoint("images/menu_news_off.gif", "images/menu_news_on.gif");
awardsbullet = new bulletPoint("images/menu_awards_off.gif", "images/menu_awards_on.gif");
outreachbullet = new bulletPoint("images/menu_outreach_off.gif", "images/menu_outreach_on.gif");
employeebullet = new bulletPoint("images/menu_employee_off.gif", "images/menu_employee_on.gif");
employmentbullet = new bulletPoint("images/menu_employment_off.gif", "images/menu_employment_on.gif");
recruitmentbullet = new bulletPoint("images/menu_recruitment_off.gif", "images/menu_recruitment_on.gif");

// This is the image grabber for the top bar AKA bulletpoints
// the first " " is the static state, the second " " is the rollover state



// This builds the top bar - name, width, style, background color static, background color rolled over
// notice that the first thing in the line is the name of the bulletpoint ie. mainMembership
// change the ' |' to text to have text on the main bar and the number corresponds with the menus[#]
// the width of that section follows the menu #, then background color, and finally the linked page url
// I think if you change null to a number then then correspoinding menu [#] will popup there
myTest = new menuBar('myTest',739, 'horizontal', '#000000', '#FFFFFF');
myTest.addLabel('mainheaderbullet','', 1, 125, '#FFFFFF', '#FFFFFF', 'history.html', 'left');
myTest.addLabel('mainheaderbullet1',	'   ', 	2, 125, '#FFFFFF', '#FFFFFF', 'services.html', 'left');
myTest.addLabel('mainheaderbullet2',	'', 	3, 125, '#FFFFFF', '#FFFFFF', 'projects.html', 'left');
myTest.addLabel('mainheaderbullet3',	'', 	4, 125, '#FFFFFF', '#FFFFFF', 'news.html', 'left');
myTest.addLabel('mainheaderbullet4',	'', 	5, 125, '#FFFFFF', '#FFFFFF', 'employment.html', 'left');
myTest.addLabel('mainheaderbullet5',	'', 	6, 0, '#FFFFFF', '#FFFFFF', 'contact.html', 'left');
//myTest.addLabel('mainheaderbullet',	'   ', 	2, 125, '#FFFFFF', '#ffffff', '/Membership/Membership.html', 'left');
//myTest.addLabel('mainheaderbullet',	'   ', 	3, 125, '#FFFFFF', '#ffffff', '/Membership/Membership.html', 'left');
myTest.height = 12;

// This builds the first pull down
// first you create the menu and give it a height
// then setup the item...bullet, then text, then null, then width, bgcolor, rollover color, link, and alignment
// ended with a write menu call
menus[1] = new menu(117, 'vertical', '#996633', '#ffffff');
menus[1].height = 12;
menus[1].addItem('historybullet', '', null, 100, '#cc9966', '#cc9966', 'history.html', 'right');
menus[1].addItem('visionbullet', '', null, 100, '#cc9966', '#cc9966', 'vision.html', 'right');
menus[1].addItem('clientsbullet', '', null, 100, '#cc9966', '#cc9966', 'clients.html', 'right');
menus[1].addItem('leadershipbullet', '', null, 100, '#cc9966', '#cc9966', 'leadership.html', 'right');
//menus[1].addItem('blankBullet1', ' Our LEADERSHIP', null, 100, '#996633', '#cc9966', '/Membership/About.html', 'right');
menus[1].writeMenu();

menus[2] = new menu(117, 'vertical', '#996633', '#ffffff');
menus[2].height = 12;
menus[2].writeMenu();

menus[3] = new menu(117, 'vertical', '#996633', '#ffffff');
menus[3].height = 12;
menus[3].writeMenu();

menus[4] = new menu(117, 'vertical', '#996633', '#ffffff');
menus[4].height = 12;
menus[4].addItem('newsbullet', '', null, 100, '#cc9966', '#cc9966', 'news.html', 'right');
menus[4].addItem('awardsbullet', '', null, 100, '#cc9966', '#cc9966', 'awards.html', 'right');
menus[4].addItem('outreachbullet', '', null, 100, '#cc9966', '#cc9966', 'outreach.html', 'right');
menus[4].addItem('employeebullet', '', null, 100, '#cc9966', '#cc9966', 'employee.html', 'right');
menus[4].writeMenu();

menus[5] = new menu(117, 'vertical', '#996633', '#ffffff');
menus[5].height = 12;
menus[5].addItem('employmentbullet', '', null, 100, '#cc9966', '#cc9966', 'employment.html', 'right');
menus[5].addItem('recruitmentbullet', '', null, 100, '#cc9966', '#cc9966', 'recruitment.html', 'right');
menus[5].writeMenu();

menus[6] = new menu(117, 'vertical', '#996633', '#ffffff');
menus[6].height = 12;
menus[6].writeMenu();

//menus[2] = new menu(135, 'vertical', '#003366', '#003366');
//menus[2].height = 12;
//menus[2].addItem('blankBullet1', ' Test 1', null, 135, '#003366', '#003366', '/Membership/About.html', 'right');
//menus[2].addItem('blankBullet1', ' Test 2', null, 135, '#003366', '#323232', '/Membership/About.html', 'right');
//menus[2].addItem('blankBullet1', ' Test 3', null, 135, '#003366', '#FFFFFF', '/Membership/About.html', 'right');
//menus[2].addItem('blankBullet1', ' Test 4', null, 135, '#003366', '#FFFFFF', '/Membership/About.html', 'left');
//menus[2].writeMenu();

menus[1].align='left';
menus[2].align='left';
