             return index + Math.floor(Number(distance - curDistance) / Number(_defaultMajorSize + _gap));
         }
     }
-        
+
     /**
      *  Stores the <code>majorSize</code> for the specified ILayoutElement at index, 
      *  and updates the <code>minorSize</code> and <code>minMinorSize</code> properties.

    internal static const BLOCK_SHIFT:uint = 7;
    internal static const BLOCK_MASK:uint = 0x7F;
    private var blockTable:Vector.<Block> = new Vector.<Block>(0, false);
    
    public function LinearLayoutVector(majorAxis:uint = VERTICAL)
    {
        super();

package spark.layouts.supportClasses
{
import flash.geom.Rectangle;

import mx.core.ILayoutElement;
import mx.resources.IResourceManager;
import mx.resources.ResourceManager;
