// JavaScript Document
function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

function whereNext(dir,aVar) {
	if (dir == 'prev') {
		newPage = aVar - 1;
	}else{
		newPage = aVar + 1;
	}
	var nextLink = new Array();
	var no = 0;
	
	/*nextLink[0] = "default.cfm?nxtpg=" + newPage;
	nextLink[1] = "p1_01_tutFeatures.cfm?nxtpg=" + newPage;
	nextLink[2] = "p1_02_alwaysAvail.cfm?nxtpg=" + newPage;
	nextLink[3] = "p1_03_threeStep.cfm?nxtpg=" + newPage;
	nextLink[4] = "p1_04_howDictate.cfm?nxtpg=" + newPage;
	nextLink[5] = "p1_05_dictatePhone.cfm?nxtpg=" + newPage;
	nextLink[6] = "p1_06_custFileName.cfm?nxtpg=" + newPage;
	nextLink[7] = "p1_07_readyDictate.cfm?nxtpg=" + newPage;
	//nextLink[7] = "pt1-review.cfm?nxtpg=" + newPage;	
	nextLink[8] = "p2_01_keypadCommands.cfm?nxtpg=" + newPage;
	//nextLink[10] = "p2_02_keypadCommands2.cfm?nxtpg=" + newPage;
	nextLink[9] = "p2_03_keypadReview.cfm?nxtpg=" + newPage;
	nextLink[10] = "p2_03b_speakeasy.cfm?nxtpg=" + newPage;
	nextLink[11] = "p2_04_afterDictating.cfm?nxtpg=" + newPage;
	nextLink[12] = "p2_05_examples.cfm?nxtpg=" + newPage;
	nextLink[13] = "p2_05b_templates.cfm?nxtpg=" + newPage;
	nextLink[14] = "p2_06_helpfulHints.cfm?nxtpg=" + newPage;
	nextLink[15] = "p2_07_speakingTips.cfm?nxtpg=" + newPage;
	nextLink[16] = "p2_08_bkgrdNoise.cfm?nxtpg=" + newPage;
	nextLink[17] = "p2_09_spelling.cfm?nxtpg=" + newPage;
	nextLink[18] = "p2_10_dictatingPhone.cfm?nxtpg=" + newPage;
	nextLink[19] = "p2_11_memberPage.cfm?nxtpg=" + newPage;
	nextLink[20] = "p2_12_wordList.cfm?nxtpg=" + newPage;
	nextLink[21] = "p2_13_addressBook.cfm?nxtpg=" + newPage;
	nextLink[22] = "p2_14_jobStatus.cfm?nxtpg=" + newPage;
	//nextLink[22] = "pt2-review.cfm?nxtpg=" + newPage;
	nextLink[23] = "p3_01_resources.cfm?nxtpg=" + newPage;
	nextLink[24] = "p3_02_thankYou.cfm?nxtpg=" + newPage;*/
	
	//edited according CCR1089 date:7/17/2008
	
		/*nextLink[0] = "default.cfm?nxtpg=" + newPage;
		nextLink[1] = "p1_01_tutFeatures.cfm?nxtpg=" + newPage;		*/

		nextLink[0] = "default.cfm?nxtpg=" + newPage;
		nextLink[1] = "p1_01_tutFeatures.cfm?nxtpg=" + newPage;
		nextLink[2] = "p1_02_alwaysAvail.cfm?nxtpg=" + newPage;
		nextLink[3] = "p1_03_threeStep.cfm?nxtpg=" + newPage;
		nextLink[4] = "p1_04_howDictate.cfm?nxtpg=" + newPage;
		nextLink[5] = "p1_05_dictatePhone.cfm?nxtpg=" + newPage;
		nextLink[6] = "p1_06_custFileName.cfm?nxtpg=" + newPage;
		nextLink[7] = "p1_07_readyDictate.cfm?nxtpg=" + newPage;		
		nextLink[8] = "p2_01_keypadCommands.cfm?nxtpg=" + newPage;
		//nextLink[9] = "p2_02_keypadCommands2.cfm?nxtpg=" + newPage;
		//nextLink[9] = "p2_03_keypadReview.cfm?nxtpg=" + newPage;
		nextLink[9] = "p2_03b_speakeasy.cfm?nxtpg=" + newPage;
		nextLink[10] = "p2_04_afterDictating.cfm?nxtpg=" + newPage;
		nextLink[11] = "p2_05_examples.cfm?nxtpg=" + newPage;
		nextLink[12] = "p2_05b_templates.cfm?nxtpg=" + newPage;
		nextLink[13] = "p2_06_helpfulHints.cfm?nxtpg=" + newPage;
		nextLink[14] = "p2_07_speakingTips.cfm?nxtpg=" + newPage;
		nextLink[15] = "p2_08_bkgrdNoise.cfm?nxtpg=" + newPage;
		nextLink[16] = "p2_09_spelling.cfm?nxtpg=" + newPage;
		nextLink[17] = "p2_10_dictatingPhone.cfm?nxtpg=" + newPage;
		nextLink[18] = "p2_11_memberPage.cfm?nxtpg=" + newPage;
		nextLink[19] = "p2_12_wordList.cfm?nxtpg=" + newPage;
		nextLink[20] = "p2_13_addressBook.cfm?nxtpg=" + newPage;
		nextLink[21] = "p2_14_jobStatus.cfm?nxtpg=" + newPage;
		nextLink[22] = "p3_01_resources.cfm?nxtpg=" + newPage;
		//nextLink[23] = "p3_02_thankYou.cfm?nxtpg=" + newPage;
		
		
	

	MM_goToURL('parent',nextLink[newPage]);return document.MM_returnValue;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function showDIV(divID){
	var divItem = document.getElementById(divID);
	if (divItem.style.display == 'none') {
		divItem.style.display = 'block';
	}else{
		divItem.style.display = 'block';
	}
}
function hideDIV(divID){
	var divItem = document.getElementById(divID);
	if (divItem.style.display == 'block') {
		divItem.style.display = 'none';
	}else{
		divItem.style.display = 'none';
	}
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function mmLoadMenus() {
  if (window.mm_menu_0913190944_0) return;
    window.mm_menu_0913190944_0 = new Menu("root",265,20,"Arial, Helvetica, sans-serif",11,"#CCCCCC","#FFFFFF","#3473A6","#003366","left","middle",10,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0913190944_0.addMenuItem("Welcome&nbsp;to&nbsp;SpeakWrite","location='/CustomerNav/Tutorials/GENERAL-HTML/default.cfm?nxtpg=0'");
  mm_menu_0913190944_0.addMenuItem("1&nbsp;Tutorial&nbsp;Features","location='/CustomerNav/Tutorials/GENERAL-HTML/p1_01_tutFeatures.cfm?nxtpg=1'");
  mm_menu_0913190944_0.addMenuItem("2&nbsp;SpeakWrite&nbsp;is&nbsp;Always&nbsp;Available","location='/CustomerNav/Tutorials/GENERAL-HTML/p1_02_alwaysAvail.cfm?nxtpg=2'");
  mm_menu_0913190944_0.addMenuItem("3&nbsp;A&nbsp;Three&nbsp;Step&nbsp;Process","location='/CustomerNav/Tutorials/GENERAL-HTML/p1_03_threeStep.cfm?nxtpg=3'");
  mm_menu_0913190944_0.addMenuItem("4&nbsp;Dictation&nbsp;Methods","location='/CustomerNav/Tutorials/GENERAL-HTML/p1_04_howDictate.cfm?nxtpg=4'");
  mm_menu_0913190944_0.addMenuItem("5&nbsp;Dictating&nbsp;By&nbsp;Phone","location='/CustomerNav/Tutorials/GENERAL-HTML/p1_05_dictatePhone.cfm?nxtpg=5'");
  mm_menu_0913190944_0.addMenuItem("6&nbsp;Custom&nbsp;Filenames","location='/CustomerNav/Tutorials/GENERAL-HTML/p1_06_custFileName.cfm?nxtpg=6'");
  mm_menu_0913190944_0.addMenuItem("7&nbsp;Ready&nbsp;for&nbsp;Dictation","location='/CustomerNav/Tutorials/GENERAL-HTML/p1_07_readyDictate.cfm?nxtpg=7'");
  mm_menu_0913190944_0.addMenuItem("8&nbsp;Keypad&nbsp;Commands","location='/CustomerNav/Tutorials/GENERAL-HTML/p2_01_keypadCommands.cfm?nxtpg=8'");
  //mm_menu_0913190944_0.addMenuItem("9&nbsp;More&nbsp;Keypad&nbsp;Commands","location='/CustomerNav/Tutorials/GENERAL-HTML/p2_02_keypadCommands2.cfm?nxtpg=9'");
  //mm_menu_0913190944_0.addMenuItem("9&nbsp;Keypad&nbsp;Review","location='/CustomerNav/Tutorials/GENERAL-HTML/p2_03_keypadReview.cfm?nxtpg=9'");
  mm_menu_0913190944_0.addMenuItem("9&nbsp;Speakeasy","location='/CustomerNav/Tutorials/GENERAL-HTML/p2_03c_speakeasy.cfm?nxtpg=9'");
  mm_menu_0913190944_0.addMenuItem("10&nbsp;After&nbsp;Dictating","location='/CustomerNav/Tutorials/GENERAL-HTML/p2_04_afterDictating.cfm?nxtpg=10'");
  mm_menu_0913190944_0.addMenuItem("11&nbsp;Examples","location='/CustomerNav/Tutorials/GENERAL-HTML/p2_05_examples.cfm?nxtpg=11'");
  mm_menu_0913190944_0.addMenuItem("12&nbsp;Templates","location='/CustomerNav/Tutorials/GENERAL-HTML/p2_05b_templates.cfm?nxtpg=12'");
  mm_menu_0913190944_0.addMenuItem("13&nbsp;Helpful&nbsp;Hints","location='/CustomerNav/Tutorials/GENERAL-HTML/p2_06_helpfulHints.cfm?nxtpg=13'");
  mm_menu_0913190944_0.addMenuItem("14&nbsp;Speaking&nbsp;Tips","location='/CustomerNav/Tutorials/GENERAL-HTML/p2_07_speakingTips.cfm?nxtpg=14'");
  mm_menu_0913190944_0.addMenuItem("15&nbsp;Avoid&nbsp;Background&nbsp;Noise","location='/CustomerNav/Tutorials/GENERAL-HTML/p2_08_bkgrdNoise.cfm?nxtpg=15'");
  mm_menu_0913190944_0.addMenuItem("16&nbsp;Spelling","location='/CustomerNav/Tutorials/GENERAL-HTML/p2_09_spelling.cfm?nxtpg=16'");
  mm_menu_0913190944_0.addMenuItem("17&nbsp;Dictating&nbsp;by&nbsp;Telephone","location='/CustomerNav/Tutorials/GENERAL-HTML/p2_10_dictatingPhone.cfm?nxtpg=17'");
  mm_menu_0913190944_0.addMenuItem("18&nbsp;Member&nbsp;Pages","location='/CustomerNav/Tutorials/GENERAL-HTML/p2_11_memberPage.cfm?nxtpg=18'");
  mm_menu_0913190944_0.addMenuItem("19&nbsp;Word&nbsp;List","location='/CustomerNav/Tutorials/GENERAL-HTML/p2_12_wordList.cfm?nxtpg=19'");
  mm_menu_0913190944_0.addMenuItem("20&nbsp;Address&nbsp;Book ","location='/CustomerNav/Tutorials/GENERAL-HTML/p2_13_addressBook.cfm?nxtpg=20'");
  mm_menu_0913190944_0.addMenuItem("21&nbsp;Job&nbsp;Status","location='/CustomerNav/Tutorials/GENERAL-HTML/p2_14_jobStatus.cfm?nxtpg=21'");
  mm_menu_0913190944_0.addMenuItem("22&nbsp;Thank&nbsp;You","location='/CustomerNav/Tutorials/GENERAL-HTML/p3_01_resources.cfm?nxtpg=22'");
   mm_menu_0913190944_0.hideOnMouseOut=true;
   mm_menu_0913190944_0.bgColor='#003366';
   mm_menu_0913190944_0.menuBorder=1;
   mm_menu_0913190944_0.menuLiteBgColor='#003366';
   mm_menu_0913190944_0.menuBorderBgColor='#CCCCCC';

mm_menu_0913190944_0.writeMenus();
}
