--- ./modules/Calendar/header.php	Fri Feb  2 21:24:38 2007
+++ ./modules/Calendar/header.php.patched	Fri Feb  2 21:25:00 2007
@@ -64,7 +64,7 @@
                 <td class="small" align="left">	
 				<table border=0 cellspacing=0 cellpadding=5>
 				<tr>
-				<td style="padding-left:10px;"><a href="javascript:;" onmouseout="fninvsh(\'allMenu\');" onclick="fnvshobj(this,\'allMenu\')"><img src="'.$image_path.'btnL3AllMenu.gif" alt="'.$app_strings['LBL_ALL_MENU_ALT'].'" title="'.$app_strings['LBL_ALL_MENU_TITLE'].'" border="0"></a></td>
+				<td style="padding-left:10px;"><a href="javascript:;" onclick="fnvshobj(this,\'allMenu\')"><img src="'.$image_path.'btnL3AllMenu.gif" alt="'.$app_strings['LBL_ALL_MENU_ALT'].'" title="'.$app_strings['LBL_ALL_MENU_TITLE'].'" border="0"></a></td>
 				</tr>
 				</table>
 	</td>			
--- ./modules/Dashboard/index.php	Fri Feb  2 21:25:32 2007
+++ ./modules/Dashboard/index.php.patched	Fri Feb  2 21:25:43 2007
@@ -120,7 +120,7 @@
                 <td class="small" align="left">	
 				<table border=0 cellspacing=0 cellpadding=5>
 				<tr>
-				<td style="padding-left:10px;"><a href="javascript:;" onmouseout="fninvsh('allMenu');" onClick="fnvshobj(this,'allMenu')"><img src="<?php echo $image_path;?>btnL3AllMenu.gif" alt="<?php echo $app_strings['LBL_ALL_MENU_ALT']; ?>" title="<?php echo $app_strings['LBL_ALL_MENU_TITLE']; ?>" border="0"></a></td>
+				<td style="padding-left:10px;"><a href="javascript:;" onClick="fnvshobj(this,'allMenu')"><img src="<?php echo $image_path;?>btnL3AllMenu.gif" alt="<?php echo $app_strings['LBL_ALL_MENU_ALT']; ?>" title="<?php echo $app_strings['LBL_ALL_MENU_TITLE']; ?>" border="0"></a></td>
 				</tr>
 				</table>
 	</td>			
--- ./include/js/general.js	Thu Jan 25 20:01:49 2007
+++ ./include/js/general.js.patched	Thu Jan 25 20:47:49 2007
@@ -23,6 +23,8 @@
 	var browser_nn6=true
 
 
+var last_menu_item="";
+
 
 function getObj(n,d) {
 
@@ -1375,15 +1377,21 @@
     var maxW = tagName.style.width;
     var widthM = maxW.substring(0,maxW.length-2);
     var getVal = eval(leftSide) + eval(widthM);
-    if(getVal  > document.body.clientWidth ){
-        leftSide = eval(leftSide) - eval(widthM);
-        tagName.style.left = leftSide + 34 + 'px';
+
+    if (tagName.style.visibility == "visible"){
+        fninvsh(Lay);
+    } else {
+
+        if(getVal  > document.body.clientWidth ){
+            leftSide = eval(leftSide) - eval(widthM);
+            tagName.style.left = leftSide + 34 + 'px';
+        }
+        else
+            tagName.style.left= leftSide + 'px';
+        tagName.style.top= topSide + 'px';
+        tagName.style.display = 'block';
+        tagName.style.visibility = "visible";
     }
-    else
-        tagName.style.left= leftSide + 'px';
-    tagName.style.top= topSide + 'px';
-    tagName.style.display = 'block';
-    tagName.style.visibility = "visible";
 }
 
 function posLay(obj,Lay){
@@ -1701,10 +1709,18 @@
         tagName.style.left= leftSide + 'px';
     tagName.style.top= topSide + 28 +'px';
     tagName.style.display = 'block';
+
+    if (last_menu_item != "" && last_menu_item != Lay)
+        fnHideDrop(last_menu_item);
+    last_menu_item=Lay;
  }
 
 function fnShowDrop(obj){
 	document.getElementById(obj).style.display = 'block';
+
+    if (last_menu_item != "" && last_menu_item != obj)
+        fnHideDrop(last_menu_item);
+    last_menu_item=obj;
 }
 
 function fnHideDrop(obj){
--- ./Smarty/templates/Header.tpl	Thu Jan 25 20:11:45 2007
+++ ./Smarty/templates/Header.tpl.patched	Thu Jan 25 20:49:10 2007
@@ -59,17 +59,17 @@
 <TABLE border=0 cellspacing=0 cellpadding=0 width=100% class="hdrTabBg">
 <tr>
 	<td style="width:50px" class=small>&nbsp;</td>
-	<td class=small nowrap> 
+	<td class=small nowrap>
 		<table border=0 cellspacing=0 cellpadding=0>
 
 		<tr>
 			<td class=tabSeperator><img src="{$IMAGEPATH}/spacer.gif" width=2px height=28px></td>		
 			{foreach key=maintabs item=detail from=$HEADERS}
 				{if $maintabs ne $CATEGORY}
-				  <td class="tabUnSelected"  onmouseover="fnDropDown(this,'{$maintabs}_sub');" onmouseout="fnHideDrop('{$maintabs}_sub');" align="center" nowrap><a href="index.php?module={$detail[0]}&action=index&parenttab={$maintabs}">{$APP[$maintabs]}</a><img src="{$IMAGEPATH}/menuDnArrow.gif" border=0 style="padding-left:5px"></td>
+				  <td class="tabUnSelected"  onmouseover="fnDropDown(this,'{$maintabs}_sub');" align="center" nowrap><a href="index.php?module={$detail[0]}&action=index&parenttab={$maintabs}">{$APP[$maintabs]}</a><img src="{$IMAGEPATH}/menuDnArrow.gif" border=0 style="padding-left:5px"></td>
 				  <td class="tabSeperator"><img src="{$IMAGEPATH}/spacer.gif"></td>
 				{else}
-				  <td class="tabSelected"  onmouseover="fnDropDown(this,'{$maintabs}_sub');" onmouseout="fnHideDrop('{$maintabs}_sub');" align="center" nowrap><a href="index.php?module={$detail[0]}&action=index&parenttab={$maintabs}">{$APP[$maintabs]}</a><img src="{$IMAGEPATH}/menuDnArrow.gif" border=0 style="padding-left:5px"></td>
+				  <td class="tabSelected"  onmouseover="fnDropDown(this,'{$maintabs}_sub');" align="center" nowrap><a href="index.php?module={$detail[0]}&action=index&parenttab={$maintabs}">{$APP[$maintabs]}</a><img src="{$IMAGEPATH}/menuDnArrow.gif" border=0 style="padding-left:5px"></td>
 				  <td class="tabSeperator"><img src="{$IMAGEPATH}/spacer.gif"></td>
 				{/if}
 			{/foreach}
@@ -402,7 +402,7 @@
 {/literal}
 
 {* Quick Access Functionality *}
-<div id="allMenu" onmouseout="fninvsh('allMenu');" onMouseOver="fnvshNrm('allMenu');" style="width:550px">
+<div id="allMenu" onMouseOver="fnvshNrm('allMenu');" style="width:550px">
 	<table border=0 cellpadding="5" cellspacing="0" class="allMnuTable" >
 	<tr>
 		<td valign="top">
@@ -426,7 +426,7 @@
 
 <!-- Drop Down Menu in the Main Tab -->
 {foreach name=parenttablist key=parenttab item=details from=$QUICKACCESS}
-<div class="drop_mnu" id="{$parenttab}_sub" onmouseout="fnHideDrop('{$parenttab}_sub')" onmouseover="fnShowDrop('{$parenttab}_sub')">
+<div class="drop_mnu" id="{$parenttab}_sub" onmouseover="fnShowDrop('{$parenttab}_sub')">
 	<table width="100%" border="0" cellpadding="0" cellspacing="0">
 		{foreach name=modulelist item=modules from=$details}
 		<tr><td><a href="index.php?module={$modules.0}&action=index&parenttab={$parenttab}" class="drop_down">{$APP[$modules.1]}</a></td></tr>
--- ./Smarty/templates/HomePage.tpl	Thu Jan 25 20:50:23 2007
+++ ./Smarty/templates/HomePage.tpl.patched	Thu Jan 25 20:50:36 2007
@@ -96,7 +96,7 @@
 					<td class="small">
 							<table border=0 cellspacing=0 cellpadding=5>
 							<tr>
-							<td style="padding-left:5px;"><a href="javascript:;" onmouseout="fninvsh('allMenu');" onClick="fnvshobj(this,'allMenu')"><img src="{$IMAGE_PATH}btnL3AllMenu.gif" alt="{$APP.LBL_ALL_MENU_ALT}" title="{$APP.LBL_ALL_MENU_TITLE}" border="0"></a></td>
+							<td style="padding-left:5px;"><a href="javascript:;" onClick="fnvshobj(this,'allMenu')"><img src="{$IMAGE_PATH}btnL3AllMenu.gif" alt="{$APP.LBL_ALL_MENU_ALT}" title="{$APP.LBL_ALL_MENU_TITLE}" border="0"></a></td>
 							</tr>
 							</table>
 					</td>			
--- ./Smarty/templates/Buttons_List.tpl	Fri Feb  2 21:26:25 2007
+++ ./Smarty/templates/Buttons_List.tpl.patched	Fri Feb  2 21:26:41 2007
@@ -128,7 +128,7 @@
 			<!-- All Menu -->
 				<table border=0 cellspacing=0 cellpadding=5>
 				<tr>
-				<td style="padding-left:10px;"><a href="javascript:;" onmouseout="fninvsh('allMenu');" onClick="fnvshobj(this,'allMenu')"><img src="{$IMAGE_PATH}btnL3AllMenu.gif" alt="{$APP.LBL_ALL_MENU_ALT}" title="{$APP.LBL_ALL_MENU_TITLE}" border="0"></a></td>
+				<td style="padding-left:10px;"><a href="javascript:;" onClick="fnvshobj(this,'allMenu')"><img src="{$IMAGE_PATH}btnL3AllMenu.gif" alt="{$APP.LBL_ALL_MENU_ALT}" title="{$APP.LBL_ALL_MENU_TITLE}" border="0"></a></td>
 				</tr>
 				</table>
 		</td>			
--- ./Smarty/templates/Buttons_List1.tpl	Fri Feb  2 21:26:53 2007
+++ ./Smarty/templates/Buttons_List1.tpl.patched	Fri Feb  2 21:27:05 2007
@@ -129,7 +129,7 @@
 			<!-- All Menu -->
 				<table border=0 cellspacing=0 cellpadding=5>
 				<tr>
-				<td style="padding-left:10px;"><a href="javascript:;" onmouseout="fninvsh('allMenu');" onClick="fnvshobj(this,'allMenu')"><img src="{$IMAGE_PATH}btnL3AllMenu.gif" alt="{$APP.LBL_ALL_MENU_ALT}" title="{$APP.LBL_ALL_MENU_TITLE}" border="0"></a></td>
+				<td style="padding-left:10px;"><a href="javascript:;" onClick="fnvshobj(this,'allMenu')"><img src="{$IMAGE_PATH}btnL3AllMenu.gif" alt="{$APP.LBL_ALL_MENU_ALT}" title="{$APP.LBL_ALL_MENU_TITLE}" border="0"></a></td>
 				</tr>
 				</table>
 		</td>			
