//************************* database contains the urls.

database=new Array(
"Which%20doctors,%20specifically.htm",
"How%20exactly%20did%20he%20hurt%20you.htm",
"About%20what.htm",
"Folks%20usually%20do%20it,%20you%20know!.htm",
"Folks%20usually%20do%20it,%20you%20know!Comments.htm",
"Mind%20Reading.htm",
"Everbody\'sDoingIt.htm",
"ToBe.htm",
"WhyItIsSoPowerful.htm",
"Words%20that%20Act.htm",
"Quantity.htm",
"PositiveIntentions.htm",
"Forbidden%20Fruit.htm",
"EmbeddedCommands.htm",
"pacing.htm",
"Conversational%20Hypnosis.htm",
"HowToX.htm",
"whatDoesItMean.htm",
"990611.htm",
"990913.htm",
"990917.htm",
"990929.htm",
"990930comments.htm",
"991108.htm",
"991113.htm",
"991215.htm",
"991223.htm",
"000101.htm",
"000107.htm"


);


//************************* End of urls

//************************* Database2 contains the descriptions.

database2=new Array("Which doctors, specifically",
"How exactly did he hurt you ",
"About what ",
"Folks usually do it ",
"Folks usually do it (Comments",
"Mind Reading",
"Everbody's Doing It ",
"To be or not to be?",
"Why is the Being Specific Model So Powerful? ",
"Words that Act ",
"Quantity ",
"Positive Intentions ",
"Forbidden Fruit",
"Embedded Commands",
"Building Rapport ",
"Conversational Hypnosis ",
"How to X! ",
"What does it mean - redefining meaning ",
"The Process of Believing ",
"Meaning, Significance, and things ",
"Personal Equality ",
"Redefining Motives"
,"Redefining Motives - Comments",
"The situation is hopeless, but not serious",
"Building Rapport",
"Using voice patterns to build rapport",
"Persuasion through enlightenment 1",
"Persuasion through enlightenment 2",
"Persuasion through enlightenment 3"


);

//************************* End of url descriptions

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;


for (var i = 0; i <= n; i++)
{
if (database[i]==ThisFilename)
{
ThisPageNumber=i;

}


}
/*if (ThisPageNumber='undefined')
{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=database[ThisPageNumber-1]
}
}

function goForward()
{
if (ThisPageNumber+1>n)
{
answer = confirm("You are at the end of the series. Press OK to go to the start, or cancel to remain where you are");

if (answer !=0)
{
top.location = "index.html"
}




}
else
{
top.location=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")
{
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 an article </option>");
for (var i = 0; i <= n; i++)
{
document.write("<option value="+database[i]+">"+database2[i]+"</option>")

}

document.write("</select></form>")

}
//End of function writing select
//-------------------------------------------------------

/* ####################### Start of function NextPreviousWriter ####################### */

//This function writes the previous and next pages
function NextPreviousWriter()
{
if(database[ThisPageNumber-1])
{
document.write("<br><b>[Back to:</b> <a href="+database[ThisPageNumber-1]+">"+database2[ThisPageNumber-1]+"]</a>");
}
if(database[ThisPageNumber])
{
document.write("<br>Location: http://www.trans4mind.com/personal_development/1stCommunicationSkil/"+database[ThisPageNumber]);
}
if(database[ThisPageNumber+1])
{
document.write("<br>[<b>On to:</b> <a href="+database[ThisPageNumber+1]+">"+database2[ThisPageNumber+1]+"]</a>");
}
else
{
document.write("<br><B>End of series so far ... more to come</B><br>");
}
document.write("<br>Reference: <A HREF=\"../self_development_books.htm\">Self development books</A>");
document.write("<br>Most Recent Revision: 16-Jan-00.<br>Copyright ©2000 <A HREF=\"MAILTO: ken@123ward.com?SUBJECT=Re: 1stCommunicationSkil\">Ken J Ward</A><br>All Rights Reserved.");
document.write("<br>Please send <a href=\"mailto:kenjward@123ward.com?subject=Re: "+database2[ThisPageNumber]+"\">feedback.</a>");
//end of NextPreviousWriter
//---------------------------------------------------------
}function ContentsWriter()
{
NumberOfFiles=database.length;
document.write("<h2>1stSelfDevelopment - Contents</h2><ol>");
for (var x=0;x<NumberOfFiles;x++)
{
document.write("<li><a href="+database[x]+">"+database2[x]+"</a><br>");
}
document.write("</ol>");
}






