function wrap_top1 (text) {
  return '<img src=images/nav_home.gif>';
}
function wrap_top1over (text) {
  return '<img src=images/nav_home_f2.gif>';
}
function wrap_top1down (text) {
  return '<img src=images/nav_home_f2.gif>';
}
function wrap_top2 (text) {
  return '<img src=images/nav_profile.gif>';
}
function wrap_top2over (text) {
  return '<img src=images/nav_profile_f2.gif>';
}
function wrap_top2down (text) {
  return '<img src=images/nav_profile_f2.gif>';
}
function wrap_top3 (text) {
  return '<img src=images/nav_vehicles.gif>';
}
function wrap_top3over (text) {
  return '<img src=images/nav_vehicles_f2.gif>';
}
function wrap_top3down (text) {
  return '<img src=images/nav_vehicles_f2.gif>';
}
function wrap_top4 (text) {
  return '<img src=images/nav_services.gif>';
}
function wrap_top4over (text) {
  return '<img src=images/nav_services_f2.gif>';
}
function wrap_top4down (text) {
  return '<img src=images/nav_services_f2.gif>';
}
function wrap_top5 (text) {
  return '<img src=images/nav_routes.gif>';
}
function wrap_top5over (text) {
  return '<img src=images/nav_routes_f2.gif>';
}
function wrap_top5down (text) {
  return '<img src=images/nav_routes_f2.gif>';
}
function wrap_top6 (text) {
  return '<img src=images/nav_products.gif>';
}
function wrap_top6over (text) {
  return '<img src=images/nav_products_f2.gif>';
}
function wrap_top6down (text) {
  return '<img src=images/nav_products_f2.gif>';
}
function wrap_top7 (text) {
  return '<img src=images/nav_contact.gif>';
}
function wrap_top7over (text) {
  return '<img src=images/nav_contact_f2.gif>';
}
function wrap_top7down (text) {
  return '<img src=images/nav_contact_f2.gif>';
}


var MENU_ITEMS = [
  [[wrap_top1(),wrap_top1over(),wrap_top1down()],'index.html',{'sw':124,'bw':122},
    ['Get a Quote', 'quote.php', null],
    ['Praises & Complaints', 'praises.php', null]
  ],
  [[wrap_top2(),wrap_top2over(),wrap_top2down()],'profile.html',{'sw':191,'bw':189},
    ['Company Profile', 'profile.html', null],
    ['Our Staff', 'staff.html', null],
		['Careers at SBT', 'careers.html', null],
		['Risk Management & HSE', 'risk.html', null],
    ['Downloads', 'downloads.html', null]
  ],
  [[wrap_top3(),wrap_top3over(),wrap_top3down()],'vehicles.html',{'sw':107,'bw':180},
    ['Vehicles', 'vehicles.html', null],
		['Technical, Tracking & Systems', 'technical.html', null],
		['Driver Training', 'driver.html', null]
  ],
  [[wrap_top4(),wrap_top4over(),wrap_top4down()],'consolidations.html',{'sw':106,'bw':160},
    ['Consolidations', 'consolidations.html', null],
		['Dry Bulk', 'drybulk.html', null],
		['Break Bulk', 'breakbulk.html', null],
    ['Sand & Stone', 'sand.html', null],
		['Plant hire & supplies', 'planthire.html', null],
    ['Warehousing', 'warehousing.html', null]
  ],
  [[wrap_top5(),wrap_top5over(),wrap_top5down()],'routes.html',{'sw':96,'bw':94},
    ['Routes', 'routes.html', null],
    ['Depots', 'routes.html', null]
  ],
  [[wrap_top6(),wrap_top6over(),wrap_top6down()],'products.html',{'sw':119,'bw':117},
  ],
  [[wrap_top7(),wrap_top7over(),wrap_top7down()],'contact.html',{'sw':124,'bw':122},
  ]

];


/*
  
 var MENU_ITEMS =[
	[wrap_red("Start"), null, {'sw': 91},
		[wrap_item("item s-0", 1), "",
			[wrap_item("item s-0-0"), ""],
			[wrap_item("item s-0-1"), ""],
			[wrap_item("item s-0-2"), ""]
		],
		[wrap_item("item s-1", 1), null, null,
			[wrap_item("item s-1-0"), ""],
			[wrap_item("item s-1-1"), ""],
			[wrap_item("item s-1-2"), ""],
			[wrap_item("item s-1-3"), ""]
		],
		[wrap_item("item s-2"), ""],
		[wrap_item("item s-3", 1), "",
			[wrap_item("item s-3-0"), ""],
			[wrap_item("item s-3-1"), ""]
		],
		[wrap_item("item s-4"), ""],
		[wrap_item("item s-5", 1), null, null,
			[wrap_item("item s-5-0"), ""],
			[wrap_item("item s-5-1"), ""],
			[wrap_item("item s-5-2"), ""]
		],
		[wrap_separated("<b>item s-6</b>"), ""]
	]
];

function wrap_red (text) {
	return [['<table cellpadding="0" cellspacing="0" border="0"><tr><td><img src="menu_files/red_l.gif" width="1" height="18" border="0"></td><td background="menu_files/red_m.gif" align="center" width="100%"><span style="font-face: tahoma, verdana, arial; font-size: 11px; color: #FFFFFF">',text,'</span></td><td><img src="menu_files/red_r.gif" width="1" height="18" border="0"></td></tr></table>'].join(''),
		['<table cellpadding="0" cellspacing="0" border="0" bgcolor="AD0C00"><tr><td><img src="menu_files/pixel.gif" width="1" height="18" border="0"></td><td align="center" width="100%"><span style="font-face: tahoma, verdana, arial; font-size: 11px; color: #FFFFFF">',text,'</span></td><td><img src="menu_files/pixel.gif" width="1" height="18" border="0"></td></tr></table>'].join(''),
		['<table cellpadding="0" cellspacing="0" border="0" bgcolor="AD0C00"><tr><td><img src="menu_files/pixel.gif" width="1" height="18" border="0"></td><td align="center" width="100%"><span style="font-face: tahoma, verdana, arial; font-size: 11px; color: #FFFFFF">',text,'</span></td><td><img src="menu_files/pixel.gif" width="1" height="18" border="0"></td></tr></table>'].join('')];
}
function wrap_item (text, icon) {
	return [['<table cellpadding="3" cellspacing="0" border="0"><tr><td><img src="menu_files/pixel.gif" width="7" height="12" border="0"></td><td width="100%"><span style="font-face: tahoma, verdana, arial; font-size: 11px; color: #000000">',text,'</span></td><td><img src="menu_files/', (icon?'arrow_r':'pixel'), '.gif" width="7" height="7" border="0"></td></tr></table>'].join(''),
		['<table cellpadding="3" cellspacing="0" border="0" bgcolor="AD0C00"><tr><td><img src="menu_files/pixel.gif" width="7" height="12" border="0"></td><td width="100%"><span style="font-face: tahoma, verdana, arial; font-size: 11px; color: #FFFFFF">',text,'</span></td><td><img src="menu_files/', (icon?'arrow_w':'pixel'), '.gif" width="7" height="7" border="0"></td></tr></table>'].join(''),
		['<table cellpadding="3" cellspacing="0" border="0" bgcolor="AD0C00"><tr><td><img src="menu_files/pixel.gif" width="7" height="12" border="0"></td><td width="100%"><span style="font-face: tahoma, verdana, arial; font-size: 11px; color: #FFFFFF">',text,'</span></td><td><img src="menu_files/', (icon?'arrow_w':'pixel'), '.gif" width="7" height="7" border="0"></td></tr></table>'].join('')];
}
function wrap_separated (text, icon) {
	var result = wrap_item(text, icon);
	for (var idx = 0; idx < result.length; idx++)
		result[idx] = '<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td bgcolor="#808080"><img src="menu_files/pixel.gif" width="1" height="1" border="0"></td></tr></table>' + result[idx];
	return result;
}
*/
