function pageNav() {
var strURL=location.href;
var aryURL= new Array();
aryURL=strURL.split("/");

switch(aryURL[aryURL.length - 1])
{
case "index.htm":
case "index.html":
case "index.shtml":
case "":
	document.getElementById("home").innerHTML="<b>Home</b>";
	break    
case "products.shtml":
case "products.html":
	document.getElementById("products").innerHTML="<b>Products</b>";
	break
case "submitted.shtml":
case "submitted.html":
case "sample.shtml":
case "sample.html":
	document.getElementById("sample").innerHTML="<b>Free Sample</b>";	
	break
case "processed.html":
case "processed.shtml":
case "order.shtml":
case "order.html":
	document.getElementById("order").innerHTML="<b>Order Now</b>";	
	break
case "gallery/gallery.shtml":
case "gallery/gallery.html":
case "gallery.html":
case "gallery.shtml":
	document.getElementById("gallery").innerHTML="<b>Gallery</b>";	
	break
case "installation.shtml":
case "installation.html":
	document.getElementById("installation").innerHTML="<b>Installation</b>";	
	break
case "measuring.shtml":
case "measuring.html":
	document.getElementById("measuring").innerHTML="<b>Measuring</b>";	
	break
case "faq.shtml":
case "faq.html":
	document.getElementById("faq").innerHTML="<b>FAQ</b>";	
	break
case "delivery.shtml":
case "delivery.html":
	document.getElementById("delivery").innerHTML="<b>Delivery & Policies</b>";	
	break
case "inquiry.shtml":
case "inquiry.html":
	document.getElementById("inquiry").innerHTML="<b>Trade Inquiries</b>";	
	break
case "aboutus.shtml":
case "aboutus.html":
	document.getElementById("aboutus").innerHTML="<b>About Us</b>";	
	break
case "contact.shtml":
case "contact.html":
	document.getElementById("contact").innerHTML="<b>Contact Us</b>";	
	break
case "comments.shtml":
	document.getElementById("comments").innerHTML="<b>Customer Comments</b>";	
	break
default:
	break;
}

switch(aryURL[aryURL.length - 2])
{
case "gallery":
	document.getElementById("gallery").innerHTML="<b>Gallery</b>";	
	break
case "aboutus":
	document.getElementById("aboutus").innerHTML="<b>About Us</b>";	
	break
default:
	break;
}

}

