
var topbar="";

//Top Navigational Bar II (By Mike Hall)
//Last updated: 00/05/08')
//Permission granted and modified by Dynamicdrive.com to include script in archive
//For this and 100s more DHTML scripts, visit dynamicdrive.com 

var myNavBar1 = new NavBar(0);
var dhtmlMenu;

//define menu items (first parameter of NavBarMenu specifies main category width, second specifies sub category width in pixels
//add more menus simply by adding more blocks of same code below

dhtmlMenu = new NavBarMenu(0, 0);
dhtmlMenu.addItem(new NavBarMenuItem('<IMG SRC=images/empty_menu.gif width=115 height=17 >', '#'));

myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(0, 0);
dhtmlMenu.addItem(new NavBarMenuItem('<IMG SRC=images/products.gif width=130 height=17>', '#'));
dhtmlMenu.addItem(new NavBarMenuItem('&nbsp;HOME', 'index.htm'));
dhtmlMenu.addItem(new NavBarMenuItem('&nbsp;KART TROLLEYS', 'karting.htm'));
dhtmlMenu.addItem(new NavBarMenuItem('&nbsp;PRIVATE LABELS', 'private_label.htm'));
dhtmlMenu.addItem(new NavBarMenuItem('&nbsp;SUB-CONTRACTING', 'sub_con_work.htm'));
 
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(0, 130);
dhtmlMenu.addItem(new NavBarMenuItem('<IMG SRC=images/news.gif width=130 height=17>', '#'));
dhtmlMenu.addItem(new NavBarMenuItem('&nbsp;NEWS', 'new_products.htm'));
dhtmlMenu.addItem(new NavBarMenuItem('&nbsp;NEWSLETTER', 'newsletter.htm'));

myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(0, 0);
dhtmlMenu.addItem(new NavBarMenuItem('<IMG SRC=images/shop.gif width=130 height=17>', '#'));
dhtmlMenu.addItem(new NavBarMenuItem('&nbsp;VISIT THE SHOP', 'http://www.shop.ferratti-racing.com/default.asp?lang=uk'));

myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(0, 130);
dhtmlMenu.addItem(new NavBarMenuItem('<IMG SRC=images/contact.gif width=130 height=17>', '#'));
dhtmlMenu.addItem(new NavBarMenuItem('&nbsp;ABOUT US', 'about_us.htm'));
dhtmlMenu.addItem(new NavBarMenuItem('&nbsp;E-MAIL', 'email.htm'));
dhtmlMenu.addItem(new NavBarMenuItem('&nbsp;DEALERS', 'dealers.htm'));
dhtmlMenu.addItem(new NavBarMenuItem('&nbsp;LINKS', 'links.htm'));
dhtmlMenu.addItem(new NavBarMenuItem('&nbsp;FEEDBACK', 'feedback.htm'));
dhtmlMenu.addItem(new NavBarMenuItem('&nbsp;SITE CREDITS', 'site_credits.htm'));


myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(0, 0);
dhtmlMenu.addItem(new NavBarMenuItem('<IMG SRC=images/empty_menu_right.gif width=115 height=17 >', '#'));

myNavBar1.addMenu(dhtmlMenu);

//set menu colors
myNavBar1.setColors('', '', '', '#ff2008', '#666666', '#ffffff', '#4e4e4e', '#ffffff', '#c00000')

myNavBar1.setAlign('center')

var fullWidth;

function init() {
	
	onload = function() {
	iPop.AutoApply();
	}

//Get width of window, need to account for scrollbar width in Netscape.

 fullWidth = getWindowWidth() 
   - (isMinNS4 && getWindowHeight() < getPageHeight() ? 16 : 0);

  myNavBar1.resize(fullWidth);
  myNavBar1.create();
  myNavBar1.setzIndex(2);
 //UNCOMMENT BELOW LINE TO MOVE MENU DOWN 50 pixels
  myNavBar1.moveTo(0, 100);
}







