﻿function wrap(text, bg_color_off, fg_color_off, bg_color_on, fg_color_on) {

if (!bg_color_on) bg_color_on = bg_color_off;
if (!fg_color_on) fg_color_on = fg_color_off;

return [
'<table cellpadding="0" cellspacing="3" border="0" bgcolor="'
+ bg_color_off + '" width="100%"><tr><td style="padding: 4px; '
+'font-family: arial, helvetica, sans-seriff; font-weight: bold; font-size: 11px; color:'
+ fg_color_off + '">' + text + '</td></tr></table>',

'<table cellpadding="0" cellspacing="3" border="0" bgcolor="'
+ bg_color_on + '" width="100%"><tr><td style="padding: 4px; '
+'font-family: arial, helvetica, sans-seriff; font-weight: bold; font-size: 11px; color:'
+ fg_color_on + '">' + text + '</td></tr></table>',

'<table cellpadding="0" cellspacing="3" border="0" bgcolor="'
+ bg_color_on + '" width="100%"><tr><td style="padding: 4px; '
+ 'font-family: arial, helvetica, sans-seriff; font-weight: bold; font-size: 11px; color:'
+ fg_color_on + '">' + text + '</td></tr></table>'
];
}

/* Tigra Menu items structure */
var MENU_ITEMS = [
	[wrap('&nbsp; HOME', '', '#000000'), 'index.html'],
	[wrap('&nbsp; ABOUT US', '#dedaba', '#000000', '#eeeacb'), 'about.html', null,
		[wrap('Mission Statement', '#dedaba', '#000000', '#eeeacb'), 'mission-statement.html'],
		[wrap('Senior Management', '#dedaba', '#000000', '#eeeacb'), 'senior-management.html'],
		[wrap('Executive Team', '#dedaba', '#000000', '#eeeacb'), 'executive-team.html'],
		[wrap('Employment', '#dedaba', '#000000', '#eeeacb'), 'employment.html']
	],
	[wrap('&nbsp; SERVICES', '#b7c8c6', '#000000', '#cbd5d4'), 'services.html', null,
		[wrap('ERP Services', '#b7c8c6', '#000000', '#cbd5d4'), 'erp.html'],
		[wrap('BI Services', '#b7c8c6', '#000000', '#cbd5d4'), 'business-intelligence.html'],
		[wrap('CRM Services', '#b7c8c6', '#000000', '#cbd5d4'), 'crm.html'],
		[wrap('CTI Services', '#b7c8c6', '#000000', '#cbd5d4'), 'cti.html'],
		[wrap('XI/EAI Services', '#b7c8c6', '#000000', '#cbd5d4'), 'eai.html']
	],
	[wrap('&nbsp; CLIENTS', '#c5deb0', '#000000', '#d0e7bc'), 'clients.html'],
	[wrap('&nbsp; ALLIANCES', '#dacbc8', '#000000', '#e5d8d6'), 'alliances.html'],
	[wrap('&nbsp; CONTACT', '#dadada', '#000000', '#e8e8e8'), 'contact.html']
];
