function foo() { function bar() { alert('baz'); } } On Firefox. foo.bar(); will alert, on MSIE and opera is doesn't. Is there something I am missing? -- Chris Heilmann Blog: http://www.wait-till-i.com Writing: http://icant.co.uk/ Binaries: http://www.onlinetools.org/