	function QRQ1() {
		var guess = prompt("Please enter your answer");
		var correct ="22";
		var explanation = "<font size=3> 1 (2<sup>4</sup>)	+ 0 (2<sup>3</sup>)	+ 1 (2<sup>2</sup>) 	+ 1 (2<sup>1</sup>) 	+ 0 (2<sup>0</sup>) <br> " + "=	16&nbsp;&nbsp; + &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;4&nbsp;&nbsp;&nbsp;+  &nbsp;&nbsp;   &nbsp;2 <br>" + "= 22<br>" + "<br>Notice with each position advanced to the left, the value is doubled: 1, 2, 4, 8, 16, 32, etc.</font>";
		
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=425,height=200');
			var congrats = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer <br>" + explanation + " </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=425,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: " + correct + " because <br>" + explanation + " </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 QRQ2() {
		var guess = prompt("Please enter your answer");
		var correct ="479";
		var explanation = "<font size=3> <b>IDF</b> = 1 (16<sup>2</sup>)+ 13 (16<sup>1</sup>)	+ 15 (16<sup>0</sup>) <br> " + "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 1 (256)  	+ 13 (16)  	+ 15 (1)   <br>" +"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 479</font>";
		
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=425,height=175');
			var congrats = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer <br>" + explanation + " </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=425,height=175');
			var sorry = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: " + correct + " because <br>" + explanation + " </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);				
		}
	}
	
	
	
	