diff -uPb buzzthis-orig/buzzthis.js buzzthis/buzzthis.js
--- buzzthis-orig/buzzthis.js	2010-02-15 16:38:04.000000000 +0530
+++ buzzthis/buzzthis.js	2010-03-25 16:15:21.000000000 +0530
@@ -1,13 +1,13 @@
 /* $Id: buzzthis.js,v 1.1 2010/02/15 11:08:04 jasonleon Exp $ */
 
-function PopupCenter(pageURL, title, w, h) {
-  var left = (screen.width/2)-(w/2);
-  var top = (screen.height/2)-(h/2);
-  var targetWin = window.open (pageURL, title, 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, copyhistory=no, width='+w+', height='+h+', top='+top+', left='+left);
-}
-$(document).ready(function() {
-  $(".buzzbutton").click(function() {
-     PopupCenter($(this).attr("href"), "Google Buzz", 560, 500);
+Drupal.behaviors.buzzthis = function(context) {
+  $("a.buzzbutton").click(function() {
+    buzzthis_popup(this.href, "Google Buzz", 560, 500);
      return false;
   });
-});
\ No newline at end of file
+}
+function buzzthis_popup(pageURL, title, w, h) {
+  var left = (screen.width/2) - (w/2);
+  var top = (screen.height/2) - (h/2);
+  window.open(pageURL, title, 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, copyhistory=no, width='+ w +', height='+ h +', top='+ top +', left='+ left);
+}
Common subdirectories: buzzthis-orig/images and buzzthis/images
