//STEP 1: Define dim/lit navigation tabs

//-- HOMES navigation tab
function menuItem0(page) {
  if (page == "homes") {
	document.write('<a href="/homes.html">');
	document.write('<img src="/images/btn_homes_lit.gif" alt="homes" name="homes" border="0">');
  } else {
	document.write('<a href="/homes.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'homes\',\'\',\'/images/btn_homes_lit.gif\',1)">');
	document.write('<img src="/images/btn_homes_dim.gif" alt="homes" name="homes" border="0">');
  }
}
//-- NEWS navigation tab
function menuItem1(page) {
  if (page == "news") {
	document.write('<a href="/news.html">');
	document.write('<img src="/images/btn_news_lit.gif" alt="news" name="news" border="0">');
  } else {
	document.write('<a href="/news.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'news\',\'\',\'/images/btn_news_lit.gif\',1)">');
	document.write('<img src="/images/btn_news_dim.gif" alt="news" name="news" border="0">');
  }
}
//-- PLANNING A COMMUNITY navigation tab
function menuItem2(page) {
  if (page == "planning") {
	document.write('<a href="/planning.html">');
	document.write('<img src="/images/btn_vision_lit.gif" alt="vision" name="planning" border="0">');
  } else {
	document.write('<a href="/planning.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'planning\',\'\',\'/images/btn_vision_lit.gif\',1)">');
	document.write('<img src="/images/btn_vision_dim.gif" alt="vision" name="planning" border="0">');
  }
}
//-- ABOUT US navigation tab
function menuItem3(page) {
  if (page == "about") {
	document.write('<a href="/about.html">');
	document.write('<img src="/images/btn_about_lit.gif" alt="about" name="about" border="0">');
  } else {
	document.write('<a href="/about.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'about\',\'\',\'/images/btn_about_lit.gif\',1)">');
	document.write('<img src="/images/btn_about_dim.gif" alt="about" name="about" border="0">');
  }
}
//-- INTERESTED? navigation tab
function menuItem4(page) {
  if (page == "interested") {
	document.write('<a href="/interested.html">');
	document.write('<img src="/images/btn_interested_lit.gif" alt="interested" name="interested" border="0">');
  } else {
	document.write('<a href="/interested.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'interested\',\'\',\'/images/btn_interested_lit.gif\',1)">');
	document.write('<img src="/images/btn_interested_dim.gif" alt="interested" name="interested" border="0">');
  }
}
//-- FAQS navigation tab
function menuItem5(page) {
  if (page == "faqs") {
	document.write('<a href="/faqs.html">');
	document.write('<img src="/images/btn_faqs_lit.gif" alt="faqs" name="faqs" border="0">');
  } else {
	document.write('<a href="/faqs.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'faqs\',\'\',\'/images/btn_faqs_lit.gif\',1)">');
	document.write('<img src="/images/btn_faqs_dim.gif" alt="faqs" name="faqs" border="0">');
  }
}

// STEP 2: Generate the navbar

//-- HOMES
//	document.write('<img src="/images/nav_btnLf.jpg" width="6" height="22" border="0">');
//	menuItem0(page)
//	document.write('</a>');
//	document.write('<img src="/images/nav_btnRt.jpg" width="7" height="22" border="0">');
//-- NEWS
	document.write('<img src="/images/nav_btnLf.jpg" width="6" height="22" border="0">');
	menuItem1(page)
	document.write('</a>');
	document.write('<img src="/images/nav_btnRt.jpg" width="7" height="22" border="0">');
//-- PLANNING A COMMUNITY
	document.write('<img src="/images/nav_btnLf.jpg" width="6" height="22" border="0">');
	menuItem2(page)
	document.write('</a>');
	document.write('<img src="/images/nav_btnRt.jpg" width="7" height="22" border="0">');
//-- ABOUT US
	document.write('<img src="/images/nav_btnLf.jpg" width="6" height="22" border="0">');
	menuItem3(page)
	document.write('</a>');
	document.write('<img src="/images/nav_btnRt.jpg" width="7" height="22" border="0">');
//-- INTERESTED?
	document.write('<img src="/images/nav_btnLf.jpg" width="6" height="22" border="0">');
	menuItem4(page)
	document.write('</a>');
	document.write('<img src="/images/nav_btnRt.jpg" width="7" height="22" border="0">');
//-- FAQs
//	document.write('<img src="/images/nav_btnLf.jpg" width="6" height="22" border="0">');
//	menuItem5(page)
//	document.write('</a>');
//	document.write('<img src="/images/nav_btnRt.jpg" width="7" height="22" border="0">');
