.load(), .eval(), IE - always IE :(

.load(), .eval(), IE - always IE :(

I have a problem that's occurring in IE (7) and no other browser (surprise surprise).

On my site I've defined a function loadAJAX, that displays an animated loading image, commences a .load() function, .eval's the scripts inside the AJAX chunk, and then hides the animated loading image:
  1. function loadAJAX(phpFile, divElement)
  2. {
  3.     $("#loadingImage").show();
  4.     $("#animatedLoadingDiv").show();
  5.    
  6.     var url = "includes/" + phpFile;
  7.     $("#" + divElement).load(url, function()
  8.     {
  9.         $("#" + divElement + " script").each(function(ind,obj)
  10.         {
  11.             eval($(obj).text());
  12.         });
  13.         $("#loadingImage").hide();
  14.         $("#animatedLoadingDiv").hide();
  15.         return false;
  16.     });
  17. }
This function works fine in all browsers... except IE

IE will not eval() this:
  1. <script type="text/javascript">
  2.       // my code here
  3. </script>

...but it will eval() this...
  1. <script>
  2.       // my code here
  3. </script>

Is there any way to get IE to recognise scripts with the "text/javascript" attribute?