 // ====================================== //  Code to write footer on Nierica files //  John-Erik Omland, JEOProductions - March 2005 // //  usage: writeFooter( dirLevel, refName ) //             dirLevel = 0:main, 1:1 directory down, 2:2 directory down,... //             refName = to add to end of email subject line // ======================================= function writeFooter( dirLevel, refName ) {//    var refName = getFilename();//    var refName = document.getAttribute("name");    var emailContact = "thomas@microweb.com";    var subject = "Info%20Request%20from%20Nierica%20website";	 var theFooter;//	 var prefix = "";//	 for( i=0; i<dirLevel; i++ ) { prefix += "../"; }	 var prefix = "http://www.nierica.com/";theFooter = "<div align='center' class='footertext'>"			     + "<a href='#TOP'><img align='top' src='" +prefix +"images/niericaRuleT.gif' alt='Horizontal RuleImage' vspace='3' border='0' /></a>"              + "<div class='globalNavBottom'><br />";	 theFooter += "<a href='" +prefix +"shamanism/index.html' >Shamanism</a> | ";	 theFooter += "<a href='" +prefix +"tomas/index.html' >Tom&aacute;s</a> | "; 	 theFooter += "<a href='" +prefix +"prayers/index.html' >Power of Prayer</a> | ";	 theFooter += "<a href='" +prefix +"shamanism/shamanismbook_FOW.html' >Flowers of Wiricuta (book)</a> | "; 	 theFooter += "<a href='http://blog.nierica.com/?ref=globalnav'>BLOG</a> | "; 	 theFooter += "<a href='" +prefix +"AnnounceTOC.html' >Announcements</a><br />"; 	 	 theFooter += "<a href='http://tradingpost.nierica.com/?ref=globalnav'' >On-line Store</a> | "; 	 theFooter += "<a href='" +prefix +"shamanism/shamanic_art/index.html' >Huichol/Shamanic Art</a> | "; 	 theFooter += "<a href='" +prefix +"wakan/wakantoc.html' >Wakan community</a> | "; 	 theFooter += "<a href='" +prefix +"lodge/index.html' >Lodge (links)</a> | "; 	 theFooter += "<a href='" +prefix +"sitemap.htm' >Site map</a> | "; 	 theFooter += "<a href='" +prefix +"index.html?ref=globalnav' >Home</a><div><br />"; 	 //    theFooter += "<a href='mailto:" +emailContact +"?subject=" +subject +" - " +refName +"'><img align='top' src='" +prefix +"images/EmailFooter.GIF' alt='Email:thomas@microweb.com' border='0' vspace='3' /></a><br />"    theFooter += ""              +  "<hr size='2' />"	           +  "<span class='copyright'>&copy; 1995-2005 Dr. Thomas Pinkson</span><br />"			     +  "<span class='globalNavBottom'>This site is designed, developed and maintained by</span><br />"              +  "<span class='copyright'><a href='http://www.7thdirection.com'>The 7th Direction</a> "				  +  "and <a href='http://exploringbalance.com'>JEOProductions</a> - Web Services for Alternative Outlooks</span>"			     +  "</div>"			     +  "<p>&nbsp;</p>";	 document.write(theFooter);//	 alert("prefix="+prefix); } // ====================================