/* --- menu items --- */
var webPath = 'http://www.altairdemo.com/';

var MENU1_ITEMS = [

	[wrap1(null, 'home'), webPath +'webpages.asp?wpid=1', {'tt': '', 'sw':53, 'bw':150}],
	[wrap2(null, 'supplies'), webPath +'webpages.asp?wpid=2', {'tt': '', 'sw':74, 'bw':150},
		   ['Apparel', webPath +'item2up.asp?wpid=7&deptid=1&deptareaid=1'],
		   ['Needles/Syringes', webPath +'item2up.asp?wpid=8&deptid=1&deptareaid=2'],
		   ['Home Diagnostic', webPath +'item2up.asp?wpid=9&deptid=1&deptareaid=3'],
		   ['Wound Care', webPath +'item2up.asp?wpid=26&deptid=1&deptareaid=4']
		   ],
	[wrap3(null, 'equipment'), webPath +'webpages.asp?wpid=6', {'tt': '', 'sw':89, 'bw':150},
		   ['Orthopedics', webPath +'item2up.asp?wpid=10&deptid=2&deptareaid=1'],
		   ['Patient Monitoring', webPath +'item2up.asp?wpid=23&deptid=2&deptareaid=2'],
		   ['Mobility Aids & Equipment', webPath +'item2up.asp?wpid=18&deptid=2&deptareaid=3'],
		    ['Respiratory', webPath +'item2up.asp?wpid=27&deptid=2&deptareaid=4']
		   ],
	[wrap4(null, 'shoppingcart'), webPath +'OrderCart.asp', {'tt': '', 'sw':113, 'bw':150},
		   ['Login', webPath +'visitorlogin.asp?wpid=15'],
		   ['Register', webPath +'visitorregistration.asp?wpid=16']
		   ],
	[wrap5(null, 'myaccount'), webPath +'visitorlogin.asp', {'tt': '', 'sw':97, 'bw':150},
		   ['Order Status', webPath +'Employees/rptOrderStatus.asp?Action=1ST'],
		   ['Approve Order', webPath +'#'],
		   ['Location Order', webPath +'employees/frmLocationOrders.asp'],
		   ['Locations', webPath +'#']
		   ],
	[wrap6(null, 'testimonials'), webPath +'webpages.asp?wpid=19', {'tt': '', 'sw':107, 'bw':150}],
	[wrap7(null, 'policy'), webPath +'webpages.asp?wpid=4', {'tt': '', 'sw':59, 'bw':150},
		   ['Terms of Use', webPath +'webpages.asp?wpid=4'],
		   ['Privacy Policy', webPath +'webpages.asp?wpid=5'],],
	[wrap8(null, 'faqs'), webPath +'webpages.asp?wpid=25', {'tt': '', 'sw':48, 'bw':150}],
	[wrap9(null, 'aboutus'), webPath +'webpages.asp?wpid=24', {'tt': '', 'sw':77, 'bw':150}],
	[wrap10(null, 'contactus'), webPath +'webmail.asp?wpid=3', {'tt': '', 'sw':92, 'bw':150},
		   ['Jobs', webPath +'Jobs/JobsHome.asp']
	]

];


function wrap1(text, imagename) {
	var res=[];
	var myPath = 'http://#/';

	for (var i=0; i<3; i++)
		res[i]=['<table height="20" width="53" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" background="http://www.altairdemo.com/menu/' + imagename,
			(i==1?'o':''),'.png" class=aa' + i + '>',text,'</td></tr></table>'
		].join('');
	return res;
}
function wrap2(text, imagename) {
	var res=[];
	var myPath = 'http://#/';

	for (var i=0; i<3; i++)
		res[i]=['<table height="20" width="74" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" background="http://www.altairdemo.com/menu/' + imagename,
			(i==1?'o':''),'.png" class=aa' + i + '>',text,'</td></tr></table>'
		].join('');
	return res;
}
function wrap3(text, imagename) {
	var res=[];
	var myPath = 'http://#/';

	for (var i=0; i<3; i++)
		res[i]=['<table height="20" width="89" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" background="http://www.altairdemo.com/menu/' + imagename,
			(i==1?'o':''),'.png" class=aa' + i + '>',text,'</td></tr></table>'
		].join('');
	return res;
}
function wrap4(text, imagename) {
	var res=[];
	var myPath = 'http://#/';

	for (var i=0; i<3; i++)
		res[i]=['<table height="20" width="113" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" background="http://www.altairdemo.com/menu/' + imagename,
			(i==1?'o':''),'.png" class=aa' + i + '>',text,'</td></tr></table>'
		].join('');
	return res;
}
function wrap5(text, imagename) {
	var res=[];
	var myPath = 'http://#/';

	for (var i=0; i<3; i++)
		res[i]=['<table height="20" width="97" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" background="http://www.altairdemo.com/menu/' + imagename,
			(i==1?'o':''),'.png" class=aa' + i + '>',text,'</td></tr></table>'
		].join('');
	return res;
}
function wrap6(text, imagename) {
	var res=[];
	var myPath = 'http://#/';

	for (var i=0; i<3; i++)
		res[i]=['<table height="20" width="107" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" background="http://www.altairdemo.com/menu/' + imagename,
			(i==1?'o':''),'.png" class=aa' + i + '>',text,'</td></tr></table>'
		].join('');
	return res;
}
function wrap7(text, imagename) {
	var res=[];
	var myPath = 'http://#/';

	for (var i=0; i<3; i++)
		res[i]=['<table height="20" width="59" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" background="http://www.altairdemo.com/menu/' + imagename,
			(i==1?'o':''),'.png" class=aa' + i + '>',text,'</td></tr></table>'
		].join('');
	return res;
}
function wrap8(text, imagename) {
	var res=[];
	var myPath = 'http://#/';

	for (var i=0; i<3; i++)
		res[i]=['<table height="20" width="48" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" background="http://www.altairdemo.com/menu/' + imagename,
			(i==1?'o':''),'.png" class=aa' + i + '>',text,'</td></tr></table>'
		].join('');
	return res;
}
function wrap9(text, imagename) {
	var res=[];
	var myPath = 'http://#/';

	for (var i=0; i<3; i++)
		res[i]=['<table height="20" width="77" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" background="http://www.altairdemo.com/menu/' + imagename,
			(i==1?'o':''),'.png" class=aa' + i + '>',text,'</td></tr></table>'
		].join('');
	return res;
}
function wrap10(text, imagename) {
	var res=[];
	var myPath = 'http://#/';

	for (var i=0; i<3; i++)
		res[i]=['<table height="20" width="92" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" background="http://www.altairdemo.com/menu/' + imagename,
			(i==1?'o':''),'.png" class=aa' + i + '>',text,'</td></tr></table>'
		].join('');
	return res;
}