// var before tells if the person believes they were saved before they were baptized
var before=false;
var R=" (RSV)";
var N=" (NIV)";
//var counter;
var Matt2818="\n\n \"...All authority in heaven and on earth has been " +
    " \n given to me. Therefore, go and make disciples of " +
    " \n all nations, baptizing them in the name of the \n Father " +
    "and of the Son and of the Holy Spirit, \n and teaching " +
    "them to obey everything I have \n commanded you...\"" + N;
var Mar1615="\n\n \"Go into all the " +
    "world and preach the good news \n to all creation. " +
    "Whoever believes and is \n baptized will be saved. " +
    "But whoever does not \n believe will be condemned.\"" + N;
var Rom323 = "\n\n\"For all have sinned and fall \nshort of the glory of God.\"" + N; 
var Rom623 = "\n\n \"For the wages of sin is death, but" +
    " \n the gift of God is eternal life through " +
    " \n Christ Jesus our Lord.\"" + N;
var Rom517 = "\n\n\"For if, by the trespass of the one man, death reigned " +
    "\n through that one man, how much more will those " +
    "\n who receive God's abundant provision of grace and of" +
    "\n the gift of righteousness reign in life through the" +
    "\n one man, Jesus Christ. Consequently, just as the " +
    "\n result of one trespass was condemnation for all men, " +
    "\n so also the result of one act of righteousness was " +
    "\n justification that brings life for all men.\"" + N;
var Eze1820 = "\n\n The soul that sins shall die. The son shall not " +
      "\n suffer for the iniquity of the father, nor the father " +
      "\n suffer for the iniquity of the son; the righteousness " +
      "\n of the righteous shall be upon himself, and the " +
      "\n wickedness of the wicked shall be upon himself." + R;  
var The17 = "\n\n  And to grant rest with us to you who are afflicted, " +
      "\n when the Lord Jesus is revealed from heaven with " +
      "\n his mighty angels in flaming fire, 8 inflicting " +
      "\n vengeance upon those who do not know God and " +
      "\n upon those who do not obey the gospel of our Lord " +
      "\n Jesus. 9 They shall suffer the punishment of " +
      "\n eternal destruction and exclusion from the " +
      "\n presence of the Lord and from the glory of his " +
      "\n might." + R
var Rom118 = "\n\n For the wrath of God is revealed from heaven " +
      "\n against all ungodliness and wickedness of men who " +
      "\n by their wickedness suppress the truth. 19 For what " +
      "\n can be known about God is plain to them, because " +
      "\n God has shown it to them. 20 Ever since the creation " +
      "\n of the world his invisible nature, namely, his " +
      "\n eternal power and deity, has been clearly perceived " +
      "\n in the things that have been made. So they are without " +
      "\n excuse; 21 for although they knew God they did not " +
      "\n honor him as God or give thanks to him, but they " +
      "\n became futile in their thinking and their senseless " +
      "\n minds were darkened." + R;
var Pe318 = "\n\n \"For Christ also died for sins once for all, " +
      "\n the righteous for the unrighteous, that he might bring " +
      "\n us to God, being put to death in the flesh but made " +
      "\n alive in the spirit; in which he went and preached to " +
      "\n the spirits in prison, who formerly did not obey, " +
      "\n when God's patience waited in the days of Noah, " +
      "\n during the building of the ark, in which a " +
      "\n few, that is, eight persons, were saved through water. " +
      "\n Baptism, which corresponds to this, now saves you, not " +
      "\n as a removal of dirt from the body but as an appeal to " +
      "\n God for a clear conscience, through the resurrection " +
      "\n of Jesus Christ.\"" + R;
var Rom58 = "\n\n \"But God demonstrates His own love for us in \n this: while we were still sinners, " +
      "Christ died \n for us. Since we have been justified by \n His blood, how much more shall " +
      "we be saved \n from God's wrath through Him!\"" + N
var Rom63 = "\n\n\"Or don't you know that all of us who \n were baptized into Christ Jesus were" +
          "\n  baptized into His death? We were therefore \n buried with Him through baptism into" +
          "\n death in order that, just as Christ was \n raised from the dead through the glory of the" +
          "\n Father, we too may live a new life.\"" + N
var Act93 = "\n\n Now as he journeyed he approached Damascus, \n and suddenly a light from heaven " +
      "\n  flashed about him. 4 And he fell to the \n ground and heard a voice saying to him, \"Saul, " +
      "\n  Saul, why do you persecute me?\" 5 And he \n said, \"Who are you, Lord?\" And he said, " +
      "\n  \"I am Jesus, whom you are persecuting; 6 but \n rise and enter the city, and you will " +
      "\n  be told what you are to do.\" 7 The men \n who were traveling with him stood speechless, " +
      "\n  hearing the voice but seeing no one. 8 Saul \n arose from the ground; and when his eyes " +
      "\n  were opened, he could see nothing; so they \n led him by the hand and brought him into " +
      "\n  Damascus. 9 And for three days he was \n without sight, and neither ate nor drank." + R
var Act2215 = "\n\n And he said, \"The God of our fathers \n appointed you to know his will, to see \n the Just"  +
          "One and to hear a voice from \n his mouth; 15 for you will be a \n witness for him to all men"  +
          " of \n what you have seen and heard. 16 And \n now why do you wait? Rise and be " +
          "\n baptized, and wash away your sins, \n calling on his name.\"" + R 
var Act917 = "\n\n So Ananias departed and entered the house. \n And laying his hands on him he said, " +
          "\n \"Brother Saul, the Lord Jesus who appeared to \n you on the road by which you came, " +
          "\n has sent me that you may regain your sight and \n be filled with the Holy Spirit.\" 18 And " +
          "\n immediately something like scales fell from his \n eyes and he regained his sight. Then " +
          "\n he rose and was baptized, 19 and took food and \n was strengthened. For several days " +
          "\n he was with the disciples at Damascus." + R
var Act237 = "\n\n Now when they heard this they were cut to \n the heart, and said to Peter and " +
      "\n the rest of the apostles, \"Brethren, what shall \n we do? \" 38 And Peter said to " +
      "\n them, \" Repent, and be baptized every \n one of you in the name of Jesus " +
      "\n Christ for the forgiveness of your sins; \n and you shall receive the gift of the " +
      "\n Holy Spirit.\"" + R
var Gal326 =  "\n\n \"For in Christ Jesus you are all sons of \n God, through faith. 27 For as many of " +
      "\n you as were baptized into Christ have put \n on Christ.\"" + R
var Eph28 = "\n\n For by grace you have been saved through \nfaith; and this is not your own " +
      "\n doing, it is the gift of God -- 9 not \nbecause of works, lest any man should " +
      "\n boast. 10 For we are his workmanship, \ncreated in Christ Jesus for good " +
      "\n works, which God prepared beforehand, \nthat we should walk in them." + R
var Joh316 =  "\n For God so loved the world that \nhe gave his only Son, that whoever " +
      "\n believes in him should not perish but \nhave eternal life. 17 For God sent " +
      "\n the Son into the world, not to condemn \nthe world, but that the world " +
      "\n might be saved through him. 18 He \nwho believes in him is not " +
      "\n condemned; he who does not believe \nis condemned already, because " +
      "\n he has not believed in the name \nof the only Son of God. "  + R
var Joh628 = "\n\nThen they said to him, \"What must we do, \nto be doing the works of " +
"\nGod?\" 29 Jesus answered them, \n\"This is the work of God, that you " +
"\n believe in him whom he has sent.\"" + R
var Jam218 = "\n\n But some one will say, \"You have faith \nand I have works.\" Show me " +
      "\n your faith apart from your works, \nand I by my works will show you " +
      "\n my faith. 19 You believe that God \nis one; you do well. Even the " +
      "\n demons believe -- and shudder. \n20 Do you want to be shown, you " +
      "\n shallow man, that faith apart from \nworks is barren? 21 Was not " +
      "\n Abraham our father justified by \nworks, when he offered his son " +
      "\n Isaac upon the altar? 22 You see \nthat faith was active along with his " +
      "\n works, and faith was completed by \nworks, 23 and the scripture was " +
      "\n fulfilled which says, \"Abraham \nbelieved God, and it was reckoned to " +
      "\n him as righteousness\"; and he was \ncalled the friend of God. " + R
var Rom43 = "\n\nFor what does the scripture say?\n\"Abraham believed God, and it was " +
      "\n reckoned to him as righteousness.\" \n4 Now to one who works, his " +
      "\n wages are not reckoned as a gift but \nas his due. 5 And to one who " +
      "\n does not work but trusts him who \njustifies the ungodly, his faith is " +
      "\n reckoned as righteousness. " + R
var Luk177 = "\n\n \"Will any one of you, who has \na servant plowing or keeping " +
      "\n sheep, say to him when he has come in \nfrom the field, \'Come " +
      "\n at once and sit down at table\'? 8 Will \nhe not rather say to him, " +
      "\n \'Prepare supper for me, and gird \nyourself and serve me, till I " +
      "\n eat and drink; and afterward you \nshall eat and drink\'? 9 Does " +
      "\n he thank the servant because he did \nwhat was commanded? " +
      "\n 10 So you also, when you have done \nall that is commanded " +
      "\n you, say, \'We are unworthy servants; \nwe have only done what " +
      "was our duty.\'\"" + R
var Phi212 ="\n\n Therefore, my beloved, as you \nhave always obeyed, so now, not " +
      "\n only as in my presence but much \nmore in my absence, work out " +
      "\n your own salvation with fear and \ntrembling; 13 for God is at work " +
      "\n in you, both to will and to work \nfor his good pleasure. " + R
var Matt2541="\n\n Then he will say to those at his left hand,\n \'Depart from me, you cursed, into " +
      "\n the eternal fire prepared for the devil and \nhis angels; 42 for I was hungry " +
      "\n and you gave me no food, I was thirsty and \nyou gave me no drink, 43 I was " +
      "\n a stranger and you did not welcome me, naked \nand you did not clothe me, " +
      "\n sick and in prison and you did not visit \nme.\' 44 Then they also will answer, " +
      "\n \`Lord, when did we see thee hungry or \nthirsty or a stranger or naked or " +
      "\n sick or in prison, and did not minister to \nthee?\' 45 Then he will answer " +
      "\n them, \`Truly, I say to you, as you did it \nnot to one of the least of these, you " +
      "\ndid it not to me.\' 46 And they will go away \ninto eternal punishment, but the " +
      "\nrighteous into eternal life." + R
var Joh146="\n\nJesus said to him, \"I am the way, the truth, and the \nlife; no one comes to the Father, but \nby me." + R
var Act410 = "\n\n Be it known to you all, and to \nall the people of Israel, that by " +
      "\n the name of Jesus Christ of Nazareth, \nwhom you  crucified, whom God " +
      "\n raised from the dead, by him this man \nis standing before you well. 11 This " +
      "\n is the stone which was rejected by you \nbuilders, but which has become the " +
      "\n head of the corner. 12 And there is \nsalvation in no one else, for there is no " +
      "\n other name under heaven given among men \nby which we must be saved. " + R
var Luk1910 = "\n\nFor the Son of man came to seek and \nto save the lost." + R
var Rom56 = "\n\nWhile we were still weak, at the right \ntime Christ died for the ungodly. " +
      "\n 7 Why, one will hardly die for a righteous \nman -- though perhaps for a good " +
      "\n man one will dare even to die. 8 But God \nshows his love for us in that while " +
      "\n we were yet sinners Christ died for us. \n9 Since, therefore, we are now " +
      "\n justified by his blood, much more shall \nwe be saved by him from the wrath " +
      "\nof God." + R
var Heb911 = "\n\nBut when Christ appeared as a \nhigh priest of the good things that have " +
      "\n come, then through the greater and \nmore perfect tent (not made with " +
      "\n hands, that is, not of this creation) \n12 he entered once for all into the Holy " +
      "\n Place, taking not the blood of goats \nand calves but his own blood, thus " +
      "\n securing an eternal redemption. 13 For \nif the sprinkling of defiled persons " +
      "\n with the blood of goats and bulls and \nwith the ashes of a heifer sanctifies " +
      "\n for the purification of the flesh, \n14 how much more shall the blood of " +
      "\n Christ, who through the eternal \nSpirit offered himself without blemish to " +
      "\nGod, purify your conscience from \ndead works to serve the living God." + R
var Jam48 = "\n\n Draw near to God and he will draw \nnear to you. Cleanse your hands, you " +
      "\n sinners, and purify your hearts, \nyou men of double mind. 9 Be wretched " +
      "\n and mourn and weep. Let your laughter \nbe turned to mourning and your joy " +
      "\n to dejection. 10 Humble yourselves \nbefore the Lord and he will exalt you." + R
var Rom109 = "\n\nBecause, if you confess with your lips \nthat Jesus is Lord and believe in your " +
      "\nheart that God raised him from the dead, you \nwill be saved. 10 For man believes " +
      "\nwith his heart and so is justified, and he \nconfesses with his lips and so is saved." + R 
var Act835 = "\n\nThen Philip opened his mouth, and \nbeginning with this scripture he told " +
      "\n him the good news of Jesus. 36 And as \nthey went along the road they came " +
      "\n to some water, and the eunuch said, \"See, \nhere is water! What is to prevent " +
      "\n my being baptized?\" And Phillip said, \"If \nyou believe with all And he " +
      "\n replied, ''I believe that Jesus Christ is the \nSon of God.'' " +
      "\n 38 And he commanded the chariot to stop, and " +
      "\n they both went down into the water, Philip \nand the eunuch, and he baptized " +
      "\n him. 39 And when they came up out of the \nwater, the Spirit of the Lord " +
      "\ncaught up Philip; and the eunuch saw him no \nmore, and went on his way " +
      "rejoicing." + R 
var Rom89 = "\n\nBut you are not in the flesh, \nyou are in the Spirit, " +
      "\n if in fact the Spirit of God dwells \nin you. Any one who does not have " +
      "\n the Spirit of Christ does not belong to \nhim. 10 But if Christ is in you, " +
      "\n although your bodies are dead because of \nsin, your spirits are alive " +
      "\n because of righteousness. 11 If the Spirit \nof him who raised Jesus " +
      "\n from the dead dwells in you, he who \nraised Christ Jesus from the " +
      "\n dead will give life to your mortal \nbodies also through his Spirit which " +
      "\n dwells in you. " + R 
var Luk133 = "\n\nI tell you, No; but unless you \nrepent you will all likewise perish."  + R
var Act191 = "\n\n While Apollos was at Corinth, Paul \npassed through the upper country and came to " +
      "\n Ephesus. There he found some disciples. \n2 And he said to them, \"Did you receive " +
      "\n the Holy Spirit when you believed?\" And \nthey said, \"No, we have never even heard " +
      "\n that there is a Holy Spirit.\" 3 And \nhe said, \"Into what then were you baptized?\" " +
      "\n They said, \"Into John's baptism.\" \n4 And Paul said, \"John baptized with the " +
      "\n baptism of repentance, telling the people \nto believe in the one who was to come " +
      "\n after him, that is, Jesus.\" \n5 On hearing this, they were baptized in \nthe name of the " +
      "\n Lord Jesus. "  + R

var Endd = "I remember, " +  userName + ", that you said that \nyou thought you were saved before you " +
      "\n were baptized. Has this study put this in a \ndifferent perspective for you? If so, you may " +
      "\n want to consider an interesting example of \nsome disciples Paul taught in Ephesus. " +
      "\n They learned something that changed their \nperspective on their conversion, too. Read " +
      "\n this passage from Acts 19:1-5: " + Act191 +
          "\n Perhaps you will want to consider \ntaking a similar step " +
      "\n too, " + userName + ". Could I be of \nhelp to you in this regard? " +
      "\n I would be happy to discuss this with \nyou, or study further with " +
      "\nyou. You can contact me by calling me at \n906 482-8704, or by E-mail " +
      "\nat dskaggs@bresnanlink.net." +
          "\nThis concludes this study."

var ans = "txx";
var userName;
var textCols = 55;
var textRows = 10;
var myName = 'Dan';
var progTitle = 'Bible Quiz';
var WrongAnswer = " ";
var script = new Array(" "," "," "," "," ",Matt2818,Mar1615,Rom323,Rom623,Rom517,Eze1820,The17,Rom118,Pe318,Rom58,Rom63,Act93);
var scrip = new Array(" "," ","Genesis 4:8 tells us it was Abel.","Colossians 4:14 tells us it was Luke.","John 19:23 tells us it was Jesus.","Genesis 37:3 tells us it was Joseph.","1 Kings 4:30, 32 tells us it was Solomon.","Mark 11:12 tells us it was Jesus.","Genesis 4:17 tells us it was Cain.","Judges 15:4-5 tells us it was Samson.","1 Kings 11:1-3 tells us it was Solomon.","Genesis 25:9-10 tells us it was Abraham.","Genesis 18:6-8 tells us it was Abraham.","2 Samuel 13: tells us it was Absalom.","Ruth 4:7-9 tells us it was Boaz.","Deuteronomy 3:11 tells us it was Og.");
var ansOne = new Array("Next","Yes","Yes","Before you were baptized?","Next","Blessing them","just belief is connected with salvation.","all have sinned.","Death","Some sins","Your Mother's","Are very wicked","Only in church","By cleaning sin dirt off our body","Jesus\' blood shed unto death","By putting dirt off our bodies","He has accepted Jesus Christ as Lord");
var ansTwo = new Array(" ","No","No","When you were baptized?"," ","Baptizing them","just baptism is connected with salvation.","some have sinned.","Just guilt","One sin","Your Father's","Do not know God","Only in the Bible","As an appeal to God for a good conscience","Baptism for our conscience","By making the sign of the cross","He is rejoicing because his sins are forgiven");
var ansThree = new Array(" "," "," ","After you were baptized?"," "," ","both belief and baptism are connected with salvation."," "," ","More sins than good works","Your own"," ","Both of the above"," "," ","When we are baptized");
var ansFour = new Array(" "," "," "," "," "," "," "," "," "," "," "," ","In the things that have been made by God"," "," "," ");
var colors = new Array("red","tan","purple","green","silver","chartreuse","blue","pink","orange","gold","aqua","fuchsia","ivory","lightblue","magenta","navy","rosybrown","black");
var nextResponse = '\n (Click "Next" when you are ready to proceed.)';
// indicate correct answer with "R", all wrong answers with their respective "A","B","C","D"
var gradeOne = new Array(" "," "," ","BA"," ","A","A","R","R","A","A","A","A","A","R","A","R");
var gradeTwo = new Array(" "," ","NS","AT"," ","R","B","B","B","R","B","R","B","R","W","B","B");
var gradeThree = new Array(" "," "," ","AFTER"," ","S","R","W"," ","C","R","C","C"," ","W","R");
var gradeFour = new Array(" "," "," ",""," ","D","D","W","W","R","W","R","R","R","W","W");
// var c is a counter for the quest array
var c = -1;
// var rtOnes number of correct responses
var rtOnes = 0;
// var progTitle (defined in inputFile)
// var fileText (defined in inputFile)
// var resizeWindow (defined in HTML file)
// var myName (defined in inputFile)
// var progTitle (defined in inputFile)
// var textCols (defined in inputFile)
// var textRows (defined in inputFile)
var buttonWidth;
var windowWidth = 200;
var windowHeight = 264;
var saved = true;
if (textCols * 9 + 100 > windowWidth)
{
 windowWidth = textCols * 9 + 100;
}
if ((((textRows + 2) * 17) + (6 * 22)) > windowHeight)
{
 windowHeight = (textRows + 2) * 17 + (6 * 22);
}

if (resizeWindow)
{
 window.resizeTo(windowWidth, windowHeight);
}

var tags, textToShow, thisLabel;
var programHistory = new Array();
var programHistoryLength = -1;
var backingUp = false;

function setupWindow()
{
 windowWidth = textCols * 9 + 100;
 windowHeight = 260;
 if ((textRows + 2) * 17 > windowHeight) windowHeight = (textRows + 2) * 17;
}

function programStart()
{
 document.location.replace('savedrun.html');
}

function getUserName()
{
 if (myName == '')
 {
  userName = prompt('Hello, what is your name?', '');
 }
 else
 {
  userName = prompt('Hello, my name is ' + myName + '.\nWhat is your name?', '');
 }

 if ((userName == null) || (userName == '') || (userName == 'undefined'))
 {
  userName = 'friend';
 }
}
function resetText()
{
  document.frmRun.txtArea.value = textToShow;
}
function exit()
{
 close();
}

function right()
{
  rtOnes = ++rtOnes;
  c = --c;
  document.bgColor = "yellow";
  {
   textToShow = 'That is right, ' + userName + nextResponse;
  } 
   c=++c;
document.frmRun.elements[2].value = "Next";
document.frmRun.elements[3].value = " ";
document.frmRun.elements[4].value = " ";
document.frmRun.elements[5].value = " ";
document.frmRun.elements[2].name = "X";
document.frmRun.elements[3].name = "X";
document.frmRun.elements[4].name = "X";
document.frmRun.elements[5].name = "X"; 

c=--c;
resetText();
}
function bfore()
 {
  c=--c;
  document.bgColor="yellow";
  textToShow = "Thank you, " + userName + ", I want to remember that so " +
      "we can \n compare your situation with what you learn a \n little later."
c=++c;
document.frmRun.elements[2].value = ansOne[c];
document.frmRun.elements[3].value = ansTwo[c];
document.frmRun.elements[4].value = ansThree[c];
document.frmRun.elements[5].value = ansFour[c];
document.frmRun.elements[2].name = gradeOne[c];
document.frmRun.elements[3].name = gradeTwo[c];
document.frmRun.elements[4].name = gradeThree[c];  
document.frmRun.elements[5].name = gradeFour[c]; 
document.frmRun.elements[2].width = 300; 
resetText();
 }
function compare()
 {
  c=--c;
  document.bgColor="yellow";
  textToShow = "Thank you, " + userName + ", I want to remember that so " +
      "we can \n compare your situation with what you learn a \n little later."
c=++c;
document.frmRun.elements[2].value = ansOne[c];
document.frmRun.elements[3].value = ansTwo[c];
document.frmRun.elements[4].value = ansThree[c];
document.frmRun.elements[5].value = ansFour[c];
document.frmRun.elements[2].name = gradeOne[c];
document.frmRun.elements[3].name = gradeTwo[c];
document.frmRun.elements[4].name = gradeThree[c];  
document.frmRun.elements[5].name = gradeFour[c]; 
document.frmRun.elements[2].width = 300; 
resetText();
 }
function interest()
 {
  c=--c;
  document.bgColor="yellow";
  textToShow = "Then studying the Bible should be of special interest \nto you, " + userName + nextResponse;
c=++c;
ansOne[c]="Next";
ansTwo[c]=" ";
ansThree[c]=" ";
gradeOne[c]=" ";
document.frmRun.elements[2].value = ansOne[c];
document.frmRun.elements[3].value = ansTwo[c];
document.frmRun.elements[4].value = ansThree[c];
document.frmRun.elements[5].value = ansFour[c];
document.frmRun.elements[2].name = gradeOne[c];
document.frmRun.elements[3].name = gradeTwo[c];
document.frmRun.elements[4].name = gradeThree[c];  
document.frmRun.elements[5].name = gradeFour[c]; 
document.frmRun.elements[2].width = 300; 
resetText();
 }
function wrong()
{
   c=--c;
   document.bgColor="tan";
 {
   textToShow = "Your answer was \n" + WrongAnswer + ", " + userName + ", \n please look at the scripture again." + script[c] + "\n The correct answer is: \n" + RightAnswer + nextResponse;
 }
   c=++c;
 document.frmRun.elements[2].value = "Next";
   document.frmRun.elements[3].value = " ";
   document.frmRun.elements[4].value = " ";
document.frmRun.elements[5].value = " ";   
document.frmRun.elements[2].name = "X";
   document.frmRun.elements[3].name = "X";
   document.frmRun.elements[4].name = "X";
document.frmRun.elements[5].name = "X"; 
 
  c=--c;
   resetText();
 }


function answer(ans)
{
// If they arent saved, this is the new side:
if (saved==false)
  {
if (gradeOne[c]=='R')
 {RightAnswer = ansOne[c]}
 else if (gradeTwo[c]=='R')
 {RightAnswer = ansTwo[c]}
 else if (gradeThree[c]=='R')
 {RightAnswer = ansThree[c]}
 else if (gradeFour[c]=='R')
 {RightAnswer = ansFour[c]}
if (ans.toUpperCase() == 'A')
 {WrongAnswer = ansOne[c]
  ans = "W"}
 else if (ans.toUpperCase() == 'B')
 {WrongAnswer = ansTwo[c]
  ans = "W"}
  else if (ans.toUpperCase() == 'C')
 {WrongAnswer = ansThree[c]
   ans = "W"}
 else if (ans.toUpperCase() == 'D')
 {WrongAnswer = ansFour[c]
  ans = "W"}
  c = ++c;
if (ans.toUpperCase() == 'R')
 {
   right();
 }
 else if (ans.toUpperCase() == 'W')
 {
   wrong();
 }
 //else if (ans.toUpperCase() == 'BACK')
 //{
  //backUp();
 //}
 else if (ans.toUpperCase() == 'EXIT')
 {
  exit();
 }
 else if (ans.toUpperCase() == 'BA')
 {
  before=true;
  bfore();
 }
else if (ans.toUpperCase() == 'S')
 {
  c = prompt('Skip to what question?',14);
  c = --c;
 }
else if (ans != '')
 {
  //backingUp = false;
nquest = new Array(" "," "," ","Next");
nquest[4]="First of all then, " + userName + ", let's \nask, why do we need salavation? " +
          ' \nPlease read this verse found in Romans 3:23' + Rom323 + " \n\nThis verse tells us that:"
script[4] = Rom323;
ansOne[4] = "Some people sin";
ansTwo[4] = "All of us sin";
ansThree[4] = " "
ansFour[4] = " ";
gradeOne[4] = "A";
gradeTwo[4] = "R";
gradeThree[4] = " ";
gradeFour[4] = " ";
nquest[5]="So, " + userName + ", all of us sin. But does " +
      "\n that mean we need salvation? See what is written here:" + Rom623 +
              "\n\nThe Bible tells us here that the consequence \nof our sin is:"     
script[5] = Rom623;
ansOne[5] = "Death";
ansTwo[5] = "Life";
ansThree[5] = " "
ansFour[5] = " ";
gradeOne[5] = "R";
gradeTwo[5] = "B";
gradeThree[5] = " ";
gradeFour[5] = " ";
nquest[6]="But everyone dies, " + userName + ". What, exactly, \nis to happen to us " +
          "because of our sins? \nSee what Jesus said here \nin Matthew 25:41: " +
      Matt2541 + "\n\nThe consequence of our sins is:"
script[6] = Matt2541;
ansOne[6] = "Just physical death";
ansTwo[6] = "Eternal punishment";
ansThree[6] = " "
ansFour[6] = " ";
gradeOne[6] = "A";
gradeTwo[6] = "R";
gradeThree[6] = " ";
gradeFour[6] = " ";
nquest[7]="Isn't such punishment just for people who are \nreally, really bad? How many " +
          "\n sins would we have to be guilty of to be \ncondemned to this eternal punishment? " +
          "\n See what is written here in Romans 5:17: " + Rom517 +
              "\n\nCondemnation or death first came about \nwhen Adam and Eve sinned. How " +
          "\n many sins did they each commit for them to \nbe condemned to eternal death, " + userName + "?";
script[7] = Rom517;
ansOne[7] = "One";
ansTwo[7] = "Many";
ansThree[7] = " "
ansFour[7] = " ";
gradeOne[7] = "R";
gradeTwo[7] = "B";
gradeThree[7] = " ";
gradeFour[7] = " ";
nquest[8]="Did the guilt of Adam and Eve get passed \non to their children? Are we " +
          "\ncursed with the guilt of the sins of \nthe sins of our parents, " + userName + "?" +
          "\nSee what the Bible says here in Ezekiel 18:20: "  + Eze1820 + "\n\nWe are guilty of:"
script[8] = Eze1820;
ansOne[8] = "The sins of all our ancestors and Adam";
ansTwo[8] = "Only our own sins";
ansThree[8] = " "
ansFour[8] = " ";
gradeOne[8] = "A";
gradeTwo[8] = "R";
gradeThree[8] = " ";
gradeFour[8] = " ";

nquest[9]="So we are responsible for our \nown sins only, "  + userName + "." +
          "\n Since we have all sinned at least \nonce, we all face eternal punishment. " +
          "\n But God loved us, so here is what \nHe did as recorded in John 3:16: " + Joh316 +
              "\n\nGod's love caused Him to give \nhis only Son so that those " +
          "\n who would believe in Him:"
script[9] = Joh316;
ansOne[9] = "Would be punished forever";
ansTwo[9] = "Would have eternal life";
ansThree[9] = " "
ansFour[9] = " ";
gradeOne[9] = "A";
gradeTwo[9] = "R";
gradeThree[9] = " ";
gradeFour[9] = " ";

nquest[10]=userName + ", Is there any other way \nto be right with God? " +
          "\n See what Jesus said here in John 14:6:" + Joh146 + "\n\nWe can be right with God:"
script[10] = Joh146;
ansOne[10] = "Only through Jesus Christ";
ansTwo[10] = "Any way we want to";
ansThree[10] = " "
ansFour[10] = " ";
gradeOne[10] = "R";
gradeTwo[10] = "B";
gradeThree[10] = " ";
gradeFour[10] = " ";

nquest[11]="But, " + userName + ", isn't there salvation in \nother religions or persons? " +
          "\nSee what the Bible says here in Acts 4:10:" + Act410 +
      "\n\nThere is salvation:"
script[11] = Joh146;
ansOne[11] = "Only in Jesus";
ansTwo[11] = "In all religions";
ansThree[11] = " "
ansFour[11] = " ";
gradeOne[11] = "R";
gradeTwo[11] = "B";
gradeThree[11] = " ";
gradeFour[11] = " ";

nquest[12]="What was Jesus' purpose in coming to \nthis world, " + userName + "?" +
          "\n Read what the Bible says here in \nLuke 19:10:" +  Luk1910 +
      "\n\nJesus came to:"
script[12] = Luk1910;
ansOne[12] = "Heal the sick";
ansTwo[12] = "Save the lost";
ansThree[12] = " "
ansFour[12] = " ";
gradeOne[12] = "A";
gradeTwo[12] = "R";
gradeThree[12] = " ";
gradeFour[12] = " ";
nquest[13]="How did Jesus provide this salvation," + userName + "?" +
          "\n See what Paul says here in Romans 5:6:" + Rom56 +
      "\n\nJesus saved us by:"
script[13] = Rom56;
ansOne[13] = "Dying for us";
ansTwo[13] = "Praying for us";
ansThree[13] = " "
ansFour[13] = " ";
gradeOne[13] = "R";
gradeTwo[13] = "B";
gradeThree[13] = " ";
gradeFour[13] = " ";
nquest[14] = "How would Jesus' death save us, " +  userName + "? \nRead these verses in Hebrews 9:11: "  + Heb911 +
      "\n\nJesus secured our eternal salvation by:"
script[14] = Heb911;
ansOne[14] = "Bleeding a little for us";
ansTwo[14] = "Shedding his blood in death for us";
ansThree[14] = " "
ansFour[14] = " ";
gradeOne[14] = "A";
gradeTwo[14] = "R";
gradeThree[14] = " ";
gradeFour[14] = " ";
nquest[15] = userName + ", Jesus also taught people who believed in Him " +
          "\n that they must repent of sin as we read \nhere in Luke 13:3:" + Luk133 + "\n\nRepentance is:"
script[15] = Rom56;
ansOne[15] = "A requirement";
ansTwo[15] = "An option";
ansThree[15] = " "
ansFour[15] = " ";
gradeOne[15] = "R";
gradeTwo[15] = "B";
gradeThree[15] = " ";
gradeFour[15] = " ";

nquest[16] = "But what is repentance, " + userName + "? How \ndo we do that? See " +
          "\n what is written here in James 4:8:" + Jam48 + "\n\nRepentance includes: "
script[16] = Jam48;
ansOne[16] = "Sorrow for sin with a cleansing of our lives and hearts";
ansTwo[16] = "Doing penance by undoing all our past sins";
ansThree[16] = " "
ansFour[16] = " ";
gradeOne[16] = "R";
gradeTwo[16] = "B";
gradeThree[16] = " ";
gradeFour[16] = " ";
nquest[17] = "How then, " + userName + ", do we get this \nsalvation that He provides, " +
          "\nand that we all need? We already saw \nin John 3:16 that Jesus said we must "  +
          "\nbelieve and repent to be saved. Paul tells \nus that we should always be professing "  +
          "\nthis belief as we read here in \nRomans 10:9-10:" + Rom109 + 
      "\n\nWhen we believe in our hearts that Jesus \nis Lord we will:"
script[17] = Act93;
ansOne[17] = "Gladly profess this belief"
ansTwo[17] = "Be ashamed of this belief"
ansThree[17] = " ";
ansFour[17] = " ";
gradeOne[17] = "R";
gradeTwo[17] = "B";
gradeThree[17] = " ";
gradeFour[17] = " ";
nquest[18] = "Here in Mark 16:15 is more that Jesus \nsaid we should do, " + userName + " ,\n " +  Mar1615 +
      "\n\nJesus said they who do what will be saved?"
script[18] = Mar1615;
ansOne[18] = "Chant a chant"
ansTwo[18] = "Say a prayer"
ansThree[18] = "Believe and are baptized ";
ansFour[18] = " ";
gradeOne[18] = "A";
gradeTwo[18] = "B";
gradeThree[18] = "R";
gradeFour[18] = " ";
nquest[19] = userName + ", is baptism a sprinkling of water on \nyour head or immersion in " +
          "\n water? Consider how this man was \nbaptized. Was what they did necessary if " +
          "\n baptism is just a sprinkling or pouring \nof a little water on one's head? " +
          "\n Read how it was done here in Acts 8:35:"  + Act835 + "\n\nThe fact that " +
          "\n they both went down into the water \nbefore he was baptized, and came up out " +
          "\n of the water afterward strongly imply \nthat the Eunuch:"
script[19] = Act835;
ansOne[19] = "Had some water sprinkled on his head"
ansTwo[19] = "Was immersed for baptism"
ansThree[19] = " ";
ansFour[19] = " ";
gradeOne[19] = "A";
gradeTwo[19] = "R";
gradeThree[19] = " ";
gradeFour[19] = " ";
nquest[20] = "Since baptism is by immersion, an \nappropriate figure for it " +
          "\n is a burial. Paul uses this figure in \nthis scripture which also helps " +
          "\n answer the question, What does being immersed \nhave to do with salvation, " + userName + "?" +
          "\n Read how Paul explained it here in Romans 6:3-4:" + Rom63 + "\n\nSo here Paul tells us that in baptism:"
script[20] = Rom63;
ansOne[20] = "We join a church";
ansTwo[20] = " We get into the death Jesus died as a sacrifice for our sins";
ansThree[20] = " ";
ansFour[20] = " ";
gradeOne[20] = "A";
gradeTwo[20] = "R";
gradeThree[20] = " ";
gradeFour[20] = " ";
nquest[21]="Paul reminds the Galatians here, " + userName + ", how \nwe get into Christ. " + Gal326 +"\n\nWe are baptized:"
script[21] = Gal326;
ansOne[21] = "Into Christ";
ansTwo[21] = "Because we were saved";
ansThree[21] = " "
ansFour[21] = " ";
gradeOne[21] = "R";
gradeTwo[21] = "B";
gradeThree[21] = " ";
gradeFour[21] = " ";
nquest[22]="Peter tells us more about how baptism saves \nus here in 1 Peter 3:18, " + userName + ":" + Pe318 + "\n\nPeter tells us that baptism saves us as:"
script[22] = Joh316;
ansOne[22] = "An appeal to God for a clear conscience by His resurrection";
ansTwo[22] = "A washing of dirt off of our bodies";
ansThree[22] = " "
ansFour[22] = " ";
gradeOne[22] = "R";
gradeTwo[22] = "B";
gradeThree[22] = " ";
gradeFour[22] = " ";
nquest[23]="So it was that when the good news of \nthis salvation began to be preached, " + userName + ",\nthose who believed and wanted to be saved \nwere told what to do (Acts 2:37): "  + Act237 + "\n\nThese " +
      "\n believing people were told they should do\n the following:"  
script[23] = Act237;
ansOne[23] = "Pray a prayer";
ansTwo[23] = "Repent and be baptized";
ansThree[23] = " "
ansFour[23] = " ";
gradeOne[23] = "A";
gradeTwo[23] = "R";
gradeThree[23] = " ";
gradeFour[23] = " ";
nquest[24]="The gift of the Holy Spirit that these \npeople received when " +
      "\n they repented and were baptized is \nin addition to the forgiveness of sins. " +
      "\n Not only do we get into Christ in baptism, \nbut the Holy Spirit comes to " +
      "\n dwell in us as explained by Paul here in \nRomans 8:9-11: " + Rom89 +
      "\n\nPaul tells us that when we belong to \nChrist, the Holy Spirit: "
script[24] = Rom89;
ansOne[24] = "Dwells in us";
ansTwo[24] = "Cares for us";
ansThree[24] = " "
ansFour[24] = " ";
gradeOne[24] = "R";
gradeTwo[24] = "B";
gradeThree[24] = " ";
gradeFour[24] = " ";
nquest[25]="I hope that you will want to do \nthese same things, " +
          userName + ",\nin order to have your sins forgiven, \nand have the Holy " +
          "\n Spirit dwell in you, too. What a joy \nit will be when you can " +
          "\n know that you are saved! If I can be of " +
          "\n help to you in doing so, or in studying \nfurther, please contact " +
          "\n me by E-mail at dskaggs@bresnanlink.net or \nby phone at 906 482-8704." +
              "\n This concludes this study. "
ansOne[25] = "Exit (This will close your browser)";
ansTwo[25] = "Otherwise, choose \"Back\" on your browser";
ansThree[25] = " "
ansFour[25] = " ";
gradeOne[25] = "EXIT";
gradeTwo[25] = "B";
gradeThree[25] = " ";
gradeFour[25] = " ";

document.bgColor = colors[c];
  textToShow = nquest[c];
document.frmRun.elements[2].value = ansOne[c];
document.frmRun.elements[3].value = ansTwo[c];
document.frmRun.elements[4].value = ansThree[c];
document.frmRun.elements[5].value = ansFour[c];
document.frmRun.elements[2].name = gradeOne[c];
document.frmRun.elements[3].name = gradeTwo[c];
document.frmRun.elements[4].name = gradeThree[c];
document.frmRun.elements[5].name = gradeFour[c]; 
resetText();
return;
 }
}
// Original side
if (gradeOne[c]=='R')
 {RightAnswer = ansOne[c]}
 else if (gradeTwo[c]=='R')
 {RightAnswer = ansTwo[c]}
 else if (gradeThree[c]=='R')
 {RightAnswer = ansThree[c]}
 else if (gradeFour[c]=='R')
 {RightAnswer = ansFour[c]}
if (ans.toUpperCase() == 'A')
 {WrongAnswer = ansOne[c]
  ans = "W"}
 else if (ans.toUpperCase() == 'B')
 {WrongAnswer = ansTwo[c]
  ans = "W"}
  else if (ans.toUpperCase() == 'C')
 {WrongAnswer = ansThree[c]
   ans = "W"}
 else if (ans.toUpperCase() == 'D')
 {WrongAnswer = ansFour[c]
  ans = "W"}
  c = ++c;
if (ans.toUpperCase() == 'R')
 {
   right();
 }
 else if (ans.toUpperCase() == 'W')
 {
   wrong();
 }
 else if (ans.toUpperCase() == 'BACK')
 {
  backUp();
 }
 else if (ans.toUpperCase() == 'EXIT')
 {
  exit();
 }
 else if (ans.toUpperCase() == 'BA')
 {
  before=true;
  bfore();
 }
 else if (ans.toUpperCase() == 'NS')
 {
  saved = false;
   interest();
 } 
else if (ans.toUpperCase() == 'AT')
 {
 // before=true;
  compare();
 }
 else if (ans.toUpperCase() == 'AFTER')
 {
 // before=true;
  compare();
 }

else if (ans.toUpperCase() == 'S')
 {
  c = prompt('Skip to what question?',14);
  c = --c;
 }
else if (ans != '')
 {
  //backingUp = false;
quest = new Array("Glad to meet you, " + userName + "! I hope you enjoy our study. \n(Please note that each question will be in three \nparts separated by blank lines. So you \nwill need to scroll down to see all of \nthem when they are longer than will fit in \nthe text box.)" + nextResponse,userName + ", have you been baptized?" + nextResponse,"Tell me, " + userName + ", are you saved?","Now, " + userName + ", please tell me were you saved","Thank you, " + userName + ", I wa","Now we will look at some scriptures that reveal \n some facts about baptism. In Matthew 28, verses \n 18 to 20, Jesus gives His apostles what some \n call the Great Commission in these words: \n " + Matt2818 + " \n\nIn this scripture Jesus makes it clear that \n part of making disciples will be:");
quest[6]="Here we can see that baptism " +
    "was to be part \n of the teaching they did " +
    "everywhere, " + userName + ". \n We might wonder, " +
    "why is baptism so important? \n We can begin to " +
    "see the answer in the record \n Mark gives of this " +
    "same great commission. \n In Mark 16, verses 15-16 " +
    "we read Jesus' words:" + Mar1615 + " \n\n " + userName + ", In this scripture, "
quest[7]=" OK, " + userName + "," + 
    "\n but why do we need this \'salvation\'?" +
    "\n The answer can be seen from a study of Paul's " +
    "\n letter to the Christians at Rome. In chapter " +
    "\n 3, verse 23 we read:" + Rom323 +
    "\n\n The Bible tells us here that, "
quest[8]="In Romans chapter 6, verse 23 we read:" + Rom623 +
    "\n\n The wages or consequences waiting for all of " +
    " \n us, " + userName + ", as sinners is:"
quest[9]="Sometimes misunderstandings arise too, \n" + userName +
     ", because people have mistaken ideas about " +
     "\n how much sin or how many sins one would have " +
     "\n to be guilty of to be judged or condemned to " +
     "\n death. In Romans chapter 5, verses 17 and 18 we " +
     "\n read:" + Rom517 +
     "\n\nThe judgment came after:"
quest[10]="Not only do some not understand that " +
      "\n our first sin condemns us completely, but " +
      "\n some are taught that the guilt of sin is " +
      "\n inherited by infants from their parents."     +
      "\n The Bible speaks clearly about this in Ezekiel 18, " +
      "\n verse 20 where we read:" + Eze1820 +
      "\n\n " + userName + ", the one sin that will cause you " +
      "\n to suffer eternal death would be:"
quest[11]="So the sins we are concerned about " +
      "are our own. But \nwhat about those who don't " +
      "\n know about God? In 2 Thessalonians 1:7-9 " +
      "\n  we read:" + The17 +
      "\n\n " +userName + ", two catagories of people will be punished, " +
          "\n those who do not obey the gospel, and those who:"
quest[12]="But, " + userName + ", how can people who don't know God be " +
          "\n  held responsible for their ignorance? " +
"\n In Romans 1:18-21 we read: " + Rom118 +
      "\n\nHow are the things about God's nature revealed, " + userName + "?";
quest[13]="Now we can see that God expects every person to look " +
          "\n at his creation, and learn of Him and seek Him. " +
          "\n Those who don't know Him have failed to make " +
          "\n this choice and stand condemned. We have learned " +
          "\n that we, ourselves, are condemned for our own sins, " +
          "\n and need salvation. So we need to know just what " +
          "\n is the connection between baptism and salvation? " +
          "\n One scripture that helps to explain this is " +
"\n 1 Peter 3:18-21:" + Pe318 + "\n\n " + userName + ", Baptism saves us:"; 
quest[14] = "Did you notice also, "  + userName + ", that the verse said Christ \n died for our sins? Isn't " +
      "it amazing that God \n could love us so much even though we sin against \n Him that Jesus " +
      "came and died for us? Since God is \n completely sinless, the only way we could have a " +
      "\n right relationship with Him was for Jesus to \n die for our guilt so we could be made as" +
      "\n though we had never sinned. This process is \n called justification. When we are " +
      "forgiven we are \n justified in the sight of God. In Romans 5:8-9 we read:" + Rom58 +
"\n\n" + userName + ", it says we are justified by:"
quest[15] = "Since we can see that Jesus' blood shed \n unto death justifies or saves us, we will be" +
          "\n able to see more clearly the place baptism \n has in the process. In Romans 6:3-4 " +
          "\n we read:" + Rom63 +
      "\n\n It says we come into the saving blood or death \n of Jesus:"
var Earlier= "Earlier, " + userName + ", you indicated that you were \n saved before you were " +
      "baptized. Many people believe \n that one's sins are forgiven when they accept " +
      "\n Jesus as their personal Savior and Lord. Then \n later they may be baptized. " +
      "\n The following scriptures should be of interest \n to you because they relate to " +
      "\n this matter. Several of the scriptures you \n have looked at in this study were " +
      "\n written by Paul. The following ones describe \n how Paul, himself, was saved. " +
      "\n If you study them carefully, they should help \n to clarify when sins are forgiven " +
      "\n in relation to belief and baptism. This also \n makes clear what the meaning and " +
      "\n purpose of baptism, itself, is."
quest[16] = "Paul reminds the Galatians here in Galatians 3:26, \n " + userName + ", how we get into Christ. " + Gal326 +
"\n\nWe are baptized:"
script[16] = Gal326;
ansOne[16] = "Into Christ";
ansTwo[16] = "Because we were saved";
ansThree[16] = " "
ansFour[16] = " ";
gradeOne[16] = "R";
gradeTwo[16] = "B";
gradeThree[16] = " ";
gradeFour[16] = " ";
quest[17] = " \n" + userName + ", Are we saved when we believe and accept \n Jesus in our heart? " +
          "\n Is that when our sins are forgiven? Are \n we then baptized after being saved? " +
          "\n This is an important distinction, " + userName + ", \n because if our sins are " +
          "already \n forgiven before we are baptized, \n then baptism is not for the forgiveness " +
          "\n of those sins. It may be an outward \n sign of an inward grace, or to join some church, " +
          "\n or something else, but not for the \n forgiveness of sins." +
          "\n The conversion of Saul, who became \n the Apostle, Paul, is very " +
          "\n helpful in this matter. Consider what \n happened to Saul on the road to Damascus. " +
          " \n Acts 9:3" +  Act93 + "\n\n Which of the following describe Saul's \n state as he is led to Damascus?"
script[17] = Act93;
ansOne[17] = "He has accepted Jesus Christ as Lord"
ansTwo[17] = "He is rejoicing because his sins are forgiven"
ansThree[17] = " ";
ansFour[17] = " ";
gradeOne[17] = "R";
gradeTwo[17] = "B";
gradeThree[17] = " ";
gradeFour[17] = " ";
quest[18] = userName + ", yes, Paul has accepted Jesus Christ \n as Lord. He has come " +
          " to Damascus and \n is waiting to be told what he must do \n as the Lord instructed " +
          " him to do. He \n is in a total fast, realizing the error \n of his way of persecuting " +
          " Christians. But \n are his sins forgiven? Did his acceptance \n of Jesus Christ as Lord " +
          " cause his sins \n to be forgiven? In Acts 22:14 we find \n the answer to this question. " +
          " Please remember \n that this is three days after his accepting \n Jesus Christ as Lord. " +
          " Read now as the \n Lord speaks to Saul through Ananias: " + Act2215 + "\n\n" + userName + ", Saul is commanded to:"           
script[18] = Act2215;
ansOne[18] = "Praise Jesus for having already forgiven his sins"
ansTwo[18] = "Be baptized and wash his sins away."
ansThree[18] = " ";
ansFour[18] = " ";
gradeOne[18] = "A";
gradeTwo[18] = "R";
gradeThree[18] = " ";
gradeFour[18] = " ";
quest[19] = "So, " + userName + ", Saul's sins had not been forgiven \n by his " +
          "acceptance of Jesus as Lord. Three days \n after he had done so, he still was directed " +
          "\n to be baptized and wash his sins away. So \n now you know that the purpose of baptism " +
          "\n is to wash away our sins in the blood that \n Jesus shed unto death for us. It is not " +
          "\n surprising then that upon being commanded to \n do this Saul ends his fast and obeys the " +
          "\n commandment of Jesus Christ as indicated here \n in Acts 9:17-19:" + Act917 + "\n\n " + userName + ", Now we know that Saul had to do what," +
          " to have \n his sins washed away by Jesus blood?"
script[19] = Act917;
ansOne[19] = "Say a prayer."
ansTwo[19] = "Rise and be baptized."
ansThree[19] = " ";
ansFour[19] = " ";
gradeOne[19] = "A";
gradeTwo[19] = "R";
gradeThree[19] = " ";
gradeFour[19] = " ";
quest[20] = userName + ",this key role of baptism in \n the process of justification was " +
          "\n clear from the earliest days of the Gospel \n being preached. In fact on " +
          "\n the very first occasion, the day of Pentecost \n following Jesus' ascension, " +
          "\n it is declared as essential to the forgiveness \n of sins. Luke records " +
          "\n the events on Pentecost in detail, including \n Peter's sermon that convinced " +
          "\n many that they were guilty of having crucified \n their Messiah. Notice their " +
          "\n response, and Peter's reply in Acts 2:37-38:" + Act237 +
          "\n\n These people are told what to do for the \n forgiveness of their sins. " +
          "They were to:"     
script[20] = Act237;
ansOne[20] = "Just believe in Jesus";
ansTwo[20] = " Say the sinner's prayer";
ansThree[20] = "Repent and be baptized";
ansFour[20] = " ";
gradeOne[20] = "A";
gradeTwo[20] = "B";
gradeThree[20] = "R";
gradeFour[20] = " ";
quest[21]="So, " + userName + ", the Holy Spirit inspired the early \nGospel preachers to " +
      " command people who believed in \nJesus Christ to repent and be baptized for " +
      "\n the forgiveness of their sins. \nOne objection that is sometimes raised to " +
      "\n this is that it would be a \"works\" salvation. \nLet's examine this question " +
      " carefully, "  + userName + ". \nConsider a scripture that is often sited in this \nregard, " +
      " Ephesians 2:8-10: " + Eph28 +
          "\n\nPaul says we are saved:"     
script[21] = Eph28;
ansOne[21] = "By praying a prayer";
ansTwo[21] = "By grace through faith, not works we can boast about";
ansThree[21] = " "
ansFour[21] = " ";
gradeOne[21] = "A";
gradeTwo[21] = "R";
gradeThree[21] = " ";
gradeFour[21] = " ";
quest[22]="Yes, " + userName + ", we are saved by grace through \nfaith, and not because of works we " +
      "can boast \nabout. Another term for such works would be \nworks of merit, " +
      "or works that would earn our \nsalvation. We have already seen that Jesus " +
      "\npurchased our salvation by shedding His \nblood unto death for us. Yet, "  +
      "\nwe have also seen that the Holy Spirit \nhad the preachers \ncommand " +
      "people to be baptized. Was this baptism, \nthen, an effort to earn their " +
      "\nsalvation? Was baptism the only thing \nthey had to do to be saved? What " +
      "\n about belief? What does John 3:16 say? " +
  Joh316 + "\n\nCan we be saved without believing, "  + userName + "? "
script[22] = Joh316;
ansOne[22] = "No";
ansTwo[22] = "Yes";
ansThree[22] = " "
ansFour[22] = " ";
gradeOne[22] = "R";
gradeTwo[22] = "B";
gradeThree[22] = " ";
gradeFour[22] = " ";
quest[23]="So believing is necessary to salvation, " + userName + ". \nBut did you know " +
      "that Jesus said that this believing \nis a work? Look at these verses " +
      "in John 6:28-29: " + Joh628 +
          "\n\nAccording to Jesus, believing in Him is a \ngodly work we do. "     
script[23] = Joh628;
ansOne[23] = "True";
ansTwo[23] = "False";
ansThree[23] = " "
ansFour[23] = " ";
gradeOne[23] = "R";
gradeTwo[23] = "B";
gradeThree[23] = " ";
gradeFour[23] = " ";
quest[24]="How can this be, " + userName + "? We \nsaw in Ephesians that salvation is " +
      "\n by grace through faith, not of works \nthat we can boast of. Here we " +
      "\n see that believing is a work, and it is \nnecessary for our salvation. " +
      "\n The explanation of this apparent \ncontradiction is that there are two " +
      "\n different kinds of works being \ndiscussed in these scriptures. For " +
      "\n example look at what the Holy Spirit \ndirected James to write here " +
      "\n in James 2:18-23 " + Jam218 + "\n\nFaith is completed by:"
script[24] = Jam218;
ansOne[24] = "Belief";
ansTwo[24] = "Works";
ansThree[24] = " "
ansFour[24] = " ";
gradeOne[24] = "A";
gradeTwo[24] = "R";
gradeThree[24] = " ";
gradeFour[24] = " ";
quest[25]="James says it is not enough to just \nbelieve, "  + userName + ". Even the " +
      "\n demons do that, and they are not saved. \nSome kind of works are " +
      "\n necessary. Yet Paul says this about \nAbraham's situation in " +
      "\n Romans 4:3-5 " + Rom43 +
      "\n\n Abraham 's righteousness was: "
script[25] = Rom43;
ansOne[25] = "A gift";
ansTwo[25] = "Something he earned by meritorious works";
ansThree[25] = " "
ansFour[25] = " ";
gradeOne[25] = "R";
gradeTwo[25] = "B";
gradeThree[25] = " ";
gradeFour[25] = " ";
quest[26]="So, " + userName + ", James says that Abraham was \njustified by works when he offered his Son," +
      "\nIsaac, upon the altar, while Paul says that \nAbraham believed God and it was" +
      "\nreckoned to him as righteousness. Is there a \ncontradiction here? Not at all. For "  +
      "\nyou see the term \"believed\" \nhere is a comprehensive word. " +
      "\n It is the faith that \nis completed by the works James refers to. " +
      "\n Jesus taught about \nthem as we find here in Luke 17:7-10: " + Luk177 +
      "\n\nWhen Saul was \nbaptized immediately as he was commanded to do:" 
script[26] = Luk177;
ansOne[26] = "He could boast of a work that earned him forgiveness";
ansTwo[26] = "He had only done what was his duty, earning him nothing";
ansThree[26] = " "
ansFour[26] = " ";
gradeOne[26] = "A";
gradeTwo[26] = "R";
gradeThree[26] = " ";
gradeFour[26] = " ";
quest[27]="So you see, " + userName + " , the work that \nwe do in believing, " +
      "\n repenting, and being baptized does \nnot earn us anything. It is " +
      "\n our duty. Therefore it  in no way \ncontradicts the truth that we " +
      "\n are saved by grace through faith. \nOur faith is only complete unto " +
      "\n salvation when we obey the commands \nwe are given to do these " +
      "\n things. In fact, there is much more \nto be done, as Paul taught " +
      "\n here in Phillipians 2:12-13 " + Phi212 +
      "\n\nChristians, like Paul, spend their lives \nfaithfully obeying the " +
      "\n commands of Jesus Christ in works that:"
script[27] = Phi212;
ansOne[27] = "Earn their salvation";
ansTwo[27] = "Complete their faith";
ansThree[27] = " "
ansFour[27] = " ";
gradeOne[27] = "A";
gradeTwo[27] = "R";
gradeThree[27] = " ";
gradeFour[27] = " ";
quest[28]="I hope that this study has enriched \nyour understanding of the " +
      "\n meaning and importance of baptism. \nOften, when people study " +
      "\n these things they find it gives \nthem a new perspective on their " +
      "\n own conversion. If this has been \nyour experience, you may " +
      "\n want to consider an interesting \nexample of some disciples Paul " +
      "\n taught in Ephesus. Read this passage \nfrom Acts 19:1-5: " + Act191 +
          "\n Perhaps you will want to consider \ntaking a similar step " +
      "\n too, " + userName + ". Could I be of \nhelp to you in this regard? " +
      "\nI would be happy to discuss this with \nyou, or study further with " +
      "\nyou. You can contact me by calling me \nat 906 482-8704, or by E-mail " +
      "\nat dskaggs6404@sbcglobal.net." +
          "\nThis concludes this study."
ansOne[28] = "Exit (This will close your browser)";
ansTwo[28] = "Otherwise, choose \"Back\" on your browser";
ansThree[28] = " "
ansFour[28] = " ";
gradeOne[28] = "EXIT";
gradeTwo[28] = "B";
gradeThree[28] = " ";
gradeFour[28] = " ";



document.bgColor = colors[c];
if (c==17 && before==true)
   {quest[c]= Earlier + quest[c]}
if (c==28 && before==true)
    {quest[c]=Endd}
  textToShow = quest[c];
document.frmRun.elements[2].value = ansOne[c];
document.frmRun.elements[3].value = ansTwo[c];
document.frmRun.elements[4].value = ansThree[c];
document.frmRun.elements[5].value = ansFour[c];
document.frmRun.elements[2].name = gradeOne[c];
document.frmRun.elements[3].name = gradeTwo[c];
document.frmRun.elements[4].name = gradeThree[c];
document.frmRun.elements[5].name = gradeFour[c]; 
resetText();
 }
}
