// JavaScript Document

sniffBrowsers();

menuItemBullet = new bulletPoint("http://mav-inc.com/images/bullets/one/menu_on.gif", "http://mav-inc.com/images/bullets/one/menu_off.gif");
labelBullet = new bulletPoint("http://mav-inc.com/images/bullets/one/header_off.gif","http://mav-inc.com/images/bullets/one/header_on.gif");
subMenuBullet = new bulletPoint("http://mav-inc.com/images/bullets/one/sub_header_off.gif","http://mav-inc.com/images/bullets/one/sub_header_on.gif");

myTest = new menuBar('myTest', 960, 'horizontal', '#000000', '#000000');
myTest.addLabel('labelBullet', 'Web Design/Optimization', 1, 160, '#000000', '#000000', 'http://mav-inc.com/web/index.html', 'center');
myTest.addLabel('labelBullet', 'Marketing', 2, 90, '#000000', '#000000', 'http://mav-inc.com/mark/index.html', 'center');
myTest.addLabel('labelBullet', 'Advertising', 3, 90, '#000000', '#000000', 'http://mav-inc.com/adv/index.html', 'center');
myTest.addLabel('labelBullet', 'Audio/Video Production', 4, 170, '#000000', '#000000', 'http://mav-inc.com/avp/index.html', 'center');
myTest.addLabel('labelBullet', 'Public Relations', 5, 120, '#000000', '#000000', 'http://mav-inc.com/pr/index.html', 'center');
myTest.addLabel('labelBullet', 'Crisis Management/Media Coaching', 6, 250, '#000000', '#000000', 'http://mav-inc.com/cmmc/index.html', 'center');
myTest.addLabel('labelBullet', 'Films', 7, 50, '#000000', '#000000', 'http://mav-inc.com/film/index.html', 'center');
myTest.height = 15;

menus[1] = new menu(170, 'vertical', '#000000', '#000000');
menus[1].height = 16;
menus[1].addItem('menuItemBullet', 'Web Design/Optimization', null, 170, '#000000', '#000000', 'http://mav-inc.com/web/index.html', 'left');
menus[1].addItem('menuItemBullet', 'Custom Websites', null, 170, '#000000', '#000000', 'http://mav-inc.com/web/custom.html', 'left');
menus[1].addItem('menuItemBullet', 'Digital Strategies', null, 170, '#000000', '#000000', 'http://mav-inc.com/web/digital.html', 'left');
menus[1].addItem('menuItemBullet', 'Search Engine Optimization', null, 170, '#000000', '#000000', 'http://mav-inc.com/web/seo.html', 'left');
menus[1].addItem('menuItemBullet', 'Flash Animation', null, 170, '#000000', '#000000', 'http://mav-inc.com/web/flash.html', 'left');
menus[1].addItem('menuItemBullet', 'Workshops', null, 170, '#000000', '#000000', 'http://mav-inc.com/workshops.html', 'left');
menus[1].addItem('menuItemBullet', 'En Espanol', null, 170, '#000000', '#000000', 'http://mav-inc.com/espanol.html', 'left');
menus[1].writeMenu();

menus[2] = new menu(121, 'vertical', '#000000', '#000000');
menus[2].height = 16;
menus[2].addItem('menuItemBullet', 'Marketing', null, 121, '#000000', '#000000', 'http://mav-inc.com/mark/index.html', 'left');
menus[2].addItem('menuItemBullet', 'Market Research', null, 121, '#000000', '#000000', 'http://mav-inc.com/mark/market.html', 'left');
menus[2].addItem('subMenuBullet', 'Branding', null, 121, '#000000', '#000000', 'http://mav-inc.com/mark/branding.html', 'left');
menus[2].addItem('subMenuBullet', 'Media Buying', null, 121, '#000000', '#000000', 'http://mav-inc.com/mark/media.html', 'left');
menus[2].addItem('subMenuBullet', 'Social Networking', null, 121, '#000000', '#000000', 'http://mav-inc.com/mark/social.html', 'left');
menus[2].addItem('subMenuBullet', 'Marketing Support', null, 121, '#000000', '#000000', 'http://mav-inc.com/mark/support.html', 'left');
menus[2].addItem('subMenuBullet', 'Workshops', null, 121, '#000000', '#000000', 'http://mav-inc.com/workshops.html', 'left');
menus[2].addItem('subMenuBullet', 'Hispanic Market', null, 121, '#000000', '#000000', 'http://mav-inc.com/espanol.html', 'left');
menus[2].writeMenu();

menus[3] = new menu(160, 'vertical', '#000000', '#000000');
menus[3].height = 16;
menus[3].addItem('menuItemBullet', 'Advertising', null, 160, '#000000', '#000000', 'http://mav-inc.com/adv/index.html', 'left');
menus[3].addItem('menuItemBullet', 'Interactive', null, 160, '#000000', '#000000', 'http://mav-inc.com/adv/interactive.html', 'left');
menus[3].addItem('menuItemBullet', 'Print', null, 160, '#000000', '#000000', 'http://mav-inc.com/adv/print.html', 'left');
menus[3].addItem('menuItemBullet', 'Radio', null, 160, '#000000', '#000000', 'http://mav-inc.com/adv/radio.html', 'left');
menus[3].addItem('menuItemBullet', 'Television', null, 160, '#000000', '#000000', 'http://mav-inc.com/adv/tv.html', 'left');
menus[3].addItem('menuItemBullet', 'Workshops', null, 160, '#000000', '#000000', 'http://mav-inc.com/workshops.html', 'left');
menus[3].addItem('menuItemBullet', 'Hispanic Market Outreach', null, 160, '#000000', '#000000', 'http://mav-inc.com/espanol.html', 'left');
menus[3].writeMenu();

menus[4] = new menu(160, 'vertical', '#000000', '#000000');
menus[4].height = 16;
menus[4].addItem('menuItemBullet', 'Audio/Video Production', null, 160, '#000000', '#000000', 'http://mav-inc.com/avp/index.html', 'left');
menus[4].addItem('menuItemBullet', 'Audio Production', null, 160, '#000000', '#000000', 'http://mav-inc.com/avp/audio.html', 'left');
menus[4].addItem('subMenuBullet', 'Video Production', null, 160, '#000000', '#000000', 'http://mav-inc.com/avp/video.html', 'left');
menus[4].addItem('menuItemBullet', 'Green Screen', null, 160, '#000000', '#000000', 'http://mav-inc.com/avp/green.html', 'left');
menus[4].addItem('menuItemBullet', 'Scriptwriting and Jingles', null, 160, '#000000', '#000000', 'http://mav-inc.com/avp/jingles.html', 'left');
menus[4].addItem('menuItemBullet', 'En Espanol', null, 160, '#000000', '#000000', 'http://mav-inc.com/espanol.html', 'left');
menus[4].writeMenu();

menus[5] = new menu(170, 'vertical', '#000000', '#000000');
menus[5].height = 16;
menus[5].addItem('menuItemBullet', 'Public Relations', null, 170, '#000000', '#000000', 'http://mav-inc.com/pr/index.html', 'left');
menus[5].addItem('menuItemBullet', 'Image Building', null, 170, '#000000', '#000000', 'http://mav-inc.com/pr/image.html', 'left');
menus[5].addItem('menuItemBullet', 'Image Repair', null, 170, '#000000', '#000000', 'http://mav-inc.com/pr/repair.html', 'left');
menus[5].addItem('menuItemBullet', 'Media Relations', null, 170, '#000000', '#000000', '../pr/media.html', 'left');
menus[5].addItem('menuItemBullet', 'Video News Releases', null, 170, '#000000', '#000000', 'http://mav-inc.com/pr/vnr.html', 'left');
menus[5].addItem('menuItemBullet', 'Workshops', null, 170, '#000000', '#000000', 'http://mav-inc.com/workshops.html', 'left');
menus[5].addItem('menuItemBullet', 'Hispanic Market Outreach', null, 170, '#000000', '#000000', 'http://mav-inc.com/espanol.html', 'left');
menus[5].writeMenu();

menus[6] = new menu(200, 'vertical', '#000000', '#000000');
menus[6].height = 16;
menus[6].addItem('menuItemBullet', 'Crisis Management/Media Coaching', null, 200, '#000000', '#000000', 'http://mav-inc.com/cmmc/index.html', 'left');
menus[6].addItem('menuItemBullet', 'Crisis Management P.R.', null, 200, '#000000', '#000000', 'http://mav-inc.com/cmmc/crisis.html', 'left');
menus[6].addItem('menuItemBullet', 'Media Coaching', null, 200, '#000000', '#000000', 'http://mav-inc.com/cmmc/media.html', 'left');
menus[6].addItem('menuItemBullet', 'Workshops', null, 200, '#000000', '#000000', 'http://mav-inc.com/workshops.html', 'left');
menus[6].addItem('menuItemBullet', 'En Espanol', null, 200, '#000000', '#000000', 'http://mav-inc.com/espanol.html', 'left');
menus[6].writeMenu();



menus[7] = new menu(150, 'vertical', '#000000', '#000000');
menus[7].height = 16;
menus[7].addItem('menuItemBullet', 'Films', null, 150, '#000000', '#000000', 'http://mav-inc.com/film/index.html', 'left');
menus[7].addItem('menuItemBullet', 'Marvel Then &amp; Now', null, 150, '#000000', '#000000', 'http://mav-inc.com/film/tan.html', 'left');
menus[7].addItem('menuItemBullet', 'Interview With Stan Lee', null, 150, '#000000', '#000000', 'http://mav-inc.com/film/stan.html', 'left');
menus[7].addItem('menuItemBullet', 'Upcoming Projects', null, 150, '#000000', '#000000', 'http://mav-inc.com/film/upcoming.html', 'left');
menus[7].writeMenu();


menus[1].align='left';
menus[2].align='left';
menus[3].align='left';
menus[4].align='left';
menus[5].align='left';
menus[6].align='left';
menus[7].align='right';