var states = ['mout', 'mover', 'mdown'],

MENU_ITEMS2 = [
	[wrap_root('Phases'), 'property.asp',
		[]


	],
		[wrap_root('Floor Plans'), ,,
		['&nbsp; 1 Bedroom', '1bedfloor.asp'],
		['&nbsp; 2 Bedroom', '2bedfloor.asp'],
		['&nbsp; 3 Bedroom', '3bedfloor.asp'],
		['&nbsp; 4 Bedroom', '4bedfloor.asp']

	],	
			[wrap_root('Availability'), 'availability.asp?block=6',
		[]


	],	
			[wrap_root('Kitchens'), 'kitchens.asp',
		[]


	],	
			[wrap_root('Location'), 'location.asp',
		[]


	],	
	[wrap_root('Gallery'), , ,
	
				[wrap_root('Phase B'),,,
				['&nbsp;Apr 2009', 'galleryapr2009.asp'],
				['&nbsp;Mar 2009', 'gallerymar2009.asp'],
				['&nbsp;Feb 2009', 'galleryfeb09.asp'],
				['&nbsp;Jan 2009', 'galleryjan09.asp'],
				['&nbsp;Dec 2008', 'gallerydec2008.asp'],
				['&nbsp;Nov 2008', 'gallerynov2008.asp'],
				['&nbsp;Oct 2008', 'galleryoct2008.asp']
			],
		
		
		[wrap_root('Phase A'),,,
			
 		['&nbsp; Completion', 'gallerycompletiona.asp'],
 		['&nbsp; Apartment', 'gallerysampapt.asp'],
		['&nbsp; Jul 2007', 'galleryjul2007.asp'],
 		['&nbsp; Jun 2007', 'galleryjun2007.asp'],
 		['&nbsp; May 2007', 'gallerymay2007.asp'],
 		['&nbsp; Apr 2007', 'galleryapr2007.asp'], 
 		['&nbsp; Mar 2007', 'gallerymar2007.asp'],
		['&nbsp; Feb 2007', 'galleryfeb2007.asp'],
		['&nbsp; Jan 2007', 'galleryjan2007.asp'],
		['&nbsp; Dec 2006', 'gallerydec2006.asp'],
		['&nbsp; Nov 2006', 'gallerynov06.asp']
		
		
		],
		

	],
			[wrap_root('Video'), 'video.asp',
		[]



	],	
			[wrap_root('Web Cam'), 'webcam.asp',
		[]


	]
];
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 ? 'icons/'+icon : 'menu_files/pixel') + '.gif" align="absmiddle">'), ' ', text, '</td>', pos?['<td nowrap>&nbsp;<img src="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="icons/', i, 'rarrow.gif" width="12" height="12" align="absmiddle">&nbsp;'].join('');
	return res;
}
