<script type=
"text/javascript"><!--
///*############################### Start of code ###############################*/
var
MyLocation=window.location;var
MyPage=new Array;{
MyPage[0]=
"index.html";MyPage[1]=
"alerts.htm";MyPage[2]=
"alertsText.htm";MyPage[3]=
"alertsImages.htm";MyPage[4]=
"jumpfunction.htm";MyPage[5]=
"alertConfirm.htm";MyPage[6]=
"alertConfirm2Locs.htm";MyPage[7]=
"alertOnLoad.htm";MyPage[8]=
"alertHelloEx.htm";MyPage[9]=
"alertPrompts.htm";MyPage[10]=
"documentWrite.htm";MyPage[11]=
"documentWrite2.htm";MyPage[12]=
"WindowNew.htm";MyPage[13]=
"WindowNew2.htm";MyPage[14]=
"WindowNewHyperlinks.htm";MyPage[15]=
"menu1.htm";MyPage[16]=
"menuSelectOnChange.htm";MyPage[17]=
"ArrayText.htm";MyPage[18]=
"jsFrames.htm";MyPage[19]=
"frameHyperlinks.htm";MyPage[20]=
"BackForward.htm"; }function
GoBack() {if
(ThisPageNumber <=0) {alert(
"You are at the beginning of this series");}
else
{ ThisPageNumber=ThisPageNumber-1;window.location=MyPage[ThisPageNumber];
}
}function
GoForward(){ThisPageNumber=ThisPageNumber+1;
if
(ThisPageNumber >=MyPage.length) {answer=confirm(
"You are at the end of the present series. "+"Press ok to go to the beginning. Cancel to stay here"
);if
(answer!=0) {ThisPageNumber=0; window.location=MyPage[ThisPageNumber];
} ThisPageNumber=ThisPageNumber-1;}
else
{window.location=MyPage[ThisPageNumber];
}
}
/*############################### End of code ###############################*/
//-->
</script>
back to: BackForward.htm