sniffBrowsers();

menuItemBullet = new bulletPoint("http://www.caepost.co.uk/welsh/bullets/one/menu_off.gif","http://www.caepost.co.uk/welsh/bullets/one/menu_on.gif");
labelBullet = new bulletPoint("http://www.caepost.co.uk/welsh/bullets/one/header_off.gif","http://www.caepost.co.uk/welsh/bullets/one/header_on.gif");
subMenuBullet = new bulletPoint("http://www.caepost.co.uk/welsh/bullets/one/sub_header_off.gif","http://www.caepost.co.uk/welsh/bullets/one/sub_header_on.gif");

MainBar = new menuBar('MainBar',450, 'horizontal', '', '');
MainBar.addLabel('menuItemBullet', 'Cartref', 1, 120, '', '', 'http://www.caepost.co.uk/welsh/index.php', 'left');
MainBar.addLabel('menuItemBullet', 'Partneriaid', 2, 120, '', '', 'http://www.caepost.co.uk/welsh/partners.php', 'left');
MainBar.addLabel('menuItemBullet', 'Y&nbsp;Gymuned', 3, 130, '', '', 'http://www.caepost.co.uk/welsh/community.php', 'left');
MainBar.addLabel('menuItemBullet', 'Cwsmeriaid', 4, 120, '', '', 'http://www.caepost.co.uk/welsh/customers.php', 'left');
MainBar.addLabel('menuItemBullet', 'Ysgolion', 5, 120, '', '', 'http://www.caepost.co.uk/welsh/schools.php', 'left');
MainBar.height = 14;

menus[1] = new menu(160, 'vertical', '', '');
menus[1].height = 10;
menus[1].writeMenu();

menus[2] = new menu(400, 'vertical', '', '');
menus[2].height = 10;
menus[2].addItem('subMenuBullet', 'Partneriaid', null, 200, '', '#759ac5', 'http://www.caepost.co.uk/welsh/partners.php', 'left');
menus[2].addItem('subMenuBullet', 'Rheoli Gwastraff Cyngor Sir Powys', null, 400, '', '#759ac5', 'http://www.caepost.co.uk/welsh/wastemanagement.php', 'left');
menus[2].addItem('subMenuBullet', 'Gwasanaethau Cymdeithasol Cyngor Sir Powys', null, 400, '', '#759ac5', 'http://www.caepost.co.uk/welsh/socialservices.php', 'left');
menus[2].addItem('subMenuBullet', 'Powys Zero Waste', null, 200, '', '759ac5', 'http://www.caepost.co.uk/welsh/zerowaste.php', 'left');
menus[2].addItem('subMenuBullet', 'Partneriaeth Equal Powys', null, 200, '', '759ac5', 'http://www.caepost.co.uk/welsh/pequalsp.php', 'left');
menus[2].writeMenu();

menus[3] = new menu(125, 'vertical', '', '');
menus[3].height = 10;
menus[3].addItem('subMenuBullet', 'Gymuned', null, 160, '', '#759ac5', 'http://www.caepost.co.uk/welsh/community.php', 'left');
menus[3].addItem('subMenuBullet', 'Defnyddiau Ailgylchadwy', null, 160, '', '#759ac5', 'http://www.caepost.co.uk/welsh/community/community_kerbside.php', 'left');
menus[3].addItem('subMenuBullet', 'Ardal Safloedd Casglu', null, 160, '', '#759ac5', 'http://www.caepost.co.uk/welsh/community/community_locations.php', 'left');
menus[3].writeMenu();

menus[4] = new menu(160, 'vertical', '', '');
menus[4].height = 10;
menus[4].addItem('subMenuBullet', 'Cwsmeriaid', null, 160, '', '#759ac5', 'http://www.caepost.co.uk/welsh/customers.php', 'left');

menus[4].writeMenu();

menus[5] = new menu(135, 'vertical', '', '');
menus[5].height = 10;
menus[5].addItem('subMenuBullet', 'Ysgolion', null, 100, '', '#759ac5', 'http://www.caepost.co.uk/welsh/schools.php', 'left');
menus[5].addItem('subMenuBullet', 'Ardal Safle Ysgolion', null, 200, '', '#759ac5', 'http://www.caepost.co.uk/welsh/schools/school_location.php', 'left');
menus[5].writeMenu();

menus[1].align='left';
menus[2].align='left';
menus[3].align='left';
menus[4].align='left';
menus[5].align='left';