function reset() {
	location = "star_art.html";
}

function checkme() {
	var win = window.open("","solution","width=600,height=300,scrollbars,resizable");
	var myURL = window.location.pathname.match(/^.*\//);
	if (navigator.appName == "Microsoft Internet Explorer") {myURL = "";}


	win.document.write('<HTML>\n<HEAD>\n');
	win.document.write('<TITLE>Constellation Results</TITLE>');
	win.document.write('</HEAD>\n');
	win.document.write('<BODY BACKGROUND="',myURL,'images/bgstars.gif" BGCOLOR="#000000" TEXT="#FFFFFF" LINK="#66FFFF" \n');
	win.document.write('VLINK="#33FF33" ALINK="#FF0000">\n');
	win.document.write('<h1 ALIGN="CENTER">Constellation Results</h1></P><P>\n');
	win.document.write('<!--===========================================================--> \n');
	win.document.write('<P ALIGN="CENTER"><IMG SRC="',myURL,'images/shut_l.gif" alt="Shuttle"></P><P> \n');

	win.document.write('<CENTER> \n');
	win.document.write('<TABLE BORDER=5 CELLPADDING=5 CELLSPACING=5> \n');
	win.document.write('<T><TH>Star Chart</TH> \n');
	win.document.write('	  <TD>Traditional Interpretation</TD> \n');
	win.document.write('	  <TD>Your Interpretation</TD></TR> \n');


var myth = new Array("",
		"4. An East Indian Myth",
		"3. A Woodland Indian Myth",
		"1. A Shawnee Indian Myth",
		"2. A Greek Myth");

var image = new Array("",
		"images/constellation_canis_major.gif",
		"images/constellation_ursa_major.gif",
		"images/constellation_borealis.gif",
		"images/constellation_cassiopeia.gif");

var constellation = new Array(5);
for (i = 1; i < 5; i++) {
	constellation[i] = document.star_art.elements[i-1].value;
}

for (i = 1; i < 5; i++) {
	if ((constellation[i] != "1") && (constellation[i] != "2") &&
		(constellation[i] != "3") && (constellation[i] != "4")) {
		constellation[i] = "Blank";
	}
	win.document.write('<TR><TD ALIGN="CENTER">\n');
	win.document.write('<IMG BORDER=0 SRC="')
	win.document.write(myURL + image[i] + '"></TD>\n');
	win.document.write('<TD ALIGN="CENTER">' + myth[i] + '</TD>\n');
	win.document.write('<TD ALIGN="CENTER">' + constellation[i]);
	win.document.write('</TD></TR>\n');
}	
	win.document.write('</TABLE>\n');
	win.document.write('</p><p>\n');
	win.document.write('</CENTER>\n');
	win.document.write('<CENTER>\n');
	win.document.write('<FORM>\n');
	win.document.write('<TABLE BORDER=5 CELLPADDING=10>\n');
	win.document.write('<TR><TD ALIGN="CENTER">\n');
	win.document.write('          <INPUT TYPE=button VALUE="Close" onClick="window.close()" name="Close">\n');
	win.document.write('        </TD></TR>\n');
	win.document.write('</TABLE>\n');
	win.document.write('</FORM>\n');
	win.document.write('</CENTER>\n');
	win.document.write('<!--=============================================================-->\n');
	win.document.write('<P ALIGN="CENTER"><IMG SRC="',myURL,'images/shut_r.gif" alt="Shuttle"></P><P>\n');

	win.document.write('  </BODY>\n');
	win.document.write('</html>\n');
	win.document.close();
 
}	



