Object Killing in IE7 with dojo.provide (view this page in IE7)

       <script type="text/javascript" src="http://test.jpsykes.com/junk/dojo/dojo-0.4.3/dojo.js"></script>

          <script type="text/javascript">

            dojo.provide('test');

            alert(test);

          </script>
          <script type="text/javascript">

            alert(test);

            // this next chunk of code should never run.
            if (true == false){
              // I just added this to show that this block of code should never even run
              alert("This never fires");
              // comment out this line and the bug goes away
              var test;  // THIS SHOULD NOT IMPACT ON ANYTHING !!!!
              // I just added this to show that this block of code should never even run
              alert("This never fires"); 
            }

          </script>