diff --git a/ChangeLog b/ChangeLog
index cda6ad575..1002d066b 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -50,8 +50,10 @@ $Source$
libraries/display_tbl.lib.php3, libraries/transformations/*
TODO: Add predefined functions!
- * IN PROGRESS: Display a (javascript) based query window as a new frame below the left
- frame with query history [#526008]
+ * Display a (javascript) based query window as a new frame below the left
+ frame with query history [#526008]. Currently a bit experimental, works with
+ IE6 and Mozilla 1.2. Utilizes pretty basic JavaScript functions which *should*
+ work with any browser.
Files: queryframe.php3, querywindow.php3, header.inc.php3,
tbl_query_box.php3, common.lib.php3
diff --git a/config.inc.php3 b/config.inc.php3
index a7c64d391..68e054adf 100755
--- a/config.inc.php3
+++ b/config.inc.php3
@@ -377,8 +377,8 @@ $cfg['QueryFrame'] = TRUE; // displays a new frame where a link
$cfg['QueryFrameJS'] = TRUE; // whether to use JavaScript functions for opening a new window for SQL commands.
// if set to 'false', the target of the querybox is always the right frame.
$cfg['QueryFrameDebug'] = FALSE; // display JS debugging link (DEVELOPERS only)
-$cfg['QueryFrameWidth'] = 750; // Width of Query window
-$cfg['QueryFrameHeight'] = 300; // Height of Query window
+$cfg['QueryWindowWidth'] = 750; // Width of Query window
+$cfg['QueryWindowHeight'] = 300; // Height of Query window
+$cfg['BrowseMIME'] = TRUE; // Use MIME-Types (stored in column comments table) for
diff --git a/header.inc.php3 b/header.inc.php3
index 9c4a8c54f..119b8a269 100755
--- a/header.inc.php3
+++ b/header.inc.php3
@@ -232,6 +232,62 @@ var errorMsg2 = '
+
+
diff --git a/index.php3 b/index.php3
index 40dbd31a3..1888d067e 100755
--- a/index.php3
+++ b/index.php3
@@ -56,8 +56,15 @@ body {font-family: ; font-size: