         var duration:Number = getStyle("openDuration");
         if (duration != 0)
         {
-	        scrollRect = new Rectangle(0, 0, unscaledWidth, 0);
-	
-	        // Make it visible
-	        visible = true;
-	        
-	        UIComponentGlobals.layoutManager.validateNow();
-	
-	        // Block all layout, responses from web service, and other background
-	        // processing until the tween finishes executing.
-	        UIComponent.suspendBackgroundProcessing();
-	
-	        popupTween = new Tween(this, [0,0], [unscaledWidth,unscaledHeight], duration);
+            scrollRect = new Rectangle(0, 0, unscaledWidth, 0);
+    
+            // Make it visible
+            visible = true;
+            
+            UIComponentGlobals.layoutManager.validateNow();
+    
+            // Block all layout, responses from web service, and other background
+            // processing until the tween finishes executing.
+            UIComponent.suspendBackgroundProcessing();
+    
+            popupTween = new Tween(this, [0,0], [unscaledWidth,unscaledHeight], duration);
         }
         else 
         {
-        	// if duration is zero, this should allow alternate 
-        	// effects specified via showEffect to work
-			UIComponentGlobals.layoutManager.validateNow();
-			visible = true;
+            // if duration is zero, this should allow alternate 
+            // effects specified via showEffect to work
+            UIComponentGlobals.layoutManager.validateNow();
+            visible = true;
         }
         
         focusManager.setFocus(this);

                {
                    supposedToLoseFocus = true;
                    sourceMenuBar.setFocus();
		            // Redispatch the event to the MenuBar
		            // and let its keyDownHandler() handle it.
                    sourceMenuBar.dispatchEvent(event);
                }
            }

            
        var limit:Number = Math.max(0, Math.min(rowCount, collection.length) - 1);

        var newIndex:Number = curIndex;
        var item:Object;
        var curItem:int = 0;
        
        do
        { 
            newIndex = newIndex + incr;
            
            if (curItem > limit)
                return;
            else
                curItem++;
            
            if (newIndex > limit)
                newIndex = 0;
            else if (newIndex < 0)
                newIndex = limit;
    
            item = listItems[newIndex][0];
            
        }
        while (item.data && (_dataDescriptor.getType(item.data) == "separator" || !_dataDescriptor.isEnabled(item.data)));

        var menuEvent:MenuEvent;

