';
//Write it to the frame
TopFrame.document.clear();
TopFrame.document.open();
TopFrame.document.write(OutString);
TopFrame.document.close();
}
function StartUp(){
//Reduce array if required
if (QsToShow < I.length){
ReduceItems();
}
//Shuffle stuff if required
if (ShuffleQs == true){
I = Shuffle(I);
}
if (ShuffleAs == true){
for (var i=0; idescribes the colonists.';
I[0][1][0][2] = 0;
I[0][1][1] = new Array();
I[0][1][1][0]='colonist';
I[0][1][1][1]='This is a noun.';
I[0][1][1][2] = 0;
I[0][1][2] = new Array();
I[0][1][2][0]='Thomas';
I[0][1][2][1]='This is a proper noun. It is a person\'s name.';
I[0][1][2][2] = 0;
I[0][1][3] = new Array();
I[0][1][3][0]='was';
I[0][1][3][1]='This is the verb, the action word.';
I[0][1][3][2] = 1;
I[0][2] = 0;
I[1] = new Array();
I[1][0]='The American leaders asked Jefferson to write a public letter to the king.';
I[1][1] = new Array();
I[1][1][0] = new Array();
I[1][1][0][0]='asked';
I[1][1][0][1]='This is the verb, the action word in the sentence.';
I[1][1][0][2] = 1;
I[1][1][1] = new Array();
I[1][1][1][0]='American';
I[1][1][1][1]='This is an adjective. It describes the leaders.';
I[1][1][1][2] = 0;
I[1][1][2] = new Array();
I[1][1][2][0]='public';
I[1][1][2][1]='This is an adjective. It describes the letter.';
I[1][1][2][2] = 0;
I[1][1][3] = new Array();
I[1][1][3][0]='king';
I[1][1][3][1]='This is a noun. ';
I[1][1][3][2] = 0;
I[1][2] = 0;
I[2] = new Array();
I[2][0]='In the summer of 1776, Thomas Jefferson wrote the Declaration of Independence.';
I[2][1] = new Array();
I[2][1][0] = new Array();
I[2][1][0][0]='wrote';
I[2][1][0][1]='This is the verb, the action word.';
I[2][1][0][2] = 1;
I[2][1][1] = new Array();
I[2][1][1][0]='Declaration';
I[2][1][1][1]='This is a proper noun. It is a special thing.';
I[2][1][1][2] = 0;
I[2][1][2] = new Array();
I[2][1][2][0]='summer';
I[2][1][2][1]='This is a noun.';
I[2][1][2][2] = 0;
I[2][1][3] = new Array();
I[2][1][3][0]='of';
I[2][1][3][1]='This is a preposition.';
I[2][1][3][2] = 0;
I[2][2] = 0;
I[3] = new Array();
I[3][0]='Then they sent it to King George III.';
I[3][1] = new Array();
I[3][1][0] = new Array();
I[3][1][0][0]='sent';
I[3][1][0][1]='This is the verb, the action word. It tells what "they" did.';
I[3][1][0][2] = 1;
I[3][1][1] = new Array();
I[3][1][1][0]='King George III';
I[3][1][1][1]='This is a proper noun.';
I[3][1][1][2] = 0;
I[3][1][2] = new Array();
I[3][1][2][0]='it';
I[3][1][2][1]='This is a pronoun which takes the place of a noun. It refers to Declaration of Independence.';
I[3][1][2][2] = 0;
I[3][1][3] = new Array();
I[3][1][3][0]='to';
I[3][1][3][1]='This is a preposition.';
I[3][1][3][2] = 0;
I[3][2] = 0;
I[4] = new Array();
I[4][0]='The letter would tell the king that the colonies were forming a new country.';
I[4][1] = new Array();
I[4][1][0] = new Array();
I[4][1][0][0]='were forming';
I[4][1][0][1]='This is part of a prepositional phrase, therefore, not the verb of the sentence.';
I[4][1][0][2] = 0;
I[4][1][1] = new Array();
I[4][1][1][0]='would tell';
I[4][1][1][1]='This is the verb. It states what the letter would do.';
I[4][1][1][2] = 1;
I[4][1][2] = new Array();
I[4][1][2][0]='king';
I[4][1][2][1]='This is a noun.';
I[4][1][2][2] = 0;
I[4][1][3] = new Array();
I[4][1][3][0]='new';
I[4][1][3][1]='This is an adjective. It describes the word country.';
I[4][1][3][2] = 0;
I[4][2] = 0;
Status = new Array();
function CreateStatusArrays(){
for (var x=0; x-1){
FirstBit = InString.substring(0, i);
LastBit = InString.substring(i + Token.length, InString.length);
InString = FirstBit + Replacement + LastBit;
i = InString.indexOf(Token);
}
return InString;
}
function ChangeQ(ChangeBy){
var NewNum = CurrQNum + ChangeBy;
if ((NewNum >= 0)&&(NewNum';
OutString += '';
OutString += '