--- sites/all/modules/pngfix/pngfix.module	2008-02-06 11:02:25.000000000 -0600
+++ sites/all/modules/pngfix/pngfix-patch.module	2010-11-05 12:53:05.000000000 -0500
@@ -23,7 +23,11 @@ function pngfix_init() {
   if (!empty($pngfixclasses)) {
     $jquerypngfixjs = drupal_get_path('module', 'pngfix') .'/jquery.pngFix.js';
     drupal_add_js($jquerypngfixjs, 'module');
-    $js = "$(document).ready(function(){ $('$pngfixclasses').pngFix(); });";
+    $js  = "Drupal.behaviors.pngFix = function() {";
+    $js .= "  if ($.browser.msie && ($.browser.version == '6.0')) {";
+    $js .= "    $('$pngfixclasses').pngFix();";
+    $js .= "  }";
+    $js .= "};";
     drupal_add_js($js, 'inline');
   }
 } // function pngfix_init
