Okay, this is rather long. I don't know what's wrong, but I'll give you a description of what it does...
I'm making a Web Site Generator out of JS. It's a lot of code, and I included the HTML in case that has an error.
First is a META tag generator. Underneath it you set the background color/image and click Done and the HTML gets inserted into the textarea called html in the finishedcode form. One of the onclick functions means that only BGCOLOR or BGIMAGE may have content, not both. When a radio button is clicked to the left of Background Color, the Background Image field deletes the text inside it and becomes disabled. The Background Color dropdown becomes usable. This then works viceversa.
It worked fine until now. I did something that messed up everything in the JavaScript.
After that there is a dropdown menu of what to insert next. It includes adding a P tag, a /P tag, an image, formatted text, HR, link, email link, form, custom HTML, and instructions for publishing. That is under construction and needn't be modified unless there is a problem.
Unfortunately the amount of code exceeds the limit of characters per message.
Here is a link to a txt file:
http://lupus2k5.lu.funpic.org/webgen.txt