Hey guys having problems here, I have a very simple form that shows or hides a divider based on input, now it works 100% on my machine in both firefox2 and Ie7 and also on another machine in ie6 but the client cant get it to work.

I have noticed they are running Mcaffee and I have come across a problem before were Norton was stopping some javascript from running but I cant see any reason for any antivirus to stop the code from running.

Any one have any ideas as to why??

here is the code

PHP Code:
    function showhide(ELEMENT){
        
newelement ELEMENT.id '_advanced';
//        alert(newelement);
        
if (ELEMENT.checked){
            
document.getElementById(newelement).style.display 'block';
        } else {
            
document.getElementById(newelement).style.display 'none';
        }
    } 
and the calling code
PHP Code:
<input name="iso9000" type="checkbox" id="iso9000" value="2" onclick="showhide(this);" />
        <
div id="iso9000_advanced" >
            
code in here
        
</div
all the function does is grab the ID of the element (in this case iso9000) and adds _advanced to it then sets the display style to block or none depending on if it is ticked or not.


so anyone any ideas?