BLANK_IMAGE = 'images/b.gif';

var STYLE = {
	border:0,			// item's border width, pixels; zero means "none"
	shadow:0,			// item's shadow size, pixels; zero means "none"
	color:{
		border:"#666666",	// color of the item border, if any
		shadow:"#DBD8D1",	// color of the item shadow, if any
		bgON:"white",		// background color for the items
		bgOVER:"#B6BDD2"	// background color for the item which is under mouse right now
	},
	css:{
		ON:"clsCMOn",		// CSS class for items
		OVER:"clsCMOver"	// CSS class  for item which is under mouse
	}
};

var nav_home_selected = "";
var nav_about_selected = "";
var nav_floorplans_selected = "";
var nav_amenities_selected = "";
var nav_links_selected = "";
var nav_contact_selected = "";

if (document.location.href.match("index.html"))
{	var nav_home_selected = "_on";}
else if (document.location.href.match("overview.html"))
{	var nav_about_selected = "_on";}
else if (document.location.href.match("staff.html"))
{	var nav_about_selected = "_on";}
else if (document.location.href.match("floorplans.html"))
{	var nav_floorplans_selected = "_on";}
else if (document.location.href.match("amenities_in.html"))
{	var nav_amenities_selected = "_on";}
else if (document.location.href.match("amenities_around.html"))
{	var nav_amenities_selected = "_on";}
else if (document.location.href.match("amenities_services.html"))
{	var nav_amenities_selected = "_on";}
else if (document.location.href.match("links.html"))
{	var nav_links_selected = "_on";}
else if (document.location.href.match("contact.html"))
{	var nav_contact_selected = "_on";}
else if(document.location.href.match("form_info.php"))
{	var nav_contact_selected = "_on";}
else if(document.location.href.match("mailto.php"))
{	var nav_contact_selected = "_on";}
else
{	var nav_home_selected = "_on";}


var MENU_ITEMS = [
	{pos:[0,79], itemoff:[0,75], leveloff:[23,0], style:STYLE, size:[23,73]},
	{code:"<img src='images/nav_home" + nav_home_selected + ".gif' width='73' height='23' border='0'>",ocode:"<img src='images/nav_home_on.gif' width='73' height='23' border='0'>",url:"index.html", format:{size:[23,73]}},
	{code:"<img src='images/nav_about" + nav_about_selected + ".gif' width='76' height='23' border='0'>",ocode:"<img src='images/nav_about_on.gif' width='76' height='23' border='0'>",url:"overview.html", format:{itemoff:[0,73], size:[23,76]},
		sub:[
			{itemoff:[20,0]},
			{code:"<img src='images/nav_about_overview_off.gif' width='101' height='19' border='0'>", ocode:"<img src='images/nav_about_overview_on.gif' width='101' height='19' border='0'>",url:"overview.html", format:{itemoff:[20,0], size:[19,101]}},
			{code:"<img src='images/nav_about_staff_off.gif' width='101' height='18' border='0'>", ocode:"<img src='images/nav_about_staff_on.gif' width='101' height='18' border='0'>",url:"staff.html", format:{itemoff:[19,0], size:[18,101]}}
		]
	},
	{code:"<img src='images/nav_floorplans" + nav_floorplans_selected + ".gif' width='96' height='23' border='0'>",ocode:"<img src='images/nav_floorplans_on.gif' width='96' height='23' border='0'>",url:"floorplans.html", format:{itemoff:[0,76], size:[23,96]}},
	{code:"<img src='images/nav_amenities" + nav_amenities_selected + ".gif' width='75' height='23' border='0'>",ocode:"<img src='images/nav_amenities_on.gif' width='75' height='23' border='0'>",url:"amenities_in.html", format:{itemoff:[0,96], size:[23,75]},
		sub:[
			{itemoff:[20,0]},
			{code:"<img src='images/nav_amenities_in_off.gif' width='116' height='19' border='0'>",ocode:"<img src='images/nav_amenities_in_on.gif' width='116' height='19' border='0'>",url:"amenities_in.html", format:{itemoff:[20,0], size:[19,116]}},
			{code:"<img src='images/nav_amenities_around_off.gif' width='116' height='18' border='0'>",ocode:"<img src='images/nav_amenities_around_on.gif' width='116' height='18' border='0'>",url:"amenities_around.html",  format:{itemoff:[19,0], size:[18,116]}},
			{code:"<img src='images/nav_amenities_serv_off.gif' width='116' height='18' border='0'>", ocode:"<img src='images/nav_amenities_serv_on.gif' width='116' height='18' border='0'>",url:"amenities_services.html", format:{itemoff:[18,0], size:[18,116]}}
		]
	},
	{code:"<img src='images/nav_links" + nav_links_selected + ".gif' width='75' height='23' border='0'>",ocode:"<img src='images/nav_links_on.gif' width='75' height='23' border='0'>",url:"links.html", format:{itemoff:[0,75], size:[23,75]}},
	{code:"<img src='images/nav_contact" + nav_contact_selected + ".gif' width='75' height='23' border='0'>",ocode:"<img src='images/nav_contact_on.gif' width='75' height='23' border='0'>",url:"contact.html", format:{itemoff:[0,75], size:[23,75]}}
];

