/* --- menu items --- */
var webPath = '#';

var MENU1_ITEMS = [

	[wrap1(null, 'home'), 'webpages.asp?wpid=1', {'tt': '', 'sw':50, 'bw':155}],
	[wrap2(null, 'rings'), 'Item2Up.asp?WPID=16&DeptID=1&DeptAreaID=1', {'tt': '', 'sw':48, 'bw':155}],
	[wrap3(null, 'bracelets'), 'Item2Up.asp?WPID=17&DeptID=1&DeptAreaID=2', {'tt': '', 'sw':69, 'bw':155}],
	[wrap4(null, 'pendants'), 'Item2Up.asp?WPID=18&DeptID=1&DeptAreaID=3', {'tt': '', 'sw':68, 'bw':155}],
	[wrap5(null, 'earrings'), 'Item2Up.asp?WPID=19&DeptID=1&DeptAreaID=4', {'tt': '', 'sw':62, 'bw':155}],
	[wrap6(null, 'acts'), 'webpages.asp?wpid=15', {'tt': '', 'sw':51, 'bw':155}],
	[wrap7(null, 'newdesigns'), 'webpages.asp?wpid=14', {'tt': '', 'sw':85, 'bw':155}],
	[wrap8(null, 'services'), 'webpages.asp?wpid=21', {'tt': '', 'sw':63, 'bw':155}],	
	[wrap9(null, 'about'), 'webpages.asp?wpid=2', {'tt': '', 'sw':51, 'bw':155}],	
	[wrap10(null, 'contact'), 'webmail.asp?wpid=3', {'tt': '', 'sw':59, 'bw':155}]
];

function wrap1(text, imagename) {
	var res=[];
	var myPath = 'http://#/';

	for (var i=0; i<3; i++)
		res[i]=['<table height="21" width="50" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" background="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="21" width="48" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" background="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="21" width="69" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" background="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="21" width="68" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" background="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="21" width="62" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" background="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="21" width="51" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" background="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="21" width="85" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" background="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="21" width="63" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" background="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="21" width="51" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" background="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="21" width="59" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" background="menu/' + imagename,
			(i==1?'o':''),'.png" class=aa' + i + '>',text,'</td></tr></table>'
		].join('');
	return res;
}
