Kye-U;
You asked for some help making this spagetti mess work in Mozilla/Opera. What I have to offer may not solve all your problems, but it should go along ways toward it. Here are my notes, and some comments:
Lines 18-20: Move the <br> tags outside of the [/url]
Lines 38-39: Same thing, except put them in front of the <A....
Line 45: Assigning a variable without the var statement is risky - some environments allow it, some don't. Use {var hexa = new Array()..... instead.
Now for a harsh critique.
First off, this code requires 309 lines, over a 120 of which I find redundant and wasteful - they could easily be re-coded into one function of maybe 30 or 35 lines, max. However, without actually trying it myself, I predict that I, or any other qualified coder, could probably fulfill your requirements in approximately 150 lines, give or take a dozen. What you asked for isn't so hard to accomplish.
Next, the main reason for all that gobbledy-* code is that the user is allowed to enter anything his/her little heart desires - not a good interface practice, and certainly not a good coding practice, as it leads to the requirement of all that conversion code. Instead, I'd simply give the user a list of choices with a SELECT/options statement. No further coding necessary, this tag has everything you need to do the job.
Finally, the results page is so ugly that I couldn't look at it for more than a few seconds. I had to drop a half a bottle of Visine in my eyes in order to stand the strain of looking at it, just to see if the page had actually done the job. It did, but gawd, is that thing ever UGLY! Bad berries, my young friend, very bad berries. Unless your requirements are such that a second page is necessary for the results, I would have simply appended the results to the bottom of the first page, not a hard thing to do in this day and age.
If this seems unduly harsh, then let me be the first to apologize, then let me be the first to also offer my time and effort to doing this correctly, meaning with elegance of both code and interface. It's your decision.
Oddysey