var MENU_ITEMS_XP = [
	[wrap_root('Home'), 'index.htm', {'sw' : 100}
	],
	[wrap_root('About Us'), null, {'sw' : 100},
		[wrap_child('About Us'), 'aboutus.htm', 
		],
		[wrap_child('Mission'), 'mission.htm', 
		],
		[wrap_child('Photos'), 'gallery.htm',
		],
		[wrap_child('Videos'), 'videos/flashvideo.htm',
		]
	],
	[wrap_root('Christmas Trees'), null, {'sw' : 130, 'bw' : 220}, 
		[wrap_child('How We Operate'), 'christmas_tree.htm',
		],
		[wrap_child('Plan Your Day'), 'plan_your_day.htm'
		],
		[wrap_child('Tree Species'), 'tree_types.htm',
		],
		[wrap_child('Wholesale Christmas Trees'), 'wholesale.htm',
		]
	],
	[wrap_root('Parties & Tours'), null,{'sw' : 130, 'bw' : 200},
		[wrap_child('Corporate Parties'), 'company_picnic.htm',
		],
		[wrap_child('School Tours'), 'christmas_tree_tours.htm',
		] 
	],
	[wrap_root('Your Page'), 'your_page.htm', {'sw' : 100}
	],
	[wrap_root('Tree Facts'), null,{'sw' : 100, 'bw' : 180},
		[wrap_child('Real vs. Artificial'), 'christmas_tree_real.htm',
		],
		[wrap_child('A Year in the Life...'),'year_in_the_life.htm',
		] 
	],
	[wrap_root('Contact Us'), null, {'sw' : 112, 'bw' : 150},
		[wrap_child('Email', 'email.gif'), 'mailto:jrsloan@rogers.com',
		],
		[wrap_child('Contact Info'), 'contact.htm',
		],
		[wrap_child('Map & Directions'), 'map.htm',
		],
	]
]; 
var ii0 = new Image(); ii0.src = 'menu_icons/arr.gif';
var ii1 = new Image(); ii1.src = 'menu_icons/email.gif';
var ii2 = new Image(); ii2.src = 'menu_icons/emerald.gif';
var ii3 = new Image(); ii3.src = 'menu_icons/home.gif';
var ii4 = new Image(); ii4.src = 'menu_files/pixel.gif';

function wrap_parent (text,icon) {
	return [['<table cellpadding=1 cellspacing=0 border=0 width=100%><tr><td bgcolor=#EFEDDE><img height=16 src=', icon !=null ? 'menu_icons/' + icon: 'menu_files/pixel.gif width=16', ' hspace=3></td><td width=100%><table cellpadding=1 cellspacing=0 border=0 width=100% height=22><tr><td class=a0>&nbsp; ', text, '</td></tr></table></td><td><img src=menu_icons/arr.gif width=4 height=7 align="middle" align=absmiddle hspace=3></td></tr></table>'].join(''),
	['<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#93A070><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=22 bgcolor=#CED1C3><tr><td><img height=16 src=', icon !=null ? 'menu_icons/' + icon: 'menu_files/pixel.gif width=16', ' hspace=3></td><td width=100% class=a0>&nbsp; ', text, '</td><td><img src=menu_icons/arr.gif width=4 height=7 align="middle" align=absmiddle hspace=3></td></tr></table></td></tr></table>'].join(''),
	['<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#93A070><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=22 bgcolor=#CED1C3><tr><td><img height=16 src=', icon !=null ? 'menu_icons/' + icon: 'menu_files/pixel.gif width=16', ' hspace=3></td><td width=100% class=a0>&nbsp; ', text, '</td><td><img src=menu_icons/arr.gif width=4 height=7 align="middle" align=absmiddle hspace=3></td></tr></table></td></tr></table>'].join('')
	];
}

function wrap_child (text,icon) {
	return [['<table cellpadding=1 cellspacing=0 border=0 width=100%><tr><td bgcolor=#EFEDDE><img height=16 src=', icon !=null ? 'menu_icons/' + icon: 'menu_files/pixel.gif width=15', ' hspace=3></td><td width=100%><table cellpadding=1 cellspacing=0 border=0 width=100% height=22><tr><td class=a0>&nbsp; ', text, '</td></tr></table></td></tr></table>'].join(''),
	['<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#93A070><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=22 bgcolor=#CED1C3><tr><td><img height=16 src=', icon !=null ? 'menu_icons/' + icon: 'menu_files/pixel.gif width=16', ' hspace=3></td><td width=99% class=a0>&nbsp; ', text, '</td></tr></table></td></tr></table>'].join(''),
	['<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#93A070><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=22 bgcolor=#CED1C3><tr><td><img height=16 src=', icon !=null ? 'menu_icons/' + icon: 'menu_files/pixel.gif width=16', ' hspace=3></td><td width=99% class=a0>&nbsp; ', text, '</td></tr></table></td></tr></table>'].join('')
	];
}

function wrap_root (text) {
	return [
	'<table cellpadding=1 cellspacing=0 border=0 width=100%><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100% height=21><tr><td width=100% class=a0 align="center">&nbsp; ' + text + ' &nbsp;</td></tr></table></td></tr></table>',
	'<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#93A070><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100% height=21><tr><td width=100% class=a1 align="center">&nbsp; ' + text + ' &nbsp;</td></tr></table></td></tr></table>',
	'<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#93A070><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100% height=21><tr><td width=100% class=a1 align="center">&nbsp; ' + text + ' &nbsp;</td></tr></table></td></tr></table>'
	];
}