diff --git a/src/include/functions_debugoutput.php b/src/include/functions_debugoutput.php
new file mode 100644
index 0000000..472aa67
--- /dev/null
+++ b/src/include/functions_debugoutput.php
@@ -0,0 +1,198 @@
+ www.phplogcon.org <- *
+ * ----------------------------------------------------------------- *
+ * Helperfunctions to print debug info
+ *
+ * ->
+ *
+ * All directives are explained within this file
+ *
+ * Copyright (C) 2008 Adiscon GmbH.
+ *
+ * This file is part of phpLogCon.
+ *
+ * PhpLogCon is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * PhpLogCon is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with phpLogCon. If not, see .
+ *
+ * A copy of the GPL can be found in the file "COPYING" in this
+ * distribution.
+ *********************************************************************
+*/
+
+// --- Avoid directly accessing this file!
+if ( !defined('IN_PHPLOGCON') )
+{
+ die('Hacking attempt');
+ exit;
+}
+// ---
+
+function CreateHTMLHeader()
+{
+ global $RUNMODE, $content, $gl_root_path;
+
+
+ // not needed in console mode
+ if ( $RUNMODE == RUNMODE_COMMANDLINE )
+ return;
+
+ global $currentclass, $currentmenuclass;
+ $currentclass = "line0";
+ $currentmenuclass = "cellmenu1";
+
+ print ('
+
+