diff --git a/html/index.php b/html/index.php
index 0bb01ddf2..426f0df10 100755
--- a/html/index.php
+++ b/html/index.php
@@ -312,7 +312,17 @@ $('INPUT.auto-hint, TEXTAREA.auto-hint').focus(function() {
$(this).removeClass('auto-hint');
}
});
+
+\ndocument.title = '$title';\n");
+}
+?>
+