Placement Test > // 1); if (this.gecko){ this.geckoVer = parseInt(this.ua.substring(this.ua.indexOf('Gecko')+6, this.ua.length)); if (this.geckoVer < 20020000){this.min = false;} } //Look for Firebird this.firebird = (this.ua.indexOf('Firebird') > 1); //Look for Safari this.safari = (this.ua.indexOf('Safari') > 1); if (this.safari){ this.gecko = false; } //Look for IE this.ie = (this.ua.indexOf('MSIE') > 0); if (this.ie){ this.ieVer = parseFloat(this.ua.substring(this.ua.indexOf('MSIE')+5, this.ua.length)); if (this.ieVer < 5.5){this.min = false;} } //Look for Opera this.opera = (this.ua.indexOf('Opera') > 0); if (this.opera){ this.operaVer = parseFloat(this.ua.substring(this.ua.indexOf('Opera')+6, this.ua.length)); if (this.operaVer < 7.04){this.min = false;} } if (this.min == false){ alert('Your browser may not be able to handle this page.'); } //Special case for the horrible ie5mac this.ie5mac = (this.ie&&this.mac&&(this.ieVer<6)); } var C = new Client(); //for (prop in C){ // alert(prop + ': ' + C[prop]); //} //CODE FOR HANDLING NAV BUTTONS AND FUNCTION BUTTONS //[strNavBarJS] function NavBtnOver(Btn){ if (Btn.className != 'NavButtonDown'){Btn.className = 'NavButtonUp';} } function NavBtnOut(Btn){ Btn.className = 'NavButton'; } function NavBtnDown(Btn){ Btn.className = 'NavButtonDown'; } //[/strNavBarJS] function FuncBtnOver(Btn){ if (Btn.className != 'FuncButtonDown'){Btn.className = 'FuncButtonUp';} } function FuncBtnOut(Btn){ Btn.className = 'FuncButton'; } function FuncBtnDown(Btn){ Btn.className = 'FuncButtonDown'; } function FocusAButton(){ if (document.getElementById('CheckButton1') != null){ document.getElementById('CheckButton1').focus(); } else{ if (document.getElementById('CheckButton2') != null){ document.getElementById('CheckButton2').focus(); } else{ document.getElementsByTagName('button')[0].focus(); } } } //CODE FOR HANDLING DISPLAY OF POPUP FEEDBACK BOX var topZ = 1000; function ShowMessage(Feedback){ var Output = Feedback + '

'; document.getElementById('FeedbackContent').innerHTML = Output; var FDiv = document.getElementById('FeedbackDiv'); topZ++; FDiv.style.zIndex = topZ; FDiv.style.top = TopSettingWithScrollOffset(30) + 'px'; FDiv.style.display = 'block'; ShowElements(false, 'input'); ShowElements(false, 'select'); ShowElements(false, 'object'); //Focus the OK button setTimeout("document.getElementById('FeedbackOKButton').focus()", 50); // } //Added code to work around Quicktime bug for 6.0.4.24. function ShowElements(Show, TagName){ //Special for IE bug -- hide all the form elements that will show through the popup if ((C.ie)||(TagName == 'object')){ var Els = document.getElementsByTagName(TagName); for (var i=0; i ReduceToSize){ ItemToDump = Math.floor(InArray.length*Math.random()); InArray.splice(ItemToDump, 1); } } function Shuffle(InArray){ var Num; var Temp = new Array(); var Len = InArray.length; var j = Len; for (var i=0; i InArray[Longest].length){ Longest = i; } } return Longest; } //UNICODE CHARACTER FUNCTIONS function IsCombiningDiacritic(CharNum){ var Result = (((CharNum >= 0x0300)&&(CharNum <= 0x370))||((CharNum >= 0x20d0)&&(CharNum <= 0x20ff))); Result = Result || (((CharNum >= 0x3099)&&(CharNum <= 0x309a))||((CharNum >= 0xfe20)&&(CharNum <= 0xfe23))); return Result; } function IsCJK(CharNum){ return ((CharNum >= 0x3000)&&(CharNum < 0xd800)); } //SETUP FUNCTIONS //BROWSER WILL REFILL TEXT BOXES FROM CACHE IF NOT PREVENTED function ClearTextBoxes(){ var NList = document.getElementsByTagName('input'); for (var i=0; i -1)||(NList[i].id.indexOf('Gap') > -1)){ NList[i].value = ''; } if (NList[i].id.indexOf('Chk') > -1){ NList[i].checked = ''; } } } //EXTENSION TO ARRAY OBJECT function Array_IndexOf(Input){ var Result = -1; for (var i=0; i 0){ I[QNum][3][ANum][1] = DefaultRight; } else{ I[QNum][3][ANum][1] = DefaultWrong; } } } } } } function SetUpQuestions(){ var AList = new Array(); var QList = new Array(); var i, j; Qs = document.getElementById('Questions'); while (Qs.getElementsByTagName('li').length > 0){ QList.push(Qs.removeChild(Qs.getElementsByTagName('li')[0])); } var DumpItem = 0; if (QsToShow > QList.length){ QsToShow = QList.length; } while (QsToShow < QList.length){ DumpItem = Math.floor(QList.length*Math.random()); for (j=DumpItem; j<(QList.length-1); j++){ QList[j] = QList[j+1]; } QList.length = QList.length-1; } if (ShuffleQs == true){ QList = Shuffle(QList); } if (ShuffleAs == true){ var As; for (var i=0; i 0){ AList.push(As.removeChild(As.getElementsByTagName('li')[0])); } AList = Shuffle(AList); for (j=0; j= QArray.length)){return;} QArray[CurrQNum].style.display = 'none'; CurrQNum += ChangeBy; QArray[CurrQNum].style.display = ''; //Undocumented function added 10/12/2004 ShowSpecialReadingForQuestion(); SetQNumReadout(); SetFocusToTextbox(); } var HiddenReadingShown = false; function ShowSpecialReadingForQuestion(){ //Undocumented function for showing specific reading text elements which change with each question //Added on 10/12/2004 if (document.getElementById('ReadingDiv') != null){ if (HiddenReadingShown == true){ document.getElementById('ReadingDiv').innerHTML = ''; } if (QArray[CurrQNum] != null){ //Fix for 6.0.4.25 var Children = QArray[CurrQNum].getElementsByTagName('div'); for (var i=0; i= QArray.length){ if (document.getElementById('NextQButton') != null){ document.getElementById('NextQButton').style.visibility = 'hidden'; } } else{ if (document.getElementById('NextQButton') != null){ document.getElementById('NextQButton').style.visibility = 'visible'; } } if (CurrQNum <= 0){ if (document.getElementById('PrevQButton') != null){ document.getElementById('PrevQButton').style.visibility = 'hidden'; } } else{ if (document.getElementById('PrevQButton') != null){ document.getElementById('PrevQButton').style.visibility = 'visible'; } } } var I=new Array(); I[0]=new Array();I[0][0]=100; I[0][1]=''; I[0][2]='0'; I[0][3]=new Array(); I[0][3][0]=new Array('does live','',0,0,1); I[0][3][1]=new Array('live','',1,100,1); I[0][3][2]=new Array('living','',0,0,1); I[0][3][3]=new Array('ain\'t be living','',0,0,1); I[1]=new Array();I[1][0]=100; I[1][1]=''; I[1][2]='0'; I[1][3]=new Array(); I[1][3][0]=new Array('How long','',0,0,1); I[1][3][1]=new Array('How hour','',0,0,1); I[1][3][2]=new Array('What hour','',0,0,1); I[1][3][3]=new Array('What time','',1,100,1); I[2]=new Array();I[2][0]=100; I[2][1]=''; I[2][2]='0'; I[2][3]=new Array(); I[2][3][0]=new Array('When','',1,100,1); I[2][3][1]=new Array('How often ','',0,0,1); I[2][3][2]=new Array('What','',0,0,1); I[2][3][3]=new Array('How far','',0,0,1); I[3]=new Array();I[3][0]=100; I[3][1]=''; I[3][2]='0'; I[3][3]=new Array(); I[3][3][0]=new Array('How','',0,0,1); I[3][3][1]=new Array('Where','',0,0,1); I[3][3][2]=new Array('What','',1,100,1); I[3][3][3]=new Array('Which','',0,0,1); I[4]=new Array();I[4][0]=100; I[4][1]=''; I[4][2]='0'; I[4][3]=new Array(); I[4][3][0]=new Array('want','',1,100,1); I[4][3][1]=new Array('love','',0,0,1); I[4][3][2]=new Array('like','',0,0,1); I[4][3][3]=new Array('wished','',0,0,1); I[5]=new Array();I[5][0]=100; I[5][1]=''; I[5][2]='0'; I[5][3]=new Array(); I[5][3][0]=new Array('Yes she does','',0,0,1); I[5][3][1]=new Array('No she doesn\'t','',0,0,1); I[5][3][2]=new Array('Yes he does','',1,100,1); I[5][3][3]=new Array('No he don\'t','',0,0,1); I[6]=new Array();I[6][0]=100; I[6][1]=''; I[6][2]='0'; I[6][3]=new Array(); I[6][3][0]=new Array('What','',0,0,1); I[6][3][1]=new Array('How','',0,0,1); I[6][3][2]=new Array('Were','',0,0,1); I[6][3][3]=new Array('Where','',1,100,1); I[7]=new Array();I[7][0]=100; I[7][1]=''; I[7][2]='0'; I[7][3]=new Array(); I[7][3][0]=new Array('Smoke you','',0,0,1); I[7][3][1]=new Array('You smoke','',0,0,1); I[7][3][2]=new Array('Do you smoke','',1,100,1); I[7][3][3]=new Array('you are smoking','',0,0,1); I[8]=new Array();I[8][0]=100; I[8][1]=''; I[8][2]='0'; I[8][3]=new Array(); I[8][3][0]=new Array('Smoke not','',0,0,1); I[8][3][1]=new Array('Smoking','',0,0,1); I[8][3][2]=new Array('Not smoking','',0,0,1); I[8][3][3]=new Array('Don\'t smoke','',1,100,1); I[9]=new Array();I[9][0]=100; I[9][1]=''; I[9][2]='0'; I[9][3]=new Array(); I[9][3][0]=new Array('to','',1,100,1); I[9][3][1]=new Array('for ','',0,0,1); I[9][3][2]=new Array('at','',0,0,1); I[9][3][3]=new Array('about','',0,0,1); I[10]=new Array();I[10][0]=100; I[10][1]=''; I[10][2]='0'; I[10][3]=new Array(); I[10][3][0]=new Array('always','',0,0,1); I[10][3][1]=new Array('never','',1,100,1); I[10][3][2]=new Array('sometimes','',0,0,1); I[10][3][3]=new Array('usually','',0,0,1); I[11]=new Array();I[11][0]=100; I[11][1]=''; I[11][2]='0'; I[11][3]=new Array(); I[11][3][0]=new Array('I live','',0,0,1); I[11][3][1]=new Array('I\'ve been living','',1,100,1); I[11][3][2]=new Array('I am living','',0,0,1); I[11][3][3]=new Array('I\'m used to living','',0,0,1); I[12]=new Array();I[12][0]=100; I[12][1]=''; I[12][2]='0'; I[12][3]=new Array(); I[12][3][0]=new Array('does','',1,100,1); I[12][3][1]=new Array('is','',0,0,1); I[12][3][2]=new Array('was','',0,0,1); I[12][3][3]=new Array('has','',0,0,1); I[13]=new Array();I[13][0]=100; I[13][1]=''; I[13][2]='0'; I[13][3]=new Array(); I[13][3][0]=new Array('walk at','',0,0,1); I[13][3][1]=new Array('fly by','',0,0,1); I[13][3][2]=new Array('drive to','',1,100,1); I[13][3][3]=new Array('go at','',0,0,1); I[14]=new Array();I[14][0]=100; I[14][1]=''; I[14][2]='0'; I[14][3]=new Array(); I[14][3][0]=new Array('can to','',0,0,1); I[14][3][1]=new Array('are able to','',1,100,1); I[14][3][2]=new Array('are able','',0,0,1); I[14][3][3]=new Array('can no','',0,0,1); I[15]=new Array();I[15][0]=100; I[15][1]=''; I[15][2]='0'; I[15][3]=new Array(); I[15][3][0]=new Array('in','',0,0,1); I[15][3][1]=new Array('with','',0,0,1); I[15][3][2]=new Array('by','',1,100,1); I[15][3][3]=new Array('on','',0,0,1); I[16]=new Array();I[16][0]=100; I[16][1]=''; I[16][2]='0'; I[16][3]=new Array(); I[16][3][0]=new Array('don\'t','',0,0,1); I[16][3][1]=new Array('does','',0,0,1); I[16][3][2]=new Array('didn\'t','',0,0,1); I[16][3][3]=new Array('doesn\'t','',1,100,1); I[17]=new Array();I[17][0]=100; I[17][1]=''; I[17][2]='0'; I[17][3]=new Array(); I[17][3][0]=new Array('How much time','',0,0,1); I[17][3][1]=new Array('How often','',1,100,1); I[17][3][2]=new Array('How many time','',0,0,1); I[17][3][3]=new Array('How long time','',0,0,1); I[18]=new Array();I[18][0]=100; I[18][1]=''; I[18][2]='0'; I[18][3]=new Array(); I[18][3][0]=new Array('far away','',0,0,1); I[18][3][1]=new Array('near from','',0,0,1); I[18][3][2]=new Array('far from','',1,100,1); I[18][3][3]=new Array('near away','',0,0,1); I[19]=new Array();I[19][0]=100; I[19][1]=''; I[19][2]='0'; I[19][3]=new Array(); I[19][3][0]=new Array('fat','',0,0,1); I[19][3][1]=new Array('high','',0,0,1); I[19][3][2]=new Array('tall','',1,100,1); I[19][3][3]=new Array('big','',0,0,1); I[20]=new Array();I[20][0]=100; I[20][1]=''; I[20][2]='0'; I[20][3]=new Array(); I[20][3][0]=new Array('for buying','',0,0,1); I[20][3][1]=new Array('buying','',0,0,1); I[20][3][2]=new Array('to buy','',1,100,1); I[20][3][3]=new Array('for to buy','',0,0,1); I[21]=new Array();I[21][0]=100; I[21][1]=''; I[21][2]='0'; I[21][3]=new Array(); I[21][3][0]=new Array('There be','',0,0,1); I[21][3][1]=new Array('Their is','',0,0,1); I[21][3][2]=new Array('It has','',0,0,1); I[21][3][3]=new Array('There is','',1,100,1); I[22]=new Array();I[22][0]=100; I[22][1]=''; I[22][2]='0'; I[22][3]=new Array(); I[22][3][0]=new Array('\'m going','',1,100,1); I[22][3][1]=new Array('will to go','',0,0,1); I[22][3][2]=new Array('go','',0,0,1); I[22][3][3]=new Array('had to go','',0,0,1); I[23]=new Array();I[23][0]=100; I[23][1]=''; I[23][2]='0'; I[23][3]=new Array(); I[23][3][0]=new Array('much','',0,0,1); I[23][3][1]=new Array('a lot','',0,0,1); I[23][3][2]=new Array('much of','',0,0,1); I[23][3][3]=new Array('many','',1,100,1); I[24]=new Array();I[24][0]=100; I[24][1]=''; I[24][2]='0'; I[24][3]=new Array(); I[24][3][0]=new Array('be','',0,0,1); I[24][3][1]=new Array('like','',1,100,1); I[24][3][2]=new Array('today','',0,0,1); I[24][3][3]=new Array('is','',0,0,1); I[25]=new Array();I[25][0]=100; I[25][1]=''; I[25][2]='0'; I[25][3]=new Array(); I[25][3][0]=new Array('Will ','',0,0,1); I[25][3][1]=new Array('Can','',0,0,1); I[25][3][2]=new Array('Would','',1,100,1); I[25][3][3]=new Array('Did','',0,0,1); I[26]=new Array();I[26][0]=100; I[26][1]=''; I[26][2]='0'; I[26][3]=new Array(); I[26][3][0]=new Array('many euro','',0,0,1); I[26][3][1]=new Array('much money','',1,100,1); I[26][3][2]=new Array('many money','',0,0,1); I[26][3][3]=new Array('many cash','',0,0,1); I[27]=new Array();I[27][0]=100; I[27][1]=''; I[27][2]='0'; I[27][3]=new Array(); I[27][3][0]=new Array('cutting','',1,100,1); I[27][3][1]=new Array('to cut','',0,0,1); I[27][3][2]=new Array('cut','',0,0,1); I[27][3][3]=new Array('prepare','',0,0,1); I[28]=new Array();I[28][0]=100; I[28][1]=''; I[28][2]='0'; I[28][3]=new Array(); I[28][3][0]=new Array('Tom television set','',0,0,1); I[28][3][1]=new Array('the Dick television set','',0,0,1); I[28][3][2]=new Array('Harry\'s television set','',1,100,1); I[28][3][3]=new Array('mine television set','',0,0,1); I[29]=new Array();I[29][0]=100; I[29][1]=''; I[29][2]='0'; I[29][3]=new Array(); I[29][3][0]=new Array('like','',0,0,1); I[29][3][1]=new Array('am like','',0,0,1); I[29][3][2]=new Array('take exercise','',0,0,1); I[29][3][3]=new Array('like it','',1,100,1); I[30]=new Array();I[30][0]=100; I[30][1]=''; I[30][2]='0'; I[30][3]=new Array(); I[30][3][0]=new Array('There are','',1,100,1); I[30][3][1]=new Array('Their are','',0,0,1); I[30][3][2]=new Array('There is','',0,0,1); I[30][3][3]=new Array('They are','',0,0,1); I[31]=new Array();I[31][0]=100; I[31][1]=''; I[31][2]='0'; I[31][3]=new Array(); I[31][3][0]=new Array('Would ','',0,0,1); I[31][3][1]=new Array('Am','',0,0,1); I[31][3][2]=new Array('Do','',0,0,1); I[31][3][3]=new Array('May','',1,100,1); I[32]=new Array();I[32][0]=100; I[32][1]=''; I[32][2]='0'; I[32][3]=new Array(); I[32][3][0]=new Array('do you do','',0,0,1); I[32][3][1]=new Array('did you do','',0,0,1); I[32][3][2]=new Array('are you doing','',1,100,1); I[32][3][3]=new Array('will you doing','',0,0,1); I[33]=new Array();I[33][0]=100; I[33][1]=''; I[33][2]='0'; I[33][3]=new Array(); I[33][3][0]=new Array('have to','',1,100,1); I[33][3][1]=new Array('must to','',0,0,1); I[33][3][2]=new Array('have','',0,0,1); I[33][3][3]=new Array('are obliged to','',0,0,1); I[34]=new Array();I[34][0]=100; I[34][1]=''; I[34][2]='0'; I[34][3]=new Array(); I[34][3][0]=new Array('a little','',0,0,1); I[34][3][1]=new Array('a few','',1,100,1); I[34][3][2]=new Array('many','',0,0,1); I[34][3][3]=new Array('much','',0,0,1); I[35]=new Array();I[35][0]=100; I[35][1]=''; I[35][2]='0'; I[35][3]=new Array(); I[35][3][0]=new Array('Make','',0,0,1); I[35][3][1]=new Array('Do','',0,0,1); I[35][3][2]=new Array('Have','',1,100,1); I[35][3][3]=new Array('Pass','',0,0,1); I[36]=new Array();I[36][0]=100; I[36][1]=''; I[36][2]='0'; I[36][3]=new Array(); I[36][3][0]=new Array('ought','',0,0,1); I[36][3][1]=new Array('can','',0,0,1); I[36][3][2]=new Array('should','',1,100,1); I[36][3][3]=new Array('would','',0,0,1); I[37]=new Array();I[37][0]=100; I[37][1]=''; I[37][2]='0'; I[37][3]=new Array(); I[37][3][0]=new Array('right','',0,0,1); I[37][3][1]=new Array('bad','',0,0,1); I[37][3][2]=new Array('wrong','',1,100,1); I[37][3][3]=new Array('erreur','',0,0,1); I[38]=new Array();I[38][0]=100; I[38][1]=''; I[38][2]='0'; I[38][3]=new Array(); I[38][3][0]=new Array('busiest','',0,0,1); I[38][3][1]=new Array('much people','',0,0,1); I[38][3][2]=new Array('too crowded','',1,100,1); I[38][3][3]=new Array('much too much person','',0,0,1); I[39]=new Array();I[39][0]=100; I[39][1]=''; I[39][2]='0'; I[39][3]=new Array(); I[39][3][0]=new Array('quicklier','',0,0,1); I[39][3][1]=new Array('faster','',1,100,1); I[39][3][2]=new Array('rapider','',0,0,1); I[39][3][3]=new Array('more fast','',0,0,1); I[40]=new Array();I[40][0]=100; I[40][1]=''; I[40][2]='0'; I[40][3]=new Array(); I[40][3][0]=new Array('some /any','',0,0,1); I[40][3][1]=new Array('any /anybody','',0,0,1); I[40][3][2]=new Array('some /anybody','',1,100,1); I[40][3][3]=new Array('somebody /anybody','',0,0,1); I[41]=new Array();I[41][0]=100; I[41][1]=''; I[41][2]='0'; I[41][3]=new Array(); I[41][3][0]=new Array('has been','',0,0,1); I[41][3][1]=new Array('drived','',0,0,1); I[41][3][2]=new Array('went','',1,100,1); I[41][3][3]=new Array('travel','',0,0,1); I[42]=new Array();I[42][0]=100; I[42][1]=''; I[42][2]='0'; I[42][3]=new Array(); I[42][3][0]=new Array('Do /don\'t','',0,0,1); I[42][3][1]=new Array('Did /didn\'t','',1,100,1); I[42][3][2]=new Array('Were /weren\'t','',0,0,1); I[42][3][3]=new Array('Did /did','',0,0,1); I[43]=new Array();I[43][0]=100; I[43][1]=''; I[43][2]='0'; I[43][3]=new Array(); I[43][3][0]=new Array('I\'m speaking','',1,100,1); I[43][3][1]=new Array('I speak','',0,0,1); I[43][3][2]=new Array('I\'ve spoke','',0,0,1); I[43][3][3]=new Array('I did speak','',0,0,1); I[44]=new Array();I[44][0]=100; I[44][1]=''; I[44][2]='0'; I[44][3]=new Array(); I[44][3][0]=new Array('never','',0,0,1); I[44][3][1]=new Array('always','',0,0,1); I[44][3][2]=new Array('too late','',0,0,1); I[44][3][3]=new Array('soon','',1,100,1); I[45]=new Array();I[45][0]=100; I[45][1]=''; I[45][2]='0'; I[45][3]=new Array(); I[45][3][0]=new Array('No matter','',0,0,1); I[45][3][1]=new Array('t doesn\'t make nothing','',0,0,1); I[45][3][2]=new Array('That\'s all right','',1,100,1); I[45][3][3]=new Array('My pleasure','',0,0,1); I[46]=new Array();I[46][0]=100; I[46][1]=''; I[46][2]='0'; I[46][3]=new Array(); I[46][3][0]=new Array('Yes, I want','',0,0,1); I[46][3][1]=new Array('Yes, I\'d love to','',1,100,1); I[46][3][2]=new Array('Yes, I like','',0,0,1); I[46][3][3]=new Array('Yes, I do','',0,0,1); I[47]=new Array();I[47][0]=100; I[47][1]=''; I[47][2]='0'; I[47][3]=new Array(); I[47][3][0]=new Array('Would you want','',0,0,1); I[47][3][1]=new Array('Would you like to','',0,0,1); I[47][3][2]=new Array('Do you want','',1,100,1); I[47][3][3]=new Array('Want you','',0,0,1); I[48]=new Array();I[48][0]=100; I[48][1]=''; I[48][2]='0'; I[48][3]=new Array(); I[48][3][0]=new Array('granted','',0,0,1); I[48][3][1]=new Array('forgiven','',0,0,1); I[48][3][2]=new Array('forbidden','',1,100,1); I[48][3][3]=new Array('forgotten','',0,0,1); I[49]=new Array();I[49][0]=100; I[49][1]=''; I[49][2]='0'; I[49][3]=new Array(); I[49][3][0]=new Array('is the bank','',0,0,1); I[49][3][1]=new Array('does the bank','',1,100,1); I[49][3][2]=new Array('was the bank','',0,0,1); I[49][3][3]=new Array('do the bank','',0,0,1); I[50]=new Array();I[50][0]=100; I[50][1]=''; I[50][2]='0'; I[50][3]=new Array(); I[50][3][0]=new Array('After to complete','',0,0,1); I[50][3][1]=new Array('After completing','',1,100,1); I[50][3][2]=new Array('After you are completing','',0,0,1); I[50][3][3]=new Array('After complete','',0,0,1); I[51]=new Array();I[51][0]=100; I[51][1]=''; I[51][2]='0'; I[51][3]=new Array(); I[51][3][0]=new Array('When you will','',0,0,1); I[51][3][1]=new Array('As soon as you will','',0,0,1); I[51][3][2]=new Array('As soon as you','',1,100,1); I[51][3][3]=new Array('Until you','',0,0,1); I[52]=new Array();I[52][0]=100; I[52][1]=''; I[52][2]='0'; I[52][3]=new Array(); I[52][3][0]=new Array('I\'m not agree','',0,0,1); I[52][3][1]=new Array('I\'m not agreeing','',0,0,1); I[52][3][2]=new Array('I don\'t agree','',1,100,1); I[52][3][3]=new Array('I didn\'t agreed','',0,0,1); I[53]=new Array();I[53][0]=100; I[53][1]=''; I[53][2]='0'; I[53][3]=new Array(); I[53][3][0]=new Array('drinks','',0,0,1); I[53][3][1]=new Array('drunk','',0,0,1); I[53][3][2]=new Array('have drank','',0,0,1); I[53][3][3]=new Array('had been drinking','',1,100,1); I[54]=new Array();I[54][0]=100; I[54][1]=''; I[54][2]='0'; I[54][3]=new Array(); I[54][3][0]=new Array('worth to read','',0,0,1); I[54][3][1]=new Array('valuable to read','',0,0,1); I[54][3][2]=new Array('worth reading','',1,100,1); I[54][3][3]=new Array('worth that you read it','',0,0,1); I[55]=new Array();I[55][0]=100; I[55][1]=''; I[55][2]='0'; I[55][3]=new Array(); I[55][3][0]=new Array('order for increasing','',0,0,1); I[55][3][1]=new Array('the aim of increasing','',0,0,1); I[55][3][2]=new Array('for increasing','',0,0,1); I[55][3][3]=new Array('order to increase','',1,100,1); I[56]=new Array();I[56][0]=100; I[56][1]=''; I[56][2]='0'; I[56][3]=new Array(); I[56][3][0]=new Array('reason to','',0,0,1); I[56][3][1]=new Array('utility in','',0,0,1); I[56][3][2]=new Array('interest to','',0,0,1); I[56][3][3]=new Array('reason of','',1,100,1); I[57]=new Array();I[57][0]=100; I[57][1]=''; I[57][2]='0'; I[57][3]=new Array(); I[57][3][0]=new Array('to hear','',0,0,1); I[57][3][1]=new Array('of hearing from','',0,0,1); I[57][3][2]=new Array('to hearing from','',1,100,1); I[57][3][3]=new Array('to hear of','',0,0,1); I[58]=new Array();I[58][0]=100; I[58][1]=''; I[58][2]='0'; I[58][3]=new Array(); I[58][3][0]=new Array('more greater','',0,0,1); I[58][3][1]=new Array('more height','',0,0,1); I[58][3][2]=new Array('even higher','',1,100,1); I[58][3][3]=new Array('much more higher','',0,0,1); I[59]=new Array();I[59][0]=100; I[59][1]=''; I[59][2]='0'; I[59][3]=new Array(); I[59][3][0]=new Array('agree','',0,0,1); I[59][3][1]=new Array('wanting','',0,0,1); I[59][3][2]=new Array('willing','',1,100,1); I[59][3][3]=new Array('ok','',0,0,1); I[60]=new Array();I[60][0]=100; I[60][1]=''; I[60][2]='0'; I[60][3]=new Array(); I[60][3][0]=new Array('either one','',1,100,1); I[60][3][1]=new Array('the both','',0,0,1); I[60][3][2]=new Array('neither one','',0,0,1); I[60][3][3]=new Array('both','',0,0,1); I[61]=new Array();I[61][0]=100; I[61][1]=''; I[61][2]='0'; I[61][3]=new Array(); I[61][3][0]=new Array('still','',0,0,1); I[61][3][1]=new Array('before','',0,0,1); I[61][3][2]=new Array('yet','',1,100,1); I[61][3][3]=new Array('now','',0,0,1); I[62]=new Array();I[62][0]=100; I[62][1]=''; I[62][2]='0'; I[62][3]=new Array(); I[62][3][0]=new Array('won\'t survive','',0,0,1); I[62][3][1]=new Array('should survive','',0,0,1); I[62][3][2]=new Array('would outlive','',0,0,1); I[62][3][3]=new Array('would survive','',1,100,1); I[63]=new Array();I[63][0]=100; I[63][1]=''; I[63][2]='0'; I[63][3]=new Array(); I[63][3][0]=new Array('should','',0,0,1); I[63][3][1]=new Array('ought','',0,0,1); I[63][3][2]=new Array('was supposed','',1,100,1); I[63][3][3]=new Array('has','',0,0,1); I[64]=new Array();I[64][0]=100; I[64][1]=''; I[64][2]='0'; I[64][3]=new Array(); I[64][3][0]=new Array('Either','',0,0,1); I[64][3][1]=new Array('The both','',0,0,1); I[64][3][2]=new Array('Both','',1,100,1); I[64][3][3]=new Array('Neither','',0,0,1); I[65]=new Array();I[65][0]=100; I[65][1]=''; I[65][2]='0'; I[65][3]=new Array(); I[65][3][0]=new Array('cause that it be cancelled','',0,0,1); I[65][3][1]=new Array('lead to it\'s being cancelled','',1,100,1); I[65][3][2]=new Array('make that it will be cancelled','',0,0,1); I[65][3][3]=new Array('provoke it to be cancelled','',0,0,1); I[66]=new Array();I[66][0]=100; I[66][1]=''; I[66][2]='0'; I[66][3]=new Array(); I[66][3][0]=new Array('Do you want I','',0,0,1); I[66][3][1]=new Array('would you like I','',0,0,1); I[66][3][2]=new Array('Shall I','',1,100,1); I[66][3][3]=new Array('Do you mind I','',0,0,1); I[67]=new Array();I[67][0]=100; I[67][1]=''; I[67][2]='0'; I[67][3]=new Array(); I[67][3][0]=new Array('am thinking','',0,0,1); I[67][3][1]=new Array('think','',0,0,1); I[67][3][2]=new Array('thought','',1,100,1); I[67][3][3]=new Array('thank','',0,0,1); I[68]=new Array();I[68][0]=100; I[68][1]=''; I[68][2]='0'; I[68][3]=new Array(); I[68][3][0]=new Array('plenty','',1,100,1); I[68][3][1]=new Array('much','',0,0,1); I[68][3][2]=new Array('many','',0,0,1); I[68][3][3]=new Array('a little','',0,0,1); I[69]=new Array();I[69][0]=100; I[69][1]=''; I[69][2]='0'; I[69][3]=new Array(); I[69][3][0]=new Array('some','',0,0,1); I[69][3][1]=new Array('little','',1,100,1); I[69][3][2]=new Array('few','',0,0,1); I[69][3][3]=new Array('lot','',0,0,1); I[70]=new Array();I[70][0]=100; I[70][1]=''; I[70][2]='0'; I[70][3]=new Array(); I[70][3][0]=new Array('could travelled','',0,0,1); I[70][3][1]=new Array('would travel','',0,0,1); I[70][3][2]=new Array('would have travelled','',1,100,1); I[70][3][3]=new Array('could have travelled','',0,0,1); I[71]=new Array();I[71][0]=100; I[71][1]=''; I[71][2]='0'; I[71][3]=new Array(); I[71][3][0]=new Array('should have think','',0,0,1); I[71][3][1]=new Array('should to think','',0,0,1); I[71][3][2]=new Array('should have thought','',1,100,1); I[71][3][3]=new Array('would think','',0,0,1); I[72]=new Array();I[72][0]=100; I[72][1]=''; I[72][2]='0'; I[72][3]=new Array(); I[72][3][0]=new Array('could lose','',0,0,1); I[72][3][1]=new Array('must have lost','',1,100,1); I[72][3][2]=new Array('may be losing','',0,0,1); I[72][3][3]=new Array('must losed','',0,0,1); I[73]=new Array();I[73][0]=100; I[73][1]=''; I[73][2]='0'; I[73][3]=new Array(); I[73][3][0]=new Array('still','',1,100,1); I[73][3][1]=new Array('again','',0,0,1); I[73][3][2]=new Array('always','',0,0,1); I[73][3][3]=new Array('yet','',0,0,1); I[74]=new Array();I[74][0]=100; I[74][1]=''; I[74][2]='0'; I[74][3]=new Array(); I[74][3][0]=new Array('ought not to be leaved','',0,0,1); I[74][3][1]=new Array('ought to be not left','',0,0,1); I[74][3][2]=new Array('shouldn\'t leave','',0,0,1); I[74][3][3]=new Array('are not to be left','',1,100,1); I[75]=new Array();I[75][0]=100; I[75][1]=''; I[75][2]='0'; I[75][3]=new Array(); I[75][3][0]=new Array('smily','',0,0,1); I[75][3][1]=new Array('sexy','',0,0,1); I[75][3][2]=new Array('friendly','',1,100,1); I[75][3][3]=new Array('sympathetic','',0,0,1); I[76]=new Array();I[76][0]=100; I[76][1]=''; I[76][2]='0'; I[76][3]=new Array(); I[76][3][0]=new Array('when','',0,0,1); I[76][3][1]=new Array('despite','',0,0,1); I[76][3][2]=new Array('whereas','',1,100,1); I[76][3][3]=new Array('therefore','',0,0,1); I[77]=new Array();I[77][0]=100; I[77][1]=''; I[77][2]='0'; I[77][3]=new Array(); I[77][3][0]=new Array('weren\'t','',0,0,1); I[77][3][1]=new Array('was','',0,0,1); I[77][3][2]=new Array('isn\'t','',1,100,1); I[77][3][3]=new Array('can be','',0,0,1); I[78]=new Array();I[78][0]=100; I[78][1]=''; I[78][2]='0'; I[78][3]=new Array(); I[78][3][0]=new Array('so do','',1,100,1); I[78][3][1]=new Array('as does','',0,0,1); I[78][3][2]=new Array('like do','',0,0,1); I[78][3][3]=new Array('so does','',0,0,1); I[79]=new Array();I[79][0]=100; I[79][1]=''; I[79][2]='0'; I[79][3]=new Array(); I[79][3][0]=new Array('put up with','',1,100,1); I[79][3][1]=new Array('bear','',0,0,1); I[79][3][2]=new Array('beer','',0,0,1); I[79][3][3]=new Array('carry','',0,0,1); I[80]=new Array();I[80][0]=100; I[80][1]=''; I[80][2]='0'; I[80][3]=new Array(); I[80][3][0]=new Array('interested in','',1,100,1); I[80][3][1]=new Array('interested by','',0,0,1); I[80][3][2]=new Array('interested with','',0,0,1); I[80][3][3]=new Array('interested on','',0,0,1); I[81]=new Array();I[81][0]=100; I[81][1]=''; I[81][2]='0'; I[81][3]=new Array(); I[81][3][0]=new Array('can\'t to have some','',0,0,1); I[81][3][1]=new Array('have not any','',0,0,1); I[81][3][2]=new Array('don\'t have none','',0,0,1); I[81][3][3]=new Array('don\'t have any','',1,100,1); I[82]=new Array();I[82][0]=100; I[82][1]=''; I[82][2]='0'; I[82][3]=new Array(); I[82][3][0]=new Array('to','',0,0,1); I[82][3][1]=new Array('how to','',0,0,1); I[82][3][2]=new Array('know to','',0,0,1); I[82][3][3]=new Array('know how to','',1,100,1); I[83]=new Array();I[83][0]=100; I[83][1]=''; I[83][2]='0'; I[83][3]=new Array(); I[83][3][0]=new Array('my','',0,0,1); I[83][3][1]=new Array('hes','',0,0,1); I[83][3][2]=new Array('mine ','',1,100,1); I[83][3][3]=new Array('us','',0,0,1); I[84]=new Array();I[84][0]=100; I[84][1]=''; I[84][2]='0'; I[84][3]=new Array(); I[84][3][0]=new Array('Would you like','',1,100,1); I[84][3][1]=new Array('Do you like','',0,0,1); I[84][3][2]=new Array('Would you want','',0,0,1); I[84][3][3]=new Array('You want','',0,0,1); I[85]=new Array();I[85][0]=100; I[85][1]=''; I[85][2]='0'; I[85][3]=new Array(); I[85][3][0]=new Array('do you drive','',0,0,1); I[85][3][1]=new Array('did you drive','',0,0,1); I[85][3][2]=new Array('were you driving','',1,100,1); I[85][3][3]=new Array('are you driving','',0,0,1); I[86]=new Array();I[86][0]=100; I[86][1]=''; I[86][2]='0'; I[86][3]=new Array(); I[86][3][0]=new Array('must to','',0,0,1); I[86][3][1]=new Array('weren\'t obliged to','',0,0,1); I[86][3][2]=new Array('had not to','',0,0,1); I[86][3][3]=new Array('didn\'t have to','',1,100,1); I[87]=new Array();I[87][0]=100; I[87][1]=''; I[87][2]='0'; I[87][3]=new Array(); I[87][3][0]=new Array('I won\'t be to come','',0,0,1); I[87][3][1]=new Array('I can\'t to come','',0,0,1); I[87][3][2]=new Array('No thanks, I can','',0,0,1); I[87][3][3]=new Array('That\'s very kind, but I can\'t','',1,100,1); I[88]=new Array();I[88][0]=100; I[88][1]=''; I[88][2]='0'; I[88][3]=new Array(); I[88][3][0]=new Array('more busy than','',0,0,1); I[88][3][1]=new Array('much busy than','',0,0,1); I[88][3][2]=new Array('even busier than','',1,100,1); I[88][3][3]=new Array('not so busy than','',0,0,1); I[89]=new Array();I[89][0]=100; I[89][1]=''; I[89][2]='0'; I[89][3]=new Array(); I[89][3][0]=new Array('advertisement','',0,0,1); I[89][3][1]=new Array('warning','',1,100,1); I[89][3][2]=new Array('advise','',0,0,1); I[89][3][3]=new Array('suggestion','',0,0,1); I[90]=new Array();I[90][0]=100; I[90][1]=''; I[90][2]='0'; I[90][3]=new Array(); I[90][3][0]=new Array('there are','',0,0,1); I[90][3][1]=new Array('there is','',0,0,1); I[90][3][2]=new Array('there will be','',1,100,1); I[90][3][3]=new Array('there can be','',0,0,1); I[91]=new Array();I[91][0]=100; I[91][1]=''; I[91][2]='0'; I[91][3]=new Array(); I[91][3][0]=new Array('Why you not take','',0,0,1); I[91][3][1]=new Array('What about taking','',1,100,1); I[91][3][2]=new Array('Why not taking','',0,0,1); I[91][3][3]=new Array('How about to take','',0,0,1); I[92]=new Array();I[92][0]=100; I[92][1]=''; I[92][2]='0'; I[92][3]=new Array(); I[92][3][0]=new Array('the same at you','',0,0,1); I[92][3][1]=new Array('the same to you','',1,100,1); I[92][3][2]=new Array('the same for you','',0,0,1); I[92][3][3]=new Array('the same thing at you','',0,0,1); I[93]=new Array();I[93][0]=100; I[93][1]=''; I[93][2]='0'; I[93][3]=new Array(); I[93][3][0]=new Array('It take me','',0,0,1); I[93][3][1]=new Array('It took me','',1,100,1); I[93][3][2]=new Array('It takes me','',0,0,1); I[93][3][3]=new Array('I need','',0,0,1); I[94]=new Array();I[94][0]=100; I[94][1]=''; I[94][2]='0'; I[94][3]=new Array(); I[94][3][0]=new Array('are you doing','',0,0,1); I[94][3][1]=new Array('are you do','',0,0,1); I[94][3][2]=new Array('do you do','',1,100,1); I[94][3][3]=new Array('does you do','',0,0,1); I[95]=new Array();I[95][0]=100; I[95][1]=''; I[95][2]='0'; I[95][3]=new Array(); I[95][3][0]=new Array('How many time','',0,0,1); I[95][3][1]=new Array('How long','',1,100,1); I[95][3][2]=new Array('How long time','',0,0,1); I[95][3][3]=new Array('During how long','',0,0,1); I[96]=new Array();I[96][0]=100; I[96][1]=''; I[96][2]='0'; I[96][3]=new Array(); I[96][3][0]=new Array('I do','',0,0,1); I[96][3][1]=new Array('I\'m doing','',1,100,1); I[96][3][2]=new Array('I will do','',0,0,1); I[96][3][3]=new Array('I did','',0,0,1); I[97]=new Array();I[97][0]=100; I[97][1]=''; I[97][2]='0'; I[97][3]=new Array(); I[97][3][0]=new Array('There is not of what','',0,0,1); I[97][3][1]=new Array('Nothing','',0,0,1); I[97][3][2]=new Array('You\'re most welcome','',1,100,1); I[97][3][3]=new Array('It\'s me','',0,0,1); I[98]=new Array();I[98][0]=100; I[98][1]=''; I[98][2]='0'; I[98][3]=new Array(); I[98][3][0]=new Array('we take','',1,100,1); I[98][3][1]=new Array('we take on for','',0,0,1); I[98][3][2]=new Array('we taking','',0,0,1); I[98][3][3]=new Array('we took','',0,0,1); I[99]=new Array();I[99][0]=100; I[99][1]=''; I[99][2]='0'; I[99][3]=new Array(); I[99][3][0]=new Array('happy that the /climaxed','',0,0,1); I[99][3][1]=new Array('glad that /ended','',1,100,1); I[99][3][2]=new Array('delightful the /reached the end','',0,0,1); I[99][3][3]=new Array('content these /exploded','',0,0,1); I[99][3][4]=new Array('exciting / ended','',0,0,1); function StartUp(){ RemoveBottomNavBarForIE(); //If there's only one question, no need for question navigation controls if (QsToShow < 2){ document.getElementById('QNav').style.display = 'none'; } //Stash the instructions so they can be redisplayed strInstructions = document.getElementById('InstructionsDiv').innerHTML; CompleteEmptyFeedback(); SetUpQuestions(); ClearTextBoxes(); CreateStatusArray(); //Check search string for q parameter if (document.location.search.length > 0){ if (ShuffleQs == false){ var JumpTo = parseInt(document.location.search.substring(1,document.location.search.length))-1; if (JumpTo <= QsToShow){ ChangeQ(JumpTo); } } } //Undocumented function added 10/12/2004 ShowSpecialReadingForQuestion(); } function ShowHideQuestions(){ FuncBtnOut(document.getElementById('ShowMethodButton')); document.getElementById('ShowMethodButton').style.display = 'none'; if (ShowingAllQuestions == false){ for (var i=0; i -1){ //Add an extra message explaining that the question // is finished if defined by the user if (strQuestionFinished.length > 0){Feedback += '
' + strQuestionFinished;} //Show the feedback ShowMessage(Feedback); return; } //Hide the button while processing Btn.style.display = 'none'; //Increment the number of tries State[QNum][2]++; //Add the percent-correct value of this answer State[QNum][3] += I[QNum][3][ANum][3]; //Store the try number in the answer part of the State array, for tracking purposes State[QNum][1][ANum] = State[QNum][2]; State[QNum][5] += String.fromCharCode(65+ANum) + ','; //Should this answer be accepted as correct? if (I[QNum][3][ANum][2] < 1){ //It's wrong //Mark the answer Btn.innerHTML = IncorrectIndicator; //Remove any previous score unless exercise is finished (6.0.3.8+) if (Finished == false){ WriteToInstructions(strInstructions); } //Check whether this leaves just one MC answer unselected, in which case the Q is terminated var RemainingAnswer = FinalAnswer(QNum); if (RemainingAnswer > -1){ //Behave as if the last answer had been selected, but give no credit for it //Increment the number of tries State[QNum][2]++; //Calculate the score for this question CalculateMCQuestionScore(QNum); //Get the overall score and add it to the feedback CalculateOverallScore(); if ((ContinuousScoring == true)||(Finished == true)){ Feedback += '
' + YourScoreIs + ' ' + Score + '%.'; WriteToInstructions(YourScoreIs + ' ' + Score + '%.'); } } } else{ //It's right //Mark the answer Btn.innerHTML = CorrectIndicator; //Calculate the score for this question CalculateMCQuestionScore(QNum); //Get the overall score and add it to the feedback if (ContinuousScoring == true){ CalculateOverallScore(); if ((ContinuousScoring == true)||(Finished == true)){ Feedback += '
' + YourScoreIs + ' ' + Score + '%.'; WriteToInstructions(YourScoreIs + ' ' + Score + '%.'); } } } //Show the button again Btn.style.display = 'inline'; //Finally, show the feedback ShowMessage(Feedback); //Check whether all questions are now done CheckFinished(); } function CalculateMCQuestionScore(QNum){ var Tries = State[QNum][2] + State[QNum][4]; //include tries and hint penalties var PercentCorrect = State[QNum][3]; var TotAns = GetTotalMCAnswers(QNum); var HintPenalties = State[QNum][4]; //Make sure it's not already complete if (State[QNum][0] < 0){ //Allow for Hybrids if (HintPenalties >= 1){ State[QNum][0] = 0; } else{ //This line calculates the score for this question if (TotAns == 1){ State[QNum][0] = 1; } else{ State[QNum][0] = ((TotAns-((Tries*100)/State[QNum][3]))/(TotAns-1)); } } //Fix for Safari bug added for version 6.0.3.42 (negative infinity problem) if ((State[QNum][0] < 0)||(State[QNum][0] == Number.NEGATIVE_INFINITY)){ State[QNum][0] = 0; } } } function GetTotalMCAnswers(QNum){ var Result = 0; for (var ANum=0; ANum -1){ TotalWeighting += I[QNum][0]; TotalScore += (I[QNum][0] * State[QNum][0]); } } } if (TotalWeighting > 0){ Score = Math.floor((TotalScore/TotalWeighting)*100); } else{ //if TotalWeighting is 0, no questions so far have any value, so //no penalty should be shown. Score = 100; } } function CheckFinished(){ var FB = ''; var AllDone = true; for (var QNum=0; QNum= 1){ CFT++; } } } FB += '
' + CorrectFirstTime + ' ' + CFT + '/' + QsToShow; } WriteToInstructions(FB); Finished == true; TimeOver = true; Locked = true; Finished = true; Detail = ''; for (QNum=0; QNum 0){ Detail += 'Question #' + (QNum+1) + 'question-trackingQ ' + (QNum+1) + 'QuestionTrackingField' + State[QNum][5] + ''; } } } Detail += ''; setTimeout('Finish()', SubmissionTimeout); } } //]]>

Placement Test

Created by E.Roose

Click on the correct answer for each question. After answering go to the next question.