var venues = [
	["Amway Grand Plaza Hotel", "amway_grand_plaza_hotel.htm"],
	["JW Marriott Grand Rapids", "jw_marriott_grand_rapids.htm"],
	["Downtown Courtyard<br/>by Marriott", "courtyard_by_marriott_downtown.htm"],
	["DeVos Place<br/>Convention Center", "devos_place_convention_center.htm"],
	["Van Andel Arena", "van_andel_arena.htm"]
];

var services = [
	["Dining", "dining.htm"],
	["Downtown City Map", "downtown_city_map.htm"],
	["Activities and Tours", "activities_and_tours.htm"],
	["Testimonials", "testimonials.htm"],
	["Request for Proposal", "request_for_proposal.aspx"],
	["Green Meetings", "green_meetings.htm"],
	["News &amp; Media", "media.htm"],
	["Let's Talk", "meeting_and_event_guru.htm"]
];

/*-----------------------------------------------------------------------------------*/
function drawVenueSideMenu(index) {
	drawSideMenu("venues", "../venues/index.htm", venues, index);
}

/*-----------------------------------------------------------------------------------*/
function drawServiceSideMenu(index) {
	drawSideMenu("services", "../services/index.htm", services, index);
}

/*-----------------------------------------------------------------------------------*/
function drawGtkSideMenu(index) {
	drawSideMenu(null, "../gettoknow/index.htm", [], index);
}

/*-----------------------------------------------------------------------------------*/
function drawSideMenu(title, url, list, index) {
	var html = ''
	
	html +=
		'<div style="background-color:#ffffff; width:770px; height:12px; position:absolute; top:-12px; left:0px;"></div>'+ //left:588px;
		(title ? '<p><a href="'+url+'" class="innerMenuTitle">'+title+'</a></p>' : '')+
		'<p class="innerMenuItemCurrent">';
		
	for ( var i = 0 ; i < list.length ; i++ ) {
		if ( i == index ) {
			html += '	'+list[i][0];
		}
		else {
			html += '	<a href="'+list[i][1]+'" class="innerMenuItemLink">'+list[i][0]+'</a>';
		}
		html += '<br/><br/>';
	}
	
	html +=
		'	<br/><br/>'+
		'</p>'+
		'<a href="../gettoknow/index.htm">'+
		'	<img src="../../images/inner_gettoknow.png" style="border:0px;" />'+
		'</a><br/><br/><br/><br/><br/><br/><br/><br/>';
	
	document.write(html);
}

/*-----------------------------------------------------------------------------------*/
function drawGrLogo() {
	var html =
		'<a href="http://www.downtowngr.org" target="_blank">'+
		'	<img src="../../images/inner_grlogo.png" style="position:absolute; right:131px; bottom:40px; z-index:1; border:0px;">'+
		'</a>';
	document.write(html);
}

