The buttons are created from two different png-files - TheBlue.png and TheRed.png. They work as radio buttons in the sense that one and only one is blue at a particular time.
Each button has an id and a name (that is printed on the button).
Also, a click on a red will make that one "blue" instead plus call another script telling the id of the new blue button.
When the script starts, there are 2 arrrays with button ids and button names.
When the function has been created the buttons, it will end up on a html page at a certian tag.
Is that possible to create?