//start of Site Navigator Code
database=new Array(43)
database2=new Array(43)
database[0]="index.html"
database2[0]="Astrology: Learning Astrology"
database[1]="theplanets.htm"
database2[1]="Astrology: The Planets"
database[2]="theSigns.htm"
database2[2]="Astrology: the signs"
database[3]="signSummary.htm"
database2[3]="Summary of the Signs"
database[4]="houses.htm"
database2[4]="Astrology: The Houses"
database[5]="quadruplicities.htm"
database2[5]="Astrology: Cardinal Fixed and Mutable"
database[6]="triplicities.htm"
database2[6]="Astrology: Fire, Earth, Air and Water"
database[7]="maleFemale.htm"
database2[7]="Astrology: Dynamic-Magnetic: Male Female Principle"
database[8]="planetsKeywords.htm"
database2[8]="Astrology: The Planets - A Comparison of Keywords"
database[9]="aspects.htm"
database2[9]="Astrology-Aspects"
database[10]="planetsInTheSigns.htm"
database2[10]="Astrology Astrology - Planets In The Signs"
database[11]="signsSun.htm"
database2[11]="Astrology: The Sun In The Signs"
database[12]="signsMoon.htm"
database2[12]="Astrology: The Moon In The Signs"
database[13]="signsMercury.htm"
database2[13]="Astrology: Mercury In The Signs"
database[14]="signsVenus.htm"
database2[14]="Astrology: Venus In The Signs"
database[15]="signsMars.htm"
database2[15]="Astrology: Mars In The Signs"
database[16]="signsJupiter.htm"
database2[16]="Astrology: Jupiter In The Signs"
database[17]="signsSaturn.htm"
database2[17]="Astrology: Saturn In The Signs"
database[18]="signsChiron.htm"
database2[18]="Astrology: Chiron In The Signs"
database[19]="signsUranus.htm"
database2[19]="Astrology: Uranus In The Signs"
database[20]="signsNeptune.htm"
database2[20]="Astrology: Neptune In The Signs"
database[21]="signsPluto.htm"
database2[21]="Astrology: Pluto In The Signs"
database[22]="planetsInTheHouses.htm"
database2[22]="Astrology Astrology - Planets In The Houses"
database[23]="housesSun.htm"
database2[23]="Astrology: Sun in the Houses"
database[24]="housesMoon.htm"
database2[24]="Astrology: Moon in the Houses"
database[25]="housesMercury.htm"
database2[25]="Astrology: Mercury in the Houses"
database[26]="housesVenus.htm"
database2[26]="Astrology: Venus in the Houses"
database[27]="housesMars.htm"
database2[27]="Astrology: Mars in the Houses"
database[28]="housesJupiter.htm"
database2[28]="Astrology: Jupiter in the Houses"
database[29]="housesSaturn.htm"
database2[29]="Astrology: Saturn in the Houses"
database[30]="housesChiron.htm"
database2[30]="Astrology: Chiron in the Houses"
database[31]="housesUranus.htm"
database2[31]="Astrology: Uranus in the Houses"
database[32]="housesNeptune.htm"
database2[32]="Astrology: Neptune in the Houses"
database[33]="housesPluto.htm"
database2[33]="Astrology: Pluto in the Houses"
database[34]="planetsVenus.htm"
database2[34]="Astrology Planets: Venus"
database[35]="planetsNeptune.htm"
database2[35]="Astrology - Neptune Planet of Transcendence"
database[36]="planetsNeptunePhysics.htm"
database2[36]="Astrology - Planets: Neptune, Modern Physics, Eastern Religious Teachers, and Depth  Psychology"
database[37]="housesDerived.htm"
database2[37]="Astrology - Derived Houses"
database[38]="../counsellingAstrology/index.html"
database2[38]="Astrology: Astrological Counselling"
database[39]="../astronomicalAstrology/index.html"
database2[39]="Astrology: Time"
database[40]="../sunSigns/index.html"
database2[40]="Sun Signs"
database[41]="../Calculations/index.html"
database2[41]="Astrology: Calculating the Chart"
database[42]="../toc.htm"
database2[42]="Astrology Master Table of Contents"
//----------------------start------------------------------
NumberOfFiles=database.length;
StringA=location.href;
LengthA=StringA.length
A=StringA.lastIndexOf("/")+1;
ThisFilename=StringA.substring(A,LengthA);
//--------------------------------------------------------

/*Find the page nunmber*/
n=NumberOfFiles-1;
foundit=false;
for (var i = 0; i <= n; i++)
{
if (database[i]==ThisFilename)
{
ThisPageNumber=i;
foundit=true;
break;
}
if (foundit==false) {
ThisPageNumber=0;
}
}
//--------------------------------------------------------
//determine the numbers of the previous and the next pages//

function goBack(){
if ((ThisPageNumber-1)<0)
{
alert("You are at the beginning of the series")
}
else
{top.location.href=database[ThisPageNumber-1]
}
}

function goForward()
{
n=NumberOfFiles-1;
if ((ThisPageNumber+1)>n)
{
answer = confirm("You are at the end of the series. \nPress OK to go to the start, or \nCancel to remain where you are");
if (answer !=0)
{
top.location.href = "index.html"
}
}
else
{
top.location.href=database[ThisPageNumber+1]
}
}
//---------------------------------------------

//This function sends the browser to the selected file

function goToPage12()
{
PageIndex12=document.form12.select12.selectedIndex
if (document.form12.select12.options[PageIndex12].value != "none")
{
top.location = document.form12.select12.options[PageIndex12].value
}
}
//End of function
//------------------------------------------------------

//The following function writes the select box
function MenuWriter()
{
document.write("<form name=form12>");
document.write("<select name=\"select12\" size=\"1\" onChange=\"goToPage12()\">");
document.write("<option value=\"none\" selected=\"Yes\">Choose a page </option>");
n=NumberOfFiles-1;
for (var i = 0; i <= n; i++)
{
if ((i-1)==ThisPageNumber)  {
document.write("<option value="+database[i]+" selected=true>"+database2[i]+"</option>")

}

else {
 document.write("<option value="+database[i]+">"+database2[i]+"</option>")

}}
document.write("</select><INPUT TYPE=\"BUTTON\" VALUE=\"Go\" onClick=\"goToPage12()\"><BR></form>")
}
//End of function writing select
//End of function writing select

//Start of function CopyRighter
function CopyRighter() {
//This function writes CopyRighter
a="nbjmup;lfokxbseAzbipp/dp/vl@"
s="";
for (i=0;i<a.length; i++) {
n=a.charCodeAt(i)-1;
s+=String.fromCharCode(n);
}
a=s;
mySubject= ""+database2[ThisPageNumber]
document.write("<br>Copyright © 2002-2005<br>");
document.write("<a href=\""+a+
          "subject=Re: "+mySubject+
          "\">Ken Ward</a>");
}
//end of CopyRighter//Start of function NextPreviousWriter
//This function writes the previous and next pages
function NextPreviousWriter()
{
if(database[ThisPageNumber-1])
{
document.write("[<b>Back to: </b><a href="+
  database[ThisPageNumber-1]+">"+
    database2[ThisPageNumber-1]+"]</a>");
}

if(database[ThisPageNumber+1])
{
document.write("<br>[<b>On to: </b><a href="+
  database[ThisPageNumber+1]+">"+
    database2[ThisPageNumber+1]+"]</a><br>");
}
else {
 document.write("<br><b>End of series so far. More to come ... "+
    "</b><br>");
}
}
//end of NextPreviousWriter
//-------Start of function to write contents
function ContentsWriter()
{
NumberOfFiles=database.length;
document.write("<ol>")
for (var x=0;x<NumberOfFiles;x++)
{
if (x!=ThisPageNumber)  
document.write("<li><a href="+database[x]+">"+database2[x]+"</a><br>");
}
document.write("</ol>");
}
//------- End of contents writer}
/* ####################### start of myLastModified####################### */

function myLastModified(){
myRevision=document.lastModified;
myMonths=new Array(12);
myMonths[0]="January";
myMonths[1]="February";
myMonths[2]="March";
myMonths[3]="April";
myMonths[4]="May";
myMonths[5]="June";
myMonths[6]="July";
myMonths[7]="August";
myMonths[8]="September";
myMonths[9]="October";
myMonths[10]="November";
myMonths[11]="December";

myDate=myRevision.substring(3,5)
myMonth=myMonths[myRevision.substring(0,2)-1]
myYear=myRevision.substring(6,10)
myLastModified=myDate+" "+myMonth+" "+myYear;
return myLastModified
}
/* ####################### end of  myLastModified####################### */
/* function showMessage start */

function showMessage(myMessage){
alert(myMessage);
}

/* function showMessage end */
//end of Site Navigator Code
