var int_i = new Array(fq_i=['What\'s the language problem with the following sentence? <br /><br /> The use of metallic thread when stitching an ecclesiastical symbol can emphasize it\'s power.','Which of the following is totally unacceptable in academic writing?']);var int_q = new Array(fq_a=['There should be a comma after "symbol".','There are too many adjectives.','The wrong form of the possessive is used at the end.'],fq_b=['Contractions.','Acronyms.','Using "I".'],fq_c=['Do not choose one bigger than 10 point.','Windows knows best - just stick to the defaults.','Choose a serif in preference to a sans serif type.'],fq_d=['View.','Format.','Tools.'],fq_e=['qusetion5 a','qusetion5 b','qusetion5 c','qusetion5 d','qusetion5 e','qusetion5 f'],fq_e=['qusetion6 a','qusetion6 b','qusetion6 c','qusetion6 d','qusetion6 e','qusetion6 f'],fq_e=['qusetion7 a','qusetion7 b','qusetion7 c','qusetion7 d','qusetion7 e','qusetion7 f'],fq_e=['qusetion8 a','qusetion8 b','qusetion8 c','qusetion8 d','qusetion8 e','qusetion8 f']);var int_c = new Array(fc_a=['Please look more closely at the ten most common student problems with english page.','Please look more closely at the ten most common student problems with english page.','Correct answer.','Please look more closely at the ten most common student problems with english page.','Please look more closely at the Harvard or Short Referencing System.','qusetion f comment'],fc_b=['Correct answer.','Please look more closely at the ten most common student problems with english page.','Please look more closely at the ten most common student problems with english page.','Please look more closely at the ten most common student problems with english page.','Please look more closely at the Harvard or Short Referencing System.','qusetion f comment'],fc_c=['qusetion3 a comment','qusetion3 b comment','qusetion3 c comment','qusetion3 d comment','qusetion3 e comment','qusetion3 f comment'],fc_d=['qusetion4 a comment','qusetion4 b comment','qusetion4 c comment','qusetion4 d comment','qusetion4 e comment','qusetion4 f comment'],fc_e=['qusetion5 a comment','qusetion5 b comment','qusetion5 c comment','qusetion5 d comment','qusetion5 e comment','qusetion5 f comment'],fc_e=['qusetion6 a comment','qusetion6 b comment','qusetion6 c comment','qusetion6 d comment','qusetion6 e comment','qusetion6 f comment'],fc_e=['qusetion7 a comment','qusetion7 b comment','qusetion7 c comment','qusetion7 d comment','qusetion7 e comment','qusetion7 f comment'],fc_e=['qusetion8 a comment','qusetion8 b comment','qusetion8 c comment','qusetion8 d comment','qusetion8 e comment','qusetion8 f comment']);var int_d = new Array(fc_a=['Please look more closely at the ten most common student problems with english page.','Please look more closely at the ten most common student problems with english page.','Correct answer.','Please look more closely at the ten most common student problems with english page.','Please look more closely at the Harvard or Short Referencing System.','qusetion f comment'],fc_b=['Correct answer.','Please look more closely at the ten most common student problems with english page.','Please look more closely at the ten most common student problems with english page.','Please look more closely at the ten most common student problems with english page.','Please look more closely at the Harvard or Short Referencing System.','qusetion f comment'],fc_c=['qusetion3 a hint','qusetion3 b hint','qusetion3 c hint','qusetion3 d hint','qusetion3 e hint','qusetion3 f hint'],fc_d=['qusetion4 a hint','qusetion4 b hint','qusetion4 c hint','qusetion4 d hint','qusetion4 e hint','qusetion4 f hint'],fc_e=['qusetion5 a hint','qusetion5 b hint','qusetion5 c hint','qusetion5 d hint','qusetion5 e hint','qusetion5 f hint'],fc_e=['qusetion6 a hint','qusetion6 b hint','qusetion6 c hint','qusetion6 d hint','qusetion6 e hint','qusetion6 f hint'],fc_e=['qusetion7 a hint','qusetion7 b hint','qusetion7 c hint','qusetion7 d hint','qusetion7 e hint','qusetion7 f hint'],fc_e=['qusetion8 a hint','qusetion8 b hint','qusetion8 c hint','qusetion8 d hint','qusetion8 e hint','qusetion8 f hint']);var answer=-1;var cAnswer = -1;function checkAnswer(arg_a,arg_b,arg_c,arg_d) {if (answer==-1) {alert("You Got To Choose First!");} else {if (arg_b==cAnswer) {arg_a.result.value = "You Got It!";arg_a.comment.value = int_c[arg_d][arg_b];alert("You have the correct answer!");} else {arg_a.result.value = "Give it Another Go";arg_a.comment.value = int_c[arg_d][arg_b];//clear(document.frames[0].multiCh);}}}function feedback(arg_a, arg_b, arg_c, arg_d) {if (answer==-1) {alert("You Got To Choose First!");} else {if (arg_b==cAnswer) {arg_d.result.value = "You Got It!";arg_d.comment.value = int_c[arg_a][arg_b];alert("You have the correct answer!");} else {alert(int_d[arg_a][arg_b]);}}}function clear(arg_a) {arg_a.result.value = "";arg_a.comment.value = "";arg_a.q.value = 0;}function mymapMenu(arg_a,arg_b) {self.frames[0].document.open();self.frames[0].document.write("<html><head><title>iframe</title>\n");self.frames[0].document.write("<link href=\"includes/quiz.css\" rel=\"stylesheet\" type=\"text/css\">\n");self.frames[0].document.write("</head>\n");self.frames[0].document.write("<body onLoad=\"parent.answer=-1\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\" class=\"ishell\" id=\"holderbody\">\n");self.frames[0].document.write("<form name=\"multiCh\">\n");self.frames[0].document.write("<div class=\"iframehead\"> "); self.frames[0].document.write(""+int_i[0][arg_a]+""); self.frames[0].document.write("</div>\n");self.frames[0].document.write("<div class=\"choice\">\n");self.frames[0].document.write("<table>\n");for(f=0; f<=int_q[arg_a].length-1; f++) {self.frames[0].document.write("<tr><td><input class=\"radiochoice\" name=\"q\" type=\"radio\" value=\""+f+"\" onClick=\"parent.answer="+f+"; parent.cAnswer="+arg_b+"; parent.clear(multiCh)\"/>&nbsp;"+int_q[arg_a][f]+"<td></tr>\n");}self.frames[0].document.write("</table>\n");self.frames[0].document.write("</div>\n");self.frames[0].document.write("<input type=\"button\" class=\"buttonchoice\" value=\"Check Answer\" onClick=\"parent.checkAnswer(this.form,parent.answer,parent.correctAnswer,"+arg_a+")\">\n");self.frames[0].document.write("<input type=\"reset\"  class=\"buttonchoice\" value=\"Reset\" onClick=\"parent.answer=-1; parent.cAnswer=-1;\">\n");//self.frames[0].document.write("<input type=\"button\" class=\"buttonchoice\" name=\"feedback\" value=\"Hint\" onClick=\"parent.feedback("+arg_a+",parent.answer,parent.cAnswer,this.form)\">\n");self.frames[0].document.write("<br><p>");self.frames[0].document.write("<input type=\"text\" class=\"textfields\" name=\"result\" size=\"40\">\n");self.frames[0].document.write("</p>");self.frames[0].document.write("<textarea wrap name=\"comment\" class=\"textfields\" rows=\"8\" COLS=\"70\">\n");self.frames[0].document.write("</textarea>\n");self.frames[0].document.write("</form>\n");self.frames[0].document.write("</form>");self.frames[0].document.write("<body>\n");self.frames[0].document.write("<html>\n");self.frames[0].document.close();}