database=new Array(64)
database2=new Array(64)
database[0]="index.html"
database2[0]="1stSelfDevelopment"
database[1]="PastMail.htm"
database2[1]="Self Development articles and techniques"
database[2]="welcome.htm"
database2[2]="Welcome to 1stSelfDevelopment"
database[3]="WhatIs.htm"
database2[3]="What is 1stSelfDevelopment?"
database[4]="secret.htm"
database2[4]="Would you like to know a secret"
database[5]="Fly.htm"
database2[5]="Fly into a good mood!"
database[6]="What%20is%20really%20real!.htm"
database2[6]="What is really real?"
database[7]="Creating%20demons!.htm"
database2[7]="Creating Demons"
database[8]="A%20bit%20of%20alchemy.htm"
database2[8]="A bit of alchemy"
database[9]="Wake%20up.htm"
database2[9]="Wake up"
database[10]="Let's%20read%20some%20minds..htm"
database2[10]="Let's read some minds"
database[11]="I%20feel%20so%20guilty.htm"
database2[11]="I feel so guilty"
database[12]="Something%20Strange%20is%20happening.htm"
database2[12]="Something Strange is Happening"
database[13]="Are%20you%20open%20minded.htm"
database2[13]="Are you open-minded"
database[14]="Are%20you%20open%20mindedComments.htm"
database2[14]="Are you open-minded?"
database[15]="BeingAgreeable.htm"
database2[15]="Being agreeable"
database[16]="Viewpoints.htm"
database2[16]="What's Your Viewpoint?"
database[17]="DarkNight.htm"
database2[17]="Dark Night of the Soul"
database[18]="WhatMightHaveBeen.htm"
database2[18]="What might have been"
database[19]="Motives.htm"
database2[19]="What really gets us going?"
database[20]="Polarity.htm"
database2[20]="Polarity"
database[21]="PolarityIntegration.htm"
database2[21]="Polarity Integration"
database[22]="love.htm"
database2[22]="What is love?"
database[23]="loveComments1.htm"
database2[23]="Comments on love"
database[24]="limitations.htm"
database2[24]="Are we limited by success?"
database[25]="grandiosity.htm"
database2[25]="See-saw Thinking"
database[26]="SixStepReframing.html"
database2[26]="Six Step Reframing"
database[27]="Magic.htm"
database2[27]="Is true knowledge valuable?"
database[28]="HowDoesMyProblemHelpMe.htm"
database2[28]="How does my problem help me?"
database[29]="990506.htm"
database2[29]="Retrieving that which was lost."
database[30]="990611.htm"
database2[30]="Being at cause"
database[31]="990618.htm"
database2[31]="Pure Action"
database[32]="990626.htm"
database2[32]="Emotional Mr Men and Ms Ladies"
database[33]="990817.htm"
database2[33]="Disagreement"
database[34]="990820.htm"
database2[34]="Soul Mates"
database[35]="learning_from_phobia.htm"
database2[35]="Learning from negative reactions"
database[36]="990827.htm"
database2[36]="Responsibility"
database[37]="990830.htm"
database2[37]="Rumpelstiltskin and Synchronicity"
database[38]="990906.htm"
database2[38]="You can have anything you want, but not everything!"
database[39]="990913.htm"
database2[39]="Words, words, and more words"
database[40]="990930.htm"
database2[40]="Our Four Selves"
database[41]="991003.htm"
database2[41]="Being Honest for a Change"
database[42]="991004.htm"
database2[42]="Musing on Mind-Body Healing"
database[43]="991011.htm"
database2[43]="Mirroring, Etc"
database[44]="991012.htm"
database2[44]="Strong Emotions"
database[45]="991020.htm"
database2[45]="Rapport and Truth"
database[46]="991026.htm"
database2[46]="It's so unfair!"
database[47]="991108.htm"
database2[47]="I believe in the God Power!"
database[48]="991109.htm"
database2[48]="Monkey Tricks"
database[49]="991109comments.htm"
database2[49]="Stages of Learning - "
database[50]="991121.htm"
database2[50]="How we are programmed"
database[51]="991130.htm"
database2[51]="How Much Choice do We Really Have?"
database[52]="991215.htm"
database2[52]="Games"
database[53]="991215_2.htm"
database2[53]="Good Games"
database[54]="000107.htm"
database2[54]="Importance"
database[55]="000114.htm"
database2[55]="Intuition"
database[56]="000120.htm"
database2[56]="What Karma are you creating now?"
database[57]="000201.htm"
database2[57]="Learning from negative reactions"
database[58]="010901.htm"
database2[58]="Pathways"
database[59]="010903.htm"
database2[59]="Never Say Not"
database[60]="010907.htm"
database2[60]="Beliefs"
database[61]="010908.htm"
database2[61]="Mind Viruses"
database[62]="010917.htm"
database2[62]="For the Love of Wasps"
database[63]="010921.htm"
database2[63]="The 8 Purposes of Life"
//----------------------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()
{
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>");
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
//This function writes CopyRighter
function CopyRighter(){
document.write(".<br>Copyright © 1998,1999, 2000, 2001 - All Rights Reserved"+
        "<br><a href=\"mailto:selfDev@123ward.com?"+
          "subject=Self Development\">Ken J 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 -->

