

//Writes the sub-navigation to the page based on variable at the top of each page.
function printAboutUsNav() { 
	
	if (subsection == "About") {
		document.write('<strong>about us</strong>');
	}
	else{
		document.write('<a href="AboutUs.html">about us</a>');
	}
	
	if (subsection == "Contact" ) {
		document.write('&nbsp;|&nbsp;<strong>contact us</strong>');
	} 
	else {
		document.write('&nbsp;|&nbsp;<a href="ContactUs.html">contact us</a>');
	}
	
	if (subsection == "Friends") {
		document.write('&nbsp;|&nbsp;<strong>friends</strong>');
	}
	else{
		document.write('&nbsp;|&nbsp;<a href="Friends.html">friends</a>');
	}
	
	if (subsection == "Stores") {
		document.write('&nbsp;|&nbsp;<strong>stores</strong>');
	}
	else{
		document.write('&nbsp;|&nbsp;<a href="Stores.html">stores</a>');
	}
	
	if (subsection == "Shipping") {
		document.write('&nbsp;|&nbsp;<strong>shipping &amp; returns</strong>');
	}
	else{
		document.write('&nbsp;|&nbsp;<a href="Shipping.html">shipping &amp; returns</a>');
	}
	/*
	if (subsection == "Press") {
		document.write('&nbsp;|&nbsp;<strong>press</strong>');
	}
	else{
		document.write('&nbsp;|&nbsp;<a href="Press.html">press</a>');
	}
	*/
		
	document.write();
} 