

//  //  //  //  //  //  //  //  //  //  //  //  //  //  //  //  //  //  //  //  //  //  //  //  //  //

//

//                     							SophiaKnows

//                     							 The eJING

//             							 (c) SophiaKnows 1998-2000

//

//  //  //  //  //  //  //  //  //  //  //  //  //  //  //  //  //  //  //  //  //  //  //  //  //  //


hex_line = new Array(4)
hex_line[0] = "<tr><td height=20><img src=sb_s.gif height=10 width=116></td></tr>"
hex_line[1] = "<tr><td height=20><img src=sb_s.gif height=10 width=54><img src=white.gif width=8 height=1><img src=sb_s.gif height=10 width=54></td></tr>"
hex_line[2] = "<tr><td height=20><img src=sb_s.gif height=10 width=116> <img src=blt_sb_s.gif width=12 height=10></td></tr>"
hex_line[3] = "<tr><td height=20><img src=sb_s.gif height=10 width=54><img src=white.gif width=8 height=1><img src=sb_s.gif height=10 width=54> <img src=blt_sb_s.gif width=12 height=10></td></tr>"

hex_nos = new Array("000000","000001","000010","000011","000100","000101","000110","000111","001000","001001","001010","001011","001100","001101","001110","001111","010000","010001","010010","010011","010100","010101","010110","010111","011000","011001","011010","011011","011100","011101","011110","011111","100000","100001","100010","100011","100100","100101","100110","100111","101000","101001","101010","101011","101100","101101","101110","101111","110000","110001","110010","110011","110100","110101","110110","110111","111000","111001","111010","111011","111100","111101","111110","111111")


function unseed_text(seed) {
	seed=(seed * 29 +1) % (60);
	the_hex_o_gram = hex_o_grams[seed]
	the_hex_o_name = the_hex_o_gram.hex_name
	the_hex_o_name = the_hex_o_name.replace(" - ","<br>-<br>")
		window.document.writeln(the_hex_o_gram.hex_label + " " + the_hex_o_name)
	}	


function unseed(seed) {
	deSeed = hex_nos[seed]
	window.document.writeln("<table cellspacing=0 cellpadding=0>")
	for (j=0; j < 6; j++) {
		deSeedAt = deSeed.charAt(j)
		result_hex = eval("hex_line[" + deSeedAt + "]")
		window.document.writeln(result_hex)
		}
	window.document.writeln("</table>")
	}	
