function display() {
   DispWin = window.open('','NewWin', 'toolbar=no,status=no,width=460,height=200')
  	msg1 = "<P><BR><PRE><FONT SIZE=3> 100--&#135;d; 245--&#135;c; 260--&#135;b and &#135;c."
	msg1 += "<BR> Congratulations! Your answers are"
        msg1 += "<BR> 100% correct! </FONT></PRE>"
        msg1 += "<P><BR><PRE><FONT SIZE=3><B>Please close this window before you continue</B></FONT></PRE>"; 

	msg2 = "<P><BR><PRE><FONT SIZE=3> Correct answers are:"
        msg2 += "<BR> 100--&#135;d; 245--&#135;c; 260--&#135;b and &#135;c."
	msg2 += "<BR> Well, most were right! Try again.</FONT></PRE>"
	msg2 += "<P><BR><PRE><FONT SIZE=3><B>Please close this window before you continue</B></FONT></PRE>"; 	

	msg3 = "<P><BR><PRE><FONT SIZE=3> Here are the answers: " 
	msg3 += "<BR> 100--&#135;d; 245--&#135;c; 260--&#135;b and &#135;c."
        msg3 += "<BR> You need more practice.</FONT></PRE>"
	msg3 += "<P><BR><PRE><FONT SIZE=3><B>Please close this window before you continue</B></FONT></PRE>"; 

	msg4 = "<P><BR><PRE><FONT SIZE=3>You didn't fill in any subfield codes."
        msg4 += "<BR>Please try again!</FONT></PRE>"
	msg4 += "<P><BR><PRE><FONT SIZE=3><B>Please close this window before you continue</B></FONT></PRE>"; 
 
	if (document.form1.person.value.charAt(0) == "d" && document.form1.title.value.charAt(0) == "c" 
	&& document.form1.imprint.value.charAt(0) == "b" && document.form1.imprint2.value.charAt(0) == "c")
	DispWin.document.write(msg1);

        else if (document.form1.title.value.charAt(0) == "c" && document.form1.imprint.value.charAt(0) == "b" 
	&& document.form1.imprint2.value.charAt(0) == "c")
	DispWin.document.write(msg2);

        else if (document.form1.person.value.charAt(0) == "d" && document.form1.title.value.charAt(0) == "c" 
	&& document.form1.imprint.value.charAt(0) == "b")
	DispWin.document.write(msg2);
	
	else if (document.form1.person.value.charAt(0) == "d" && document.form1.imprint.value.charAt(0) == "b" 
	&& document.form1.imprint2.value.charAt(0) == "c")
	DispWin.document.write(msg2);

	else if (document.form1.person.value.charAt(0) == "" && document.form1.title.value.charAt(0) == "" 
	&& document.form1.imprint.value.charAt(0) == "" && document.form1.imprint2.value.charAt(0) == "")
	DispWin.document.write(msg4);

	else 
        DispWin.document.write(msg3);   
	
}
