Index: /trunk/autoquest-htmlmonitor/src/main/js/autoquest-htmlmonitor.js
===================================================================
--- /trunk/autoquest-htmlmonitor/src/main/js/autoquest-htmlmonitor.js	(revision 1020)
+++ /trunk/autoquest-htmlmonitor/src/main/js/autoquest-htmlmonitor.js	(revision 1021)
@@ -245,8 +245,4 @@
 function initEventHandling() {
     if (document.body) {
-        log("adding event handling attributes");
-        determineDestination();
-        autoquestGUIModel = addEventHandlingAndGetJSONRepresentation(document.documentElement, "");
-        
         if (document.readyState !== "complete") {
             // if the document is not loaded yet, try to add further event handling later
@@ -254,4 +250,9 @@
         }
         else if (!autoquestSendInterval) {
+            log("adding event handling attributes");
+            determineDestination();
+            autoquestGUIModel =
+                addEventHandlingAndGetJSONRepresentation(document.documentElement, "");
+            
             // recall sending data each 100 seconds to ensure, that for browser windows staying
             // open the data will be send, as well.
