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

MENU_ITEMS0 = [

		[wrap_root('Guarantee'), 'guarantee.html', {'sw':110}],
		[wrap_root('In The News'), 'news.html', {'sw':80}],
		[wrap_root('Order Now!'), 'order.html', {'sw':80}],
		[wrap_root('View Shopping Cart'), 'https://secure.avotone.com/cgi-bin/UCEditor?merchantId=AVTX&Themecode=AVLS', {'sw':110}],
		[wrap_root('Affiliate Program'), 'affiliate.html', {'sw':80}],
		[wrap_root('Family of Products', null, 'r'), null, null,
			[wrap_child('Wrinkle Relaxant Cream', null), 'http://www.avotone.com',{'tw':'blank'}],
			[wrap_child('LegSheen', null), 'http://www.legsheen.com',{'tw':'blank'}],
			[wrap_child('BodySculpt', null), 'http://bodysculpt.avotone.com',{'tw':'blank'}]
		]
				

];


function wrap_child (text,icon,pos) {
	var res=[];
	for (var i=0; i<3; i++)
		res[i]='<table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td class="new">&nbsp;<img height=0 src=' + (icon != null ? 'images/' + icon + ' height=0': 'images/pixel.gif width=0') + '><td width=100% class="new"><font color="ffffff">&nbsp; ' + text + '</font></td>'+(pos?'<td>&nbsp;</td>':'')+'</tr></table>';
	return res;
}

function wrap_root (text) {
	var res=[]; for (var i=0; i<states.length; i++)
		res[i]='<table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td width=100% class="new" align="center"><font color="ffffff">&nbsp;' + text + '</font></td><td><img src=images/' + i + 'darrow.gif width=0 height=0 align=absmiddle>&nbsp;</td></tr></table>';
	return res;
}



