diff --git a/text_resize.js b/text_resize.js
index a1bcab4..ecaf5ff 100755
--- a/text_resize.js
+++ b/text_resize.js
@@ -1,104 +1,114 @@
 // $Id: text_resize.js,v 1.1.2.8.2.6 2010/12/29 23:14:13 attheshow Exp $
 (function ($) { // JavaScript should be compatible with other libraries than jQuery
   Drupal.behaviors.textResize = { // D7 "Changed Drupal.behaviors to objects having the methods "attach" and "detach"."
-    attach: function(context) {
+    attach: function(context) {      
+      var element_to_resize = [];      
       // Which div or page element are we resizing?
       if (text_resize_scope) { // Admin-specified scope takes precedence.
-        if ($('#'+text_resize_scope).length > 0) {
-          var element_to_resize = $('#'+text_resize_scope); // ID specified by admin
-        }
-        else if ($('.'+text_resize_scope).length > 0) {
-          var element_to_resize = $('.'+text_resize_scope); // CLASS specified by admin
-        }
-        else {
-          var element_to_resize = $(text_resize_scope); // It's just a tag specified by admin
-        }
+  var text_resize_scope_array = text_resize_scope.split(", ");
+  for (i=0; i<text_resize_scope_array.length; i++) {
+          if ($('#'+text_resize_scope_array[i]).length > 0) {
+            element_to_resize.push($('#'+text_resize_scope_array[i])); // ID specified by admin
+          }
+          else if ($('.'+text_resize_scope_array[i]).length > 0) {
+            element_to_resize.push($('.'+text_resize_scope_array[i])); // CLASS specified by admin
+          }
+          else if ($(text_resize_scope_array[i]).length > 0) {
+            element_to_resize.push($(text_resize_scope_array[i])); // It's just a tag specified by admin
+          }
+  }
       }
       else { // Look for some default scopes that might exist.
         if ($('DIV.left-corner').length > 0) {
-          var element_to_resize = $('DIV.left-corner'); // Main body div for Garland
+          element_to_resize.push('DIV.left-corner'); // Main body div for Garland
         }
         else if ($('#content-inner').length > 0) {
-          var element_to_resize = $('#content-inner'); // Main body div for Zen-based themes
+          element_to_resize.push('#content-inner'); // Main body div for Zen-based themes
         }
         else if ($('#squeeze > #content').length > 0) {
-          var element_to_resize = $('#squeeze > #content'); // Main body div for Zen Classic
+          element_to_resize.push('#squeeze > #content'); // Main body div for Zen Classic
         }
       }
+
       // Set the initial font size if necessary
-      if ($.cookie('text_resize') != null) {
-        element_to_resize.css('font-size', parseFloat($.cookie('text_resize')) + 'px');
-      }
-      if (text_resize_line_height_allow) {
-        // Set the initial line height if necessary
-        if ($.cookie('text_resize_line_height') != null) {
-          element_to_resize.css('line-height', parseFloat($.cookie('text_resize_line_height')) + 'px');
+      for (j=0; j<element_to_resize.length; j++) {
+        if ($.cookie('text_resize') != null) {
+          element_to_resize[j].css('font-size', parseFloat($.cookie('text_resize')) + 'px');
+        }
+        if (text_resize_line_height_allow) {
+          // Set the initial line height if necessary
+          if ($.cookie('text_resize_line_height') != null) {
+            element_to_resize[j].css('line-height', parseFloat($.cookie('text_resize_line_height')) + 'px');
+          }
         }
       }
+
       // Changer links will change the text size when clicked
-      $('a.changer').click(function() {
+      $('a.changer').click(function() {       
+  for (k=0; k<element_to_resize.length; k++) {
         // Set the current font size of the specified section as a variable
-        var currentFontSize = parseFloat(element_to_resize.css('font-size'), 10);
-        // Set the current line-height
-        var current_line_height = parseFloat(element_to_resize.css('line-height'), 10);
-        // javascript lets us choose which link was clicked, by ID
-        if (this.id == 'text_resize_increase') {
-          var new_font_size = currentFontSize * 1.2;
-          if (text_resize_line_height_allow) { var new_line_height = current_line_height * 1.2; }
-          // Allow resizing as long as font size doesn't go above text_resize_maximum.
-          if (new_font_size <= text_resize_maximum) {
-            $.cookie('text_resize', new_font_size, { path: '/' });
-            if (text_resize_line_height_allow) { $.cookie('text_resize_line_height', new_line_height, { path: '/' }); }
-            var allow_change = true;
+          var currentFontSize = parseFloat(element_to_resize[k].css('font-size'), 10);
+          // Set the current line-height
+          var current_line_height = parseFloat(element_to_resize[k].css('line-height'), 10);
+          // javascript lets us choose which link was clicked, by ID
+          if (this.id == 'text_resize_increase') {
+            var new_font_size = currentFontSize * 1.2;
+            if (text_resize_line_height_allow) { var new_line_height = current_line_height * 1.2; }
+            // Allow resizing as long as font size doesn't go above text_resize_maximum.
+            if (new_font_size <= text_resize_maximum) {
+              $.cookie('text_resize', new_font_size, { path: '/' });
+              if (text_resize_line_height_allow) { $.cookie('text_resize_line_height', new_line_height, { path: '/' }); }
+              var allow_change = true;
+            }
+            else {
+              $.cookie('text_resize', text_resize_maximum, { path: '/' });
+              if (text_resize_line_height_allow) { $.cookie('text_resize_line_height', text_resize_line_height_max, { path: '/' }); }
+              var reset_size_max = true;
+            }
           }
-          else {
-            $.cookie('text_resize', text_resize_maximum, { path: '/' });
-            if (text_resize_line_height_allow) { $.cookie('text_resize_line_height', text_resize_line_height_max, { path: '/' }); }
-            var reset_size_max = true;
+          else if (this.id == 'text_resize_decrease') {
+            var new_font_size = currentFontSize / 1.2;
+            if (text_resize_line_height_allow) { var new_line_height = current_line_height / 1.2; }
+            if (new_font_size >= text_resize_minimum) {
+              // Allow resizing as long as font size doesn't go below text_resize_minimum.
+              $.cookie('text_resize', new_font_size, { path: '/' });
+              if (text_resize_line_height_allow) { $.cookie('text_resize_line_height', new_line_height, { path: '/' }); }
+              var allow_change = true;
+            }
+            else {
+              // If it goes below text_resize_minimum, just leave it at text_resize_minimum.
+              $.cookie('text_resize', text_resize_minimum, { path: '/' });
+              if (text_resize_line_height_allow) { $.cookie('text_resize_line_height', text_resize_line_height_min, { path: '/' }); }
+              var reset_size_min = true;
+            }
           }
-        }
-        else if (this.id == 'text_resize_decrease') {
-          var new_font_size = currentFontSize / 1.2;
-          if (text_resize_line_height_allow) { var new_line_height = current_line_height / 1.2; }
-          if (new_font_size >= text_resize_minimum) {
-            // Allow resizing as long as font size doesn't go below text_resize_minimum.
-            $.cookie('text_resize', new_font_size, { path: '/' });
-            if (text_resize_line_height_allow) { $.cookie('text_resize_line_height', new_line_height, { path: '/' }); }
-            var allow_change = true;
+          else if (this.id == 'text_resize_reset') {
+            $.cookie('text_resize', null, { path: '/' });
+            if (text_resize_line_height_allow) { $.cookie('text_resize_line_height', null, { path: '/' }); }
+            var reset_size_original = true;
           }
-          else {
-            // If it goes below text_resize_minimum, just leave it at text_resize_minimum.
-            $.cookie('text_resize', text_resize_minimum, { path: '/' });
-            if (text_resize_line_height_allow) { $.cookie('text_resize_line_height', text_resize_line_height_min, { path: '/' }); }
-            var reset_size_min = true;
+          // jQuery lets us set the font size value of the main text div
+          if (allow_change == true) {
+            element_to_resize[k].css('font-size', new_font_size + 'px'); // Add 'px' onto the end, otherwise ems are used as units by default
+            if (text_resize_line_height_allow) { element_to_resize[k].css('line-height', new_line_height + 'px'); }
+            //return false;
           }
-        }
-        else if (this.id == 'text_resize_reset') {
-          $.cookie('text_resize', null, { path: '/' });
-          if (text_resize_line_height_allow) { $.cookie('text_resize_line_height', null, { path: '/' }); }
-          var reset_size_original = true;
-        }
-        // jQuery lets us set the font size value of the main text div
-        if (allow_change == true) {
-          element_to_resize.css('font-size', new_font_size + 'px'); // Add 'px' onto the end, otherwise ems are used as units by default
-          if (text_resize_line_height_allow) { element_to_resize.css('line-height', new_line_height + 'px'); }
-          return false;
-        }
-        else if (reset_size_min == true) {
-          element_to_resize.css('font-size', text_resize_minimum + 'px');
-          if (text_resize_line_height_allow) { element_to_resize.css('line-height', text_resize_line_height_min + 'px'); }
-          return false;
-        }
-        else if (reset_size_max == true) {
-          element_to_resize.css('font-size', text_resize_maximum + 'px');
-          if (text_resize_line_height_allow) { element_to_resize.css('line-height', text_resize_line_height_max + 'px'); }
-          return false;
-        }
-        else if (reset_size_original == true) {
-          element_to_resize.css('font-size', null);
-          if (text_resize_line_height_allow) { element_to_resize.css('line-height', null); }
-          return false;
-        }
+          else if (reset_size_min == true) {
+            element_to_resize[k].css('font-size', text_resize_minimum + 'px');
+            if (text_resize_line_height_allow) { element_to_resize[k].css('line-height', text_resize_line_height_min + 'px'); }
+            //return false;
+          }
+          else if (reset_size_max == true) {
+            element_to_resize[k].css('font-size', text_resize_maximum + 'px');
+            if (text_resize_line_height_allow) { element_to_resize[k].css('line-height', text_resize_line_height_max + 'px'); }
+            //return false;
+          }
+          else if (reset_size_original == true) {
+            element_to_resize[k].css('font-size', null);
+            if (text_resize_line_height_allow) { element_to_resize[k].css('line-height', null); }
+            //return false;
+          }
+    }
       });
     }
   };
