signing.gif
The Colonists Fight for Their Independence

Many American leaders were tired of England\'s laws and taxes. They wanted to have their own government.
Thomas Jefferson was a young colonist. He had good ideas about America. He had ideas about how it should be governed.
The American leaders asked Jefferson to write a public letter to the king. The letter would tell the king that the colonies were forming a new country. The colonies were no longer a part of England.
In the summer of 1776, Thomas Jefferson wrote the Declaration of Independence. Fifty-six American leaders signed it. Then they sent it to King George III. Soon the new nation was at war with England.
General George Washington was named as the leader of the American army. In 1777, the army lost two big battles. Washington led his soldiers to Valley Forge, Pennsylvania. The soldiers would rest there for the winter.
The winter of 1777 was cold and snowy, and the soldiers were tired and hungry. Many were sick. Their clothing had become rags. Some soldiers did not have shoes. General Washington ordered his men to build huts. The huts would keep them warm. He asked the government to send food and clothing for the men. He taught his men better ways to fight as soldiers.
The winter was very hard. Many soldiers died. Some soldiers went home tottheir farms. But many soldiers stayed in camp. By spring they were ready to fight again. They were a better army.
'; if (is.CRAPBrowser){ReadingText=ResolveAllURLs(ReadingText);} var NavBar=''; NavBar+='
'; NavBar+=''; NavBar+=''; NavBar+=''; NavBar+=''; NavBar+='
'; if (is.CRAPBrowser){NavBar=ResolveAllURLs(NavBar);} var TitleCode = ''; TitleCode += '' + ExerciseTitle + '
'; TitleCode += '' + ExerciseSubtitle + '
'; TitleCode += '
'; var WordBox = ''; var ClozeOpener = ''; ClozeOpener += ''; var Buttons = '
'; ClozeOpener += '
'; var ClozeCloser = '
'; Buttons += '
'; Buttons += ''; Buttons += ''; Buttons += '
'; var GapCode = ''; var ClueButton = ''; ClueButton = ''; function GoBack(){ var BackSkip = history.length - PreviousPage; if (BackSkip > 0){ history.go((BackSkip+1)*-1); } else{ parent.history.back(); } } function ShowReading(){ if (ReadingFrame != null){ if (ReadingURL.length > 0){ ReadingFrame.location.href=ReadingURL; } else{ ReadingFrame.document.clear(); ReadingFrame.document.open(); ReadingFrame.document.write(ReadingText); ReadingFrame.document.close(); } } } function BuildExercise(){ var OutString = ''; var ClozeStuff = ''; for (var i=0; i'; } else{ GapLen = I[i][1][0][0].length; if (GapLen < 3){GapLen = 3;} Gap = ReplaceStuff('[strGapSize]', GapLen, GapCode); Gap = ReplaceStuff('[strGapName]', 'Gap' + i + '', Gap); Gap = ReplaceStuff('[strItemNum]', i + '', Gap); Gap = ReplaceStuff('[strValue]', State[i][5], Gap); ClozeStuff += Gap; //Create and add the clue button if (I[i][2].length > 0){ Btn = ReplaceStuff('[strItemNum]', i + '', ClueButton); ClozeStuff += Btn; } } } //Add the last bit if (Text.length > I.length){ ClozeStuff += Text[Text.length-1]; } //Put the final pieces together OutString = ClozeOpener + ClozeStuff + ClozeCloser + Buttons; BuiltCloze = OutString; } function WriteFeedback(Feedback) { if (is.CRAPBrowser){Feedback=ResolveAllURLs(Feedback);} //Build the output string var OutString = ''; OutString += ''; OutString += ''; OutString += '
'; OutString += NavBar; if (Feedback.length>0){ OutString += '' } OutString += '
'; OutString += ''; OutString += Feedback; OutString += '
'; //Write it to the frame TopFrame.document.clear(); TopFrame.document.open(); TopFrame.document.write(OutString); TopFrame.document.close(); } function DisplayExercise(){ //Build the output string var OutString = ''; OutString += ''; OutString += ''; OutString += '
'; OutString += TitleCode; OutString += ''; OutString += NavBar; OutString += '
'; if (WordBox.length > 0){ OutString += WordBox; } OutString += ''; OutString += BuiltCloze; OutString += '
'; if (is.CRAPBrowser){OutString=ResolveAllURLs(OutString);} //Write it to the frame BottomFrame.document.clear(); BottomFrame.document.open(); BottomFrame.document.write(OutString); BottomFrame.document.close(); } function ShowClue(ItemNum){ //alert(ItemNum); State[ItemNum][0] = 1; WriteFeedback(I[ItemNum][2]); } function SaveCurrentAnswers(){ for (var i=0; i-1){ FirstBit = InString.substring(0, i); LastBit = InString.substring(i + Token.length, InString.length); InString = FirstBit + Replacement + LastBit; i = InString.indexOf(Token); } return InString; } I = new Array(); I[0] = new Array(); I[0][1] = new Array(); I[0][1][0] = new Array(); I[0][1][0][0]='government'; I[0][1][1] = new Array(); I[0][1][1][0]='A system to rule a land.'; I[0][1][2] = new Array(); I[0][1][2][0]='One of the colonied in the new land.'; I[0][1][3] = new Array(); I[0][1][3][0]='One of the many products produced in the new land.'; I[0][2]=''; I[1] = new Array(); I[1][1] = new Array(); I[1][1][0] = new Array(); I[1][1][0][0]='public'; I[1][1][1] = new Array(); I[1][1][1][0]='Private, only a few could read the letter.'; I[1][1][2] = new Array(); I[1][1][2][0]='Open and free for everyone to read.'; I[1][1][3] = new Array(); I[1][1][3][0]='Not open for anyone to read.'; I[1][2]=''; I[2] = new Array(); I[2][1] = new Array(); I[2][1][0] = new Array(); I[2][1][0][0]='forming'; I[2][1][1] = new Array(); I[2][1][1][0]='To create.'; I[2][1][2] = new Array(); I[2][1][2][0]='To destroy.'; I[2][1][3] = new Array(); I[2][1][3][0]='To break apart.'; I[2][2]=''; I[3] = new Array(); I[3][1] = new Array(); I[3][1][0] = new Array(); I[3][1][0][0]='Declaration of Independence'; I[3][1][1] = new Array(); I[3][1][1][0]='A statement that the American colonies wanted more help from England.'; I[3][1][2] = new Array(); I[3][1][2][0]='A statement that the American colonies were becoming part of France.'; I[3][1][3] = new Array(); I[3][1][3][0]='A statement that the American colonies would no longer be a part of England.'; I[3][2]=''; I[4] = new Array(); I[4][1] = new Array(); I[4][1][0] = new Array(); I[4][1][0][0]='King George III'; I[4][1][1] = new Array(); I[4][1][1][0]='The governor of Massachusetts.'; I[4][1][2] = new Array(); I[4][1][2][0]='The ruler of England.'; I[4][1][3] = new Array(); I[4][1][3][0]='An American leader.'; I[4][2]=''; I[5] = new Array(); I[5][1] = new Array(); I[5][1][0] = new Array(); I[5][1][0][0]='General'; I[5][1][1] = new Array(); I[5][1][1][0]='Another word for "governor."'; I[5][1][2] = new Array(); I[5][1][2][0]='Another word for "King."'; I[5][1][3] = new Array(); I[5][1][3][0]='A leader in the army.'; I[5][2]=''; I[6] = new Array(); I[6][1] = new Array(); I[6][1][0] = new Array(); I[6][1][0][0]='soldiers'; I[6][1][1] = new Array(); I[6][1][1][0]='Another word for a colonists.'; I[6][1][2] = new Array(); I[6][1][2][0]='Another word for an American leader.'; I[6][1][3] = new Array(); I[6][1][3][0]='Someone who fights in an army.'; I[6][2]=''; I[7] = new Array(); I[7][1] = new Array(); I[7][1][0] = new Array(); I[7][1][0][0]='rags'; I[7][1][1] = new Array(); I[7][1][1][0]='Dirty and torn.'; I[7][1][2] = new Array(); I[7][1][2][0]='Clean and fresh.'; I[7][1][3] = new Array(); I[7][1][3][0]='Warm and cozy.'; I[7][2]=''; I[8] = new Array(); I[8][1] = new Array(); I[8][1][0] = new Array(); I[8][1][0][0]='huts'; I[8][1][1] = new Array(); I[8][1][1][0]='A temporary house.'; I[8][1][2] = new Array(); I[8][1][2][0]='A kind of weapon or gun.'; I[8][1][3] = new Array(); I[8][1][3][0]='A piece of clothing that will keep you warm.'; I[8][2]=''; I[9] = new Array(); I[9][1] = new Array(); I[9][1][0] = new Array(); I[9][1][0][0]='camp'; I[9][1][1] = new Array(); I[9][1][1][0]='A place where soldiers lived and trained.'; I[9][1][2] = new Array(); I[9][1][2][0]='A place where colonists produced wool.'; I[9][1][3] = new Array(); I[9][1][3][0]='A place where soldiers produced wool and other products.'; I[9][2]=''; Text = new Array(); Text[0]=' Many American leaders were tired of England\'s laws and taxes. They wanted to have their own '; Text[1]='.
Thomas Jefferson was a young colonist. He had good ideas about America. He had ideas about how it should be governed.
The American leaders asked Jefferson to write a '; Text[2]=' letter to the king. The letter would tell the king that the colonies were '; Text[3]=' a new country. The colonies were no longer a part of England.
In the summer of 1776, Thomas Jefferson wrote the '; Text[4]='. Fifty-six American leaders signed it. Then they sent it to '; Text[5]='. Soon the new nation was at war with England.
'; Text[6]=' George Washington was named as the leader of the American army. In 1777, the army lost two big battles. Washington led his soldiers to Valley Forge, Pennsylvania. The soldiers would rest there for the winter.
The winter of 1777 was cold and snowy, and the '; Text[7]=' were tired and hungry. Many were sick. Their clothing had become '; Text[8]='. Some soldiers did not have shoes. General Washington ordered his men to build '; Text[9]='. The huts would keep them warm. He asked the government to send food and clothing for the men. He taught his men better ways to fight as soldiers.
The winter was very hard. Many soldiers died. Some soldiers went home to their farms. But many soldiers stayed in '; Text[10]='. By spring they were ready to fight again. They were a better army.
'; State = new Array(); function StartUp(){ var i = 0; State.length = 0; for (i=0; i -1){ var TotalChars = GetGapValue(i).length; State[i][3] = (TotalChars-State[i][1])/TotalChars; if (State[i][0] > 0){State[i][3] = State[i][3]/2;} if (State[i][3]<0){State[i][3] = 0;} State[i][4] = 1; } else{ //Otherwise, add zero to the array and increment the hints for this item, as a penalty State[i][1]++; State[i][3] = 0; //then set the flag AllCorrect = 0; } } } //Calculate the total score var TotalScore = 0; for (i=0; i'; } Output += YourScoreIs + ' ' + TotalScore + '%.
'; if (AllCorrect == 0){ Output += '
' + Incorrect; } BuildExercise(); WriteFeedback(Output); DisplayExercise(); RestoreCurrentAnswers(); } function TrackFocus(BoxNumber){ CurrentWord = BoxNumber; } function CheckBeginning(Guess, Answer){ var OutString = ''; var i = 0; var UpperGuess = ''; var UpperAnswer = ''; if (CaseSensitive == false) { UpperGuess = Guess.toUpperCase(); UpperAnswer = Answer.toUpperCase(); } else { UpperGuess = Guess; UpperAnswer = Answer; } while (UpperGuess.charAt(i) == UpperAnswer.charAt(i)) { OutString += Guess.charAt(i); i++; } OutString += Answer.charAt(i); return OutString; } function FindLongest(InArray){ if (InArray.length < 1){return -1;} var Longest = 0; for (var i=1; i InArray[Longest].length){ Longest = i; } } return Longest; } function GetGapValue(GNum){ var RetVal = ''; if ((GNum<0)||(GNum>=I.length)){return RetVal;} if (eval('BottomFrame.document.Cloze.Gap' + GNum) != null){ RetVal = eval('BottomFrame.document.Cloze.Gap' + GNum).value; RetVal = TrimString(RetVal); } else{ RetVal = State[GNum][5]; } return RetVal; } function SetGapValue(GNum, Val){ if ((GNum<0)||(GNum>=I.length)){return;} if (eval('BottomFrame.document.Cloze.Gap' + GNum) != null){ eval('BottomFrame.document.Cloze.Gap' + GNum).value = Val; } } function FindCurrent() { var x = 0; FoundCurrent = -1; //Test the current word: //If it's state is not set to already correct, check the word. if (State[CurrentWord][4] != 1){ if (CheckAnswer(CurrentWord, false) < 0){ return CurrentWord; } } x=CurrentWord + 1; while (x -1){return ''} RightBits = new Array(); for (var i=0; i 0){ SetGapValue(CurrGap, HintString); State[CurrGap][1] = State[CurrGap][1] + 1; } WriteFeedback(GiveHint); } function Blank(){ return '©Half-Baked Software. Loading...'; } //--> //]]> 1