function pageHeader(trail) {
	document.write("<table width=100%><tr><td width=\"250\"><a href=\"" + pathToBase + "index.html\"><img src=\"" + pathToBase + "GodtlandSoftwareLogo240Blue.gif\"  alt=\"Godtland Software - Creative and Thoughtful Solutions\" align=\"left\" /></a></td>");
	document.write("<td id=\"trail\"> You are here: " + trail + "</td><td width=\"20\">&nbsp;</td>");	
	document.write("<td id=\"header\"><a href=\"" + pathToBase + "visitor-sitemap.html\">Sitemap</a> | <a href=\"" + pathToBase + "Support.html\">Support</a> | <a href=\"" + pathToBase + "Contact.html\">Contact Us</a></td></tr>");
	document.write("</table>");
	document.write("<ul id=\"menu\">");

	document.write("<li><a href=\"" + pathToBase + "index.html\">Home</a></li>");

	document.write("<li><a href=\"" + pathToBase + "Books.html\">Books</a>");
	document.write("<ul>");
	document.write("<li><a href=\"" + pathToBase + "this-little-program/index.html\">This Little Program Went to Market</a>");
	document.write("<ul>");
	document.write("<li><a href=\"" + pathToBase + "this-little-program/buy-now.html\">Buy Now</a></li>");
	document.write("<li><a href=\"" + pathToBase + "this-little-program/learn-more.html\">Learn More</a></li>");
	document.write("<li><a href=\"" + pathToBase + "this-little-program/look-inside.html\">Look Inside</a></li>");
	document.write("<li><a href=\"" + pathToBase + "this-little-program/download-listings.html\">Download Listings</a></li>");
	document.write("<li><a href=\"" + pathToBase + "this-little-program/hard-to-find-tools.html\">Hard to Find Tools</a></li>");
	document.write("<li><a href=\"" + pathToBase + "this-little-program/press-kit.html\">Press Kit</a></li>");
	document.write("<li><a href=\"" + pathToBase + "this-little-program/tips-from-book/index.html\">Tips From the Book</a></li>");
	document.write("</ul>");
	document.write("</li>");
	document.write("<li><a href=\"http://www.godtlandsoftware.com/word-press\">Blog</a></li>");
	document.write("</ul>");
	document.write("</li>");

	document.write("<li><a href=\"" + pathToBase + "Software.html\">Software</a>");
	document.write("<ul>");
	document.write("<li><a href=\"" + pathToBase + "click-it-tourney-tracker/index.html\">Click It Tourney Tracker</a>");
	document.write("<ul>");
	document.write("<li><a href=\"" + pathToBase + "click-it-tourney-tracker/features.html\">Features & Screenshots</a></li>");
	document.write("<li><a href=\"" + pathToBase + "click-it-tourney-tracker/download.html\">Download Trial Version</a></li>");
	document.write("<li><a href=\"" + pathToBase + "click-it-tourney-tracker/purchase.html\">Register/Buy</a></li>");
	document.write("</ul>");
	document.write("</li>");
	document.write("<li><a href=\"" + pathToBase + "SlidingTilesPuzzle/index.html\">Sliding Tiles Puzzle</a>");
	document.write("<ul>");
	document.write("<li><a href=\"" + pathToBase + "SlidingTilesPuzzle/Features.html\">Learn More</a></li>");
	document.write("<li><a href=\"" + pathToBase + "SlidingTilesPuzzle/Download.html\">Download Trial Version</a></li>");
	document.write("<li><a href=\"" + pathToBase + "SlidingTilesPuzzle/Purchase.html\">Register/Buy</a></li>");
	document.write("<li><a href=\"" + pathToBase + "SlidingTilesPuzzle/Sample/index.html\">Sample Puzzles</a></li>");
	document.write("<li><a href=\"" + pathToBase + "SlidingTilesPuzzle/ScreenShots.html\">Screenshots</a></li>");
	document.write("<li><a href=\"" + pathToBase + "SlidingTilesPuzzle/Support.html\">Support</a></li>");
	document.write("</ul>");
	document.write("</li>");
	document.write("<li><a href=\"" + pathToBase + "WordSearchPuzzle/index.html\">Word Search Puzzle</a>");
	document.write("<ul>");
	document.write("<li><a href=\"" + pathToBase + "WordSearchPuzzle/Features.html\">Learn More</a></li>");
	document.write("<li><a href=\"" + pathToBase + "WordSearchPuzzle/Download.html\">Download Trial Version</a></li>");
	document.write("<li><a href=\"" + pathToBase + "WordSearchPuzzle/Purchase.html\">Register/Buy</a></li>");
	document.write("<li><a href=\"" + pathToBase + "WordSearchPuzzle/Sample/index.html\">Sample Puzzles</a></li>");
	document.write("<li><a href=\"" + pathToBase + "WordSearchPuzzle/ScreenShots.html\">Screenshots</a></li>");
	document.write("<li><a href=\"" + pathToBase + "WordSearchPuzzle/Support.html\">Support</a></li>");
	document.write("</ul>");
	document.write("</li>");
	document.write("</ul>");
	document.write("</li>");

	document.write("<li><a href=\"" + pathToBase + "services.html\">Services &nbsp;&nbsp;");
	document.write("<ul>");
	document.write("<li><a href=\"" + pathToBase + "internet-sales-service/index.html\">Internet Sales Services &nbsp;&nbsp;");
	document.write("<ul>");
	document.write("<li><a href=\"" + pathToBase + "internet-sales-service/options-and-fees.html\">Options and Fees</a></li>");
	document.write("<li><a href=\"" + pathToBase + "internet-sales-service/payment-and-procedures.html\">Payment and Procedures</a></li>");
	document.write("<li><a href=\"" + pathToBase + "internet-sales-service/portfolio.html\">Portfolio</a></li>");
	document.write("</ul>");
	document.write("</li>");
	document.write("</ul>");
	document.write("</li>");

	document.write("<li><a href=\"http://www.godtlandsoftware.com/word-press\">Blog &nbsp;&nbsp;");
	document.write("<ul>");
	document.write("<li><a href=\"http://www.godtlandsoftware.com/word-press/category/create-a-program\">Create a Program</a></li>");
	document.write("<li><a href=\"http://www.godtlandsoftware.com/word-press/category/deploy-a-program\">Deploy a Program</a></li>");
	document.write("<li><a href=\"http://www.godtlandsoftware.com/word-press/category/distribute-a-program\">Distribute a Program</a></li>");
	document.write("<li><a href=\"http://www.godtlandsoftware.com/word-press/category/create-a-web-site\">Create a Web Site</a></li>");
	document.write("<li><a href=\"http://www.godtlandsoftware.com/word-press/category/sell-a-product\">Sell a Product</a></li>");
	document.write("<li><a href=\"http://www.godtlandsoftware.com/word-press/category/market-a-product\">Market a Product</a></li>");
	document.write("<li><a href=\"http://www.godtlandsoftware.com/word-press/category/favorite-free-programs\">Favorite Free Programs</a></li>");
	document.write("</ul>");
	document.write("</li>");

	document.write("<li>More &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
	document.write("<ul>");
	document.write("<li><a href=\"http://www.odonettica.com\">Odonettica: Unique Hand-crafted Gifts</a></li>");
	document.write("</ul>");
	document.write("</li>");

	document.write("<li>Download &nbsp;&nbsp;&nbsp;&nbsp;");
	document.write("<ul>");
	document.write("<li><a href=\"" + pathToBase + "click-it-tourney-tracker/download.html\">Click It Tourney Tracker</a></li>");
	document.write("<li><a href=\"" + pathToBase + "SlidingTilesPuzzle/Download.html\">Sliding Tiles Puzzle</a></li>");
	document.write("<li><a href=\"" + pathToBase + "WordSearchPuzzle/Download.html\">Word Search Puzzle</a></li>");
	document.write("<li><a href=\"" + pathToBase + "this-little-program/download-listings.html\">Book Source Code Listings</a></li>");
	document.write("</ul>");
	document.write("</li>");

		document.write("<li><a href=\"" + pathToBase + "Purchase.html\">Register/Buy</a>");
	document.write("<ul>");
	document.write("<li><a href=\"" + pathToBase + "click-it-tourney-tracker/purchase.html\">Click It Tourney Tracker</a></li>");
	document.write("<li><a href=\"" + pathToBase + "SlidingTilesPuzzle/Purchase.html\">Sliding Tiles Puzzle</a></li>");
	document.write("<li><a href=\"" + pathToBase + "WordSearchPuzzle/Purchase.html\">Word Search Puzzle</a></li>");
	document.write("<li><a href=\"" + pathToBase + "this-little-program/buy-now.html\">This Little Program Went to Market</a></li>");
	document.write("</ul>");
	document.write("</li>");
	
/*	
	document.write("<form target=\"paypal\" action=\"https://www.paypal.com/cgi-bin/webscr\" method=\"post\">");
	document.write("<input type=\"hidden\" name=\"cmd\" value=\"_s-xclick\">");
	document.write("<input type=\"hidden\" name=\"encrypted\" value=\"-----BEGIN PKCS7-----MIIHJwYJKoZIhvcNAQcEoIIHGDCCBxQCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYB2+07CKI/fysYj7tWJLrKwUG9ao2LEDXwtUgnMiBUh4LFRYTQ7IclMYMV9smkahz3tWFiAxSu+y0WlNf5ix2hqLLl9eQRCngg0xLbVYBbFP2hQSOawawDJTCIWLJjL+I6BV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gY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tggEAMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAgV86VpqAWuXvX6Oro4qJ1tYVIT5DgWpE692Ag422H7yRIr/9j/iKG4Thia/Oflx4TdL+IFJBAyPK9v6zZNZtBgPBynXb048hsP16l2vi0k5Q2JKiPDsEfBhGI+HnxLXEaUWAcVfCsQFvd2A1sxRr67ip5y2wwBelUecP3AjJ+YcxggGaMIIBlgIBATCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwCQYFKw4DAhoFAKBdMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTExMDIwNzAxMjgyMlowIwYJKoZIhvcNAQkEMRYEFIvxHMkk6W+jSIPBncE/oB2PPTE5MA0GCSqGSIb3DQEBAQUABIGAjk03B5htl7lq0WDT2tD7xJD37eEg4pUd43MvQp0XekZ1+piUIo/ugqWOjRnK1GAcFkdLoxIt+X5N5a/16LwMdBBTnL76bT3JQlOjTaYraBNWg1Dl445hZAzDGrgkWeIyujD6U9NSltVaFF5FgocNGlyi1tH8WbBFLXSC9H7f840=-----END PKCS7-----");
	document.write("\">");
	document.write("<input type=\"image\" src=\"http://www.godtlandsoftware.com/images/shopping-cart-2.gif\" border=\"0\" name=\"submit\" alt=\"PayPal - The safer, easier way to pay online!\">");
	document.write("<img alt=\"\" border=\"0\" src=\"https://www.paypal.com/en_US/i/scr/pixel.gif\" width=\"1\" height=\"1\">");
	document.write("</form>");	
*/	

	document.write("</ul>");
}

function pageFooter() {
	document.write("Copyright Godtland Software Corporation 2005-2011");
}

function piggyBookmark() {
		document.write("<h2>This Little Program<br>Went To Market</h2>");
		document.write("<h2>(or &quot;A Tale of Two Programs&quot;)</h2>");
		document.write("<p>This little program went to market.</p>");
		document.write("<p class=\"note\">(The first little program ventured out to the Internet.)</p>");
		document.write("<p>This little program stayed home.</p>");
		document.write("<p class=\"note\">(The second little program was for home use only.)</p>");
		document.write("<p>This little program was all beefed up.</p>");
		document.write("<p class=\"note\">(The first little program had a high ranking Web page, a trial version, an installation wizard, and much more. It could even be purchased by credit card.)</p>");
		document.write("<p>This little program had none.</p>");
		document.write("<p class=\"note\">(The second little program needed none of these. It never wanted to leave home anyway.)</p>");
		document.write("<p>This little program cried &quot; Whee! Whee! Whee!&quot; all the way home!</p>");
		document.write("<p class=\"note\">(Actually, that is me, crying in excitement, every time I get an e-mail <br>");
		document.write("<img src=\"Piggy.gif\" class=\"floatImg\" alt=\"(Pig image not shown.)\">");
		document.write("notice that I just sold another copy of that first little program!)</p>");
}

function updateMessage(choice)
{
	if (choice=="Creative") {
		document.getElementById("welcomeMsg").style.display="none";
		document.getElementById("creativeMsg").style.display="block";
		document.getElementById("thoughtfulMsg").style.display="none";
		document.getElementById("solutionsMsg").style.display="none";
	}
	else if (choice=="Thoughtful") {
		document.getElementById("welcomeMsg").style.display="none";
		document.getElementById("creativeMsg").style.display="none";
		document.getElementById("thoughtfulMsg").style.display="block";
		document.getElementById("solutionsMsg").style.display="none";
	}
	else if (choice=="Solutions") {
		document.getElementById("welcomeMsg").style.display="none";
		document.getElementById("creativeMsg").style.display="none";
		document.getElementById("thoughtfulMsg").style.display="none";
		document.getElementById("solutionsMsg").style.display="block";
	}
	else {
		document.getElementById("welcomeMsg").style.display="block";
		document.getElementById("creativeMsg").style.display="none";
		document.getElementById("thoughtfulMsg").style.display="none";
		document.getElementById("solutionsMsg").style.display="none";
	}
	
	
/*	if (choice=="Creative")
		msg = "It is easy to create word search puzzles for all skill levels using our Word Search Puzzle program. These word search puzzles can be: solved on your computer, added to your website, inserted in a newsletter or other document, or printed on paper to be solved the old fashioned way.";
	else if (choice=="Thoughtful")
		msg = "\"This Little Program Went to Market\" provides detailed instructions for all the steps and tools required to take an idea for a computer program through the entire process of creation, deployment, distribution, sales and marketing. In fact, this book has useful information for selling just about anything on the Internet. Plus, practically all of the tools and services required for these processes are available for free!";
	else if (choice=="Solutions")
		msg = "We can set up your new Web site, your PayPal account, and your detailed product order pages for you, and make your Web site easier for search engines to find.  Once set up, we will give you all the information you need so you can create additional product pages yourself if you wish.";
	else
		msg = "We sell puzzles and games for use at home or on your Web site.  We'll tell you how to sell your own software or other products on your own Web site.  And if you don't want to do it yourself, we'll even set up your sales process for you!";
	
document.getElementById("messageBox").firstChild.nodeValue=msg;
*/
}

