<!--
/******************************************************************************************************************/
// "within-page" navigation; one DIV (of id "objid") is displayed while making previous book invisible.
var objDiv = null;										// old (or previous) book
function doShow(objid) {
	if (objDiv) objDiv.style.display="none";	// blank any book that is displayed
	objDiv=getObject(objid);							// get referenced object
	objDiv.style.display = "block";					// display it
}

var r=new Date(),y=r.getFullYear();
	
// returns the "name" Object
function getObject(name) {
	return (document.getElementById?document.getElementById(name):document.all?document.all[name]:document.layers?eval("document.layers[\"" + name + "\"]"):null);
}

// doCopy places the copyright on the page
function doCopyr(full) {
	var msg='<div class="copy">';
	msg+='<div class="copylink"><a href="index.html">index</a> | <a href="rhome.html">home</a> | <a href="rpurchase.html">purchase the book</a> | <a href="rinside.html">about the book</a> | <a href="rreviews.html">reviews of the book</a> | <a href="contact.html">contact</a> | <a href="biography.html">biography</a></div>';
	msg+='Copyright &copy; <a href="mailto:richard@richardziegler.ca">Richard Ziegler</a> 2008-' + y;
	if (full) msg+= ';  web by <a href="mailto:adrian@woodsgood.ca">adrian jones</a>, <a target="_blank" href="http://websgood.ca">websgood.ca</a>';
	msg+='</div>';
	document.write(msg);
}

// doCopy places the copyright on the page
function doCopyc(full) {
	var msg='<div class="copy">';
	msg+='<div class="copylink"><a href="index.html">index</a> | <a href="chome.html">home</a> | <a href="cpurchase.html">purchase the book</a> | <a href="cinside.html">about the book</a> | <a href="creviews.html">reviews of the book</a> | <a href="contact.html">contact</a> | <a href="biography.html">biography</a></div>';
	msg+='Copyright &copy; <a href="mailto:richard@richardziegler.ca">Richard Ziegler</a> 2008-' + y;
	if (full) msg+= ';  web by <a href="mailto:adrian@woodsgood.ca">adrian jones</a>, <a target="_blank" href="http://websgood.ca">websgood.ca</a>';
	msg+='</div>';
	document.write(msg);
}

// doCopy places the copyright on the page
function doCopy(full) {
	var msg='<div class="copy">';
	msg+='<div class="copylink"><a href="index.html">index</a> | <a href="chome.html">The Cults of Bosnia and Palestine</a> | <a href="rhome.html">Reclaiming The Canadian Left</a> | <a href="contact.html">contact</a> | <a href="biography.html">biography</a></div>';
	msg+='Copyright &copy; <a href="mailto:richard@richardziegler.ca">Richard Ziegler</a> 2008-' + y;
	if (full) msg+= ';  web by <a href="mailto:adrian@woodsgood.ca">adrian jones</a>, <a target="_blank" href="http://websgood.ca">websgood.ca</a>';
	msg+='</div>';
	document.write(msg);
}


var timer;
function scrolltop() {
	var tt=getObject("toTop");
	tt.style.top=document.body.scrollTop;
	timer=setTimeout("scrolltop()",1000);
}
function stoptimer() {clearTimeout(timer);}


function doemail(name,service) {
	var em=""+name+"@"+service+""
	document.write('<a href="mailto:'+em+'">'+em+'</a>');
}
-->


