Index: src/orca/settings.py
===================================================================
--- src/orca/settings.py	(revision 4011)
+++ src/orca/settings.py	(working copy)
@@ -154,6 +154,7 @@
     "showMainWindow",
     "quitOrcaNoConfirmation",
     "presentToolTips",
+    "wrappedStructuralNavigation",
     "sayAllStyle",
     "keyboardLayout",
     "speakBlankLines",
@@ -217,6 +218,9 @@
 #
 MODIFIER_ORCA = 8
 
+# weather to wrap around the document when structural navigation is used
+wrappedStructuralNavigation = True
+
 # Verbosity levels (see setBrailleVerbosityLevel and
 # setSpeechVerbosityLevel).  These will have an impact on the various
 # individual verbosity levels for rolenames, accelerators, etc.
Index: src/orca/structural_navigation.py
===================================================================
--- src/orca/structural_navigation.py	(revision 4011)
+++ src/orca/structural_navigation.py	(working copy)
@@ -784,7 +784,8 @@
 
         obj = obj or self.getCurrentObject()
         success = False
-
+        wrap = settings.wrappedStructuralNavigation
+        print("goObject, wrapped=%s\n" % wrap)
         # Try to find it using Collection first.  But don't do this with form
         # fields for now.  It's a bit faster moving to the next form field,
         # but not on pages with huge forms (e.g. bugzilla's advanced search
