
var states = ['mout', 'mover', 'mdown'];
var bgcolors = ['#2A7621', '#6699cc', '#99ccff'];

var MENU_ITEMS =[
	["&nbsp;Store Home","index.php",null],
	["&nbsp;Our Cards", null,null,
		["&nbsp;Autographs","index.php?cPath=102"],
		["&nbsp;Baseball", "index.php?cPath=21"],
		["&nbsp;Basketball", "index.php?cPath=23"],
		["&nbsp;Boxing", "index.php?cPath=53"],
		["&nbsp;Football", "index.php?cPath=54"],
		["&nbsp;Golf", "index.php?cPath=55"],
		["&nbsp;Hockey", "index.php?cPath=56"],
		["&nbsp;Misc. Items", "index.php?cPath=108"],
		["&nbsp;Non-Sports Cards", "index.php?cPath=57"]
	],
	["&nbsp;Contact Us", "contact_us.php",null],
	["&nbsp;Information", null,null,
		["&nbsp;Privacy Policy", "privacy.php"],
		["&nbsp;Shipping Policy", "shipping.php"],
		["&nbsp;Show Calendar","show_calendar.php"],
		["&nbsp;Terms & Conditions", "conditions.php"]
	],
	["&nbsp;My Account", "account.php",null,
		["&nbsp;Login", "login.php"],
		["<hr width='94%' color='#444444' noshade>", null],
		["&nbsp;Account Info", "account_edit.php"],
		["&nbsp;Address Book", "address_book.php"],
		["&nbsp;Change Password", "account_password.php"],
		["&nbsp;Order History", "account_history.php"],
		["<hr width='94%' color='#444444' noshade>", null],
		["&nbsp;Newsletters", "account_newsletters.php"],
		["&nbsp;Notifications", "account_notifications.php"],
	],
	["&nbsp;Cart", null,null,
		["&nbsp;Cart Contents", "shopping_cart.php"],
		["&nbsp;Checkout", "checkout_shipping.php"]
	]
];


function wrap_parent (text, pos, icon) {
	var res = new Array;
	for (var i=0; i<states.length; i++)
		res[i] =  '<table cellpadding="1" cellspacing="0" border="0" bgcolor="#DBEAF5" width="100%"><tr><td><table cellpadding="2" cellspacing="0" border="0" width="100%" height="24" bgcolor="' + bgcolors[i] + '"><tr><td valign="middle" width="100%">&nbsp;' + (icon != null ? '<img src="img/'  + icon + '" height="16">&nbsp;' : '') + '<font face="tahoma, verdana, arial" color="black"><span style="font-size: 13px;">' + text + '</span></font></td><td valign="middle"><img src="img/' + states[i] + '_' + pos + 'arrow.gif" width="12" height="12"></td></tr></table></td></tr></table>';
	return res;
}
function wrap_child (text, icon) {
	var res = new Array;
	for (var i=0; i<states.length; i++)
		res[i] =  '<table cellpadding="0" cellspacing="0" border="0" bgcolor="#DBEAF5" width="100%"><tr><td><table cellpadding="3" cellspacing="1" border="0" width="100%" height="24"><tr><td bgcolor="' + bgcolors[i] + '" style="padding: 3px;" valign="middle">&nbsp;' + (icon != null ? '<img src="img/'  + icon + '" height="16" align="absmiddle">&nbsp;' : '') + '<font face="tahoma, verdana, arial" color="black"><span style="font-size: 12px;">' + text + '</span></font></td></tr></table></td></tr></table>';
	return res;
}