Index: nodes/nodemap.html
===================================================================
--- nodes/nodemap.html	(revision 8456)
+++ nodes/nodemap.html	(revision 8457)
@@ -11,5 +11,4 @@
   <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=false&amp;key=ABQIAAAAKRiFs2kXKhTkKZkE_ms9rhTdBXm62xfhQU7Dk6ZBFSzYdmSteRQWjLqZhwX8afHvGpd4N3iKql6w8g" type="text/javascript"></script>
 
-    <script src="../lib/Firebug/firebug.js"></script>
     <script src="http://openlayers.org/dev/OpenLayers.js"</script>
 
@@ -30,4 +29,13 @@
       nodeStatusImg['planned'] = 'http://www.google.com/mapfiles/kml/paddle/wht-stars-lv.png';
       nodeStatusImg['unknown'] = 'http://www.google.com/mapfiles/kml/paddle/wht-stars-lv.png';
+
+      function log(message) {
+         /* Determine whether Firebug is actually installed and activated before trying to log
+          * Taken from http://code.google.com/p/fbug/source/browse/branches/firebug1.5/lite/firebugx.js
+          */ 
+         if (window.console && console.firebug) {
+            console.log(message);
+         }
+      }
 
       function isInterlink(feature) { 
@@ -163,5 +171,5 @@
                         for (var i = 0; i < feature.cluster.length; i++) {
                           var node = feature.cluster[i];
-                          // OpenLayers.Console.log(node.attributes.styleUrl);
+                          log(node.attributes.styleUrl);
                         }
                       }
@@ -319,5 +327,5 @@
            } else {
              var nodeName = feature.attributes.name.split(' ')[1];
-             OpenLayers.Console.log(nodeName);
+             log(nodeName);
              content = "<iframe frameborder='0' height='300px' width='700px' src='http://sunny.wleiden.net/nagios/cgi-bin/status.cgi?host=" + nodeName + "&servicestatustypes=28&hoststatustypes=15&noheader=true'></iframe><br />" + "<em>Locatie: " + feature.attributes.description + "</em>";
            }
