--- visitorinfo.js	2010-07-24 12:50:48.000000000 -0500
+++ visitorinfo/visitorinfo.js	2010-09-16 09:09:31.000000000 -0500
@@ -1,4 +1,4 @@
-// $Id: visitorinfo.js,v 1.4 2010/07/24 17:50:48 twooten Exp $
+// $Id: visitorinfo.js,v 1.5 2010/09/16 14:09:31 twooten Exp $
 
 Drupal.behaviors.visitorinfo = function (context) {
   var map;
@@ -7,10 +7,13 @@ Drupal.behaviors.visitorinfo = function 
     map = new GMap2(document.getElementById("map"));
     map.addControl(new GSmallMapControl());
     map.addControl(new GMenuMapTypeControl());
-    map.enableScrollWheelZoom();
+    if (Drupal.settings.disableScrollZoom) {
+      map.disableScrollWheelZoom();
+    } else {
+      map.enableScrollWheelZoom();
+    }
     map.setCenter(new GLatLng(Drupal.settings.centerLatitude, Drupal.settings.centerLongitude), parseInt(Drupal.settings.startZoom));
     for(id in visitors) {
-      //
      if (visitors[id].state) {
         descrip = "IP: " + visitors[id].ip + "<br>" + "City: " + visitors[id].city + "<br>" + "State: " + visitors[id].state + "<br>" + "Country: " + visitors[id].cname;
         addMarker(visitors[id].latitude, visitors[id].longitude, descrip);
