Sorry about that...I should have mentioned what it is/isnt doing.
In IE it hides the appropriate fields when a radio button is pressed etc but it doesnt hide/show the fields in Firefox (This is the mozilla browser I am using). As far as I know it doesnt work in Opera but will download and check.
I didnt write this code however I have been given the job to try to debug hence the post here.
When I run it in IE, I don't see any changes that occur when I click the private or commercial buttons at the bottom. I am running IE7, but hopefully that isn't a problem. I think that you also need to upload the layer.js file, which seems to be sourced in the header.
It should work as I have tested this in (working) IE 7, IE 6, Opera and (not working) Firefox and Netscape. The only change is there are 3 fields on the top right hand column that are hidden and displayed depending on what is clicked (private or commercial)
When I run it in Firefox I get a missing function definition getObj, which I'm assuming is defined in the layer.js file. You didn't post that, so I can't get anything to work. When you run it in Firefox, you should see if you get errors in the Javascript console, it is usually very helpful for development.
Bookmarks