// all scripting written by Paul Gustafsson of giantbrains.net IV
// dynamically write navigation for giantbrains.net IV
function doNav(pageType) {
	var output 
	switch(pageType) {
		// remodeling navigation type
		case "r":
			output  = "<h3>remodeling pages</h3>"
			output += "<ul class=\"main\">"
			output += "<li><a href=\"pg_remodeling.html\">remodeling home</a></li>"
			output += "<ul class=\"sub\">"
			output += "<li><a href=\"gbCabinetry.html\">cabinetry</a></li>"
			output += "<li><a href=\"gbAdditions.html\">additions</a></li>"
			output += "<li><a href=\"gbFurniture.html\">furniture</a></li>"
			output += "<li><a href=\"gbStructures.html\">outdoor structures</a></li>"
			output += "</ul>"
			output += "</ul>"
			output += "<h3 style=\"margin-top: 3em\">other gb sites</h3>"
			output += "<ul class=\"main\">"
			output += "<li><a href=\"oldIndex.html\"><span class=\"embolden\">giantBrains home</span></a></li>"
			output += "<li><a href=\"gbArt.html\">art home</a></li>"
			output += "<ul class=\"sub\">"
			output += "<li><a href=\"gbAugustStorm.html\">August Storm</a></li>"
			output += "<li><a href=\"gbTheProject.html\">The Project</a></li>"
			output += "<li><a href=\"gbFirstLight.html\">First Light</a></li>"
			output += "<li><a href=\"gbDawn.html\">Dawn</a></li>"
			output += "<li><a href=\"gbSureThing.html\">Sure Thing</a></li>"
			output += "<li><a href=\"gbCastle.html\">Castle</a></li>"
			output += "<li><a href=\"gbHarvest.html\">Harvest</a></li>"
			output += "<li><a href=\"gbLoneCyprus.html\">Lone Cyprus</a></li>"
			output += "<li><a href=\"gbGreenCopper.html\">untitled 1 (copper)</a></li>"
			output += "<li><a href=\"gbRedCopper.html\">untitled 2 (copper)</a></li>"
			output += "<li><a href=\"gbRMCK.html\">untitled 3 (Rob's)</a></li>"
			output += "<li><a href=\"gbMyHouse.html\">untitled 4 (my house)</a></li>"
			output += "<li><a href=\"gbMyStuff.html\">untitled 5 (still life)</a></li>"
			output += "<li><a href=\"gbSideDoor.html\">Side Door</a></li>"
			output += "<li><a href=\"gbSouthBear01.html\">South Bear Creek 01</a></li>"
			output += "<li><a href=\"gbBackGlance.html\">Backwards Glance</a></li>"
			output += "</ul>"
			output += "<li><a href=\"gbFlyfishing.html\">flyfishing home</a></li>"
			output += "<ul class=\"sub\">"
			output += "<li><a href=\"gbWaterloo.html\">Waterloo Creek</a></li>"
			output += "<li><a href=\"gbNorthBear.html\">North Bear Creek</a></li>"
			output += "<li><a href=\"gbSouthBear.html\">South Bear Creek</a></li>"
			output += "<li><a href=\"gbFrench.html\">French and others</a></li>"
			output += "</ul>"
			output += "<li><a href=\"gbWeb.html\">web creations</a></li>"
			output += "</ul>"
			document.write(output)
			break
		// art navigation type
		case "a":
			output  = "<h3>art pages</h3>"
			output += "<ul class=\"main\">"
			output += "<li><a href=\"gbArt.html\">art home</a></li>"
			output += "<ul class=\"sub\">"
			output += "<li><a href=\"gbAugustStorm.html\">August Storm</a></li>"
			output += "<li><a href=\"gbTheProject.html\">The Project</a></li>"
			output += "<li><a href=\"gbFirstLight.html\">First Light</a></li>"
			output += "<li><a href=\"gbDawn.html\">Dawn</a></li>"
			output += "<li><a href=\"gbSureThing.html\">Sure Thing</a></li>"
			output += "<li><a href=\"gbCastle.html\">Castle</a></li>"
			output += "<li><a href=\"gbHarvest.html\">Harvest</a></li>"
			output += "<li><a href=\"gbLoneCyprus.html\">Lone Cyprus</a></li>"
			output += "<li><a href=\"gbGreenCopper.html\">untitled 1 (copper)</a></li>"
			output += "<li><a href=\"gbRedCopper.html\">untitled 2 (copper)</a></li>"
			output += "<li><a href=\"gbRMCK.html\">untitled 3 (Rob's)</a></li>"
			output += "<li><a href=\"gbMyHouse.html\">untitled 4 (my house)</a></li>"
			output += "<li><a href=\"gbMyStuff.html\">untitled 5 (still life)</a></li>"
			output += "<li><a href=\"gbSideDoor.html\">Side Door</a></li>"
			output += "<li><a href=\"gbSouthBear01.html\">South Bear Creek 01</a></li>"
			output += "<li><a href=\"gbBackGlance.html\">Backwards Glance</a></li>"
			output += "</ul>"
			output += "</ul>"
			output += "<h3 style=\"margin-top: 3em\">other gb sites</h3>"
			output += "<ul class=\"main\">"
			output += "<li><a href=\"oldIndex.html\"><span class=\"embolden\">giantBrains home</span></a></li>"
			output += "<li><a href=\"pg_remodeling.html\">remodeling home</a></li>"
			output += "<ul class=\"sub\">"
			output += "<li><a href=\"gbCabinetry.html\">cabinetry</a></li>"
			output += "<li><a href=\"gbAdditions.html\">additions</a></li>"
			output += "<li><a href=\"gbFurniture.html\">furniture</a></li>"
			output += "<li><a href=\"gbStructures.html\">outdoor structures</a></li>"
			output += "</ul>"
			output += "<li><a href=\"gbFlyfishing.html\">flyfishing home</a></li>"
			output += "<ul class=\"sub\">"
			output += "<li><a href=\"gbWaterloo.html\">Waterloo Creek</a></li>"
			output += "<li><a href=\"gbNorthBear.html\">North Bear Creek</a></li>"
			output += "<li><a href=\"gbSouthBear.html\">South Bear Creek</a></li>"
			output += "<li><a href=\"gbFrench.html\">French and others</a></li>"
			output += "</ul>"
			output += "<li><a href=\"gbWeb.html\">web creations</a></li>"
			output += "</ul>"
			document.write(output)
			break
		// flyfishing navigation type
		case "f":
			output = "<h3>flyfishing pages</h3>"
			output += "<ul class=\"main\">"
			output += "<li><a href=\"gbFlyfishing.html\">flyfishing home</a></li>"
			output += "<ul class=\"sub\">"
			output += "<li><a href=\"gbWaterloo.html\">Waterloo Creek</a></li>"
			output += "<li><a href=\"gbNorthBear.html\">North Bear Creek</a></li>"
			output += "<li><a href=\"gbSouthBear.html\">South Bear Creek</a></li>"
			output += "<li><a href=\"gbFrench.html\">French and others</a></li>"
			output += "</ul>"
			output += "</ul>"
			output += "<h3 style=\"margin-top: 3em\">other gb sites</h3>"
			output += "<ul class=\"main\">"
			output += "<li><a href=\"oldIndex.html\"><span class=\"embolden\">giantBrains home</span></a></li>"
			output += "<li><a href=\"pg_remodeling.html\">remodeling home</a></li>"
			output += "<ul class=\"sub\">"
			output += "<li><a href=\"gbCabinetry.html\">cabinetry</a></li>"
			output += "<li><a href=\"gbAdditions.html\">additions</a></li>"
			output += "<li><a href=\"gbFurniture.html\">furniture</a></li>"
			output += "<li><a href=\"gbStructures.html\">outdoor structures</a></li>"
			output += "</ul>"
			output += "<li><a href=\"gbArt.html\">art home</a></li>"
			output += "<ul class=\"sub\">"
			output += "<li><a href=\"gbAugustStorm.html\">August Storm</a></li>"
			output += "<li><a href=\"gbTheProject.html\">The Project</a></li>"
			output += "<li><a href=\"gbFirstLight.html\">First Light</a></li>"
			output += "<li><a href=\"gbDawn.html\">Dawn</a></li>"
			output += "<li><a href=\"gbSureThing.html\">Sure Thing</a></li>"
			output += "<li><a href=\"gbCastle.html\">Castle</a></li>"
			output += "<li><a href=\"gbHarvest.html\">Harvest</a></li>"
			output += "<li><a href=\"gbLoneCyprus.html\">Lone Cyprus</a></li>"
			output += "<li><a href=\"gbGreenCopper.html\">untitled 1 (copper)</a></li>"
			output += "<li><a href=\"gbRedCopper.html\">untitled 2 (copper)</a></li>"
			output += "<li><a href=\"gbRMCK.html\">untitled 3 (Rob's)</a></li>"
			output += "<li><a href=\"gbMyHouse.html\">untitled 4 (my house)</a></li>"
			output += "<li><a href=\"gbMyStuff.html\">untitled 5 (still life)</a></li>"
			output += "<li><a href=\"gbSideDoor.html\">Side Door</a></li>"
			output += "<li><a href=\"gbSouthBear01.html\">South Bear Creek 01</a></li>"
			output += "<li><a href=\"gbBackGlance.html\">Backwards Glance</a></li>"
			output += "</ul>"
			output += "<li><a href=\"gbWeb.html\">web creations</a></li>"
			output += "</ul>"
			document.write(output)
			break
		// default navigation type
		default:
			output  = "<h3>navigation</h3>"
			output += "<ul class=\"main\">"
			output += "<li><a href=\"oldIndex.html\"><span class=\"embolden\">giantBrains home</span></a></li>"
			output += "<li><a href=\"pg_remodeling.html\">remodeling home</a></li>"
			output += "<ul class=\"sub\">"
			output += "<li><a href=\"gbCabinetry.html\">cabinetry</a></li>"
			output += "<li><a href=\"gbAdditions.html\">additions</a></li>"
			output += "<li><a href=\"gbFurniture.html\">furniture</a></li>"
			output += "<li><a href=\"gbStructures.html\">outdoor structures</a></li>"
			output += "</ul>"
			output += "<li><a href=\"gbArt.html\">art home</a></li>"
			output += "<ul class=\"sub\">"
			output += "<li><a href=\"gbAugustStorm.html\">August Storm</a></li>"
			output += "<li><a href=\"gbTheProject.html\">The Project</a></li>"
			output += "<li><a href=\"gbFirstLight.html\">First Light</a></li>"
			output += "<li><a href=\"gbDawn.html\">Dawn</a></li>"
			output += "<li><a href=\"gbSureThing.html\">Sure Thing</a></li>"
			output += "<li><a href=\"gbCastle.html\">Castle</a></li>"
			output += "<li><a href=\"gbHarvest.html\">Harvest</a></li>"
			output += "<li><a href=\"gbLoneCyprus.html\">Lone Cyprus</a></li>"
			output += "<li><a href=\"gbGreenCopper.html\">untitled 1 (copper)</a></li>"
			output += "<li><a href=\"gbRedCopper.html\">untitled 2 (copper)</a></li>"
			output += "<li><a href=\"gbRMCK.html\">untitled 3 (Rob's)</a></li>"
			output += "<li><a href=\"gbMyHouse.html\">untitled 4 (my house)</a></li>"
			output += "<li><a href=\"gbMyStuff.html\">untitled 5 (still life)</a></li>"
			output += "<li><a href=\"gbSideDoor.html\">Side Door</a></li>"
			output += "<li><a href=\"gbSouthBear01.html\">South Bear Creek 01</a></li>"
			output += "<li><a href=\"gbBackGlance.html\">Backwards Glance</a></li>"
			output += "</ul>"
			output += "<li><a href=\"gbFlyfishing.html\">flyfishing home</a></li>"
			output += "<ul class=\"sub\">"
			output += "<li><a href=\"gbWaterloo.html\">Waterloo Creek</a></li>"
			output += "<li><a href=\"gbNorthBear.html\">North Bear Creek</a></li>"
			output += "<li><a href=\"gbSouthBear.html\">South Bear Creek</a></li>"
			output += "<li><a href=\"gbFrench.html\">French and others</a></li>"
			output += "</ul>"
			output += "<li><a href=\"gbWeb.html\">web creations</a></li>"
			output += "</ul>"
			document.write(output)
	}
}
	
// end of navigation scripting

