	
function QRQ1a() {
		var guess = prompt("Please enter your answer");
		var correct ="insert into LabSection";
		
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=450,height=100');
			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. " + " </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=450,height=100');
			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>" + correct + "</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 QRQ1b() {
		var guess = prompt("Please enter your answer");
		var correct ="values";
		
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=450,height=100');
			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. " + " </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=450,height=100');
			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>" + correct + "</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 QRQ1c() {
		var correct ="Apostrophies";
		
		if (document.QRQ1cform.radio1[0].checked==true) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=450,height=100');
			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. " + " </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=450,height=100');
			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>" + correct + "</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 QRQ1d() {
		var correct ="Parentheses";
		
		if (document.QRQ1dform.radio1[1].checked==true) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=450,height=100');
			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. " + " </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=450,height=100');
			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>" + correct + "</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 QRQ1e() {
		var correct ="Commas";
		
		if (document.QRQ1eform.radio1[1].checked==true) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=450,height=100');
			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. " + " </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=450,height=100');
			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>" + correct + "</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 QRQ2a() {
		var guess = prompt("Please enter your answer");
		var correct ="update LabSection";
		
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=450,height=100');
			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. " + " </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=450,height=100');
			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>" + correct + "</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 QRQ2b() {
		var guess = prompt("Please enter your answer");
		var correct ="set DragExpWeek=2";
		
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=450,height=100');
			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. " + " </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=450,height=100');
			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>" + correct + "</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 QRQ2c() {
		var guess = prompt("Please enter your answer");
		var correct ="where CatalogNumber='Phys201'";
		
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=450,height=100');
			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. " + " </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=450,height=100');
			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>" + correct + "</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 QRQ2d() {
		var correct ="and (or &&)";
		
		if (document.QRQ2dform.radio1[2].checked==true) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=450,height=100');
			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. " + " </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=450,height=100');
			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>" + correct + "</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 QRQ3a() {
		
		var correct ="Operating system prompt";
		
		if ((document.QRQ3aform.check1[0].checked==true) &&
			(document.QRQ3aform.check1[1].checked==false) &&
			(document.QRQ3aform.check1[2].checked==false)) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=425,height=100');
			var congrats = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> are the correct answers. <br>"  + " </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=100');
			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>" + correct + "</i>. <br>" + " </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 QRQ4a() {
		var guess = prompt("Please enter your answer");
		var correct ="mysqldump -u root -pdbpass ChemExpDB > ChemBkup.sql";
		
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=450,height=100');
			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. " + " </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=450,height=100');
			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>" + correct + "</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 QRQ4b() {
		var guess = prompt("Please enter your answer");
		var correct ="mysql  -u root -pdbpass ChemExpDB < ChemBkup.sql";
		
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=450,height=100');
			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. " + " </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=450,height=100');
			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>" + correct + "</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);				
		}
	}


