var sPath = window.location.pathname;
var sPage = sPath.substring(sPath.lastIndexOf('/') + 1);

nav =  '<!-- logo/nav -->'
nav += '<tr><td width="100" valign="top"><img src="graphics/logo.gif" width="175" height="86" border="0"></td><td width="90"><img src="graphics/logofill.gif" width="90" height="86" border="0"></td>'

nav += '<td>'
nav += '<table border="0" cellspacing="0" cellpadding="0">'
nav += '<tr><td colspan="7" bgcolor="#000033" height="70" width="496"><center><font color="#AF8E6D" size="+1" face="Verdana, Arial, Helvetica, sans-serif">See Us Today, Because Your Smile Is Forever!</font></center></td></tr>'
nav += '<tr><td bgcolor="#AF8E6D" width="496">'

if (sPage == "home.html" || sPage == "index.html" || sPage == "")
 {
nav += '<a href="home.html"><font color="#000033" size="-2">&nbsp;&nbsp;&nbsp; HOME </font></a>&nbsp;&nbsp; | '
 }
else
 {
nav += '<a href="home.html"><font size="-2">&nbsp;&nbsp;&nbsp; HOME </font></a>&nbsp;&nbsp; | '
 }

if (sPage == "services.html" || sPage == "")
 {
nav += '<a href="services.html"><font color="#000033" size="-2">&nbsp;&nbsp;&nbsp; SERVICES</font></a>&nbsp;&nbsp; | '
 }
else
 {
nav += '<a href="services.html"><font size="-2">&nbsp;&nbsp;&nbsp; SERVICES </font></a>&nbsp;&nbsp; | '
 }

if (sPage == "about_us.html" || sPage == "")
 {
nav += '<a href="about_us.html"><font color="#000033" size="-2">&nbsp;&nbsp; ABOUT US</font></a>&nbsp;&nbsp; | '
 }
else
 {
nav += '<a href="about_us.html"><font size="-2">&nbsp;&nbsp; ABOUT US</font></a>&nbsp;&nbsp; | '
 }

if (sPage == "contact_us.html" || sPage == "")
 {
nav += '<a href="contact_us.html"><font color="#000033" size="-2">&nbsp;&nbsp; CONTACT US</font></a>&nbsp;&nbsp; | '
 }
else
 {
nav += '<a href="contact_us.html"><font size="-2">&nbsp;&nbsp; CONTACT US</font></a>&nbsp;&nbsp; | '
 }

if (sPage == "faq.html" || sPage == "")
 {
nav += '<a href="faq.html"><font color="#000033" size="-2">&nbsp;&nbsp; FAQ</font></a></font>'
 }
else
 {
nav += '<a href="faq.html"><font size="-2">&nbsp;&nbsp; FAQ</font></a></font>'
 }

nav += '</td></tr></table></td></tr>'
document.write(nav);



