// Navigation Menu
//		for www.ProjectSourceLLC.com

var sCurrentURL = location.href
var homeURL = "http://www.projectsourcellc.com"

// FIND LOCATION 
var whereis;

	// Home 
if (
	(sCurrentURL == homeURL) ||
	(sCurrentURL == homeURL + "/") ||
	(sCurrentURL == homeURL + "/index.php") ||
	(sCurrentURL == homeURL + "/new.php")
) whereis = 0

	// About Us 
else if (sCurrentURL.indexOf("about") != -1) whereis = 1

	// Capabilities 
else if (sCurrentURL.indexOf("capabilities") != -1) whereis = 2

	// Contact Us 
else if (sCurrentURL.indexOf("contact") != -1) whereis = 3


// PRINT TO SCREEN 
if (whereis == 0) document.write("<table cellpadding='2' cellspacing='0' border='1' bordercolor='#FFFFFF' width='640' class='menu' style='border-collapse: collapse; border-left: 1px solid #000000; border-right: 1px solid #840021'>")
else if (whereis == 3) document.write("<table cellpadding='2' cellspacing='0' border='1' bordercolor='#FFFFFF' width='640' class='menu' style='border-collapse: collapse; border-left: 1px solid #840021; border-right: 1px solid #000000'>")
else document.write("<table cellpadding='2' cellspacing='0' border='1' bordercolor='#FFFFFF' width='640' class='menu' style='border-collapse: collapse; border-left: 1px solid #840021; border-right: 1px solid #840021'>")

document.write("<tr>")

if (whereis == 0) document.write("<td bgcolor='#000000' align='center'><font face='Verdana, Arial, Tahoma' color='#FFFFFF' size='-1' class='small'><b>HOME</b></font></td>");
else document.write("<td bgcolor='#840021' align='center' onMouseOver=\"this.style.backgroundColor= '#000000'; this.style.cursor= 'hand';\" onMouseOut= \"this.style.backgroundColor= '#840021';\" onClick=\"document.location= '" + homeURL + "/'\"><font face='Verdana, Arial, Tahoma' color='#FFFFFF' size='-1' class='small'><b>HOME</b></font></td>");

if (whereis == 1) document.write("<td bgcolor='#000000' align='center'><font face='Verdana, Arial, Tahoma' color='#FFFFFF' size='-1' class='small'><b>ABOUT US</b></font></td>");
else document.write("<td bgcolor='#840021' align='center' onMouseOver=\"this.style.backgroundColor= '#000000'; this.style.cursor= 'hand';\" onMouseOut= \"this.style.backgroundColor= '#840021';\" onClick=\"document.location= '" + homeURL + "/about.php'\"><font face='Verdana, Arial, Tahoma' color='#FFFFFF' size='-1' class='small'><b>ABOUT US</b></font></td>");

if (whereis == 2) document.write("<td bgcolor='#000000' align='center'><font face='Verdana, Arial, Tahoma' color='#FFFFFF' size='-1' class='small'><b>CAPABILITIES</b></font></td>");
else document.write("<td bgcolor='#840021' align='center' onMouseOver=\"this.style.backgroundColor= '#000000'; this.style.cursor= 'hand';\" onMouseOut= \"this.style.backgroundColor= '#840021';\" onClick=\"document.location= '" + homeURL + "/capabilities.php'\"><font face='Verdana, Arial, Tahoma' color='#FFFFFF' size='-1' class='small'><b>CAPABILITIES</b></font></td>");

if (whereis == 3) document.write("<td bgcolor='#000000' align='center'><font face='Verdana, Arial, Tahoma' color='#FFFFFF' size='-1' class='small'><b>CONTACT US</b></font></td>");
else document.write("<td bgcolor='#840021' align='center' onMouseOver=\"this.style.backgroundColor= '#000000'; this.style.cursor= 'hand';\" onMouseOut= \"this.style.backgroundColor= '#840021';\" onClick=\"document.location= '" + homeURL + "/contact.php'\"><font face='Verdana, Arial, Tahoma' color='#FFFFFF' size='-1' class='small'><b>CONTACT US</b></font></td>");

document.write("</tr>")
document.write("</table>")

