diff --git a/lib/visualpatterns/NavBar.inc b/lib/visualpatterns/NavBar.inc
index e0d41fc..89cabed 100644
--- a/lib/visualpatterns/NavBar.inc
+++ b/lib/visualpatterns/NavBar.inc
@@ -259,7 +259,8 @@ class NavBar {
if ((strcmp($this->sSection,"Standard Search") == 0) || (strcmp($this->sSection,"Advanced Search") == 0)) {
$bar .= "\n ";
} else {
- $bar .= "\n";
+ $bar .= "rootUrl . "/control.php')\"/>\n";
(isset($this->iFolderID) ? $bar .= "iFolderID . "\" />\n " : $bar .= "");
(isset($this->iDocumentID) ? $bar .= "iDocumentID . "\" />\n " : $bar .= "");
(isset($this->sCategoryName) ? $bar .= "sCategoryName . "\" />\n " : $bar .= "");
@@ -288,6 +289,21 @@ class NavBar {
function getSearchValidationJavaScript() {
$sToRender = "\n\n