Hey all,

I have the following function:
Code:
function show('id') {
document.all['id'].style.visibilty = 'visible';
}
and I'm using the following code to call the function:
Code:
show('contacts');
however I am getting an "Object Expected" error. I know the JavaScript itself works, because I've tested it using a direct call using the code itself, rather than the function, if you get what I mean.

Can anyone tell me where I've gone wrong?

Thanks [img]images/smilies/smile.gif[/img]

-Sam