diff --git a/vcm/templates/custom.js b/vcm/templates/custom.js
index 5a83da0be7d396e1633a1d2a7e7f719c0b346c65..5e3e448cc0d0cb710f23be9f97b82d29a6f9bff5 100644
--- a/vcm/templates/custom.js
+++ b/vcm/templates/custom.js
@@ -5,12 +5,14 @@
 // //   document.body.style.msTransform =   scale;       // IE 9
 // //   document.body.style.transform = scale;     // General
 $("#tour-button").hide();
+console.log("checkagent: " + checkagent() + " istouchdevice: " + is_touch_device() + " isipad:" + checkIpad());
+document.getElementById("redtext").innerHTML = "checkagent: " + checkagent() + " istouchdevice: " + is_touch_device() + " isipad:" + checkIpad();
 checkagent();
 
 // removebuildings();
-document.getElementById("redtext").innerHTML = "checkagent: " + checkagent() + " istouchdevice: " + is_touch_device() + " isipad:" + checkIpad();
 
- };
+
+};
  
 
 var showEinleitung = function(){