a1 = '';a2 = '';a3 = '';a4 = '';a5 = '';a6 = '';a7 = '';a8 = '';a9 = '';a10 = '';a11 = '';a12 = '';a13 = '';a14 = '';a15 = '';a16 = '';a17 = '';a18 = '';
function check() {
	
	//Parse Answers //
	
	var a1 = document.getElementById("a1");
	var a2 = document.getElementById("a2");
	var a3 = document.getElementById("a3");
	var a4 = document.getElementById("a4");
	var a5 = document.getElementById("a5");
	var a6 = document.getElementById("a6");
	var a7 = document.getElementById("a7");
	var a8 = document.getElementById("a8");
	var a9 = document.getElementById("a9");
	var a10 = document.getElementById("a10");
	var a11 = document.getElementById("a11");
	var a12 = document.getElementById("a12");
	var a13 = document.getElementById("a13");
	var a14 = document.getElementById("a14");
	var a15 = document.getElementById("a15");
	var a16 = document.getElementById("a16");
	var a17 = document.getElementById("a17");	
	var a18 = document.getElementById("a18");	

	
	//Check Answers //
	
	
var cor = 0;
var inc = 0;

	if (a1.value.toUpperCase( ) != 'SEAFOOD') {a1.style.backgroundColor = "#f3cdc8";a1.style.fontWeight= "bold";a1.style.color = "#660000";inc++;}
	else {cor++;a1.style.backgroundColor = "#d7f3c8";a1.style.color = "#006600"}
	
	if (a2.value.toUpperCase( ) != 'GILLS') {a2.style.backgroundColor = "#f3cdc8";a2.style.fontWeight= "bold";a2.style.color = "#660000";inc++;}
	else {cor++;a2.style.backgroundColor = "#d7f3c8";a2.style.color = "#006600"}
	
	if (a3.value.toUpperCase( ) != 'FAT') {a3.style.backgroundColor = "#f3cdc8";a3.style.fontWeight= "bold";a3.style.color = "#660000";inc++;}
	else {cor++;a3.style.backgroundColor = "#d7f3c8";a3.style.color = "#006600"}
	
	if (a4.value.toUpperCase( ) != 'SCALES') {a4.style.backgroundColor = "#f3cdc8";a4.style.fontWeight= "bold";a4.style.color = "#660000";inc++;}
	else {cor++;a4.style.backgroundColor = "#d7f3c8";a4.style.color = "#006600"}
	
	if (a5.value.toUpperCase( ) != 'SHRIMP') {a5.style.backgroundColor = "#f3cdc8";a5.style.fontWeight= "bold";a5.style.color = "#660000";inc++;}
	else {cor++;a5.style.backgroundColor = "#d7f3c8";a5.style.color = "#006600"}
	
	if (a6.value.toUpperCase( ) != 'MULLET') {a6.style.backgroundColor = "#f3cdc8";a6.style.fontWeight= "bold";a6.style.color = "#660000";inc++;}
	else {cor++;a6.style.backgroundColor = "#d7f3c8";a6.style.color = "#006600"}
	
	if (a7.value.toUpperCase( ) != 'DOCK') {a7.style.backgroundColor = "#f3cdc8";a7.style.fontWeight= "bold";a7.style.color = "#660000";inc++;}
	else {cor++;a7.style.backgroundColor = "#d7f3c8";a7.style.color = "#006600"}
	
	
	
	if (a8.value.toUpperCase( ) != 'PROTEIN') {a8.style.backgroundColor = "#f3cdc8";a8.style.fontWeight= "bold";a8.style.color = "#660000";inc++;}
	else {cor++;a8.style.backgroundColor = "#d7f3c8";a8.style.color = "#006600"}
	
	if (a9.value.toUpperCase( ) != 'OYSTER') {a9.style.backgroundColor = "#f3cdc8";a9.style.fontWeight= "bold";a9.style.color = "#660000";inc++;}
	else {cor++;a9.style.backgroundColor = "#d7f3c8";a9.style.color = "#006600"}
	
	if (a10.value.toUpperCase( ) != 'ANTENNAE') {a10.style.backgroundColor = "#f3cdc8";a10.style.fontWeight= "bold";a10.style.color = "#660000";inc++;}
	else {cor++;a10.style.backgroundColor = "#d7f3c8";a10.style.color = "#006600"}
	
	if (a11.value.toUpperCase( ) != 'LOBSTER') {a11.style.backgroundColor = "#f3cdc8";a11.style.fontWeight= "bold";a11.style.color = "#660000";inc++;}
	else {cor++;a11.style.backgroundColor = "#d7f3c8";a11.style.color = "#006600"}
	
	if (a12.value.toUpperCase( ) != 'FLOUNDER') {a12.style.backgroundColor = "#f3cdc8";a12.style.fontWeight= "bold";a12.style.color = "#660000";inc++;}
	else {cor++;a12.style.backgroundColor = "#d7f3c8";a12.style.color = "#006600"}
	
	if (a13.value.toUpperCase( ) != 'COMMERCIAL') {a13.style.backgroundColor = "#f3cdc8";a13.style.fontWeight= "bold";a13.style.color = "#660000";inc++;}
	else {cor++;a13.style.backgroundColor = "#d7f3c8";a13.style.color = "#006600"}
	
	if (a14.value.toUpperCase( ) != 'RECREATIONAL') {a14.style.backgroundColor = "#f3cdc8";a14.style.fontWeight= "bold";a14.style.color = "#660000";inc++;}
	else {cor++;a14.style.backgroundColor = "#d7f3c8";a14.style.color = "#006600"}
	
	if (a15.value.toUpperCase( ) != 'ICE') {a15.style.backgroundColor = "#f3cdc8;";a15.style.fontWeight= "bold;";a15.style.color = "#660000";inc++;}
	else {cor++;a15.style.backgroundColor = "#d7f3c8";a15.style.color = "#006600"}
	
	if (a16.value.toUpperCase( ) != 'HANDS') {a16.style.backgroundColor = "#f3cdc8;";a16.style.fontWeight= "bold;";a16.style.color = "#660000";inc++;}
	else {cor++;a16.style.backgroundColor = "#d7f3c8";a16.style.color = "#006600"}
	
	if (a17.value.toUpperCase( ) != 'SHELLFISH') {a17.style.backgroundColor = "#f3cdc8;";a17.style.fontWeight= "bold;";a17.style.color = "#660000";inc++;}
	else {cor++;a17.style.backgroundColor = "#d7f3c8";a17.style.color = "#006600"}
	
	if (a18.value.toUpperCase( ) != 'FISH') {a18.style.backgroundColor = "#f3cdc8;";a18.style.fontWeight= "bold;";a18.style.color = "#660000";inc++;}
	else {cor++;a18.style.backgroundColor = "#d7f3c8";a18.style.color = "#006600";}
		
	
		

var evalu = document.getElementById("evalu");
if (cor <= 17) {evalu.innerHTML = '<span class="c">You got ' + cor + ' answers correct.<br />The incorect answers are bolded and red below.</span>'}
else if (cor = 18) {evalu.innerHTML = '<span class="c">Congratuations! <br />All of your answers are correct!'}
else {};
	
	
}
function line() {
this.style.textDecoration = 'line-through';
}