function initial(args)
  {
    var prompts   = new Object();
    var directory = args.applicationpromptsdirectory;
    var inputMethod = args.dynamicInput1;
    var AccountType = args.dynamicInput2;
	var isLoan = args.dynamicInput3;
	var gl_totalPaymentAmt = args.dynamicInput4;
	var da_TotalAmtDue = args.dynamicInput5;
    prompts.audio = new Array();
    prompts.tts = new Array();
	
	if (AccountType=="KCC") {
			prompts.audio.push(directory + "col01600_ini_01.vox");
			prompts.tts.push("The total due on your overdraft protection line of credit account is");
		}
		else if (AccountType=="KSF")
		{		
			prompts.audio.push(directory + "col01600_ini_02.vox");
			prompts.tts.push("The total due on your loan is");
		}
		else if (AccountType=="KDR")
		{		
			prompts.audio.push(directory + "col01600_ini_02.vox");
			prompts.tts.push("The total due on your loan is");
		}
		else if (isLoan == 'true')
		{		
			prompts.audio.push(directory + "col01600_ini_03.vox");
			prompts.tts.push("The total due on your loan or line of credit account is");
		}
		else
		{		
			prompts.audio.push(directory + "col01600_ini_04.vox");
			prompts.tts.push("The total due on your credit card is");
		}
			
    return prompts;
}

function initial2(args)
  {
    var prompts   = new Object();
    var directory = args.applicationpromptsdirectory;
    var inputMethod = args.dynamicInput1;
    var AccountType = args.dynamicInput2;
	var isLoan = args.dynamicInput3;
	var gl_totalPaymentAmt = args.dynamicInput4;
	var da_TotalAmtDue = args.dynamicInput5;
    prompts.audio = new Array();
    prompts.tts = new Array();
			
		if (isLoan) {
			prompts.audio.push(directory + "col01600_ini_06.vox");
			prompts.tts.push("This includes your next payment. ");
			prompts.audio.push(directory + "350ms.vox");
			prompts.tts.push("");
		}
		prompts.audio.push(directory + "col01600_ini_07.vox");
  		prompts.tts.push("The past due amount is"); 	
		
			
    return prompts;
}


function reprompt2(args)
  {
    var prompts   = new Object();
    var directory = args.applicationpromptsdirectory;
    var inputMethod = args.dynamicInput1;
    var AccountType = args.dynamicInput2;
	var isLoan = args.dynamicInput3;
	var gl_totalPaymentAmt = args.dynamicInput4;
	var da_TotalAmtDue = args.dynamicInput5;
    prompts.audio = new Array();
    prompts.tts = new Array();
	
	prompts.audio.push(directory + "col01600_nm2_01.vox");
			prompts.tts.push("The total due amount is");
	prompts.audio.push(directory + "gl_totalPaymentAmt.vox");
  		prompts.tts.push(gl_totalPaymentAmt); 
		
	prompts.audio.push(directory + "col01600_nm2_02.vox");
			prompts.tts.push("and the past due amount is");
	prompts.audio.push(directory + "da_TotalAmtDue.vox");
			prompts.tts.push(da_TotalAmtDue);
	prompts.audio.push(directory + "col01600_nm2_03.vox");
			prompts.tts.push("To pay the total due, press 1, or to pay the past due amount, press 2. If you want to pay a different amount, you can enter it in dollars and cents. For example, forty-two dollars and fifty cents would be 4-2-5-0");
			
    return prompts;
}

function noinputprompt2(args)
  {
    var prompts   = new Object();
    var directory = args.applicationpromptsdirectory;
    var inputMethod = args.dynamicInput1;
    var AccountType = args.dynamicInput2;
	var isLoan = args.dynamicInput3;
	var gl_totalPaymentAmt = args.dynamicInput4;
	var da_TotalAmtDue = args.dynamicInput5;
    prompts.audio = new Array();
    prompts.tts = new Array();
	
	prompts.audio.push(directory + "col01600_nm2_01.vox");
			prompts.tts.push("The total due amount is");
	prompts.audio.push(directory + "gl_totalPaymentAmt.vox");
  		prompts.tts.push(gl_totalPaymentAmt); 
		
	prompts.audio.push(directory + "col01600_nm2_02.vox");
			prompts.tts.push("and the past due amount is");
	prompts.audio.push(directory + "da_TotalAmtDue.vox");
			prompts.tts.push(da_TotalAmtDue);
	prompts.audio.push(directory + "col01600_nm2_06.vox");
			prompts.tts.push("To pay the total due, press 1, or to pay the past due amount, press 2. If you want to pay a different amount, you can enter it in dollars and cents. For example, forty-two dollars and fifty cents would be 4-2-5-0. ");
			
    return prompts;
}
