var int_i = new Array(fq_i=['Which of the following statements about basic formatting is wrong?','Which of the following needs to be on a new page?','Which of the following is good advice about choosing a font?','Which Windows drop-down menu will help make your style consistent?']);var int_q = new Array(fq_a=['Line-spacing needs to be double.','Chapter headings and numbers are optional.','Page numbers should appear on every text page.'],fq_b=['Any chapter subsection or bibliography subsection.','Any table or graphic.','The bibliography.'],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 style guidelines page.','Correct answer.','Please look more closely at the style guidelines page.','Please look more closely at the style guidelines page.','Please look more closely at the style guidelines page.','qusetion f comment'],fc_b=['Please look more closely at the style guidelines page.','Please look more closely at the style guidelines page.','Correct answer.','Please look more closely at the style guidelines page.','Please look more closely at the style guidelines page.','qusetion2 f comment'],fc_a=['Please look more closely at the tips for using word page.','Please look more closely at the tips for using word page.','Correct answer, read whole page again.','Please look more closely at the tips for using word page.','Please look more closely at the tips for using word page.','qusetion f comment'],fc_b=['Please look more closely at the tips for using word page.','Correct answer, read section four again.','Please look more closely at the tips for using word page.','Please look more closely at the tips for using word page.','Please look more closely at the tips for using word page.','qusetion2 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=['Correct answer, read section one again.','Please look more closely at the tips for using word page.','Please look more closely at the tips for using word page.','Please look more closely at the tips for using word page.','Please look more closely at the tips for using word page.','qusetion f comment'],fc_b=['Please look more closely at the tips for using word page.','Please look more closely at the tips for using word page.','Correct answer, read whole page again.','Please look more closely at the tips for using word page.','Please look more closely at the tips for using word page.','qusetion2 f comment'],fc_a=['Please look more closely at the tips for using word page.','Please look more closely at the tips for using word page.','Correct answer, read whole page again.','Please look more closely at the tips for using word page.','Please look more closely at the tips for using word page.','qusetion f comment'],fc_b=['Please look more closely at the tips for using word page.','Please look more closely at the tips for using word page.','Please look more closely at the tips for using word page.','Please look more closely at the tips for using word page.','Please look more closely at the tips for using word page.','qusetion2 f comment'],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();}