Index: iepngfix.htc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/pngbehave/iepngfix.htc,v
retrieving revision 1.2.2.1
diff -u -r1.2.2.1 iepngfix.htc
--- iepngfix.htc	7 Dec 2008 11:36:27 -0000	1.2.2.1
+++ iepngfix.htc	14 Dec 2008 18:32:44 -0000
@@ -13,7 +13,7 @@
 
 // This must be a path to a blank image, relative to the HTML document(s).
 // Chris Paul (mrjeeves): set this to use drupal's base path and default path to module
-IEPNGFix.blankImg = Drupal.settings.basePath + 'sites/all/modules/pngbehave/blank.gif';
+IEPNGFix.blankImg = BlankImgPath + '/blank.gif';
 
 
 IEPNGFix.fix = function(elm, src, t) {
Index: pngbehave.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/pngbehave/pngbehave.module,v
retrieving revision 1.2.2.1
diff -u -r1.2.2.1 pngbehave.module
--- pngbehave.module	7 Dec 2008 11:36:27 -0000	1.2.2.1
+++ pngbehave.module	14 Dec 2008 18:32:05 -0000
@@ -27,7 +27,9 @@
 		// Chris Paul (mrjeeves): added backgroundimagecache option to speed up
 		// rendering times.
     drupal_set_html_head('<!--[if lt IE 7]>
-            <script type="text/javascript">document.execCommand("BackgroundImageCache", false, true);</script>
+            <script type="text/javascript">document.execCommand("BackgroundImageCache", false, true);
+              var BlankImgPath = "'. base_path() . drupal_get_path('module', 'pngbehave') .'";
+ 	    </script>
         <style type="text/css">' . $pngbehaveclasses . ' { behavior: url('. base_path() . drupal_get_path('module', 'pngbehave') . '/iepngfix.htc)} ' . $pngbehaveexclude . '</style>
         <script type="text/javascript" src="'. base_path() . drupal_get_path('module', 'pngbehave') . '/iepngfix_tilebg.js"></script>
     <![endif]-->');

