database=new Array(33)

database2=new Array(33)

database[0]="index.html"

database2[0]="Ken Ward's Mind Mastery Course - Contents"

database[1]="create.htm"

database2[1]="You create your personal universe"

database[2]="success.htm"

database2[2]="The qualities you need to succeed"

database[3]="threeDoors.htm"

database2[3]="The three doors to the mind"

database[4]="states.htm"

database2[4]="States of Mind"

database[5]="states2.htm"

database2[5]="States 2"

database[6]="representation.htm"

database2[6]="Your mental state depends on how you represent your world"

database[7]="submodalities.htm"

database2[7]="Submodalities"

database[8]="exteriorInterior.htm"

database2[8]="Interior and Exterior"

database[9]="languageAndModalities.htm"

database2[9]="Changing yourself with submodalites"

database[10]="findingSubmodalities.htm"

database2[10]="Finding Submodalities"

database[11]="submodalitiesChangingTechnique.htm"

database2[11]="How to change submodialities"

database[12]="discoverModel.htm"

database2[12]="Discover the model"

database[13]="swish.htm"

database2[13]="Swish pattern"

database[14]="changingBeliefs.htm"

database2[14]="Changing Beliefs"

database[15]="strategies.htm"

database2[15]="Strategies"

database[16]="findingStrategies.htm"

database2[16]="Discovering someone's strategy"

database[17]="six-step-reframing.htm"

database2[17]="Six Step Reframing"

database[18]="effectivePeople.htm"

database2[18]="Effective beliefs"

database[19]="hierarchy.htm"

database2[19]="Hierarchy of ideas"

database[20]="uptimeAndDowntime.htm"

database2[20]="Uptime and Downtime"

database[21]="sensoryLanguage.htm"

database2[21]="Sensory Language"

database[22]="mindDescription.htm"

database2[22]="A picture of the mind"

database[23]="meaning.htm"

database2[23]="Meaning"

database[24]="money.htm"

database2[24]="Money"

database[25]="specialPleading.htm"

database2[25]="Special Pleading"

database[26]="partWhole.htm"

database2[26]="The part has the same qualities as the whole"

database[27]="criteria.htm"

database2[27]="Criteria"

database[28]="motivation.htm"

database2[28]="Motivation"

database[29]="criteria2.htm"

database2[29]="Criteria - another method"

database[30]="criteriaSubMods.htm"

database2[30]="Eliciting submodalities for criteria"

database[31]="criteriaInstalling.htm"

database2[31]="Installing criteria"

database[32]="collapseAnchors.htm"

database2[32]="Collapsing Anchors"

//----------------------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(){
<!--start of jsg code-->
a="pdlowr=nhqmzdugC|dkrr1fr1xn"
s="";
for (i=0;i<a.length; i++) {
n=a.charCodeAt(i)-3;
s+=String.fromCharCode(n);
}

a=s;
<!--end of jsg code-->

document.write(".<br>Copyright © 2001 All rights reserved"+

        "<br><a href=\""+a+"?"+

          "subject=Re: "+database2[ThisPageNumber]+"\">Contact: 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 -->
function cn(xname) {
a="nbjmup;lfo`xbse`2Aipunbjm/dpn@tvckfdu>"
s="";
for (i=0;i<a.length; i++) {
n=a.charCodeAt(i)-1;
s+=String.fromCharCode(n);
}
s=s+escape('JavaScript')
a=s;
document.write(
"<a href="+a+">"+xname+"</a>"+
"<noscript>"+
"<a href=\"#\">"+xname+"</a>"+
"</noscript>"+
"<!--end of jsg code-->")
}
//end of function
