                     minDistanceElement = i;
                 }
             }
-		}
-		return minDistanceElement;
-	}
-	
+        }
+        return minDistanceElement;
+    }
+    
     //--------------------------------------------------------------------------
     //
     //  Drop methods

     *
     *  @default false
     * 
     *  @see #getScrollRect
     *  @see #typicalLayoutElement
     *
     *  @langversion 3.0

     *  @param scrollRect The target's scrollRect.
     *
     *  @return The bounds of the first element that spans or is to
     *  the right of the scrollRect's right edge.
     *  
     *  @see #getElementBoundsLeftOfScrollRect()
     *  @see #getElementBoundsAboveScrollRect()
     *  @see #getElementBoundsBelowScrollRect()
     *  @see #getHorizontalScrollPositionDelta()
     *  
     *  @langversion 3.0
     *  @playerversion Flash 10
