<html> <body> <div id="foo"> <script>with (document.all) foo</script> </div> </body> </html>