diff --git a/lib/visualpatterns/NavBar.inc b/lib/visualpatterns/NavBar.inc
index 33846e8..22981bd 100644
--- a/lib/visualpatterns/NavBar.inc
+++ b/lib/visualpatterns/NavBar.inc
@@ -32,9 +32,24 @@ class NavBar
var $logout;
var $nwColourbar;
- function NavBar()
- {
+ /** variables used for searching */
+ var $sBrowseType;
+ var $iFolderID;
+ var $iDocumentID;
+ var $sCategoryName;
+ var $iDocTypeID;
+
+ function NavBar($sTmpBrowseType, $iTmpFolderID, $iTmpDocumentID, $sTmpCategoryName, $iTmpDocTypeID)
+ {
global $default;
+
+ $this->sBrowseType = $iTmpBrowseType;
+ $this->iFolderID = $iTmpFolderID;
+ $this->iDocumentID = $iTmpDocumentID;
+ $this->sCategoryName = $sTmpCategoryName;
+ $this->iDoctypeID = $iTmpDocTypeID;
+
+
$this->mdocs = "$default->owl_graphics_url/mdocs/norm.gif";
$this->home = "$default->owl_graphics_url/home/norm.gif";
$this->subscriptions = "$default->owl_graphics_url/subscriptions/norm.gif";
@@ -191,18 +206,22 @@ class NavBar
//bar is the actaul html creation of the nav bar
$bar= "
-
- ";
+ \n";
//set the bar as html to object
$toRender->setHtml($bar);