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

MENU_ITEMS0 = [
	[wrap_root('Philatelic Auctions'), 'http://www.prestigephilately.com/catalogue.php?auctionnum=158', {'sb' : 'Prestige Philately','sw' : 132},
		[wrap_par('Auction 158'), 'http://www.prestigephilately.com/catalogue.php?auctionnum=158'],
		[wrap_par('Phone Bidding'), 'http://www.prestigephilately.com/services/phone.php'],
		[wrap_par('Previous Public Auctions'), 'http://www.prestigephilately.com/generala.php'],
		[wrap_par('Rarities Auctions'), 'http://www.prestigephilately.com/inter_rar.php'],
		[wrap_par('Specialist Auctions'), 'http://www.prestigephilately.com/speciala.php'],
		[wrap_par('Archived Auctions'), 'http://www.prestigephilately.com/archa.php'],
		[wrap_par('Thinking of Selling'), 'http://www.prestigephilately.com/think_sell.php'],
		[wrap_par('Buyers Terms of Sale'), 'http://www.prestigephilately.com/services/terms.php'],
		[wrap_par('Symbols & Gradings'), 'http://www.prestigephilately.com/symbols.php'],
	],
	[wrap_root('Online Bidding'), 'http://www.prestigephilately.com/catalogue.php?auctionnum=158', {'sw' : 110, 'sb' : 'Prestige Philately', 'bw' : 180},
		[wrap_par('Auction 158 Listings', 1), 'http://www.prestigephilately.com/catalogue.php?auctionnum=158', null,
				['&nbsp;List by Lot', 'http://www.prestigephilately.com/catbylot.php?auctionnum=158'],
				['&nbsp;List by Country', 'http://www.prestigephilately.com/catbycountry.php?auctionnum=158'],
				['&nbsp;List by Theme', 'http://www.prestigephilately.com/catbytheme.php?auctionnum=158'],
		],
		[wrap_par('My Bidsheet'), 'http://www.prestigephilately.com/catalogue.php?auctionnum=158'],
		[wrap_par('My WATCH Lists'), 'http://www.prestigephilately.com/mylists.php'],
		[wrap_par('Register'), 'http://www.prestigephilately.com/register.php'],
		[wrap_par('Login'), 'http://www.prestigephilately.com/login.php'],
		[wrap_par('Lost Password'), 'http://www.prestigephilately.com/forgotten.php'],
		[wrap_par('My Details'), 'http://www.prestigephilately.com/login.php'],
		[wrap_par('Change Contact Details'), 'http://www.prestigephilately.com/edit_details.php'],
		[wrap_par('e-Vendor Advice'), 'http://www.prestigephilately.com/vendorsheet.php'],
		[wrap_par('My Auction Results'), 'http://www.prestigephilately.com/results.php'],
		[wrap_par('Mail Register'), 'http://www.prestigephilately.com/mailreg.php'],
		[wrap_par('My Wants List'), 'http://www.prestigephilately.com/want_list.php'],
	],
	[wrap_root('Sell with Us'), 'http://www.prestigephilately.com/service/vterms.php', {'sw' : 92, 'sb' : 'Prestige Philately', 'bw' : 180},
		[wrap_par('Vendor Terms'), 'http://www.prestigephilately.com/services/vterms.php'],
		[wrap_par('What Happens Now'), 'http://www.prestigephilately.com/vendor_cycle.php'],
		[wrap_par('Prestige Difference'), 'http://www.prestigephilately.com/difference.php'],
		[wrap_par('Contact Us to Sell'), 'http://www.prestigephilately.com/contact_sell.php'],
	],
	[wrap_root('philatelybooks.com'),'http://www.philatelybooks.com/', {'sw' : 135, 'sb' : 'Prestige Philately', 'bw' : 180},
		[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('Articles'), 'http://www.prestigephilately.com/services/index2.php', {'sw' : 70, 'sb' : 'Prestige Philately', 'bw' : 180},
		[wrap_par('Auction Articles'), 'http://www.prestigephilately.com/services/index2.php'],
			[wrap_par('Other Articles', 1), 'http://www.prestigephilately.com/services/index.php', null,
				['&nbsp; by Gary Watson', 'http://www.prestigephilately.com/services/index.php'],
				['&nbsp; by Other Authors', 'http://www.prestigephilately.com/services/indexo.php'],
		],
		[wrap_par('Stampwealth'), 'http://www.prestigephilately.com/stampwealth.php'],
		[wrap_par('Podcasts'), 'http://www.prestigephilately.com/podcast.php'],
	],
	[wrap_root('Resources'), 'http://www.prestigephilately.com/sitemap.php', {'sw' : 81, 'sb' : 'Prestige Philately', 'bw' : 180},
		[wrap_par('Sitemap'), 'http://www.prestigephilately.com/sitemap.php'],
		[wrap_par('About Us'), 'http://www.prestigephilately.com/aboutus.php'],
		[wrap_par('What our Clients say'), 'http://www.prestigephilately.com/services/potb.php'],
		[wrap_par('FAQs'), 'http://www.prestigephilately.com/services/faq.php'],
		[wrap_par('PhilaFinder'), 'http://www.prestigephilately.com/search.php'],
		[wrap_par('Prestige Clock'), 'http://www.prestigephilately.com/clock.php'],
		[wrap_par('Currency Converter'), 'http://www.prestigephilately.com/currency.php'],
		[wrap_par('DayCheck'), 'http://www.prestigephilately.com/calendar.php'],
		[wrap_par('Podcasts'), 'http://www.prestigephilately.com/podcast.php'],
	],
	[wrap_root('&nbsp;<img src="jscripts/menu_files/icons/email.gif" height=16 width=15 align="absmiddle">&nbsp;Feedback'), 'http://www.prestigephilately.com/customer_service.php', {'sw' : 80, 'sb' : 'Prestige Philately', 'bw' : 140},
		[wrap_par('What our Clients say'), 'http://www.prestigephilately.com/services/potb.php'],
		[wrap_par('&nbsp;<img src="jscripts/menu_files/icons/email.gif" height=16 width=15 align="absmiddle">&nbsp;Email Us'), 'http://www.prestigephilately.com/customer_service.php'],
		
	]
];

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;
}
