

function showmenu(level) {

	switch(level) {
		case 1 : path=""; break;
		case 2 : path="../"; break;
		case 3 : path="../../"; break;
		case 0 : path="asphodel/"; break;
		case -1 : path="../asphodel/"; break;
		default : path=""; 
	}

	document.write("<center>" +
		"<a href='" + path + "index.html'><img src='" + path + "titles/mhome.gif' alt='HOME'></a> <img src='" + path + "titles/mdot.gif'>" +
		"<a href='" + path + "faq.html'><img src='" + path + "titles/mfaq.gif' alt='FAQ'></a> <img src='" + path + "titles/mdot.gif'>" +
		"<a href='" + path + "people/index.html'><img src='" + path + "titles/mfolks.gif' alt='FOLKS'></a><img src='" + path + "titles/mdot.gif'>" +
		"<a href='" + path + "events.html'><img src='" + path + "titles/mevents.gif' alt='EVENTS'></a><img src='" + path + "titles/mdot.gif'>" +
		"<a href='" + path + "choir.html'><img src='" + path + "titles/mchoir.gif' alt='CHOIR'></a><img src='" + path + "titles/mdot.gif'>" +
		"<a href='" + path + "orders/index.html'><img src='" + path + "titles/mordguild.gif' alt='ORDERS & GUILDS'></a><img src='" + path + "titles/mdot.gif'>" +
		"<a href='" + path + "reading.html'><img src='" + path + "titles/mreading.gif' alt='READING'></a>" +
		"</center><hr><hr><p>");
	return true;
	}



function showfooter(year,level, author) {

	switch(level) {
		case 1 : path=""; break;
		case 2 : path="../"; break;
		case 3 : path="../../"; break;
		case 0 : path="asphodel/"; break;
		case -1 : path="../asphodel/"; break;
		default : path=""; 
	}

	if (level=0) 	{ document.write("<hr><hr><center><img src='" + path + "images/sasphodel.gif' alt='[Asphodel]'></center>"); }
	else 		{ document.write("<hr><hr><center><a href='" + path + "index.html'><img src='" + path + "images/sasphodel.gif' " +
				"alt='[Asphodel]'></a></center>"); }
	document.write("</tr></table></center></div></td></tr></table></center></div>");

	document.write("<div id='footer'>");
	if (year) {document.write("&copy; " + year);}
	if (author) {document.write (" " + author + "</div>");}
	else {document.write(" First Kingdom Church of Asphodel</div>");}
	
	return true;
}


/* GOOGLE ANALYTICS CODE */

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-15215298-11']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();


