'; var TableOpener = '
'; TableOpener += ''; var QRow = ''; QRow += ''; var ARow = ''; ARow += ''; ARow += ''; var MARow = ''; var CheckButton = '' } OutString += '
'; QRow += '[QNumber]. [Question]
 '; QRow += '
[Ans]
'; MARow += '[Ans]
0){ history.go((BackSkip+1)*-1); } else{ parent.history.back(); } } function ReduceItems(){ var ItemToDump=0; var j=0; while (I.length > QsToShow){ ItemToDump = Math.floor(I.length*Math.random()); for (j=ItemToDump; j<(I.length-1); j++){ I[j] = I[j+1]; } I.length = I.length-1; } } function Shuffle(InArray){ Temp = new Array(); var Len = InArray.length; var j = Len; for (var i=0; i0){ OutString += '
'; OutString += ''; OutString += Feedback; OutString += '
'; if (is.CRAPBrowser){OutString=ResolveAllURLs(OutString);} //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; iChain, "Teach Me How to Fly" by Jeff St John and Copperwine, and "Falling in Love Again" is a ballad by the late Ted Mulry, prior to his TMG days.'; I[96][1][2][2] = 1; I[96][1][3] = new Array(); I[96][1][3][0]='"Teach Me How to Fly"'; I[96][1][3][1]=''; I[96][1][3][2] = 0; I[96][2] = 0; I[97] = new Array(); I[97][0]='In 1971, two Australian rock groups fought for chart honours over their versions of the same song. The song was "Seasons of Change". The battle was eventually won by the group Blackfeather, but what was the name of the other group which also charted with a version of this classic song?'; I[97][1] = new Array(); I[97][1][0] = new Array(); I[97][1][0][0]='Eternity'; I[97][1][0][1]=''; I[97][1][0][2] = 0; I[97][1][1] = new Array(); I[97][1][1][0]='Maternity'; I[97][1][1][1]=''; I[97][1][1][2] = 0; I[97][1][2] = new Array(); I[97][1][2][0]='Frat House Rockers'; I[97][1][2][1]=''; I[97][1][2][2] = 0; I[97][1][3] = new Array(); I[97][1][3][0]='Fraternity'; I[97][1][3][1]='Interestingly, "Seasons of Change" had been written by members of Blackfeather specifically for Fraternity to record. However, when Blackfeather management heard their own version of the song, they decided to release it immediately in competition. Blackfeather peaked at #15 nationally with the song, while Fraternity made it to #28.'; I[97][1][3][2] = 1; I[97][2] = 0; I[98] = new Array(); I[98][0]='Which band sang the song \'Hells Bells\'?'; I[98][1] = new Array(); I[98][1][0] = new Array(); I[98][1][0][0]=' Rose Tattoo'; I[98][1][0][1]=''; I[98][1][0][2] = 0; I[98][1][1] = new Array(); I[98][1][1][0]='AC/DC'; I[98][1][1][1]='\'Hells Bells\' is the first song on the \'Back in Black\' album.'; I[98][1][1][2] = 1; I[98][1][2] = new Array(); I[98][1][2][0]='Cold Chisel'; I[98][1][2][1]=''; I[98][1][2][2] = 0; I[98][1][3] = new Array(); I[98][1][3][0]=' Mental as Anything'; I[98][1][3][1]=''; I[98][1][3][2] = 0; I[98][2] = 0; I[99] = new Array(); I[99][0]='Which band sang the song \'Beds are Burning\'?'; I[99][1] = new Array(); I[99][1][0] = new Array(); I[99][1][0][0]='Hunters and Collectors'; I[99][1][0][1]=''; I[99][1][0][2] = 0; I[99][1][1] = new Array(); I[99][1][1][0]='AC/DC'; I[99][1][1][1]=''; I[99][1][1][2] = 0; I[99][1][2] = new Array(); I[99][1][2][0]=' Midnight Oil'; I[99][1][2][1]='The song \'Beds are Burning\' is the first song on the \'Diesel and Dust\' album which was released in 1986.'; I[99][1][2][2] = 1; I[99][1][3] = new Array(); I[99][1][3][0]='Split Enz'; I[99][1][3][1]=''; I[99][1][3][2] = 0; I[99][2] = 0; I[100] = new Array(); I[100][0]='Who sang \'Mean Pair of Jeans\' in 1977'; I[100][1] = new Array(); I[100][1][0] = new Array(); I[100][1][0][0]='Jon English'; I[100][1][0][1]=''; I[100][1][0][2] = 0; I[100][1][1] = new Array(); I[100][1][1][0]='Daryl Braithwaite'; I[100][1][1][1]=''; I[100][1][1][2] = 0; I[100][1][2] = new Array(); I[100][1][2][0]='Shirley Strachan'; I[100][1][2][1]=''; I[100][1][2][2] = 0; I[100][1][3] = new Array(); I[100][1][3][0]='Marty Rhone'; I[100][1][3][1]=''; I[100][1][3][2] = 1; I[100][2] = 0; I[101] = new Array(); I[101][0]='\'A Boy From the Stars\' (1975) was performed by which artist?'; I[101][1] = new Array(); I[101][1][0] = new Array(); I[101][1][0][0]='John Paul Young'; I[101][1][0][1]=''; I[101][1][0][2] = 0; I[101][1][1] = new Array(); I[101][1][1][0]='Jim Keays'; I[101][1][1][1]=''; I[101][1][1][2] = 1; I[101][1][2] = new Array(); I[101][1][2][0]='Johnny Farnham'; I[101][1][2][1]=''; I[101][1][2][2] = 0; I[101][1][3] = new Array(); I[101][1][3][0]='Dave Warner From the Suburbs'; I[101][1][3][1]=''; I[101][1][3][2] = 0; I[101][2] = 0; I[102] = new Array(); I[102][0]='Which band had a hit with \'Let It Slide\' (1976)'; I[102][1] = new Array(); I[102][1][0] = new Array(); I[102][1][0][0]='Max Merritt and the Meteors'; I[102][1][0][1]=''; I[102][1][0][2] = 1; I[102][1][1] = new Array(); I[102][1][1][0]='Billy Thorpe and the Aztecs'; I[102][1][1][1]=''; I[102][1][1][2] = 0; I[102][1][2] = new Array(); I[102][1][2][0]='Blackfeather'; I[102][1][2][1]=''; I[102][1][2][2] = 0; I[102][1][3] = new Array(); I[102][1][3][0]='Bee Gees'; I[102][1][3][1]=''; I[102][1][3][2] = 0; I[102][2] = 0; I[103] = new Array(); I[103][0]='In 1977 who sang \'Nothing Stays the Same Forever\''; I[103][1] = new Array(); I[103][1][0] = new Array(); I[103][1][0][0]=' Skyhooks'; I[103][1][0][1]=''; I[103][1][0][2] = 0; I[103][1][1] = new Array(); I[103][1][1][0]='Hush'; I[103][1][1][1]=''; I[103][1][1][2] = 1; I[103][1][2] = new Array(); I[103][1][2][0]='Dragon'; I[103][1][2][1]=''; I[103][1][2][2] = 0; I[103][1][3] = new Array(); I[103][1][3][0]='Sherbet'; I[103][1][3][1]=''; I[103][1][3][2] = 0; I[103][2] = 0; I[104] = new Array(); I[104][0]='Which song says, "Wall to wall mirrors in your bathroom?"'; I[104][1] = new Array(); I[104][1][0] = new Array(); I[104][1][0][0]='Early Warning'; I[104][1][0][1]='From "Early Warning" by Baby Animals, and it was on their debut, self-titled album.'; I[104][1][0][2] = 1; I[104][1][1] = new Array(); I[104][1][1][0]='You Got Nothing I Want'; I[104][1][1][1]=''; I[104][1][1][2] = 0; I[104][1][2] = new Array(); I[104][1][2][0]='Dirty Deeds (Done Dirt Cheap)'; I[104][1][2][1]=''; I[104][1][2][2] = 0; I[104][1][3] = new Array(); I[104][1][3][0]='Reckless'; I[104][1][3][1]=''; I[104][1][3][2] = 0; I[104][2] = 0; I[105] = new Array(); I[105][0]='Which great Aussie song proclaims, "See me ride out from that sunset, on your colour TV screen?"'; I[105][1] = new Array(); I[105][1][0] = new Array(); I[105][1][0][0]='TNT'; I[105][1][0][1]='From AC/DC\'s "TNT." "TNT" was the title track from AC/DC\'s first album.'; I[105][1][0][2] = 1; I[105][1][1] = new Array(); I[105][1][1][0]='Errol'; I[105][1][1][1]=''; I[105][1][1][2] = 0; I[105][1][2] = new Array(); I[105][1][2][0]='Flame Trees'; I[105][1][2][1]=''; I[105][1][2][2] = 0; I[105][1][3] = new Array(); I[105][1][3][0]='One Word, One Letter, One Line'; I[105][1][3][1]=''; I[105][1][3][2] = 0; I[105][2] = 0; I[106] = new Array(); I[106][0]='Which song has the lyrics, "Her husband works back late at night?"'; I[106][1] = new Array(); I[106][1][0] = new Array(); I[106][1][0][0]='The Boys Light Up'; I[106][1][0][1]='From Australian Crawl\'s "The Boys Light Up." Oz Crawl were often definable by lead singer James Reyne\'s terrible diction.'; I[106][1][0][2] = 1; I[106][1][1] = new Array(); I[106][1][1][0]='Cheap Wine'; I[106][1][1][1]=''; I[106][1][1][2] = 0; I[106][1][2] = new Array(); I[106][1][2][0]='Back in Black'; I[106][1][2][1]=''; I[106][1][2][2] = 0; I[106][1][3] = new Array(); I[106][1][3][0]='Am I Ever Gonna See Your Face Again'; I[106][1][3][1]=''; I[106][1][3][2] = 0; I[106][2] = 0; I[107] = new Array(); I[107][0]='Which iconic Australian song says, "Life\'s too short for burning bridges, take it one day at a time?"'; I[107][1] = new Array(); I[107][1][0] = new Array(); I[107][1][0][0]='Khe Sanh'; I[107][1][0][1]=''; I[107][1][0][2] = 0; I[107][1][1] = new Array(); I[107][1][1][0]='US Forces'; I[107][1][1][1]=''; I[107][1][1][2] = 0; I[107][1][2] = new Array(); I[107][1][2][0]='Working Class Man'; I[107][1][2][1]='From Jimmy Barnes\' album "For The Working Class Man," "Working Class Man" has become an anthem in Australia.'; I[107][1][2][2] = 1; I[107][1][3] = new Array(); I[107][1][3][0]='Out of Mind Out of Sight'; I[107][1][3][1]=''; I[107][1][3][2] = 0; I[107][2] = 0; Status = new Array(); function CreateStatusArrays(){ for (var x=0; x= Status[QNum][1].length-1){ Status[QNum][0] = 1; 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; } function ChangeQ(ChangeBy){ var NewNum = CurrQNum + ChangeBy; if ((NewNum >= 0)&&(NewNum
'; } Output = Output + BuildQuestion(I.length-1); Output = TableOpener + Output + TableCloser; DisplayExercise(Output); } function ShowQuestion(QNum){ //First, create the Q number readout at the top var Readout = (QNum+1) + '/' + I.length; while (Readout.length < 7){ Readout = ' ' + Readout + ' '; } Readout = QButtonsOpener + Readout + QButtonsCloser; var Output = BuildQuestion(QNum); Output = TableOpener + Output + TableCloser; DisplayExercise(Readout + Output); //Mark the answers already done for (i=0; i=0; i--){ //Find any incorrect choices var b = eval('BottomFrame.document.QForm.A_' + QNum + '_' + i); if (b != null){ //if it's wrong, count it if (b.checked == true){ Status[QNum][1][i] = 'C'; } else{ Status[QNum][1][i] = 'U'; } if (((b.checked == true) && (b.value == "0"))||((b.checked == false)&&(b.value == "1"))){ TotWrong++; } } } if (TotWrong == 0){ Output = DefaultRight; } else{ Output = DefaultWrong + '
' + (TotAns-TotWrong) + '/' + TotAns; } //If you haven't tried the question before if (Status[QNum][0] == 0){ if (TotWrong > 0){ Status[QNum][2]++; } if (TotWrong == 0){ Status[QNum][0] = 1; //Calculate the score for this question as a floating-point fraction of 1 Status[QNum][3] = ((Status[QNum][1].length - Status[QNum][2]) - 1) / (Status[QNum][1].length - 1); //If less than zero, set to zero if (Status[QNum][3] < 0){Status[QNum][3] = 0;} } } //Check whether the quiz is finished var Finished = true; for (var i=0; i' + YourScoreIs + ' ' + Score + '%.'; } if (Finished == true){ EraseFeedback = false; var CFT = 0; for (i=0; i 0){ WriteFeedback(Output); } } function CheckAnswer(QNum, ANum){ var Output = I[QNum][1][ANum][1]; if (Output==''){ if (I[QNum][1][ANum][2] == 1){ Output = DefaultRight; } else{ Output = DefaultWrong; } } //If it's not been previously answered correctly if (Status[QNum][0] == 0){ //If it's a correct answer if (I[QNum][1][ANum][2] == 1){ Status[QNum][0] = 1;//Mark the Q as done Status[QNum][1][ANum] = 'R'; MarkAnswer(QNum, ANum, true); //Calculate the score for this question as a floating-point fraction of 1 var PossibleWrongs = 0; for (var i=0; i' + YourScoreIs + ' ' + Score + '%.'; } if (Finished == true){ EraseFeedback = false; var CFT = 0; for (i=0; i 0){ WriteFeedback(Output); } } function CalculateScore(){ var TriedQs = 0; var TotalScore = 0; for (var i=0; i 0)||(Status[i][3] == 1)){ TriedQs++; TotalScore += Status[i][3]; } } if (TriedQs == 0){ Score = 0; } else{ Score = (Math.floor(100 * (TotalScore/TriedQs))); } } function MarkAnswer(QNum, ANum, Right){ var Mark = CorrectIndicator; if (Right == false){Mark = IncorrectIndicator;} if (eval('BottomFrame.document.QForm.FB_' + QNum + '_' + ANum) != null){ eval('BottomFrame.document.QForm.FB_' + QNum + '_' + ANum).value = Mark; } } function CheckCheckbox(QNum, ANum){ if (eval('BottomFrame.document.QForm.A_' + QNum + '_' + ANum) != null){ eval('BottomFrame.document.QForm.A_' + QNum + '_' + ANum).checked = true; } } function Blank(){ return '©Half-Baked Software. Loading...'; } //--> //]]>