 import mx.managers.IFocusManagerComponent;
 import mx.managers.ISystemManager;
 import mx.managers.PopUpManager;
+import mx.resources.ResourceManager;
 import mx.styles.CSSStyleDeclaration;
 import mx.styles.StyleManager;
 import mx.styles.StyleProxy;

        var month:String = String(value.getMonth() + 1);
        var year:String = String(value.getFullYear());

        var mask:String;
		var maskLength:int
		var output:String = "";

        length = maskParts.length;
        for (i = 0; i < length; i++)
        {
            mask = maskParts[i].charAt(0);
			maskLength = maskParts[i].length;
			
			if (mask == "D")

					date = "0" + date;
				
				output += date;
			}
			else if (fullMask == "MMM")
			{
				output += monthNames[value.getMonth()].substr(0,3);
			}
			else if (fullMask == "MMMM")
			{	
				output += monthNames[value.getMonth()];
			}
			else if (mask == "M")
			{
