﻿var sPath = window.location.pathname;
var sPage = sPath.substring(sPath.lastIndexOf('/') + 1);

document.write('        <tr> ');
document.write('          <td width="182"> <table width="200" border="0" cellpadding="0" cellspacing="0">');
document.write('              <tr> ');

/* Home */
document.write('                <td width="183" height="30" bgcolor="#ffffff"><img src="images/clear.gif" WIDTH="1" HEIGHT="30"></td>');
document.write('              </tr>');
document.write('              <tr> ');
if ((sPage == "index.htm") || (sPage == ""))
	{document.write('                <td width="183" height="20" bgcolor="#FFc0c0" valign="center" align="left" ><img src="images/clear.gif" WIDTH="24" HEIGHT="8"><a style="text-decoration:none;" href="index.htm"><span class="nav">Home</span></a></td>');}
else
	{document.write('                <td width="183" height="20" bgcolor="#FFFFFF" valign="center" align="left" ><img src="images/clear.gif" WIDTH="24" HEIGHT="8"><a style="text-decoration:none;" href="index.htm"><span class="nav">Home</span></a></td>');}
document.write('              </tr>');
document.write('              <tr> ');

/* Termite Elimination */
document.write('                <td width="183" height="1" bgcolor="#FF0000"><img src="images/clear.gif" WIDTH="25" HEIGHT="1"></td>');
document.write('              </tr>');
document.write('              <tr> ');
if (sPage == "termites.htm")
	{document.write('                <td width="183" height="20" bgcolor="#ffc0c0" valign="center" align="left" ><img src="images/clear.gif" WIDTH="24" HEIGHT="8"><a style="text-decoration:none;" href="termites.htm"><span class="nav">Termite Elimination</span></a></td>');}
else
	{document.write('                <td width="183" height="20" bgcolor="#ffffff" valign="center" align="left" ><img src="images/clear.gif" WIDTH="24" HEIGHT="8"><a style="text-decoration:none;" href="termites.htm"><span class="nav">Termite Elimination</span></a></td>');}
document.write('              </tr>');
document.write('              <tr> ');

/* Ant Elimination */
document.write('                <td width="183" height="1" bgcolor="#FF0000"><img src="images/clear.gif" WIDTH="25" HEIGHT="1"></td>');
document.write('              </tr>');
document.write('              <tr> ');
if (sPage == "ants.htm")
	{document.write('                <td width="183" height="20" bgcolor="#ffc0c0" valign="center" align="left" ><img src="images/clear.gif" WIDTH="24" HEIGHT="8"><a style="text-decoration:none;" href="ants.htm"><span class="nav">Ant Elimination </span></a></td>');}
else
	{document.write('                <td width="183" height="20" bgcolor="#ffffff" valign="center" align="left" ><img src="images/clear.gif" WIDTH="24" HEIGHT="8"><a style="text-decoration:none;" href="ants.htm"><span class="nav">Ant Elimination </span></a></td>');}
document.write('              </tr>');
document.write('              <tr> ');

/* Tick Control */
document.write('                <td width="183" height="1" bgcolor="#FF0000"><img src="images/clear.gif" WIDTH="25" HEIGHT="1"></td>');
document.write('              </tr>');
document.write('              <tr> ');
if (sPage == "ticks.htm")
	{document.write('                <td width="183" height="20" bgcolor="#ffc0c0" valign="center" align="left" ><img src="images/clear.gif" WIDTH="24" HEIGHT="8"><a style="text-decoration:none;" href="ticks.htm"><span class="nav">Tick Control </span></a></td>');}
else
	{document.write('                <td width="183" height="20" bgcolor="#ffffff" valign="center" align="left" ><img src="images/clear.gif" WIDTH="24" HEIGHT="8"><a style="text-decoration:none;" href="ticks.htm"><span class="nav">Tick Control </span></a></td>');}
document.write('              </tr>');
document.write('              <tr> ');

/* Rodent Control */
document.write('                <td width="183" height="1" bgcolor="#FF0000"><img src="images/clear.gif" WIDTH="25" HEIGHT="1"></td>');
document.write('              </tr>');
document.write('              <tr> ');
if (sPage == "rodents.htm")		
	{document.write('                <td width="183" height="20" bgcolor="#ffc0c0" valign="center" align="left" ><img src="images/clear.gif" WIDTH="24" HEIGHT="8"><a style="text-decoration:none;" href="rodents.htm"><span class="nav">Rodent Control');}
else
	{document.write('                <td width="183" height="20" bgcolor="#ffffff" valign="center" align="left" ><img src="images/clear.gif" WIDTH="24" HEIGHT="8"><a style="text-decoration:none;" href="rodents.htm"><span class="nav">Rodent Control');}
document.write('                  </span></a></td>');
document.write('              </tr>');
document.write('              <tr> ');

/* Wildlife Control */
document.write('                <td width="183" height="1" bgcolor="#FF0000"><img src="images/clear.gif" WIDTH="25" HEIGHT="1"></td>');
document.write('              </tr>');
document.write('              <tr> ');
if (sPage == "wildlife.htm")		
	{document.write('                <td width="183" height="20" bgcolor="#ffc0c0" valign="center" align="left" ><img src="images/clear.gif" WIDTH="24" HEIGHT="8"><a style="text-decoration:none;" href="wildlife.htm"><span class="nav">Wildlife Control </span></a></td>');}
else
	{document.write('                <td width="183" height="20" bgcolor="#ffffff" valign="center" align="left" ><img src="images/clear.gif" WIDTH="24" HEIGHT="8"><a style="text-decoration:none;" href="wildlife.htm"><span class="nav">Wildlife Control </span></a></td>');}
document.write('              </tr>');
document.write('              <tr> ');

/* Bed Bugs
document.write('                <td width="183" height="1" bgcolor="#FF0000"><img src="images/clear.gif" WIDTH="25" HEIGHT="1"></td>');
document.write('              </tr>');
document.write('              <tr> ');
if (sPage == "bedbugs.htm")		
	{document.write('                <td width="183" height="20" bgcolor="#ffc0c0" valign="center" align="left" ><img src="images/clear.gif" WIDTH="24" HEIGHT="8"><a style="text-decoration:none;" href="bedbugs.htm"><span class="nav">Bed Bugs </span></a></td>');}
else
	{document.write('                <td width="183" height="20" bgcolor="#ffffff" valign="center" align="left" ><img src="images/clear.gif" WIDTH="24" HEIGHT="8"><a style="text-decoration:none;" href="bedbugs.htm"><span class="nav">Bed Bugs </span></a></td>');}
document.write('              </tr>');
document.write('              <tr> ');
*/

/* Our Services */
document.write('                <td width="183" height="1" bgcolor="#FF0000"><img src="images/clear.gif" WIDTH="1" HEIGHT="1"></td>');
document.write('              </tr>');
document.write('              <tr> ');
if (sPage == "service.htm")		
	{document.write('                <td width="183" height="22" bgcolor="#ffc0c0" valign="center" align="left" ><img src="images/clear.gif" WIDTH="24" HEIGHT="8"><a style="text-decoration:none;" href="service.htm"><span class="nav">Our Services  ');}
else
	{document.write('                <td width="183" height="22" bgcolor="#ffffff" valign="center" align="left" ><img src="images/clear.gif" WIDTH="24" HEIGHT="8"><a style="text-decoration:none;" href="service.htm"><span class="nav">Our Services  ');}
document.write('                  </span></a></td>');
document.write('              </tr>');
document.write('              <tr> ');

/* Inspections */
document.write('                <td width="183" height="1" bgcolor="#FF0000"><img src="images/clear.gif" WIDTH="1" HEIGHT="1"></td>');
document.write('              </tr>');
document.write('              <tr> ');
if (sPage == "reports.htm")		
	{document.write('                <td height="20" bgcolor="#ffc0c0" valign="center" align="left" ');}
else
	{document.write('                <td height="20" bgcolor="#ffffff" valign="center" align="left" ');}
document.write('				><img src="images/clear.gif" WIDTH="24" HEIGHT="8"><a style="text-decoration:none;" href="reports.htm"><span class="nav">Inspections </span></a></td>');
document.write('              </tr>');
document.write('              <tr> ');

/* Pest Library */
document.write('                <td height="1" bgcolor="#ff0000"><img src="images/clear.gif" WIDTH="25" HEIGHT="1"></td>');
document.write('              </tr>');
document.write('              <tr> ');
if (sPage == "other.htm")		
	{document.write('                <td height="20" bgcolor="#ffc0c0" valign="center" align="left" ><img src="images/clear.gif" WIDTH="24" HEIGHT="8"><a style="text-decoration:none;" href="other.htm"><span class="nav">Pest Library</span></a></td>');}
else
	{document.write('                <td height="20" bgcolor="#ffffff" valign="center" align="left" ><img src="images/clear.gif" WIDTH="24" HEIGHT="8"><a style="text-decoration:none;" href="other.htm"><span class="nav">Pest Library</span></a></td>');}
document.write('              </tr>');
document.write('              <tr> ');

/* Request Quote */
document.write('                <td height="1" bgcolor="#FF0000"><img src="images/clear.gif" WIDTH="1" HEIGHT="1"></td>');
document.write('              </tr>');
document.write('              <tr> ');
if (sPage == "quoterequest.htm")		
	{document.write('                <td height="20" bgcolor="#ffc0c0" valign="center" align="left" ><img src="images/clear.gif" WIDTH="24" HEIGHT="8"><a style="text-decoration:none;" href="quoterequest.htm"><span class="nav">Request Quote</span></a></td>');}
else
	{document.write('                <td height="20" bgcolor="#ffffff" valign="center" align="left" ><img src="images/clear.gif" WIDTH="24" HEIGHT="8"><a style="text-decoration:none;" href="quoterequest.htm"><span class="nav">Request Quote</span></a></td>');}
document.write('              </tr>');
document.write('			  <tr> ');

/* Make A Payment */
document.write('                <td height="1" bgcolor="#FF0000"><img src="images/clear.gif" WIDTH="1" HEIGHT="1"></td>');
document.write('              </tr>');
document.write('              <tr> ');
if (sPage == "makepayment.htm")		
	{document.write('                <td height="20" bgcolor="#ffc0c0" valign="center" align="left" ><img src="images/clear.gif" WIDTH="24" HEIGHT="8"><a style="text-decoration:none;" href="makepayment.htm"><span class="nav">Make a Payment</span></a></td>');}
else
	{document.write('                <td height="20" bgcolor="#ffffff" valign="center" align="left" ><img src="images/clear.gif" WIDTH="24" HEIGHT="8"><a style="text-decoration:none;" href="makepayment.htm"><span class="nav">Make a Payment</span></a></td>');}
document.write('              </tr>');
document.write('			  <tr> ');

/* Newsletters
document.write('                <td height="1" bgcolor="#FF0000"><img src="images/clear.gif" WIDTH="1" HEIGHT="1"></td>');
document.write('              </tr>');
document.write('              <tr> ');
if (sPage == "newsletters.php")		
	{document.write('                <td height="20" bgcolor="#ffc0c0" valign="center" align="left" ><img src="images/clear.gif" WIDTH="24" HEIGHT="8"><a style="text-decoration:none;" href="newsletters.php"><span class="nav">Newsletters</span></a></td>');}
else
	{document.write('                <td height="20" bgcolor="#ffffff" valign="center" align="left" ><img src="images/clear.gif" WIDTH="24" HEIGHT="8"><a style="text-decoration:none;" href="newsletters.php"><span class="nav">Newsletters</span></a></td>');}
document.write('              </tr>');
document.write('              <tr> ');
*/

/* Contact Us */
document.write('                <td height="1" bgcolor="#FF0000"><img src="images/clear.gif" WIDTH="25" HEIGHT="1"></td>');
document.write('              </tr>');
document.write('              <tr> ');
if (sPage == "contact.htm")		
	{document.write('                <td height="20" bgcolor="#ffc0c0" valign="center" align="left" ><img src="images/clear.gif" WIDTH="24" HEIGHT="8"><a style="text-decoration:none;" href="contact.htm"><span class="nav">Contact Us</span></a></td>');}
else
	{document.write('                <td height="20" bgcolor="#ffffff" valign="center" align="left" ><img src="images/clear.gif" WIDTH="24" HEIGHT="8"><a style="text-decoration:none;" href="contact.htm"><span class="nav">Contact Us</span></a></td>');}
document.write('              </tr>');
document.write('              <tr> ');

document.write('                <td height="1" bgcolor="#000000"><img src="images/clear.gif" WIDTH="25" HEIGHT="1"></td>');
document.write('              </tr>');
document.write('              <tr> ');

document.write('                <td width="183" align="left" valign="center" bgcolor="#ffffff" ><table border="0" cellspacing="0">');
document.write('                    <tr> ');
document.write('                      <td class="nav"><p>&nbsp;</p>');
document.write('                      <p><a href="discounts.htm"><img src="images/insectaxdiscounts.jpg" width="190" height="200" border="0"></a></p></td>');
document.write('                    </tr>');
document.write('                  </table>                </td>');
document.write('              </tr>');
document.write('            </table></td>');
document.write('        </tr>');
