'; OutString += '
'; OutString += NavBar; if (Feedback.length>0){ OutString += '' } OutString += '
'; OutString += ''; OutString += Feedback; OutString += '
Hosted by www.Geocities.ws

'; //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 += '
Hosted by www.Geocities.ws

'; 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]='Florence'; I[0][2]='Names of cities do not usually follow an article.'; I[1] = new Array(); I[1][1] = new Array(); I[1][1][0] = new Array(); I[1][1][0][0]='Europe'; I[1][1][1] = new Array(); I[1][1][1][0]='the P.L. Hay family'; I[1][1][2] = new Array(); I[1][1][2][0]='P.L. Hay family'; I[1][1][3] = new Array(); I[1][1][3][0]='P.L Hay'; I[1][2]='Names of continents do not usually need an article.'; I[2] = new Array(); I[2][1] = new Array(); I[2][1][0] = new Array(); I[2][1][0][0]='America'; I[2][1][1] = new Array(); I[2][1][1][0]='the America'; I[2][1][2] = new Array(); I[2][1][2][0]='America'; I[2][1][3] = new Array(); I[2][1][3][0]='the American'; I[2][2]='Names of countries do not generally require the use of an article.'; I[3] = new Array(); I[3][1] = new Array(); I[3][1][0] = new Array(); I[3][1][0][0]='the P.L. Hay family'; I[3][1][1] = new Array(); I[3][1][1][0]='the P.L. Hay family'; I[3][1][2] = new Array(); I[3][1][2][0]='P.L. Hay Family'; I[3][1][3] = new Array(); I[3][1][3][0]='P.L.'; I[3][2]='Plural names need an article'; I[4] = new Array(); I[4][1] = new Array(); I[4][1][0] = new Array(); I[4][1][0][0]='The Hay House'; I[4][2]='Names of museums generally require an article.'; Text = new Array(); Text[0]='Click here for Heinle & Heinle\'s Dictionary

Click here for Merriam-Webster\'s Dictionary On-Line

In the mid-1800s, William Butler Johnston was the keeper of the Confederate treasury, but the mansion he built is the real treasure he left behind. Inspired by the palazzos of '; Text[1]=' and Rome during a three-year honeymoon in '; Text[2]=', Johnston and his wife, Anne, spent four years building an 18,000-square-foot Italian Renaissance Revival mansion that is now a National Historic Landmark.

Considered the most advanced antebellum building in '; Text[3]=' for its style, craftsmanship and technological innovations, the magnificent seven-level Hay House has been featured on A&E\'s America\'s Castles. It boasts beautiful 18th-Century furnishings, Italian Carerra marble fireplaces, some of the country\'s finest examples of marbleized and trompe l\'oeil finishes, a music room with a 30-foot clerestory ceiling, exquisite plaster work with 24-karat gold leafing and spectacular stained glass.

hayhouse2.jpg

The mansion is called the Hay House for its last owners and residents, '; Text[4]=', who conveyed the property in 1977 to The Georgia Trust for Historic Preservation, the country\'s largest statewide non-profit preservation organization.

'; Text[5]=' is available for functions and guided tours. A museum shop features Victorian inspired gift items; decorative art glass; authentic North Georgia pottery; books of regional interest including Civil War history, history of architectural design and decorative arts and cookbooks; reproductions of architectural remnants such as finials from iron fences and brackets; and Georgia food products. Of special interest are pewter reproductions of mint julep cups designed by Edmund Johnston, brother of Hay House builder William Butler Johnson. The Johnston brothers jointly owned a jewelry business in Macon.
'; State = new Array(); function StartUp(){ var i = 0; MixWords = new Array(); 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...
Hosted by www.Geocities.ws

'; } //--> //]]>
Hosted by www.Geocities.ws

1