var MENU_ITEMS =[
	[main_level1("&nbsp;&nbsp;Need Employees?",1), null, "",
		[sub_level("Need Employees?"), "employers.aspx"],
		[sub_level("Why Partner with SSOH?"), "employers.aspx#partner"],
		[sub_level("Staffing Services"), "staffingservices.aspx"]
	],
	[main_level2("&nbsp;&nbsp;Need a Job?",1), null, "",
		[sub_level("Career Services"), "career.aspx"],
		[sub_level("Job Search"), 'https://twhwebapp.tempworks.com/twselect/jobboard/?__appid__=53E8BC96-8D99-404E-A555-3A9F9A4D19E9" onclick="window.open(this.href); return false;"'],
		[sub_level("Online Employment Application"), 'https://twhwebapp.tempworks.com/twselect/application/?__appid__=0B2DF164-85DA-43FA-A714-CF62CC439FB2" onclick="window.open(this.href); return false;"'],
		[sub_level("Web Center Login"), 'https://twhwebapp.tempworks.com/twselect/webcenter" onclick="window.open(this.href); return false;"'],
		[sub_level("Why Temp Work?"), "whytemp.aspx"]
	],
	[main_level3("&nbsp;&nbsp;HR Services"), "humanresources.aspx",
	],
	[main_level4("&nbsp;&nbsp;Government<BR>&nbsp;&nbsp;Contracts"), "gov_employers.aspx",
	],
	[main_level5("&nbsp;&nbsp;About SSOH",1), null, "",
		[sub_level("About SSOH"), "about.aspx"],
		[sub_level("Staffing Services"), "staffingservices.aspx"],
		[sub_level("Oahu Location"), "locations.aspx"]
	],
	[main_level6("&nbsp;&nbsp;SSOH Staff",1), null, "",
		[sub_level("It Starts at the Top"), "staff.aspx"],
		[sub_level("Star Associates"), "assocyear.aspx"]
	],
	[main_level7("&nbsp;&nbsp;Contact SSOH",1), null, "",
		[sub_level("Contact Us"), "contact.aspx"],
		[sub_level("Oahu Location"), "locations.aspx"]
	],
	[main_level8("&nbsp;&nbsp;Need a Time<BR>&nbsp;&nbsp;Card Copy?"), "timecard.aspx",
	]
];

var MENU_ITEMS_ADMIN =[
	[main_level1("&nbsp;&nbsp;Job Postings"), "AdminJobPostings.aspx",
	]
];

function main_level1 (text,icon) {
	return [['<table cellpadding="0" cellspacing="0" border="0" bgcolor="#99ff99"><tr><td width="100%" height="1" bgcolor="#FFFFFF"></td><td width="100%" height="1" bgcolor="#FFFFFF"></td></tr><tr><td align="left" width="100%" height="33"><span style="font-size: 13px; color: #000000">',text,'</span></td><td><img src="menu_files/', (icon?'arrow_white':'pixel'), '.gif" width="14" height="25" border="0"></td></tr><tr><td width="100%" height="1" bgcolor="#FFFFFF"></td><td width="100%" height="1" bgcolor="#FFFFFF"></td></tr></table>'].join(''),
		['<table cellpadding="0" cellspacing="0" border="0" bgcolor="#334acc"><tr><td width="100%" height="1" bgcolor="#FFFFFF"></td><td width="100%" height="1" bgcolor="#FFFFFF"></tr><tr><td align="left" width="100%" height="33"><span style="font-size: 13px; color: #FFFFFF">',text,'</span></td><td><img src="menu_files/', (icon?'arrow_white':'pixel'), '.gif" width="14" height="25" border="0"></td></tr><tr><td width="100%" height="1" bgcolor="#FFFFFF"></td><td width="100%" height="1" bgcolor="#FFFFFF"></td></tr></table>'].join(''),
		['<table cellpadding="0" cellspacing="0" border="0" bgcolor="#99ff99"><tr><td width="100%" height="1" bgcolor="#FFFFFF"></td><td width="100%" height="1" bgcolor="#FFFFFF"></tr><tr><td align="left" width="100%" height="33"><span style="font-size: 13px; color: #000000">',text,'</span></td><td><img src="menu_files/', (icon?'arrow_white':'pixel'), '.gif" width="14" height="25" border="0"></td></tr><tr><td width="100%" height="1" bgcolor="#FFFFFF"></td><td width="100%" height="1" bgcolor="#FFFFFF"></td></tr></table>'].join('')];
}
function main_level2 (text,icon) {
	return [['<table cellpadding="0" cellspacing="0" border="0" bgcolor="#99ffcc"><tr><td align="left" width="100%" height="34"><span style="font-size: 13px; color: #000000">',text,'</span></td><td><img src="menu_files/', (icon?'arrow_white':'pixel'), '.gif" width="14" height="25" border="0"></td></tr><tr><td width="100%" height="1" bgcolor="#FFFFFF"></td><td width="100%" height="1" bgcolor="#FFFFFF"></td></tr></table>'].join(''),
		['<table cellpadding="0" cellspacing="0" border="0" bgcolor="#334acc"><tr><td align="left" width="100%" height="34"><span style="font-size: 13px; color: #FFFFFF">',text,'</span></td><td><img src="menu_files/', (icon?'arrow_white':'pixel'), '.gif" width="14" height="25" border="0"></td></tr><tr><td width="100%" height="1" bgcolor="#FFFFFF"></td><td width="100%" height="1" bgcolor="#FFFFFF"></td></tr></table>'].join(''),
		['<table cellpadding="0" cellspacing="0" border="0" bgcolor="#99ffcc"><tr><td align="left" width="100%" height="34"><span style="font-size: 13px; color: #000000">',text,'</span></td><td><img src="menu_files/', (icon?'arrow_white':'pixel'), '.gif" width="14" height="25" border="0"></td></tr><tr><td width="100%" height="1" bgcolor="#FFFFFF"></td><td width="100%" height="1" bgcolor="#FFFFFF"></td></tr></table>'].join('')];
}
function main_level3 (text,icon) {
	return [['<table cellpadding="0" cellspacing="0" border="0" bgcolor="#7de7e7"><tr><td align="left" width="100%" height="34"><span style="font-size: 13px; color: #000000">',text,'</span></td><td><img src="menu_files/', (icon?'arrow_white':'pixel'), '.gif" width="14" height="25" border="0"></td></tr><tr><td width="100%" height="1" bgcolor="#FFFFFF"></td><td width="100%" height="1" bgcolor="#FFFFFF"></td></tr></table>'].join(''),
		['<table cellpadding="0" cellspacing="0" border="0" bgcolor="#334acc"><tr><td align="left" width="100%" height="34"><span style="font-size: 13px; color: #FFFFFF">',text,'</span></td><td><img src="menu_files/', (icon?'arrow_white':'pixel'), '.gif" width="14" height="25" border="0"></td></tr><tr><td width="100%" height="1" bgcolor="#FFFFFF"></td><td width="100%" height="1" bgcolor="#FFFFFF"></td></tr></table>'].join(''),
		['<table cellpadding="0" cellspacing="0" border="0" bgcolor="#7de7e7"><tr><td align="left" width="100%" height="34"><span style="font-size: 13px; color: #000000">',text,'</span></td><td><img src="menu_files/', (icon?'arrow_white':'pixel'), '.gif" width="14" height="25" border="0"></td></tr><tr><td width="100%" height="1" bgcolor="#FFFFFF"></td><td width="100%" height="1" bgcolor="#FFFFFF"></td></tr></table>'].join('')];
}
function main_level4 (text,icon) {
	return [['<table cellpadding="0" cellspacing="0" border="0" bgcolor="#66ccff"><tr><td align="left" width="100%" height="38"><span style="font-size: 13px; color: #000000">',text,'</span></td><td><img src="menu_files/', (icon?'arrow_white':'pixel'), '.gif" width="14" height="25" border="0"></td></tr></table>'].join(''),
		['<table cellpadding="0" cellspacing="0" border="0" bgcolor="#334acc"><tr><td align="left" width="100%" height="38"><span style="font-size: 13px; color: #FFFFFF">',text,'</span></td><td><img src="menu_files/', (icon?'arrow_white':'pixel'), '.gif" width="14" height="25" border="0"></td></tr><tr><td width="100%" height="1" bgcolor="#FFFFFF"></td><td width="100%" height="1" bgcolor="#FFFFFF"></td></tr></table>'].join(''),
		['<table cellpadding="0" cellspacing="0" border="0" bgcolor="#66ccff"><tr><td align="left" width="100%" height="38"><span style="font-size: 13px; color: #000000">',text,'</span></td><td><img src="menu_files/', (icon?'arrow_white':'pixel'), '.gif" width="14" height="25" border="0"></td></tr><tr><td width="100%" height="1" bgcolor="#FFFFFF"></td><td width="100%" height="1" bgcolor="#FFFFFF"></td></tr></table>'].join('')];
}
function main_level5 (text,icon) {
	return [['<table cellpadding="0" cellspacing="0" border="0" bgcolor="#99ccff"><tr><td width="100%" height="1" bgcolor="#FFFFFF"></td><td width="100%" height="1" bgcolor="#FFFFFF"></td></tr><tr><td align="left" width="100%" height="33"><span style="font-size: 13px; color: #000000">',text,'</span></td><td><img src="menu_files/', (icon?'arrow_white':'pixel'), '.gif" width="14" height="25" border="0"></td></tr><tr><td width="100%" height="1" bgcolor="#FFFFFF"></td><td width="100%" height="1" bgcolor="#FFFFFF"></td></tr></table>'].join(''),
		['<table cellpadding="0" cellspacing="0" border="0" bgcolor="#334acc"><tr><td width="100%" height="1" bgcolor="#FFFFFF"></td><td width="100%" height="1" bgcolor="#FFFFFF"></td></tr><tr><td align="left" width="100%" height="33"><span style="font-size: 13px; color: #FFFFFF">',text,'</span></td><td><img src="menu_files/', (icon?'arrow_white':'pixel'), '.gif" width="14" height="25" border="0"></td></tr><tr><td width="100%" height="1" bgcolor="#FFFFFF"></td><td width="100%" height="1" bgcolor="#FFFFFF"></td></tr></table>'].join(''),
		['<table cellpadding="0" cellspacing="0" border="0" bgcolor="#99ccff"><tr><td width="100%" height="1" bgcolor="#FFFFFF"></td><td width="100%" height="1" bgcolor="#FFFFFF"></td></tr><tr><td align="left" width="100%" height="33"><span style="font-size: 13px; color: #000000">',text,'</span></td><td><img src="menu_files/', (icon?'arrow_white':'pixel'), '.gif" width="14" height="25" border="0"></td></tr><tr><td width="100%" height="1" bgcolor="#FFFFFF"></td><td width="100%" height="1" bgcolor="#FFFFFF"></td></tr></table>'].join('')];
}
function main_level6 (text,icon) {
	return [['<table cellpadding="0" cellspacing="0" border="0" bgcolor="#c1c8fe"><tr><td align="left" width="100%" height="34"><span style="font-size: 13px; color: #000000">',text,'</span></td><td><img src="menu_files/', (icon?'arrow_white':'pixel'), '.gif" width="14" height="25" border="0"></td></tr><tr><td width="100%" height="1" bgcolor="#FFFFFF"></td><td width="100%" height="1" bgcolor="#FFFFFF"></td></tr></table>'].join(''),
		['<table cellpadding="0" cellspacing="0" border="0" bgcolor="#334acc"><tr><td align="left" width="100%" height="34"><span style="font-size: 13px; color: #FFFFFF">',text,'</span></td><td><img src="menu_files/', (icon?'arrow_white':'pixel'), '.gif" width="14" height="25" border="0"></td></tr><tr><td width="100%" height="1" bgcolor="#FFFFFF"></td><td width="100%" height="1" bgcolor="#FFFFFF"></td></tr></table>'].join(''),
		['<table cellpadding="0" cellspacing="0" border="0" bgcolor="#c1c8fe"><tr><td align="left" width="100%" height="34"><span style="font-size: 13px; color: #000000">',text,'</span></td><td><img src="menu_files/', (icon?'arrow_white':'pixel'), '.gif" width="14" height="25" border="0"></td></tr><tr><td width="100%" height="1" bgcolor="#FFFFFF"></td><td width="100%" height="1" bgcolor="#FFFFFF"></td></tr></table>'].join('')];
}
function main_level7 (text,icon) {
	return [['<table cellpadding="0" cellspacing="0" border="0" bgcolor="#d0c0ff"><tr><td align="left" width="100%" height="34"><span style="font-size: 13px; color: #000000">',text,'</span></td><td><img src="menu_files/', (icon?'arrow_white':'pixel'), '.gif" width="14" height="25" border="0"></td></tr><tr><td width="100%" height="1" bgcolor="#FFFFFF"></td><td width="100%" height="1" bgcolor="#FFFFFF"></td></tr></table>'].join(''),
		['<table cellpadding="0" cellspacing="0" border="0" bgcolor="#334acc"><tr><td align="left" width="100%" height="34"><span style="font-size: 13px; color: #FFFFFF">',text,'</span></td><td><img src="menu_files/', (icon?'arrow_white':'pixel'), '.gif" width="14" height="25" border="0"></td></tr><tr><td width="100%" height="1" bgcolor="#FFFFFF"></td><td width="100%" height="1" bgcolor="#FFFFFF"></td></tr></table>'].join(''),
		['<table cellpadding="0" cellspacing="0" border="0" bgcolor="#d0c0ff"><tr><td align="left" width="100%" height="34"><span style="font-size: 13px; color: #000000">',text,'</span></td><td><img src="menu_files/', (icon?'arrow_white':'pixel'), '.gif" width="14" height="25" border="0"></td></tr><tr><td width="100%" height="1" bgcolor="#FFFFFF"></td><td width="100%" height="1" bgcolor="#FFFFFF"></td></tr></table>'].join('')];
}
function main_level8 (text,icon) {
	return [['<table cellpadding="0" cellspacing="0" border="0" bgcolor="#ebc0ff"><tr><td align="left" width="100%" height="34"><span style="font-size: 13px; color: #000000">',text,'</span></td><td><img src="menu_files/', (icon?'arrow_white':'pixel'), '.gif" width="14" height="25" border="0"></td></tr><tr><td width="100%" height="1" bgcolor="#FFFFFF"></td><td width="100%" height="1" bgcolor="#FFFFFF"></td></tr></table>'].join(''),
		['<table cellpadding="0" cellspacing="0" border="0" bgcolor="#334acc"><tr><td align="left" width="100%" height="34"><span style="font-size: 13px; color: #FFFFFF">',text,'</span></td><td><img src="menu_files/', (icon?'arrow_white':'pixel'), '.gif" width="14" height="25" border="0"></td></tr><tr><td width="100%" height="1" bgcolor="#FFFFFF"></td><td width="100%" height="1" bgcolor="#FFFFFF"></td></tr></table>'].join(''),
		['<table cellpadding="0" cellspacing="0" border="0" bgcolor="#ebc0ff"><tr><td align="left" width="100%" height="34"><span style="font-size: 13px; color: #000000">',text,'</span></td><td><img src="menu_files/', (icon?'arrow_white':'pixel'), '.gif" width="14" height="25" border="0"></td></tr><tr><td width="100%" height="1" bgcolor="#FFFFFF"></td><td width="100%" height="1" bgcolor="#FFFFFF"></td></tr></table>'].join('')];
}
function sub_level (text, icon) {
	return [['<table cellpadding="3" cellspacing="0" border="0" bgcolor="FFFFFF" height="25"><tr><td width="100%"><span style="font-size: 13px; color: #334acc">',text,'</span></td><td><img src="menu_files/', (icon?'arrow_b':'pixel'), '.gif" width="5" height="9" border="0"></td></tr></table>'].join(''),
		['<table cellpadding="3" cellspacing="0" border="0" bgcolor="#6699FF" height="25"><tr><td width="100%"><span style="font-size: 13px; color: #FFFFFF">',text,'</span></td><td><img src="menu_files/', (icon?'arrow_w':'pixel'), '.gif" width="5" height="9" border="0"></td></tr></table>'].join(''),
		['<table cellpadding="3" cellspacing="0" border="0" bgcolor="6699FF" height="25"><tr><td width="100%"><span style="font-size: 13px; color: #FFFFFF">',text,'</span></td><td><img src="menu_files/', (icon?'arrow_w':'pixel'), '.gif" width="5" height="9" border="0"></td></tr></table>'].join('')];
}

