<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>public/images/body.gif</filename>
    </added>
    <added>
      <filename>public/images/body_hi.gif</filename>
    </added>
    <added>
      <filename>public/images/bottom.gif</filename>
    </added>
    <added>
      <filename>public/images/bottom_hi.gif</filename>
    </added>
    <added>
      <filename>public/images/corner_ll.gif</filename>
    </added>
    <added>
      <filename>public/images/corner_ll_hi.gif</filename>
    </added>
    <added>
      <filename>public/images/corner_lr.gif</filename>
    </added>
    <added>
      <filename>public/images/corner_lr_hi.gif</filename>
    </added>
    <added>
      <filename>public/images/corner_ul.gif</filename>
    </added>
    <added>
      <filename>public/images/corner_ul_hi.gif</filename>
    </added>
    <added>
      <filename>public/images/corner_ur.gif</filename>
    </added>
    <added>
      <filename>public/images/corner_ur_hi.gif</filename>
    </added>
    <added>
      <filename>public/images/top.gif</filename>
    </added>
    <added>
      <filename>public/images/top_hi.gif</filename>
    </added>
    <added>
      <filename>public/stylesheets/growl4rails_ie6.css</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -7,7 +7,11 @@ module ActionView::Helpers
     def growl4rails_includes(duration = 5000, max_showing = 3)
       javascript_tag(&quot;var growl4rails_duration = #{duration}; var growl4rails_max_showing = #{max_showing};&quot;) + &quot;\n&quot; +
       javascript_include_tag(&quot;#{asset_path}growl4rails.js&quot;) + &quot;\n&quot; +
-      stylesheet_link_tag(&quot;#{asset_path}growl4rails.css&quot;)
+      stylesheet_link_tag(&quot;#{asset_path}growl4rails.css&quot;) + &quot;\n&quot; +
+      &quot;&lt;!--[if lt IE 7]&gt;\n&quot; +
+      stylesheet_link_tag(&quot;#{asset_path}growl4rails_ie6.css&quot;) + &quot;\n&quot; +
+      &quot;&lt;![endif]--&gt;&quot;
+
     end
     
     def asset_path</diff>
      <filename>lib/growl.rb</filename>
    </modified>
    <modified>
      <diff>@@ -24,7 +24,7 @@ var templateHTML = '&lt;div id=&quot;#{id}&quot; class=&quot;growl4rails_cell&quot; style=&quot;display:none
 &lt;/table&gt;\
 &lt;/div&gt;\
 &lt;div id=&quot;growl4rails_info_#{id}&quot; class=&quot;growl4rails_info&quot; style=&quot;display:none;&quot;&gt;\
-  &lt;img src=&quot;#{img}&quot; class=&quot;growl4rails_image&quot; align=&quot;left&quot; /&gt;\
+  &lt;div class=&quot;growl4rails_image&quot; style=&quot;#{img_style}&quot;&gt;&lt;/div&gt;\
   &lt;div class=&quot;growl4rails_title&quot;&gt;#{title}&lt;/div&gt;\
   &lt;div class=&quot;growl4rails_message&quot;&gt;#{message}&lt;div&gt;\
 &lt;/div&gt;';
@@ -53,10 +53,18 @@ Growl4Rails.showGrowl = function(arguments) {
     growl4rails_current_showing++;
     
     //add it to the document
+    
+    //IE6 PNG fix for icons
+    var img_path = $H(arguments).get('image_path');
+    var is_png = (img_path.substring(img_path.length-3, img_path.length).toUpperCase() == &quot;PNG&quot;)
+    var img_style = 'background-image:url(' + img_path + ');background-repeat: no-repeat;';
+    if (Prototype.Browser.IE &amp;&amp; navigator.userAgent.match(/MSIE [456]/) &amp;&amp; is_png) {
+      img_style = 'filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\'' + img_path + '\');';
+    }
     var data = {
       id:growl_cell_id, 
       title:$H(arguments).get('title'), 
-      img:$H(arguments).get('image_path'), 
+      img_style:img_style, 
       message:$H(arguments).get('message')
     };
     
@@ -119,11 +127,17 @@ Growl4Rails.showGrowl = function(arguments) {
 Growl4Rails.hideGrowl = function(growl_cell_id) {
   growl4rails_timer_hash.unset(growl_cell_id);
   if(Prototype.Browser.IE) {
-    $('growl4rails_info_' + growl_cell_id).hide();
-    $(growl_cell_id).hide();
+    if($('growl4rails_info_' + growl_cell_id))
+      $('growl4rails_info_' + growl_cell_id).hide();
+    
+    if($(growl_cell_id))
+      $(growl_cell_id).hide();
   } else {
-    Effect.Fade('growl4rails_info_' + growl_cell_id, { duration: 1.0 });
-    Effect.Fade(growl_cell_id, { duration: 1.0 });
+    if($('growl4rails_info_' + growl_cell_id))
+      Effect.Fade('growl4rails_info_' + growl_cell_id, { duration: 1.0 });
+    
+    if($(growl_cell_id))
+      Effect.Fade(growl_cell_id, { duration: 1.0 });
   }
     
   setTimeout(&quot;Growl4Rails.removeGrowl('&quot; + growl_cell_id + &quot;')&quot;, 1000);
@@ -131,7 +145,11 @@ Growl4Rails.hideGrowl = function(growl_cell_id) {
 
 Growl4Rails.removeGrowl = function(growl_cell_id) {
   growl4rails_current_showing--;
-  $(growl_cell_id).remove();
+  if($('growl4rails_info_' + growl_cell_id))
+    $('growl4rails_info_' + growl_cell_id).remove();
+    
+  if($(growl_cell_id))
+    $(growl_cell_id).remove();
   
   //if this is the last growl, fire an event so we can show more, if there are any
   if(growl4rails_current_showing == 0) {</diff>
      <filename>public/javascripts/growl4rails.js</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,7 @@
 .growl4rails_cell {
   position: absolute;
   width: 379px;
+  cursor:hand;
   cursor:pointer;
   z-index: 99;
 }
@@ -66,11 +67,17 @@
   position: absolute;
   width: 320px;
   overflow: hidden;
+  cursor:hand;
   cursor:pointer;
   z-index: 99;
 }
 .growl4rails_image {
-  padding: 2px;
+  background-position: center center;
+  padding: 2px 2px 0px 2px;
+  width:32px;
+  height:32px;
+  float:left;
+  cursor:hand;
   cursor:pointer;
 }
 .growl4rails_title {
@@ -78,11 +85,13 @@
   font-size: 11pt;
   font-family: arial;
   font-weight: bold;
+  cursor:hand;
   cursor:pointer;
 }
 .growl4rails_message {
   color: #FFF;
   font-size: 10pt;
   font-family: arial;
+  cursor:hand;
   cursor:pointer;
 }
\ No newline at end of file</diff>
      <filename>public/stylesheets/growl4rails.css</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>public/images/left.png</filename>
    </removed>
    <removed>
      <filename>public/images/left_hi.png</filename>
    </removed>
    <removed>
      <filename>public/images/right.png</filename>
    </removed>
    <removed>
      <filename>public/images/right_hi.png</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>6dcd0c5da041f910069a102cce059f28375f9239</id>
    </parent>
  </parents>
  <author>
    <name>Jim Fiorato</name>
    <email>jimfiorato@jim-fioratos-macbook-pro-2.local</email>
  </author>
  <url>http://github.com/jfiorato/growl4rails/commit/958b17de5befcb7564f24ebe0bd2fd035554feff</url>
  <id>958b17de5befcb7564f24ebe0bd2fd035554feff</id>
  <committed-date>2009-02-13T06:20:25-08:00</committed-date>
  <authored-date>2009-02-13T06:20:25-08:00</authored-date>
  <message>- Better IE 6 support.  - Resolve occassional error when element removed too early</message>
  <tree>027a3147b6fc5f26cd368b873ca84c8cb634668f</tree>
  <committer>
    <name>Jim Fiorato</name>
    <email>jimfiorato@jim-fioratos-macbook-pro-2.local</email>
  </committer>
</commit>
