	function QRQ1() {
		var guess = prompt("Please enter your answer");
		var correct = "0";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! " + correct + " is the correct answer.<br><br>0 = 1 + (-1) + 1 + (-2) + 1</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + ".<br><br>0 = 1 + (-1) + 1 + (-2) + 1</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}
	
	function QRQ2a() {
		var guess = prompt("Please enter your answer");
		var correct = "1";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.<br><br>On the diagonal, because the third row and column headings agree, we have a[2][2] + 1 = 0 + 1 = 1.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + ".<br><br>On the diagonal, because the third row and column headings agree, we have a[2][2] + 1 = 0 + 1 = 1.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

	function QRQ2b() {
		var guess = prompt("Please enter your answer");
		var correct = "-2";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.<br><br>From above, a[2][3] + (-2) = 0 + (-2) = -2.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + ".<br><br>From above, a[2][3] + (-2) = 0 + (-2) = -2.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

	function QRQ2c() {
		var guess = prompt("Please enter your answer");
		var correct = "-4";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=400,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.<br><br>From the left, a[3][2] + (-2) = (-2) + (-2) = -4.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=400,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + ".<br><br>From the left, a[3][2] + (-2) = (-2) + (-2) = -4.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

	function QRQ2d() {
		var correct = "0";
		
		if (document.QRQ2dform.radio1[correct].checked == true) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are correct! Diagonal is the correct answer.<br><br>a[3][3] is the maximum, 1, which comes from the diagonal; and we draw a line segment between a[2][2] and a[3][3].</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: Diagonal<br><br>a[3][3] is the maximum, 1, which comes from the diagonal; and we draw a line segment between a[2][2] and a[3][3].</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

	function QRQ3a() {
		var guess = prompt("Please enter your answer");
		var correct = "-7";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.<br><br>From above, (-5) + (-2) = -7</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + ".<br><br>From above, (-5) + (-2) = -7</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

	function QRQ3b() {
		var guess = prompt("Please enter your answer");
		var correct = "-1";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.<br><br>From the left, 1 + (-2) = -1.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + ".<br><br>From the left, 1 + (-2) = -1.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

	function QRQ3c() {
		var guess = prompt("Please enter your answer");
		var correct = "-1";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.<br><br>On the diagonal, because G and C are not the same, we have 0 + (-1) = -1.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + ".<br><br>On the diagonal, because G and C are not the same, we have 0 + (-1) = -1.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

	function QRQ3d() {
		var guess = prompt("Please enter your answer");
		var correct = "-1";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

	function QRQ3e() {	
		if ((document.QRQ3eform.check1[0].checked == true) && (document.QRQ3eform.check1[2].checked == true) && (document.QRQ3eform.check1[1].checked == false) && (document.QRQ3eform.check1[3].checked == false) && (document.QRQ3eform.check1[4].checked == false)) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=150');
			var congrats = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are correct! Left and Diagonal are the correct answers.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=150');
			var sorry = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answers are: Left and Diagonal</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></html>";
			WrongWindow.document.write(sorry);				
		}
	}

function matrix4a() {
		var guess = prompt("Please enter your answer");
		var correct = "1";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}


function matrix4b() {	
		if ((document.QRQ4.c4[0].checked == false) && (document.QRQ4.c4[1].checked == false) && (document.QRQ4.c4[2].checked == true)) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=150');
			var congrats = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are correct! Diagonal is the correct answers.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=150');
			var sorry = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is diagonal</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></html>";
			WrongWindow.document.write(sorry);				
		}
	}


function QRQ5a() {
		var guess = prompt("Please enter your answer");
		var correct = "ATGAC";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

function QRQ5b() {
		var guess = prompt("Please enter your answer");
		var correct = "ACGC";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

function QRQ5c() {
		var guess = prompt("Please enter your answer");
		var correct = "1";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

function QRQ5d() {
		var guess = prompt("Please enter your answer");
		var correct = "-1";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

function QRQ5e() {
		var guess = prompt("Please enter your answer");
		var correct = "-2";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

function QRQ5f() {
		var guess = prompt("Please enter your answer");
		var correct = "6";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

function QRQ5g() {
		var guess = prompt("Please enter your answer");
		var correct = "5";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}


function QRQ5h() {	
		if (document.QRQ5.r5h[0].checked == true) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=150');
			var congrats = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i>column 0</i> is the correct answers.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=150');
			var sorry = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is <i>column 0</i></font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></html>";
			WrongWindow.document.write(sorry);				
		}
	}

function QRQ5i() {
		var guess = prompt("Please enter your answer");
		var correct = "-6";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

function QRQ5j() {	
		if (document.QRQ5.r5j[2].checked == true) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=150');
			var congrats = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i>A row at a time</i> is the correct answers.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=150');
			var sorry = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is <i>A row at a time</i></font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></html>";
			WrongWindow.document.write(sorry);				
		}
	}


function QRQ5k() {
		var guess = prompt("Please enter your answer");
		var correct = "G";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}


function QRQ5l() {
		var guess = prompt("Please enter your answer");
		var correct = "C";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}


function QRQ5m() {
		var guess = prompt("Please enter your answer");
		var correct = "-1";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

function QRQ5n() {
		var guess = prompt("Please enter your answer");
		var correct = "-1";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

function QRQ5o() {
		var guess = prompt("Please enter your answer");
		var correct = "-4";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

function QRQ5p() {
		var guess = prompt("Please enter your answer");
		var correct = "-1";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}


function QRQ5q() {
		var guess = prompt("Please enter your answer");
		var correct = "-1";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}


function QRQ6a() {
		var guess = prompt("Please enter your answer");
		var correct = "5";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

function QRQ6b() {
		var guess = prompt("Please enter your answer");
		var correct = "4";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

function QRQ6c() {
		var guess = prompt("Please enter your answer");
		var correct = "ATGAC";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

function QRQ6d() {
		var guess = prompt("Please enter your answer");
		var correct = "ACG-C";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

function QRQ6e() {
		var guess = prompt("Please enter your answer");
		var correct = "-1";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

function QRQ6f() {
		var guess = prompt("Please enter your answer");
		var correct = "-1";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

function QRQ6h() {
		var guess = prompt("Please enter your answer");
		var correct = "ATGA";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}


function QRQ6g() {	
		if ((document.QRQ6.tb6g1.value == "3") && (document.QRQ6.tb6g2.value == "3")) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=150');
			var congrats = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i>3 and 3</i> are the correct answers.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=150');
			var sorry = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answers are <i>3 and 3</i></font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></html>";
			WrongWindow.document.write(sorry);				
		}
	}

function QRQ6i() {
		var guess = prompt("Please enter your answer");
		var correct = "ACG-";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}


function QRQ6j() {
		var guess = prompt("Please enter your answer");
		var correct = "1";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}
function QRQ6n() {	
		if ((document.QRQ6.tb6m1.value == "0") && (document.QRQ6.tb6m2.value == "0")) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=150');
			var congrats = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i>0 and 0</i> are the correct answers.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=150');
			var sorry = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answers are <i>0 and 0</i></font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></html>";
			WrongWindow.document.write(sorry);				
		}
	}


function QRQ6k() {
		var guess = prompt("Please enter your answer");
		var correct = "-4";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.  Thus, <i>a</i>[<i>1</i>][<i>j</i>] does not equal <i>a</i>[<i>i - 1</i>][<i>j</i>] + <i>spacePenalty</i>.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + ". Thus, <i>a</i>[<i>1</i>][<i>j</i>] does not equal <i>a</i>[<i>i - 1</i>][<i>j</i>] + <i>spacePenalty</i>.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}


function QRQ6l() {
		var guess = prompt("Please enter your answer");
		var correct = "-4";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.  Thus, <i>a</i>[<i>1</i>][<i>j</i>] does not equal <i>a</i>[<i>i</i>][<i>j - 1</i>] + <i>spacePenalty</i>.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + ". Thus, <i>a</i>[<i>1</i>][<i>j</i>] does not equal <i>a</i>[<i>i</i>][<i>j - 1</i>] + <i>spacePenalty</i>.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}




function QRQ6o() {
		
		var correct = "null";
			
		if (document.QRQ6.r6n[3].checked == true) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

function QRQ6p() {
		var guess = prompt("Please enter your answer");
		var correct = "A";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

function QRQ6q() {
		var guess = prompt("Please enter your answer");
		var correct = "A";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=200');
			var congrats = "<body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=200');
			var sorry = "<body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}





























	function QRQ4() {			
		NewWindow = window.open('','NewWindow','toolbar=no,location=no,width=400,height=400');
		var opening= "<html><head><title>Quick Review Question Answer</title><script language=\"JavaScript\" src=\"QRQ.js\"></script></head><body bgcolor=\"#E1E5BE\"><font size=3><center><img src=\"images/QRQ4a.gif\"><br><br>What is the value for the box in the upper-left corner?</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Check your answer\" onClick=\"QRQ4a();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
		NewWindow.document.write(opening);
	}

	function QRQ4a() {
		var guess = prompt("Please enter your answer");
		var correct = "0";
				
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=400,height=425');
			var congrats = "<html><head><title>Quick Review Question Answer</title><script language=\"JavaScript\" src=\"QRQ.js\"></script></head><body bgcolor=\"#E1E5BE\"><font size=3><center>You are correct!<br><br><img src=\"images/QRQ4b.gif\"><br><br>What is the value for the next box in the progression down and to the right?</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Check your answer\" onClick=\"QRQ4b();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=400,height=425');
			var sorry = "<html><head><title>Quick Review Question Answer</title><script language=\"JavaScript\" src=\"QRQ.js\"></script></head><body bgcolor=\"#E1E5BE\"><font size=3><center>You are incorrect - the correct answer is: " + correct + "<br><br><img src=\"/images/QRQ4b.gif\"><br><br>What is the value for the next box in the progression down and to the right?</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Check your answer\" onClick=\"QRQ4b();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);
		}
	}

	function QRQ4b() {
		var guess = prompt("Please enter your answer");
		var correct = "1";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=400,height=425');
			var congrats = "<html><head><title>Quick Review Question Answer</title><script language=\"JavaScript\" src=\"QRQ.js\"></script></head><body bgcolor=\"#E1E5BE\"><font size=3><center>You are correct!<br><br><img src=\"images/QRQ4c.gif\"><br><br>What is the value for the next box in the progression down and to the right?</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Check your answer\" onClick=\"QRQ4c();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=400,height=425');
			var sorry = "<html><head><title>Quick Review Question Answer</title><script language=\"JavaScript\" src=\"QRQ.js\"></script></head><body bgcolor=\"#E1E5BE\"><font size=3><center>You are incorrect - the correct answer is: " + correct + "<br><br><img src=\"/images/QRQ4c.gif\"><br><br>What is the value for the next box in the progression down and to the right?</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Check your answer\" onClick=\"QRQ4c();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

	function QRQ4c() {
		var guess = prompt("Please enter your answer");
		var correct = "0";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=400,height=425');
			var congrats = "<html><head><title>Quick Review Question Answer</title><script language=\"JavaScript\" src=\"QRQ.js\"></script></head><body bgcolor=\"#E1E5BE\"><font size=3><center>You are correct!<br><br><img src=\"images/QRQ4d.gif\"><br><br>What is the value for the next box in the progression down and to the right?</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Check your answer\" onClick=\"QRQ4d();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=400,height=425');
			var sorry = "<html><head><title>Quick Review Question Answer</title><script language=\"JavaScript\" src=\"QRQ.js\"></script></head><body bgcolor=\"#E1E5BE\"><font size=3><center>You are incorrect - the correct answer is: " + correct + "<br><br><img src=\"/images/QRQ4d.gif\"><br><br>What is the value for the next box in the progression down and to the right?</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Check your answer\" onClick=\"QRQ4d();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

	function QRQ4d() {
		var guess = prompt("Please enter your answer");
		var correct = "1";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=400,height=425');
			var congrats = "<html><head><title>Quick Review Question Answer</title><script language=\"JavaScript\" src=\"QRQ.js\"></script></head><body bgcolor=\"#E1E5BE\"><font size=3><center>You are correct!<br><br><img src=\"images/QRQ4e.gif\"><br><br>What is the value for the next box in the progression down and to the right?</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Check your answer\" onClick=\"QRQ4e();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=400,height=425');
			var sorry = "<html><head><title>Quick Review Question Answer</title><script language=\"JavaScript\" src=\"QRQ.js\"></script></head><body bgcolor=\"#E1E5BE\"><font size=3><center>You are incorrect - the correct answer is: " + correct + "<br><br><img src=\"/images/QRQ4e.gif\"><br><br>What is the value for the next box in the progression down and to the right?</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Check your answer\" onClick=\"QRQ4e();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

	function QRQ4e() {
		var guess = prompt("Please enter your answer");
		var correct = "-1";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=400,height=425');
			var congrats = "<html><head><title>Quick Review Question Answer</title><script language=\"JavaScript\" src=\"QRQ.js\"></script></head><body bgcolor=\"#E1E5BE\"><font size=3><center>You are correct!<br><br><img src=\"images/QRQ4f.gif\"><br><br>What is the value for the next box in the progression down and to the right?</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Check your answer\" onClick=\"QRQ4f();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=400,height=425');
			var sorry = "<html><head><title>Quick Review Question Answer</title><script language=\"JavaScript\" src=\"QRQ.js\"></script></head><body bgcolor=\"#E1E5BE\"><font size=3><center>You are incorrect - the correct answer is: " + correct + "<br><br><img src=\"/images/QRQ4f.gif\"><br><br>What is the value for the next box in the progression down and to the right?</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Check your answer\" onClick=\"QRQ4f();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

	function QRQ4f() {
		var guess = prompt("Please enter your answer");
		var correct = "0";
			
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=400,height=425');
			var congrats = "<html><head><title>Quick Review Question Answer</title><script language=\"JavaScript\" src=\"QRQ.js\"></script></head><body bgcolor=\"#E1E5BE\"><font size=3><center>You are correct!<br><br><img src=\"images/QRQ4g.gif\"></font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=400,height=425');
			var sorry = "<html><head><title>Quick Review Question Answer</title><script language=\"JavaScript\" src=\"QRQ.js\"></script></head><body bgcolor=\"#E1E5BE\"><font size=3><center>You are incorrect - the correct answer is: " + correct + "<br><br><img src=\"/images/QRQ4g.gif\"></font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}





















function a11() {

if ((document.matrix.tb1.value == "1") && (document.matrix.c0[0].checked = false) && (document.matrix.c0[1].checked = true) && (document.matrix.c0[2].checked = false)) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=400,height=100');
			var congrats = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are correct! You may proceed to the next cell.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} 
else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=400,height=100');
			var sorry = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect. Please correct your answer before proceeding to the next cell.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

function a12() {
var total=0;
if (document.matrix.c2[0].checked==true) total++;
if (document.matrix.c2[1].checked==true) total++;
if (document.matrix.c2[2].checked==true) total++;
if (document.matrix.tb2.value == "-1") total++;
if (total==2)  
{
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=400,height=100');
			var congrats = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are correct!  You may proceed to the next cell.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=400,height=100');
			var sorry = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect. Please correct your answer before proceeding to the next cell.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}


function c14() {	
		if ((document.matrix.cc14[0].checked == false) && (document.matrix.cc14[1].checked == false) && (document.matrix.tb20.value == "0")) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=300,height=150');
			var congrats = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are correct! Left and Diagonal are the correct answers.</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=300,height=150');
			var sorry = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answers are: Left and Diagonal</font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></html>";
			WrongWindow.document.write(sorry);				
		}
	}