<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -6,13 +6,15 @@ module SharethisFuHelper
   
   def sharethis(options = {})
     entry = options.collect { |k,v| &quot;#{k}:\&quot;#{escape_javascript(v)}\&quot;&quot; if SharethisJSParams.include?(k) }.compact.join(&quot;,\n&quot;)
-    button = options[:button] || true
-    onmouseover = options[:onmouseover] || true
+    options[:button] ||= 'true'
+    options[:onmouseover] ||= 'true'
+    attachment = options[:dom_id] ? &quot;st_object.attachButton(document.getElementById('#{options[:dom_id]}'));&quot; : ''
     &lt;&lt;-END
       &lt;script type=\&quot;text/javascript\&quot;&gt;
-        SHARETHIS.addEntry({
+        var st_object = SHARETHIS.addEntry({
           #{entry}
-        },{button:#{button}, onmouseover:#{onmouseover}});
+        }, {button:#{options[:button]}, onmouseover:#{options[:onmouseover]}});
+        #{attachment}
       &lt;/script&gt;
     END
   end</diff>
      <filename>lib/sharethis_fu_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -4,18 +4,17 @@
 
 sharethis:
     publisher:
-    style:
-    services:
-    tabs:
+    type:
+    post_services:
     embeds:
     charset:
     popups:
-    headerbg:
+	headerTitle:
+    headerfg:
+	headerbg:
 	linkfg:
-	inactivebg:
-	inactivefg:
 	offsetLeft:
 	offsetTop:
     ireg:
     reg:
-    onmouseover:
\ No newline at end of file
+    onmouseover:</diff>
      <filename>sharethis.yml.example</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>961bc6266d17094408c00b60002bf8bcf1c4faab</id>
    </parent>
  </parents>
  <author>
    <name>Bobby Uhlenbrock</name>
    <email>bobby@uhlenbrock.us</email>
  </author>
  <url>http://github.com/uhlenbrock/sharethis_fu/commit/8442bc5e8c0f67d9a5cba305f7a01cc17c5ad76a</url>
  <id>8442bc5e8c0f67d9a5cba305f7a01cc17c5ad76a</id>
  <committed-date>2009-10-21T07:26:51-07:00</committed-date>
  <authored-date>2009-10-21T07:26:51-07:00</authored-date>
  <message>Allow for custom buttons.</message>
  <tree>432a47e921c06549882cc0cb838772ffd8bed645</tree>
  <committer>
    <name>Bobby Uhlenbrock</name>
    <email>bobby@uhlenbrock.us</email>
  </committer>
</commit>
