<!--
//Copyright 2005 David Bostock
//This source code is registered with the United States Copyright Office and is protected by United States Copyright Law.
//Unauthorized use of of this authorship may violate copyright and other applicable laws and could result in criminal or civil penalties.

	//Display the footer 
	function showfooter() {
		var mStr = '<p>&nbsp;</p><p class="footer">&copy; Copyright 2000&ndash;2012 David Bostock Photography<br>All Rights Reserved<br><a href="/about/legal.html">Copyright Notice</a><br><br></p>';
		document.write(mStr);
		return true;
	}
	
	// Use this function to confuse robots that collect email addresses.
	function emailto() {
		var mStr = 'mai'+ 'lto\:david' + '@davidbostockp' + 'hotography.c' + 'om';
		location.href = mStr;
	}
	
	//Use the text up to the first comma for thumbnail captions
	function shortcaption(caption) {
		var comma = caption.indexOf(",");
		if (comma > 0)
			shortcap = caption.substring(0, comma);
		else
			shortcap = caption;
		document.write(shortcap);
	}
	
	//this is the main logo at the top of every page...
	function writelogo(){
		var mStr = '<a href="/index.html" target="_self"><img src="/images/DavidBostockPhotography.jpg" width=600 height=75 border=0 alt="David Bostock Photography"></a>'
		document.write(mStr);
		return true;
	}

	//this is the main navigation to the left of every page...
	function writenav(menu){
			var mStr = '<p class="menu"><a href="/index.html" target="_self">Home</a></p><p class="menu"><a href="/galleries/index.html" target="_self">Galleries</a></p><p class="menu"><a href="/sales/pricing.html" target="_self">Prints</a></p><p class="menu"><a href="/about/index.html" target="_self">Biography</a></p><p class="menu"><a href="/contact/index.html" target="_self">Contact</a></p>';
	document.write(mStr);
		return true;
	}
	
// -->


