diff --git a/cloud_zoom.js b/cloud_zoom.js
new file mode 100644
index 0000000..305c5ed
--- /dev/null
+++ b/cloud_zoom.js
@@ -0,0 +1,9 @@
+// Add Drupal behaviors to process AJAx loaded Cloud Zoom content.
+Drupal.behaviors.cloud_zoom = {
+  attach: function(context) {
+    items = jQuery('.cloud-zoom:not(cloud-zoom-processed), .cloud-zoom-gallery:not(.cloud-zoom-processed)', context);
+      if (items.length) {
+        items.addClass('cloud-zoom-processed').CloudZoom();
+      }
+    }
+};
\ No newline at end of file
diff --git a/cloud_zoom.module b/cloud_zoom.module
index ba3a609..5d174b7 100644
--- a/cloud_zoom.module
+++ b/cloud_zoom.module
@@ -25,6 +25,13 @@ function cloud_zoom_requirements($phase) {
   }
 }
 
+/**
+ * Implements hook_init().
+ */
+function cloud_zoom_init() {
+  // Add needed JS.
+  drupal_add_js(drupal_get_path('module', 'cloud_zoom') . '/cloud_zoom.js');
+}
 
 /**
  * Internal Helper function to check if the required source code is present
