function colorchangea(ColorSelection){			

document.form133.txcolor.value = ColorSelection;
upMess()
}
						
				var Carray = new Array("00", "33", "66", "99", "CC", "FF");
				document.write("<table cellpadding=0 cellspacing=0>");			
				for (var x11 = 0; x11 < 6; x11++){
					document.write("<tr>");
					for (var x22 = 0; x22 < 6; x22++){
						for (var x33 = 0; x33 < 6; x33++){
							document.write("<td bgcolor='" + Carray[x11] + Carray[x22] + Carray[x33] + "'>");
							document.write("<a href=javascript:colorchangea(\'" + Carray[x11] + Carray[x22] + Carray[x33] + "');>");
							document.write("<img src=space.gif height=5 width=5 border=0></a></td>");
						}
					}
					document.write("</tr>");
				}
				document.write("</table>");