var MENU_ITEMS = [
	[wrap_parent('Choose Category...'), null, null,
		[wrap_header('PH Collection'),null,null],
		[wrap_ph('Plains'), "/ph/mplains.asp", null,
			[wrap_reg('Plain (Matching Sets)'),"/ph/plainsets.asp"],
			[wrap_reg('Plain'),"/ph/plainclassics.asp"]
		],
		[wrap_ph('Patterns'), "/ph/mpatterns.asp", null,
			[wrap_reg('Patterns (Matching Sets)'),"/ph/patternssets.asp"],
			[wrap_reg('Patterns'),"/ph/patternsplain.asp"],
			[wrap_reg('G Grooved (Matching Sets)'),"/ph/groovedpatternssets.asp"],
			[wrap_reg('G Grooved'),"/ph/groovedpatterns.asp"]
		],
		[wrap_ph('Two Colour'), "/ph/mtwocolour.asp", null,
			[wrap_reg('2 Colour (Matching Sets)'),"/ph/twocoloursets.asp"],
			[wrap_reg('2 Colour'),"/ph/twocolourplain.asp"]
		],
		[wrap_ph('With Diamonds'), "/ph/mwithdiamonds.asp", null,
			[wrap_reg('With Diamonds - 1 Colour'),"/ph/oneColourWithDiamonds.asp"],
			[wrap_reg('With Diamonds - 2 Colour'),"/ph/TwoColourWithDiamonds.asp"]
		],
		[wrap_ph('Platinum'),"/ph/mplatinum.asp", null,
			[wrap_reg('Platinum Variations'),"/ph/platinumvariations.asp"],
			[wrap_reg('Platinum With Diamonds'),"/ph/platinumwithdiamonds.asp"]
		],
		[wrap_header('X at PH'), null, null],
		[wrap_xph('Plain Variations'), "/x_at_ph/plainvariations.asp"],
		[wrap_xph('With Diamonds'), "/x_at_ph/diamonds.asp"],
		[wrap_xph('Sleeves'), "/x_at_ph/sleeves.asp"],
		[wrap_xph('Two Colour'), "/x_at_ph/2colour.asp"],
		[wrap_xph('Links'), "/x_at_ph/linksrings.asp"],
		[wrap_xph('RJ Collection'), "/x_at_ph/rjcollection.asp"]
	]
];




var md = new Image(); md.src = 'http://phrings.com/menu_files/img/mover_darrow.gif';
var md = new Image(); md.src = 'http://phrings.com/menu_files/img/left_darrow.gif';
var md = new Image(); md.src = 'http://phrings.com/menu_files/img/right_darrow.gif';

function wrap_parent (text) {
	return [
'<table background="http://phrings.com/images/bgd.jpg" cellpadding="1" cellspacing="0" border="0"><tr><td width="100%" height="15" style="font-family: Tahoma, Verdana; font-size: 11px; align:center; align:middle; color:#ffffff;">&nbsp; ' + text + '</td><td width="100%" height="15"><img src=http://phrings.com/menu_files/img/mover_darrow.gif width="12" height="12" align="left" valign="middle"></td></tr></table>',
'<table background="http://phrings.com/images/bgd.jpg" cellpadding="1" cellspacing="0" border="0" width="100%"><tr><td height="15" style="font-family: Tahoma, Verdana; font-size: 11px; align:center; align:middle; color:#808080;">&nbsp; ' + text + '</td></tr></table>',
'<table bgcolor="#A12446" cellpadding="1" cellspacing="0" border="0" width="100%"><tr><td height="15" style="font-family: Tahoma, Verdana; font-size: 11px; align:center; align:middle; color:#808080;">&nbsp; ' + text + '</td></tr></table>'
];

}

function wrap_header (text) {
	return [
'<table bgcolor="#000000" cellpadding="1" cellspacing="0" frame="hsides"><tr><td width="145" height="17" style="font-family: Tahoma, Verdana; font-size: 12px; font-weight:bold; text-align:center; align:middle; color:#ffffff;">&nbsp; ' + text + '</td></tr></table>',
'<table bgcolor="#000000" cellpadding="1" cellspacing="0" frame="hsides" width="145"><tr><td height="17" style="font-family: Tahoma, Verdana; font-size: 12px; font-weight:bold; text-align:center; align:middle; color:#ffffff;">&nbsp; ' + text + '</td></tr></table>',
'<table bgcolor="#000000" cellpadding="1" cellspacing="0" frame="hsides" width="145"><tr><td height="17" style="font-family: Tahoma, Verdana; font-size: 12px; font-weight:bold; text-align:center; align:middle; color:#ffffff;">&nbsp; ' + text + '</td></tr></table>'
];

}

function wrap_ph (text) {
	return [
'<table bgcolor="#A12446" cellpadding="1" cellspacing="0" frame="hsides"><tr><td><img src=http://phrings.com/menu_files/img/left_darrow.gif width="12" height="12" align="left" valign="middle"></td><td width="145" height="17" style="font-family: Tahoma, Verdana; font-size: 11px; text-align:right; align:middle; color:#ffffff;">&nbsp; ' + text + '</td></tr></table>',
'<table bgcolor="#A12446" cellpadding="1" cellspacing="0" frame="hsides" width="145"><tr><td height="17" style="font-family: Tahoma, Verdana; font-size: 12px; text-align:right; align:middle; color:#DCDCDC;">&nbsp; ' + text + '</td></tr></table>',
'<table bgcolor="#A12446" cellpadding="1" cellspacing="0" frame="hsides" width="145"><tr><td height="17" style="font-family: Tahoma, Verdana; font-size: 11px; text-align:right; align:middle; color:#808080;">&nbsp; ' + text + '</td></tr></table>'
];

}

function wrap_xph (text) {
	return [
'<table bgcolor="#A12446" cellpadding="1" cellspacing="0" frame="hsides"><tr><td width="145" height="17" style="font-family: Tahoma, Verdana; font-size: 11px; text-align:left; align:middle; color:#ffffff;">&nbsp; ' + text + '</td></tr></table>',
'<table bgcolor="#A12446" cellpadding="1" cellspacing="0" frame="hsides" width="145"><tr><td height="17" style="font-family: Tahoma, Verdana; font-size: 12px; text-align:left; align:middle; color:#DCDCDC;">&nbsp; ' + text + '</td></tr></table>',
'<table bgcolor="#A12446" cellpadding="1" cellspacing="0" frame="hsides" width="145"><tr><td height="17" style="font-family: Tahoma, Verdana; font-size: 11px; text-align:left; align:middle; color:#808080;">&nbsp; ' + text + '</td></tr></table>'
];

}

function wrap_reg (text) {
	return [
'<table bgcolor="#A12446" cellpadding="1" cellspacing="0" frame="hsides"><tr><td width="145" height="17" style="font-family: Tahoma, Verdana; font-size: 11px; text-align:left; align:middle; color:#ffffff;">&nbsp; ' + text + '</td></tr></table>',
'<table bgcolor="#A12446" cellpadding="1" cellspacing="0" frame="hsides" width="145"><tr><td height="17" style="font-family: Tahoma, Verdana; font-size: 12px; text-align:left; align:middle; color:#DCDCDC;">&nbsp; ' + text + '</td></tr></table>',
'<table bgcolor="#A12446" cellpadding="1" cellspacing="0" frame="hsides" width="145"><tr><td height="17" style="font-family: Tahoma, Verdana; font-size: 11px; text-align:left; align:middle; color:#808080;">&nbsp; ' + text + '</td></tr></table>'
];

}