			

siteNav = function() {
			  
			  var loc = document.location.pathname;
		
					
			switch(loc) {
				case "/":   //root (home)
					t = document.getElementById("home"); 
					t.style.backgroundColor ="#0FF";
					t = document.getElementById("e_pub"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("map"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("free_sample"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("fee"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("services"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("hire"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("map"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("process"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("payfee"); 
					t.style.backgroundColor ="#CCC"; 
				
					break;
					
				case "/why-hire.php":   
					t = document.getElementById("home"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("e_pub"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("free_sample"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("fee"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("services"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("hire"); 
					t.style.backgroundColor ="#0FF"; 
					t = document.getElementById("map"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("process"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("payfee"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("map"); 
					t.style.backgroundColor ="#CCC"; 				
				
					break;
					
					case "/FeeStructure.php":   
					t = document.getElementById("home"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("e_pub"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("free_sample"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("fee"); 
					t.style.backgroundColor ="#0FF"; 
					t = document.getElementById("services"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("hire"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("map"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("process"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("payfee"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("map"); 
					t.style.backgroundColor ="#CCC"; 
				
					break;
					
				case "/FeeStructure1.php":   
					t = document.getElementById("home"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("e_pub"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("free_sample"); 
					t.style.backgroundColor ="#0FF"; 
					t = document.getElementById("fee"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("services"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("hire"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("map"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("process"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("payfee"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("map"); 
					t.style.backgroundColor ="#CCC"; 
				
					break;
					
					case "/FeeStructure2.php":   
					t = document.getElementById("home"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("e_pub"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("free_sample"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("fee"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("services"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("hire"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("map"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("process"); 
					t.style.backgroundColor ="#0FF"; 
					t = document.getElementById("payfee"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("map"); 
					t.style.backgroundColor ="#CCC"; 
				
					break;
					
									
					
				case "/GetEdited.php":   
					t = document.getElementById("home"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("e_pub"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("free_sample"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("fee"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("services"); 
					t.style.backgroundColor ="#0FF"; 
					t = document.getElementById("hire"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("map"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("process"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("payfee"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("map"); 
					t.style.backgroundColor ="#CCC"; 
									
					break;
					
					
	 			case "/Payment.php":   
					t = document.getElementById("home"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("e_pub"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("free_sample"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("fee"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("services"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("hire"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("map"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("process"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("payfee"); 
					t.style.backgroundColor ="#0FF"; 
					t = document.getElementById("map"); 
					t.style.backgroundColor ="#CCC"; 
									
					break;		
					
				case "/SiteMap.php":   
					t = document.getElementById("home"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("e_pub"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("free_sample"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("fee"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("services"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("hire"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("map"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("process"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("payfee"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("map"); 
					t.style.backgroundColor ="#0FF"; 
									
					break;			
					
					
				case "/epub.php":   
					t = document.getElementById("home"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("e_pub"); 
					t.style.backgroundColor ="#0FF"; 
					t = document.getElementById("free_sample"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("fee"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("services"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("hire"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("map"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("process"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("payfee"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("map"); 
					t.style.backgroundColor ="#CCC"; 
									
					break;		
					
			case "/Ghostwriting.php":   
					t = document.getElementById("home"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("e_pub"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("free_sample"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("fee"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("services"); 
					t.style.backgroundColor ="#0FF"; 
					t = document.getElementById("hire"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("map"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("process"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("payfee"); 
					t.style.backgroundColor ="#CCC"; 
					t = document.getElementById("map"); 
					t.style.backgroundColor ="#CCC"; 				
				
					break;																											
			}
		
			
}
			
		if (window.addEventListener)
			window.addEventListener("load", siteNav, false);
		else if (window.attachEvent)
			window.attachEvent("onload", siteNav);
		else if (document.getElementById)
			window.onload=siteNav;

			
		
