 	import org.apache.flex.events.Event;
 	import org.apache.flex.events.IEventDispatcher;
 	import org.apache.flex.utils.dbg.DOMPathUtil;
+    import org.apache.flex.utils.CSSUtils;
 	
 	/**
 	 *  The VerticalLayout class is a simple layout

			var maxWidth:Number = 0;
			// asking for contentView.width can result in infinite loop if host isn't sized already
			var w:Number = hostSizedToContent ? 0 : contentView.width;
			
			for (var i:int = 0; i < n; i++)
			{

				var left:Number = ValuesManager.valuesImpl.getValue(child, "left");
				var right:Number = ValuesManager.valuesImpl.getValue(child, "right");
				margin = ValuesManager.valuesImpl.getValue(child, "margin");
                marginLeft = ValuesManager.valuesImpl.getValue(child, "margin-left");
                marginTop = ValuesManager.valuesImpl.getValue(child, "margin-top");
                marginRight = ValuesManager.valuesImpl.getValue(child, "margin-right");
                marginBottom = ValuesManager.valuesImpl.getValue(child, "margin-bottom");
				var ml:Number = CSSUtils.getLeftValue(marginLeft, margin, w);
				var mr:Number = CSSUtils.getRightValue(marginRight, margin, w);
				var mt:Number = CSSUtils.getTopValue(marginTop, margin, h);
				var mb:Number = CSSUtils.getBottomValue(marginBottom, margin, h);
				var lastmb:Number;
				var yy:Number;
				if (i == 0)
                {
