var states = ['mout', 'mover', 'mdown'],

MENU_ITEMS0 = [

	
	[wrap_root(' Online Ordering'), 'http://www.philatelybooks.com', {'sw' : 120, 'sb' : 'Prestige Philately', 'bw' : 190},
		[wrap_par('View my Shopping Cart'), 'http://www.philatelybooks.com/show_cart.php'],
		[wrap_par('Go to Check Out'), 'https://www.philatelybooks.com/checkout.php'],
		[wrap_par('View my Order Status'), 'http://www.philatelybooks.com/order_status.php'],
		[wrap_par('Online Help'), 'http://www.philatelybooks.com/help.php'],
		[wrap_par('View Books by Country'), 'http://www.philatelybooks.com/cat_area.php'],
		[wrap_par('View Books by Theme'), 'http://www.philatelybooks.com/cat_theme.php'],
	],
	[wrap_root(' Book Categories'), 'http://www.philatelybooks.com', {'sb' : 'Prestige Philately','sw' : 125, 'bw' : 190},
		[wrap_par('View Books by Country'), 'http://www.philatelybooks.com/cat_area.php'],
		[wrap_par('View Books by Theme'), 'http://www.philatelybooks.com/cat_theme.php'],
		[wrap_par('New Releases'), 'http://www.philatelybooks.com/show_cat.php?catid=74&type=2'],
	],
	[wrap_root(' Book Auction '), 'http://www.philatelybooks.com/auctions/catalogue.php?auctionnum=308', {'sw' : 130, 'sb' : 'PhilatelyBooks Auction', 'bw' : 190},
		[wrap_par('Current Auction Listings', 1), 'http://www.philatelybooks.com/auctions/catalogue.php?auctionnum=308', null,
				['&nbsp;List by Lot', 'http://www.philatelybooks.com/auctions/catbylot.php?auctionnum=308'],
				['&nbsp;List by Country', 'http://www.philatelybooks.com/auctions/catbycountry.php?auctionnum=308'],
				['&nbsp;List by Theme', 'http://www.philatelybooks.com/auctions/catbytheme.php?auctionnum=308'],
		],
		[wrap_par('Register'), 'http://www.philatelybooks.com/auctions/register.php'],
		[wrap_par('Login'), 'http://www.philatelybooks.com/auctions/login.php'],
		[wrap_par('Lost Password'), 'http://www.philatelybooks.com/auctions/forgotten.php'],
		[wrap_par('My Details'), 'http://www.philatelybooks.com/auctions/login.php'],
		[wrap_par('Change Contact Details'), 'http://www.philatelybooks.com/auctions/edit_details.php'],
		[wrap_par('My Bidsheet'), 'http://www.philatelybooks.com/auctions/bidsheet.php'],
		[wrap_par('My Watch This Lists'), 'http://www.philatelybooks.com/auctions/mylists.php'],
		[wrap_par('My Auction Results'), 'http://www.philatelybooks.com/auctions/results.php'],
	
	],
	
	[wrap_root('Online Resources'), 'http://www.philatelybooks.com/index.php', {'sw' : 125, 'sb' : 'Prestige Philately', 'bw' : 180},
		[wrap_par('Security'), 'http://www.philatelybooks.com/full_sec.php'],
		[wrap_par('Search Engine'), 'http://www.philatelybooks.com/sea_eng.php'],
		[wrap_par('Nicks Reviews'), 'http://www.philatelybooks.com/nic_rev.php'],
		[wrap_par('User Reviews'), 'http://www.philatelybooks.com/use_rev.php'],
		[wrap_par('Gift Vouchers'), 'http://www.philatelybooks.com/gif_vou.php'],
		[wrap_par('Feature Books'), 'http://www.philatelybooks.com/fea_boo.php'],
		[wrap_par('Book News'), 'http://www.philatelybooks.com/boo_new.php'],
	],
	
	[wrap_root('prestigephilately'), 'http://www.prestigephilately.com', {'sw' : 122, 'sb' : 'Prestige Philately', 'bw' : 190},
		[wrap_par('Current Auction'), 'http://www.prestigephilately.com/catalogue.php?auctionnum=168'],
		[wrap_par('Previous Auctions'), 'http://www.prestigephilately.com/generala.php'],
	],
	['&nbsp;<img src="jscripts/menu_files/icons/email.gif" height=16 width=15 align="absmiddle">&nbsp;Feedback', 'http://www.philatelybooks.com/customer_service.php', {'sw' : 94} 
	]
];

function wrap_par (text,pos, icon) {
	var res=[];
	for (var i=0; i<3; i++)
		res[i]=['<table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td width=100% class="minner">&nbsp;', icon == null ? '' : ('<img height="16" width="15" src="' + (icon ? 'jscripts/menu_files/icons/'+icon : 'menu_files/pixel') + '.gif" align="absmiddle">'), ' ', text, '</td>', pos?['<td nowrap>&nbsp;<img src="jscripts/menu_files/icons/', i, 'rarrow.gif" width=12 height=12 align="absmiddle">&nbsp;</td>'].join(''):'', '</tr></table>'].join('');
	return res;
}

function wrap_root (text) {
	var res = []; 
	for (var i=0; i<3; i++)
		res[i] = ['&nbsp;', text, '&nbsp;<img src="jscripts/menu_files/icons/', i, 'darrow.gif" width="12" height="12" align="absmiddle">&nbsp;'].join('');
	return res;
}

