<?xml version="1.0" ?>
<Falagard>

    <!--
    ***************************************************
        smartYY/StaticShared
        (Shared imagery components for static widgets)
    ***************************************************
    -->
    <WidgetLook name="smartYY/StaticShared">
        <ImagerySection name="frame">
            <FrameComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <Image type="TopLeftCorner" imageset="smartYYUI" image="StaticTopLeft" />
                <Image type="TopRightCorner" imageset="smartYYUI" image="StaticTopRight" />
                <Image type="BottomLeftCorner" imageset="smartYYUI" image="StaticBottomLeft" />
                <Image type="BottomRightCorner" imageset="smartYYUI" image="StaticBottomRight" />
                <Image type="LeftEdge" imageset="smartYYUI" image="StaticLeft" />
                <Image type="RightEdge" imageset="smartYYUI" image="StaticRight" />
                <Image type="TopEdge" imageset="smartYYUI" image="StaticTop" />
                <Image type="BottomEdge" imageset="smartYYUI" image="StaticBottom" />
                <ColourRectProperty name="FrameColours" />
            </FrameComponent>
        </ImagerySection>
        <ImagerySection name="background">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="StaticLeft" dimension="Width" /></Dim>
                    <Dim type="TopEdge" ><ImageDim imageset="smartYYUI" image="StaticTop" dimension="Height" /></Dim>
                    <Dim type="RightEdge" >
                        <UnifiedDim scale="1" type="RightEdge"> 
                            <DimOperator op="Subtract">
                                <ImageDim imageset="smartYYUI" image="StaticRight" dimension="Width" />
                            </DimOperator> 
                        </UnifiedDim>
                    </Dim>
                    <Dim type="BottomEdge" >
                        <UnifiedDim scale="1" type="BottomEdge"> <DimOperator op="Subtract">
                                <ImageDim imageset="smartYYUI" image="StaticBottom" dimension="Height" />
                        </DimOperator> </UnifiedDim>
                    </Dim>
                </Area>
                <Image imageset="smartYYUI" image="StaticBackdrop" />
                <!--<ColourRectProperty name="BackgroundColours" />-->
                <Colours topLeft="FFFFFFFF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFFFFFFF" />
                <VertFormat type="Stretched" />
                <HorzFormat type="Stretched" />
            </ImageryComponent>
        </ImagerySection>
        <ImagerySection name="background_noframe">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
                    <Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
                    <Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="StaticBackdrop" />
                <!--<ColourRectProperty name="BackgroundColours" />-->
                <Colours topLeft="FFFFFFFF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFFFFFFF" />
                <VertFormat type="Stretched" />
                <HorzFormat type="Stretched" />
            </ImageryComponent>
        </ImagerySection>
    </WidgetLook>

    <!--
    ***************************************************
        smartYY/StaticText
    ***************************************************
    -->
    <WidgetLook name="smartYY/StaticText">
	<PropertyDefinition name="FrameColours" initialValue="tl:FFFFFFFF tr:FFFFFFFF bl:FFFFFFFF br:FFFFFFFF" redrawOnWrite="true" />
	<PropertyDefinition name="BackgroundColours" initialValue="tl:FFFFFFFF tr:FFFFFFFF bl:FFFFFFFF br:FFFFFFFF" redrawOnWrite="true" />
        <Property name="FrameEnabled" value="True" />
        <Property name="BackgroundEnabled" value="True" />
        <NamedArea name="WithFrameTextRenderArea">
            <Area>
                <Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="StaticLeft" dimension="Width" /></Dim>
                <Dim type="TopEdge" ><ImageDim imageset="smartYYUI" image="StaticTop" dimension="Height" /></Dim>
                <Dim type="RightEdge" >
                    <UnifiedDim scale="1" type="RightEdge">
                        <DimOperator op="Subtract"> <ImageDim imageset="smartYYUI" image="StaticRight" dimension="Width" /> </DimOperator>
                    </UnifiedDim>
                </Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract"> <ImageDim imageset="smartYYUI" image="StaticBottom" dimension="Height" /> </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <NamedArea name="WithFrameTextRenderAreaHScroll">
            <Area>
                <Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="StaticLeft" dimension="Width" /></Dim>
                <Dim type="TopEdge" ><ImageDim imageset="smartYYUI" image="StaticTop" dimension="Height" /></Dim>
                <Dim type="RightEdge" >
                    <UnifiedDim scale="1" type="RightEdge">
                        <DimOperator op="Subtract">  <ImageDim imageset="smartYYUI" image="StaticRight" dimension="Width" /> </DimOperator>
                    </UnifiedDim>
                </Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract"> <WidgetDim widget="__auto_hscrollbar__" dimension="Height" /> </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <NamedArea name="WithFrameTextRenderAreaVScroll">
            <Area>
                <Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="StaticLeft" dimension="Width" /></Dim>
                <Dim type="TopEdge" ><ImageDim imageset="smartYYUI" image="StaticTop" dimension="Height" /></Dim>
                <Dim type="RightEdge" >
                    <UnifiedDim scale="1" type="RightEdge">
                        <DimOperator op="Subtract"> <WidgetDim widget="__auto_vscrollbar__" dimension="Width" /> </DimOperator>
                    </UnifiedDim>
                </Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract"> <ImageDim imageset="smartYYUI" image="StaticBottom" dimension="Height" /> </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <NamedArea name="WithFrameTextRenderAreaHVScroll">
            <Area>
                <Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="StaticLeft" dimension="Width" /></Dim>
                <Dim type="TopEdge" ><ImageDim imageset="smartYYUI" image="StaticTop" dimension="Height" /></Dim>
                <Dim type="RightEdge" >
                    <UnifiedDim scale="1" type="RightEdge">
                        <DimOperator op="Subtract">  <WidgetDim widget="__auto_vscrollbar__" dimension="Width" /> </DimOperator>
                    </UnifiedDim>
                </Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract">  <WidgetDim widget="__auto_hscrollbar__" dimension="Height" /> </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <NamedArea name="NoFrameTextRenderArea">
            <Area>
                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="RightEdge" ><UnifiedDim scale="1" type="RightEdge" /></Dim>
                <Dim type="BottomEdge" ><UnifiedDim scale="1" type="BottomEdge" /></Dim>
            </Area>
        </NamedArea>
        <NamedArea name="NoFrameTextRenderAreaHScroll">
            <Area>
                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="RightEdge" ><UnifiedDim scale="1" type="RightEdge" /></Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract"> <WidgetDim widget="__auto_hscrollbar__" dimension="Height" /> </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <NamedArea name="NoFrameTextRenderAreaVScroll">
            <Area>
                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="RightEdge" >
                    <UnifiedDim scale="1" type="RightEdge">
                        <DimOperator op="Subtract">  <WidgetDim widget="__auto_vscrollbar__" dimension="Width" /> </DimOperator>
                    </UnifiedDim>
                </Dim>
                <Dim type="BottomEdge" ><UnifiedDim scale="1" type="BottomEdge" /></Dim>
            </Area>
        </NamedArea>
        <NamedArea name="NoFrameTextRenderAreaHVScroll">
            <Area>
                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="RightEdge" >
                    <UnifiedDim scale="1" type="RightEdge">
                        <DimOperator op="Subtract"> <WidgetDim widget="__auto_vscrollbar__" dimension="Width" /> </DimOperator>
                    </UnifiedDim>
                </Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract"> <WidgetDim widget="__auto_hscrollbar__" dimension="Height" />  </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <Child  type="smartYY/HorizontalScrollbar" nameSuffix="__auto_hscrollbar__">
            <Area>
                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="Width" ><UnifiedDim scale="1" offset="-12" type="Width" /></Dim>
                <Dim type="Height" ><AbsoluteDim value="12" /></Dim>
            </Area>
            <VertAlignment type="BottomAligned" />
        </Child>
        <Child  type="smartYY/VerticalScrollbar" nameSuffix="__auto_vscrollbar__">
            <Area>
                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="Width" ><AbsoluteDim value="12" /></Dim>
                <Dim type="Height" ><UnifiedDim scale="1" offset="-12" type="Height" /></Dim>
            </Area>
            <HorzAlignment type="RightAligned" />
        </Child>
        <StateImagery name="Enabled" />
        <StateImagery name="Disabled" />
        <StateImagery name="EnabledFrame">
            <Layer> <Section look="smartYY/StaticShared" section="frame" /> </Layer>
        </StateImagery>
        <StateImagery name="DisabledFrame">
            <Layer>  <Section look="smartYY/StaticShared" section="frame" /> </Layer>
        </StateImagery>
        <StateImagery name="WithFrameEnabledBackground">
            <Layer>  <Section look="smartYY/StaticShared" section="background" /> </Layer>
        </StateImagery>
        <StateImagery name="WithFrameDisabledBackground">
            <Layer>  <Section look="smartYY/StaticShared" section="background" />  </Layer>
        </StateImagery>
        <StateImagery name="NoFrameEnabledBackground">
            <Layer> <Section look="smartYY/StaticShared" section="background_noframe" /> </Layer>
        </StateImagery>
        <StateImagery name="NoFrameDisabledBackground">
            <Layer> <Section look="smartYY/StaticShared" section="background_noframe" /> </Layer>
        </StateImagery>
    </WidgetLook>
	
	<!--
    ***************************************************
        smartYY/ShadowText
    ***************************************************
    -->
  <WidgetLook name="smartYY/ShadowText">
    <PropertyDefinition name="TextColours" initialValue="FFBBBBBB" redrawOnWrite="true"/>
    <PropertyDefinition name="HorzFormatting" initialValue="LeftAligned" redrawOnWrite="true"/>
    <PropertyDefinition name="VertFormatting" initialValue="TopAligned" redrawOnWrite="true"/>
    <Property name="MousePassThroughEnabled" value="True"/>
    <ImagerySection name="text">
      <TextComponent>
        <Area>
          <Dim type="LeftEdge" >
            <AbsoluteDim value="-1" />
          </Dim>
          <Dim type="TopEdge" >
            <AbsoluteDim value="-1" />
          </Dim>
          <Dim type="Width" >
            <UnifiedDim scale="1" type="Width" />
          </Dim>
          <Dim type="Height" >
            <UnifiedDim scale="1" type="Height" />
          </Dim>
        </Area>
        <Colour colour="9F000000"/>
        <VertFormatProperty name="VertFormatting"/>
        <HorzFormatProperty name="HorzFormatting"/>
      </TextComponent>
      <TextComponent>
        <Area>
          <Dim type="LeftEdge" >
            <AbsoluteDim value="-1" />
          </Dim>
          <Dim type="TopEdge" >
            <AbsoluteDim value="1" />
          </Dim>
          <Dim type="Width" >
            <UnifiedDim scale="1" type="Width" />
          </Dim>
          <Dim type="Height" >
            <UnifiedDim scale="1" type="Height" />
          </Dim>
        </Area>
        <Colour colour="9F000000"/>
        <VertFormatProperty name="VertFormatting"/>
        <HorzFormatProperty name="HorzFormatting"/>
      </TextComponent>
      <TextComponent>
        <Area>
          <Dim type="LeftEdge" >
            <AbsoluteDim value="1" />
          </Dim>
          <Dim type="TopEdge" >
            <AbsoluteDim value="-1" />
          </Dim>
          <Dim type="Width" >
            <UnifiedDim scale="1" type="Width" />
          </Dim>
          <Dim type="Height" >
            <UnifiedDim scale="1" type="Height" />
          </Dim>
        </Area>
        <Colour colour="9F000000"/>
        <VertFormatProperty name="VertFormatting"/>
        <HorzFormatProperty name="HorzFormatting"/>
      </TextComponent>
      <TextComponent>
        <Area>
          <Dim type="LeftEdge" >
            <AbsoluteDim value="1" />
          </Dim>
          <Dim type="TopEdge" >
            <AbsoluteDim value="1" />
          </Dim>
          <Dim type="Width" >
            <UnifiedDim scale="1" type="Width" />
          </Dim>
          <Dim type="Height" >
            <UnifiedDim scale="1" type="Height" />
          </Dim>
        </Area>
        <Colour colour="9F000000"/>
        <VertFormatProperty name="VertFormatting"/>
        <HorzFormatProperty name="HorzFormatting"/>
      </TextComponent>
      <TextComponent>
        <Area>
          <Dim type="LeftEdge" >
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge" >
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="Width" >
            <UnifiedDim scale="1" type="Width" />
          </Dim>
          <Dim type="Height" >
            <UnifiedDim scale="1" type="Height" />
          </Dim>
        </Area>
        <ColourProperty name="TextColours"/>
        <VertFormatProperty name="VertFormatting"/>
        <HorzFormatProperty name="HorzFormatting"/>
      </TextComponent>
    </ImagerySection>
    <StateImagery name="Enabled" >
      <Layer>
        <Section section="text"/>
      </Layer>
    </StateImagery>
    <StateImagery name="Disabled" >
      <Layer>
        <Section section="text">
          <Colour colour="FF7F7F7F"/>
        </Section>
      </Layer>
    </StateImagery>
  </WidgetLook>
  
  <!--
    ***************************************************
        smartYY/IMEWindow
    ***************************************************
    -->
  <WidgetLook name="smartYY/IMEWindow">
    <PropertyDefinition name="TextColours" initialValue="FFFFFFFF" redrawOnWrite="true"/>
    <PropertyDefinition name="HorzFormatting" initialValue="LeftAligned" redrawOnWrite="true"/>
    <PropertyDefinition name="VertFormatting" initialValue="TopAligned" redrawOnWrite="true"/>
    <Property name="MousePassThroughEnabled" value="True"/>
    <ImagerySection name="text">
      <ImageryComponent>
        <Area>
            <Dim type="LeftEdge"> <AbsoluteDim value="0" /> </Dim>
            <Dim type="TopEdge"> <AbsoluteDim value="0" /> </Dim>
            <Dim type="RightEdge"> <UnifiedDim scale="1" type="RightEdge" /> </Dim>
            <Dim type="BottomEdge"> <UnifiedDim scale="1" type="BottomEdge" /> </Dim>
        </Area>
        <Image type="TopLeftCorner" imageset="smartYYUI" image="TooltipTopLeft" />
        <Image type="TopRightCorner" imageset="smartYYUI" image="TooltipTopRight" />
        <Image type="BottomLeftCorner" imageset="smartYYUI" image="TooltipBottomLeft" />
        <Image type="BottomRightCorner" imageset="smartYYUI" image="TooltipBottomRight" />
        <Image type="LeftEdge" imageset="smartYYUI" image="TooltipLeftEdge" />
        <Image type="TopEdge" imageset="smartYYUI" image="TooltipTopEdge" />
        <Image type="RightEdge" imageset="smartYYUI" image="TooltipRightEdge" />
        <Image type="BottomEdge" imageset="smartYYUI" image="TooltipBottomEdge" />
        <Image type="Background" imageset="smartYYUI" image="TooltipMiddle" />
      </ImageryComponent>
      <TextComponent>
        <Area>
          <Dim type="LeftEdge" >
            <AbsoluteDim value="-1" />
          </Dim>
          <Dim type="TopEdge" >
            <AbsoluteDim value="-1" />
          </Dim>
          <Dim type="Width" >
            <UnifiedDim scale="1" type="Width" />
          </Dim>
          <Dim type="Height" >
            <UnifiedDim scale="1" type="Height" />
          </Dim>
        </Area>
        <Colour colour="9F000000"/>
        <VertFormatProperty name="VertFormatting"/>
        <HorzFormatProperty name="HorzFormatting"/>
      </TextComponent>
      <TextComponent>
        <Area>
          <Dim type="LeftEdge" >
            <AbsoluteDim value="-1" />
          </Dim>
          <Dim type="TopEdge" >
            <AbsoluteDim value="1" />
          </Dim>
          <Dim type="Width" >
            <UnifiedDim scale="1" type="Width" />
          </Dim>
          <Dim type="Height" >
            <UnifiedDim scale="1" type="Height" />
          </Dim>
        </Area>
        <Colour colour="9F000000"/>
        <VertFormatProperty name="VertFormatting"/>
        <HorzFormatProperty name="HorzFormatting"/>
      </TextComponent>
      <TextComponent>
        <Area>
          <Dim type="LeftEdge" >
            <AbsoluteDim value="1" />
          </Dim>
          <Dim type="TopEdge" >
            <AbsoluteDim value="-1" />
          </Dim>
          <Dim type="Width" >
            <UnifiedDim scale="1" type="Width" />
          </Dim>
          <Dim type="Height" >
            <UnifiedDim scale="1" type="Height" />
          </Dim>
        </Area>
        <Colour colour="9F000000"/>
        <VertFormatProperty name="VertFormatting"/>
        <HorzFormatProperty name="HorzFormatting"/>
      </TextComponent>
      <TextComponent>
        <Area>
          <Dim type="LeftEdge" >
            <AbsoluteDim value="1" />
          </Dim>
          <Dim type="TopEdge" >
            <AbsoluteDim value="1" />
          </Dim>
          <Dim type="Width" >
            <UnifiedDim scale="1" type="Width" />
          </Dim>
          <Dim type="Height" >
            <UnifiedDim scale="1" type="Height" />
          </Dim>
        </Area>
        <Colour colour="9F000000"/>
        <VertFormatProperty name="VertFormatting"/>
        <HorzFormatProperty name="HorzFormatting"/>
      </TextComponent>
      <TextComponent>
        <Area>
          <Dim type="LeftEdge" >
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge" >
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="Width" >
            <UnifiedDim scale="1" type="Width" />
          </Dim>
          <Dim type="Height" >
            <UnifiedDim scale="1" type="Height" />
          </Dim>
        </Area>
        <ColourProperty name="TextColours"/>
        <VertFormatProperty name="VertFormatting"/>
        <HorzFormatProperty name="HorzFormatting"/>
      </TextComponent>
    </ImagerySection>
    <StateImagery name="Enabled" >
      <Layer>
        <Section section="text"/>
      </Layer>
    </StateImagery>
    <StateImagery name="Disabled" >
      <Layer>
        <Section section="text">
          <Colour colour="FF7F7F7F"/>
        </Section>
      </Layer>
    </StateImagery>
  </WidgetLook>

<!--
    ***************************************************
        smartYY/StaticImage
    ***************************************************
    -->
    <WidgetLook name="smartYY/StaticImage">
    <PropertyDefinition name="ImageColours" initialValue="tl:FFFFFFFF tr:FFFFFFFF bl:FFFFFFFF br:FFFFFFFF" redrawOnWrite="true" />
    <PropertyDefinition name="FrameColours" initialValue="tl:FFFFFFFF tr:FFFFFFFF bl:FFFFFFFF br:FFFFFFFF" redrawOnWrite="true" />
    <PropertyDefinition name="BackgroundColours" initialValue="tl:FFFFFFFF tr:FFFFFFFF bl:FFFFFFFF br:FFFFFFFF" redrawOnWrite="true" />
    <PropertyDefinition name="VertFormatting" initialValue="Stretched" redrawOnWrite="true" />
    <PropertyDefinition name="HorzFormatting" initialValue="Stretched" redrawOnWrite="true" />
    <Property name="BackgroundEnabled" value="True" />
    <Property name="FrameEnabled" value="True" />
    <Property name="NonClient" value="True" />
    <ImagerySection name="image_withframe"> <ImageryComponent>
    <Area>
        <Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="StaticLeft" dimension="Width" /></Dim>
        <Dim type="TopEdge" ><ImageDim imageset="smartYYUI" image="StaticTop" dimension="Height" /></Dim>
        <Dim type="RightEdge" >
            <UnifiedDim scale="1" type="RightEdge"><DimOperator op="Subtract">
                    <ImageDim imageset="smartYYUI" image="StaticRight" dimension="Width" />
            </DimOperator></UnifiedDim>
        </Dim>
        <Dim type="BottomEdge" >
            <UnifiedDim scale="1" type="BottomEdge">  <DimOperator op="Subtract">
                    <ImageDim imageset="smartYYUI" image="StaticBottom" dimension="Height" />
            </DimOperator> </UnifiedDim>
        </Dim>
    </Area>
        <ImageProperty name="Image" />
        <ColourRectProperty name="ImageColours" />
        <VertFormatProperty name="VertFormatting" />
        <HorzFormatProperty name="HorzFormatting" />
        </ImageryComponent> </ImagerySection>
        <ImagerySection name="image_noframe"> <ImageryComponent>
    <Area>
        <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
        <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
        <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
        <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
    </Area>
    <ImageProperty name="Image" />
    <ColourRectProperty name="ImageColours" />
    <VertFormatProperty name="VertFormatting" />
    <HorzFormatProperty name="HorzFormatting" />
        </ImageryComponent> </ImagerySection>
        <StateImagery name="Enabled" />
        <StateImagery name="Disabled" />
        <StateImagery name="EnabledFrame">
            <Layer> <Section look="smartYY/StaticShared" section="frame" /> </Layer>
        </StateImagery>
        <StateImagery name="DisabledFrame">
            <Layer> <Section look="smartYY/StaticShared" section="frame" /> </Layer>
        </StateImagery>
        <StateImagery name="WithFrameEnabledBackground">
            <Layer> <Section look="smartYY/StaticShared" section="background" /> </Layer>
        </StateImagery>
        <StateImagery name="WithFrameDisabledBackground">
            <Layer> <Section look="smartYY/StaticShared" section="background" /> </Layer>
        </StateImagery>
        <StateImagery name="NoFrameEnabledBackground">
            <Layer> <Section look="smartYY/StaticShared" section="background_noframe" /> </Layer>
        </StateImagery>
        <StateImagery name="NoFrameDisabledBackground">
            <Layer> <Section look="smartYY/StaticShared" section="background_noframe" /> </Layer>
        </StateImagery>
        <StateImagery name="WithFrameImage">
            <Layer> <Section section="image_withframe" /> </Layer>
        </StateImagery>
        <StateImagery name="NoFrameImage">
            <Layer> <Section section="image_noframe" /> </Layer>
        </StateImagery>
    </WidgetLook>

<!--
    ***************************************************
        smartYY/Edit_BG
    ***************************************************
    -->
  <WidgetLook name="smartYY/Edit_BG">
    <ImagerySection name="image">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge" >
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge" >
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="Width" >
            <UnifiedDim scale="1.0" type="Width" />
          </Dim>
          <Dim type="Height" >
            <UnifiedDim scale="1.0" type="Height" />
          </Dim>
        </Area>
        <Image type="LeftEdge" imageset="smartYYUI" image="edit_l"/>
        <Image type="Background" imageset="smartYYUI" image="edit_m"/>
        <Image type="RightEdge" imageset="smartYYUI" image="edit_r"/>
      </FrameComponent>
    </ImagerySection>
    <StateImagery name="Enabled" >
      <Layer>
        <Section section="image"/>
      </Layer>
    </StateImagery>
    <StateImagery name="Disabled" >
      <Layer>
        <Section section="image"/>
      </Layer>
    </StateImagery>
  </WidgetLook>

    <!--
    ***************************************************
        smartYY/NormalWnd
    ***************************************************
    -->
    <WidgetLook name="smartYY/NormalWnd">	
		<PropertyDefinition name="ImageColours" initialValue="tl:FFFFFFFF tr:FFFFFFFF bl:FFFFFFFF br:FFFFFFFF" redrawOnWrite="true" />
		<PropertyDefinition name="FrameColours" initialValue="tl:FFFFFFFF tr:FFFFFFFF bl:FFFFFFFF br:FFFFFFFF" redrawOnWrite="true" />
		<PropertyDefinition name="BackgroundColours" initialValue="tl:FFFFFFFF tr:FFFFFFFF bl:FFFFFFFF br:FFFFFFFF" redrawOnWrite="true" />
        <PropertyDefinition name="VertFormatting" initialValue="Stretched" redrawOnWrite="true" />
        <PropertyDefinition name="HorzFormatting" initialValue="Stretched" redrawOnWrite="true" />
        <Property name="BackgroundEnabled" value="True" />
        <Property name="FrameEnabled" value="True" />
        <ImagerySection name="image_withframe">
		<ImageryComponent>
    			<Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
    			<ImageProperty name="Image" />
    			<ColourRectProperty name="ImageColours" />
    			<VertFormatProperty name="VertFormatting" />
    			<HorzFormatProperty name="HorzFormatting" />
    		</ImageryComponent> 
    	</ImagerySection>
        <ImagerySection name="image_noframe">
    		<ImageryComponent>
    			<Area>
    				<Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
    				<Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
    				<Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
    				<Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
    			</Area>
    			<ImageProperty name="Image" />
    			<ColourRectProperty name="ImageColours" />
    			<VertFormatProperty name="VertFormatting" />
    			<HorzFormatProperty name="HorzFormatting" />
    		</ImageryComponent> 
    	</ImagerySection>
        <StateImagery name="Enabled" />
        <StateImagery name="Disabled" />
        <StateImagery name="EnabledFrame">
		<Layer> <Section look="smartYY/StaticShared" section="frame" /> </Layer>
        </StateImagery>
        <StateImagery name="DisabledFrame">
		<Layer> <Section look="smartYY/StaticShared" section="frame" /> </Layer>
        </StateImagery>
        <StateImagery name="WithFrameEnabledBackground">
		<Layer> <Section look="smartYY/StaticShared" section="background" /> </Layer>
        </StateImagery>
        <StateImagery name="WithFrameDisabledBackground">
		<Layer> <Section look="smartYY/StaticShared" section="background" /> </Layer>
        </StateImagery>
        <StateImagery name="NoFrameEnabledBackground">
		<Layer> <Section look="smartYY/StaticShared" section="background_noframe" /> </Layer>
        </StateImagery>
        <StateImagery name="NoFrameDisabledBackground">
		<Layer> <Section look="smartYY/StaticShared" section="background_noframe" /> </Layer>
        </StateImagery>
	
        <StateImagery name="WithFrameImage">
		<Layer> <Section section="image_withframe" /> </Layer>
        </StateImagery>
        <StateImagery name="NoFrameImage">
		<Layer> <Section section="image_noframe" /> </Layer>
        </StateImagery>	
    </WidgetLook>


    <!--
    ***************************************************
        smartYY/Titlebar
    ***************************************************
    -->
    <WidgetLook name="smartYY/Titlebar">
        <PropertyDefinition name="CaptionColour" initialValue="FF438AD2" redrawOnWrite="true" />
        <Property name="NonClient" value="True" />
        <ImagerySection name="main">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1.0" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1.0" type="Height" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="NewTitlebarLeft" />
                <VertFormat type="Stretched" />
            </ImageryComponent>
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="RightEdge" >
                        <UnifiedDim scale="1" type="RightEdge">
                            <DimOperator op="Subtract">
                                <ImageDim imageset="smartYYUI" image="SysAreaRight" dimension="Width">
                                    <DimOperator op="Add">
                                        <ImageDim imageset="smartYYUI" image="SysAreaMiddle" dimension="Width" />
                                    </DimOperator>
                                </ImageDim>
                            </DimOperator>
                        </UnifiedDim>
                    </Dim>
                    <Dim type="Height" ><UnifiedDim scale="1.0" type="Height" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="NewTitlebarRight" />
                <VertFormat type="Stretched" />
                <HorzFormat type="RightAligned" />
            </ImageryComponent>
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="RightEdge" >
                        <UnifiedDim scale="1" type="RightEdge">
                            <DimOperator op="Subtract">
                                <ImageDim imageset="smartYYUI" image="SysAreaRight" dimension="Width" />
                            </DimOperator>
                        </UnifiedDim>
                    </Dim>
                    <Dim type="Height" ><UnifiedDim scale="1.0" type="Height" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="SysAreaMiddle" />
                <VertFormat type="Stretched" />
                <HorzFormat type="RightAligned" />
            </ImageryComponent>
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1.0" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1.0" type="Height" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="SysAreaRight" />
                <VertFormat type="Stretched" />
                <HorzFormat type="RightAligned" />
            </ImageryComponent>
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="NewTitlebarLeft" dimension="Width" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="RightEdge" >
                        <UnifiedDim scale="1" type="RightEdge">
                            <DimOperator op="Subtract">
                                <ImageDim imageset="smartYYUI" image="SysAreaRight" dimension="Width">
                                    <DimOperator op="Add">
                                        <ImageDim imageset="smartYYUI" image="SysAreaMiddle" dimension="Width">
                                            <DimOperator op="Add"> <ImageDim imageset="smartYYUI" image="NewTitlebarRight" dimension="Width" /> </DimOperator>
                                        </ImageDim>
                                    </DimOperator>
                                </ImageDim>
                            </DimOperator>
                        </UnifiedDim>
                    </Dim>
                    <Dim type="Height" ><UnifiedDim scale="1.0" type="Height" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="NewTitlebarMiddle" />
                <VertFormat type="Stretched" />
                <HorzFormat type="Stretched" />
            </ImageryComponent>
        </ImagerySection>
        <ImagerySection name="caption">
            <TextComponent>
                <Area>
                    <!--
                    <Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="NewTitlebarLeft" dimension="Width" /></Dim>
					-->
					<Dim type="LeftEdge" ><AbsoluteDim value="32" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="2" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1" offset="-100" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <ColourProperty name="CaptionColour" />
                <VertFormat type="CentreAligned" />
            </TextComponent>
        </ImagerySection>
        <StateImagery name="Active">
            <Layer>
                <Section section="main" />
                <Section section="caption" />
            </Layer>
        </StateImagery>
        <StateImagery name="Inactive">
            <Layer>
                <Section section="main" />
                <Section section="caption" />
            </Layer>
        </StateImagery>
        <StateImagery name="Disabled">
            <Layer>
                <Section section="main">
                    <!-- <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" /> -->
                </Section>
                <Section section="caption">
                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
                </Section>
            </Layer>
        </StateImagery>
    </WidgetLook>

    <!--
    ***************************************************
        smartYY/SystemButton
    ***************************************************
    -->
    <WidgetLook name="smartYY/SystemButton">
        <PropertyDefinition name="NormalImage" initialValue="WindowCloseNormal" redrawOnWrite="true" />
        <PropertyDefinition name="HoverImage" initialValue="WindowCloseHover" redrawOnWrite="true" />
        <PropertyDefinition name="PushedImage" initialValue="WindowClosePressed" redrawOnWrite="true" />
        <Property name="NonClient" value="True" />
        <Property name="WantsMultiClickEvents" value="False" />
        <Property name="Tooltip" value="关闭" />
        <ImagerySection name="normal">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge">  <AbsoluteDim value="0" /> </Dim>
                    <Dim type="TopEdge">   <AbsoluteDim value="0" /> </Dim>
                    <Dim type="RightEdge"> <UnifiedDim scale="1" type="RightEdge" /></Dim>
                    <Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
                </Area>
                <ImageProperty name="NormalImage" />
                <VertFormat type="Stretched" />
                <HorzFormat type="Stretched" />
            </ImageryComponent>
        </ImagerySection>
        <ImagerySection name="hover">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge">     <AbsoluteDim value="0" /> </Dim>
                    <Dim type="TopEdge">      <AbsoluteDim value="0" /> </Dim>
                    <Dim type="RightEdge">    <UnifiedDim scale="1" type="RightEdge" /> </Dim>
                    <Dim type="BottomEdge">   <UnifiedDim scale="1" type="BottomEdge" /> </Dim>
                </Area>
                <ImageProperty name="HoverImage" />
                <VertFormat type="Stretched" />
                <HorzFormat type="Stretched" />
            </ImageryComponent>
        </ImagerySection>
        <ImagerySection name="pushed">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge">   <AbsoluteDim value="0" /> </Dim>
                    <Dim type="TopEdge">    <AbsoluteDim value="0" /> </Dim>
                    <Dim type="RightEdge">  <UnifiedDim scale="1" type="RightEdge" />  </Dim>
                    <Dim type="BottomEdge"> <UnifiedDim scale="1" type="BottomEdge" /> </Dim>
                </Area>
                <ImageProperty name="PushedImage" />
                <VertFormat type="Stretched" />
                <HorzFormat type="Stretched" />
            </ImageryComponent>
        </ImagerySection>
        <StateImagery name="Normal">
            <Layer> <Section section="normal" /> </Layer>
        </StateImagery>
        <StateImagery name="Hover">
            <Layer> <Section section="hover" />  </Layer>
        </StateImagery>
        <StateImagery name="Pushed">
            <Layer> <Section section="pushed" /> </Layer>
        </StateImagery>
        <StateImagery name="Disabled">
            <Layer>
                <Section section="normal">
                    <Colours topLeft="FFDFDFDF" topRight="FFDFDFDF" bottomLeft="FFDFDFDF" bottomRight="FFDFDFDF" />
                </Section>
            </Layer>
        </StateImagery>
    </WidgetLook>


<!--
    ***************************************************
        smartYY/DragableImage<Must be put in FrameWindow>
    ***************************************************
  -->  
    <WidgetLook name="smartYY/DragableImage">
	<PropertyDefinition name="ImageColours" initialValue="tl:FFFFFFFF tr:FFFFFFFF bl:FFFFFFFF br:FFFFFFFF" redrawOnWrite="true" />
	<PropertyDefinition name="FrameColours" initialValue="tl:FFFFFFFF tr:FFFFFFFF bl:FFFFFFFF br:FFFFFFFF" redrawOnWrite="true" />
	<PropertyDefinition name="BackgroundColours" initialValue="tl:FFFFFFFF tr:FFFFFFFF bl:FFFFFFFF br:FFFFFFFF" redrawOnWrite="true" />
        <PropertyDefinition name="VertFormatting" initialValue="Stretched" redrawOnWrite="true" />
        <PropertyDefinition name="HorzFormatting" initialValue="Stretched" redrawOnWrite="true" />
        <Property name="BackgroundEnabled" value="True" />
        <Property name="FrameEnabled" value="True" />
        <ImagerySection name="image_withframe">
            <ImageryComponent>
                <Area>
			<Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="StaticLeft" dimension="Width" /></Dim>
			<Dim type="TopEdge" ><ImageDim imageset="smartYYUI" image="StaticTop" dimension="Height" /></Dim>
			<Dim type="RightEdge" >
				<UnifiedDim scale="1" type="RightEdge"><DimOperator op="Subtract">
						<ImageDim imageset="smartYYUI" image="StaticRight" dimension="Width" />
				</DimOperator></UnifiedDim>
			</Dim>
			<Dim type="BottomEdge" >
				<UnifiedDim scale="1" type="BottomEdge"><DimOperator op="Subtract">
						<ImageDim imageset="smartYYUI" image="StaticBottom" dimension="Height" />
				</DimOperator></UnifiedDim>
			</Dim>
		</Area>
                <ImageProperty name="Image" />
                <ColourRectProperty name="ImageColours" />
                <VertFormatProperty name="VertFormatting" />
                <HorzFormatProperty name="HorzFormatting" />
            </ImageryComponent>
        </ImagerySection>
        <ImagerySection name="image_noframe">
            <ImageryComponent>
                <Area>
			<Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
			<Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
			<Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
			<Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
		</Area>
                <ImageProperty name="Image" />
                <ColourRectProperty name="ImageColours" />
                <VertFormatProperty name="VertFormatting" />
                <HorzFormatProperty name="HorzFormatting" />
            </ImageryComponent>
        </ImagerySection>
        <StateImagery name="Enabled" />
        <StateImagery name="Disabled" />
        <StateImagery name="EnabledFrame">
            <Layer>  <Section look="smartYY/StaticShared" section="frame" />  </Layer>
        </StateImagery>
        <StateImagery name="DisabledFrame">
            <Layer> <Section look="smartYY/StaticShared" section="frame" />  </Layer>
        </StateImagery>
        <StateImagery name="WithFrameEnabledBackground">
            <Layer> <Section look="smartYY/StaticShared" section="background" /> </Layer>
        </StateImagery>
        <StateImagery name="WithFrameDisabledBackground">
            <Layer> <Section look="smartYY/StaticShared" section="background" /> </Layer>
        </StateImagery>
        <StateImagery name="NoFrameEnabledBackground">
            <Layer> <Section look="smartYY/StaticShared" section="background_noframe" /> </Layer>
        </StateImagery>
        <StateImagery name="NoFrameDisabledBackground">
            <Layer> <Section look="smartYY/StaticShared" section="background_noframe" /> </Layer>
        </StateImagery>
        <StateImagery name="WithFrameImage">
            <Layer> <Section section="image_withframe" /> </Layer>
        </StateImagery>
        <StateImagery name="NoFrameImage">
            <Layer> <Section section="image_noframe" /> </Layer>
        </StateImagery>
    </WidgetLook>


 
	<!--
    ***************************************************
        smartYY/FrameWindow
    ***************************************************
    -->
    <WidgetLook name="smartYY/FrameWindow">
        <PropertyDefinition name="ClientAreaColour" initialValue="FFFFFFFF" redrawOnWrite="true" />
        <PropertyLinkDefinition name="CaptionColour" widget="__auto_titlebar__" targetProperty="CaptionColour" initialValue="FF438AD2" />
        <PropertyLinkDefinition name="TitlebarFont" widget="__auto_titlebar__" targetProperty="Font" />
        <Property name="NSSizingCursorImage" value="set:smartYYUI image:MouseNoSoCursor" />
        <Property name="EWSizingCursorImage" value="set:smartYYUI image:MouseEsWeCursor" />
        <Property name="NWSESizingCursorImage" value="set:smartYYUI image:MouseNwSeCursor" />
        <Property name="NESWSizingCursorImage" value="set:smartYYUI image:MouseNeSwCursor" />
        <Property name="UnifiedMinSize" value="{{0,0},{0,0}}" />
        <NamedArea name="ClientWithTitleWithFrame">
            <Area>
                <Dim type="LeftEdge" >
					<!--<ImageDim imageset="smartYYUI" image="WindowTopLeft" dimension="Width" />-->
					<UnifiedDim scale="0" offset="1" type="LeftEdge"/>
				</Dim>
                <Dim type="TopEdge" ><WidgetDim widget="__auto_titlebar__" dimension="BottomEdge" /></Dim>
                <Dim type="RightEdge" >
                    <UnifiedDim scale="1" offset="-1" type="RightEdge">
                        <!--<DimOperator op="Subtract"> <ImageDim imageset="smartYYUI" image="WindowTopRight" dimension="Width" /> </DimOperator>-->
                    </UnifiedDim>
                </Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract"> <ImageDim imageset="smartYYUI" image="WindowBottomEdge" dimension="Height" /> </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <NamedArea name="ClientWithTitleNoFrame">
            <Area>
                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge" ><WidgetDim widget="__auto_titlebar__" dimension="BottomEdge" /></Dim>
                <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                <Dim type="BottomEdge" ><UnifiedDim scale="1" type="BottomEdge" /></Dim>
                <!-- <Dim type="BottomEdge" ><WidgetDim dimension="BottomEdge" /></Dim> -->
            </Area>
        </NamedArea>
        <NamedArea name="ClientNoTitleWithFrame">
            <Area>
                <Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="WindowTopLeft" dimension="Width" /></Dim>
                <Dim type="TopEdge" ><ImageDim imageset="smartYYUI" image="WindowTopEdge" dimension="Height" /></Dim>
                <Dim type="RightEdge" >
                    <UnifiedDim scale="1" type="RightEdge">
                        <DimOperator op="Subtract"> <ImageDim imageset="smartYYUI" image="WindowTopRight" dimension="Width" /> </DimOperator>
                    </UnifiedDim>
                </Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract"> <ImageDim imageset="smartYYUI" image="WindowBottomEdge" dimension="Height" /> </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <NamedArea name="ClientNoTitleNoFrame">
            <Area>
                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
            </Area>
        </NamedArea>
        <Child type="smartYY/Titlebar" nameSuffix="__auto_titlebar__">
            <Area>
                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                <Dim type="Height" ><AbsoluteDim value="31" /> </Dim> 
		  <!--
		  <FontDim type="LineSpacing"> <DimOperator op="Multiply"> <AbsoluteDim value="3" /> </DimOperator> </FontDim>
		  -->				
            </Area>
            <Property name="AlwaysOnTop" value="False" />
        </Child>
        <Child type="smartYY/SystemButton" nameSuffix="__auto_closebutton__">
            <Area>
                <Dim type="LeftEdge" >
                    <UnifiedDim scale="1.0" offset="-6" type="LeftEdge">
                        <DimOperator op="Subtract">
                            <ImageDim imageset="smartYYUI" image="WindowCloseNormal" dimension="Width" />
                        </DimOperator>
                    </UnifiedDim>
                </Dim>            
                <Dim type="TopEdge" >
                    <AbsoluteDim value="0.5">
                        <DimOperator op="Multiply">
                            <WidgetDim widget="__auto_titlebar__" dimension="Height">
                                <DimOperator op="Subtract">
                                    <ImageDim imageset="smartYYUI" image="WindowCloseNormal" dimension="Width" />
                                </DimOperator>
                            </WidgetDim>
                        </DimOperator>
                    </AbsoluteDim>
                </Dim>
                <Dim type="Width" ><ImageDim imageset="smartYYUI" image="WindowCloseNormal" dimension="Width" /></Dim>
                <Dim type="Height" ><ImageDim imageset="smartYYUI" image="WindowCloseNormal" dimension="Width" /></Dim>
            </Area>
            <Property name="AlwaysOnTop" value="True" />
            <Property name="NormalImage" value="set:smartYYUI image:WindowCloseNormal" />
            <Property name="HoverImage" value="set:smartYYUI image:WindowCloseHover" />
            <Property name="PushedImage" value="set:smartYYUI image:WindowClosePressed" />
        </Child>
        <ImagerySection name="withtitle_frame">
            <FrameComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><WidgetDim widget="__auto_titlebar__" dimension="BottomEdge" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="BottomEdge" ><UnifiedDim scale="1" type="BottomEdge" /></Dim>
                </Area>
                <Image type="BottomLeftCorner" imageset="smartYYUI" image="WindowBottomLeft" />
                <Image type="BottomRightCorner" imageset="smartYYUI" image="WindowBottomRight" />
                <Image type="LeftEdge" imageset="smartYYUI" image="WindowLeftEdge" />
                <Image type="RightEdge" imageset="smartYYUI" image="WindowRightEdge" />
                <Image type="BottomEdge" imageset="smartYYUI" image="WindowBottomEdge" />
            </FrameComponent>
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="WindowTopLeft" dimension="Width" /></Dim>
                    <Dim type="TopEdge" ><WidgetDim widget="__auto_titlebar__" dimension="BottomEdge" /></Dim>
                    <Dim type="RightEdge" >
                        <UnifiedDim scale="1" type="Width">
                            <DimOperator op="Subtract">
                                <ImageDim imageset="smartYYUI" image="WindowTopRight" dimension="Width" />
                            </DimOperator>
                        </UnifiedDim>
                    </Dim>
                    <Dim type="BottomEdge" >
                        <UnifiedDim scale="1" type="Height">
                            <DimOperator op="Subtract">
                                <ImageDim imageset="smartYYUI" image="WindowBottomEdge" dimension="Height" />
                            </DimOperator>
                        </UnifiedDim>
                    </Dim>
                </Area>
                <Image imageset="smartYYUI" image="GenericBrush" />
                <ColourProperty name="ClientAreaColour" />
                <VertFormat type="Stretched" />
                <HorzFormat type="Stretched" />
            </ImageryComponent>
        </ImagerySection>
        <ImagerySection name="notitle_frame">
            <FrameComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="RightEdge" ><UnifiedDim scale="1" type="RightEdge" /></Dim>
                    <Dim type="BottomEdge" ><UnifiedDim scale="1" type="BottomEdge" /></Dim>
                </Area>
                <Image type="TopLeftCorner" imageset="smartYYUI" image="WindowTopLeft" />
                <Image type="TopRightCorner" imageset="smartYYUI" image="WindowTopRight" />
                <Image type="BottomLeftCorner" imageset="smartYYUI" image="WindowBottomLeft" />
                <Image type="BottomRightCorner" imageset="smartYYUI" image="WindowBottomRight" />
                <Image type="LeftEdge"   imageset="smartYYUI" image="WindowLeftEdge" />
                <Image type="TopEdge"    imageset="smartYYUI" image="WindowTopEdge" />
                <Image type="RightEdge"  imageset="smartYYUI" image="WindowRightEdge" />
                <Image type="BottomEdge" imageset="smartYYUI" image="WindowBottomEdge" />
            </FrameComponent>
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge"> <ImageDim imageset="smartYYUI" image="WindowLeftEdge" dimension="Width" /> </Dim>
                    <Dim type="TopEdge">  <ImageDim imageset="smartYYUI" image="WindowTopEdge" dimension="Height" /> </Dim>
                    <Dim type="RightEdge">
                        <UnifiedDim scale="1" type="RightEdge">
                            <DimOperator op="Subtract"> <ImageDim imageset="smartYYUI" image="WindowRightEdge" dimension="Width" /> </DimOperator>
                        </UnifiedDim>
                    </Dim>
                    <Dim type="BottomEdge">
                        <UnifiedDim scale="1" type="BottomEdge">
                            <DimOperator op="Subtract"> <ImageDim imageset="smartYYUI" image="WindowBottomEdge" dimension="Height" /> </DimOperator>
                        </UnifiedDim>
                    </Dim>
                </Area>
                <Image imageset="smartYYUI" image="GenericBrush" />
                <VertFormat type="Stretched" />
                <HorzFormat type="Stretched" />
            </ImageryComponent>
        </ImagerySection>
        <ImagerySection name="withtitle_noframe_client_area">
            <FrameComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><WidgetDim widget="__auto_titlebar__" dimension="Height" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="BottomEdge" ><UnifiedDim scale="1" type="BottomEdge" /></Dim>
                </Area>
                <Image type="TopLeftCorner" imageset="smartYYUI" image="WindowTopLeft" />
                <Image type="TopRightCorner" imageset="smartYYUI" image="WindowTopRight" />
                <Image type="BottomLeftCorner" imageset="smartYYUI" image="WindowBottomLeft" />
                <Image type="BottomRightCorner" imageset="smartYYUI" image="WindowBottomRight" />
                <Image type="LeftEdge"   imageset="smartYYUI" image="WindowLeftEdge" />
                <Image type="TopEdge"    imageset="smartYYUI" image="WindowTopEdge" />
                <Image type="RightEdge"  imageset="smartYYUI" image="WindowRightEdge" />
                <Image type="BottomEdge" imageset="smartYYUI" image="WindowBottomEdge" />
            </FrameComponent>
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge"> <ImageDim imageset="smartYYUI" image="WindowLeftEdge" dimension="Width" /> </Dim>
                    <Dim type="TopEdge">  <ImageDim imageset="smartYYUI" image="WindowTopEdge" dimension="Height" /> </Dim>
                    <Dim type="RightEdge">
                        <UnifiedDim scale="1" type="RightEdge">
                            <DimOperator op="Subtract"> <ImageDim imageset="smartYYUI" image="WindowRightEdge" dimension="Width" /> </DimOperator>
                        </UnifiedDim>
                    </Dim>
                    <Dim type="BottomEdge">
                        <UnifiedDim scale="1" type="BottomEdge">
                            <DimOperator op="Subtract"> <ImageDim imageset="smartYYUI" image="WindowBottomEdge" dimension="Height" /> </DimOperator>
                        </UnifiedDim>
                    </Dim>
                </Area>
                <Image imageset="smartYYUI" image="GenericBrush" />
                <VertFormat type="Stretched" />
                <HorzFormat type="Stretched" />
            </ImageryComponent>
        </ImagerySection>
        <ImagerySection name="notitle_noframe_client_area">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="GenericBrush" />
                <ColourProperty name="ClientAreaColour" />
                <VertFormat type="Stretched" />
                <HorzFormat type="Stretched" />
            </ImageryComponent>
        </ImagerySection>
        <StateImagery name="ActiveWithTitleWithFrame">
            <Layer>
                <Section section="withtitle_frame" />
            </Layer>
        </StateImagery>
        <StateImagery name="InactiveWithTitleWithFrame">
            <Layer>
                <Section section="withtitle_frame" />
            </Layer>
        </StateImagery>
        <StateImagery name="DisabledWithTitleWithFrame">
            <Layer>
                <Section section="withtitle_frame">
                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
                </Section>
            </Layer>
        </StateImagery>
        <StateImagery name="ActiveWithTitleNoFrame">
            <Layer>
                <Section section="withtitle_noframe_client_area" />
            </Layer>
        </StateImagery>
        <StateImagery name="InactiveWithTitleNoFrame">
            <Layer>
                <Section section="withtitle_noframe_client_area" />
            </Layer>
        </StateImagery>
        <StateImagery name="DisabledWithTitleNoFrame">
            <Layer>
                <Section section="withtitle_noframe_client_area">
                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
                </Section>
            </Layer>
        </StateImagery>
        <StateImagery name="ActiveNoTitleWithFrame">
            <Layer>
                <Section section="notitle_frame" />
            </Layer>
        </StateImagery>
        <StateImagery name="InactiveNoTitleWithFrame">
            <Layer>
                <Section section="notitle_frame" />
            </Layer>
        </StateImagery>
        <StateImagery name="DisabledNoTitleWithFrame">
            <Layer>
                <Section section="notitle_frame">
                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
                </Section>
            </Layer>
        </StateImagery>
        <StateImagery name="ActiveNoTitleNoFrame">
            <Layer>
                <Section section="notitle_noframe_client_area" />
            </Layer>
        </StateImagery>
        <StateImagery name="InactiveNoTitleNoFrame">
            <Layer>
                <Section section="notitle_noframe_client_area" />
            </Layer>
        </StateImagery>
        <StateImagery name="DisabledNoTitleNoFrame">
            <Layer>
                <Section section="notitle_noframe_client_area">
                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
                </Section>
            </Layer>
        </StateImagery>
    </WidgetLook>  

    <!--
    ***************************************************
        smartYYUI/ConfirmButton
    ***************************************************
    -->
  <WidgetLook name="smartYY/ConfirmButton">
    <PropertyDefinition name="NormalTextColour" initialValue="5FFFFFFF" redrawOnWrite="true" />
    <PropertyDefinition name="HoverTextColour" initialValue="5FFFFFFF" redrawOnWrite="true" />
    <PropertyDefinition name="PushedTextColour" initialValue="5FFFFFFF" redrawOnWrite="true" />
    <PropertyDefinition name="DisabledTextColour" initialValue="5FFFFFFF" redrawOnWrite="true" />	
    <ImagerySection name="label">
      <TextComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="12" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" offset="-12" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <VertFormat type="CentreAligned" />
        <HorzFormat type="CentreAligned" />
      </TextComponent>
    </ImagerySection>
    <ImagerySection name="normal">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <Image type="TopLeftCorner" imageset="smartYYUI" image="ButtonNormalTopLeft" />
        <Image type="TopRightCorner" imageset="smartYYUI" image="ButtonNormalTopRight" />
        <Image type="BottomLeftCorner" imageset="smartYYUI" image="ButtonNormalBottomLeft" />
        <Image type="BottomRightCorner" imageset="smartYYUI" image="ButtonNormalBottomRight" />
        <Image type="LeftEdge" imageset="smartYYUI" image="ButtonNormalLeft" />
        <Image type="TopEdge" imageset="smartYYUI" image="ButtonNormalTop" />
        <Image type="RightEdge" imageset="smartYYUI" image="ButtonNormalRight" />
        <Image type="BottomEdge" imageset="smartYYUI" image="ButtonNormalBottom" />
      </FrameComponent>
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge">
            <ImageDim imageset="smartYYUI" image="ButtonNormalLeft" dimension="Width" />
          </Dim>
          <Dim type="TopEdge">
            <ImageDim imageset="smartYYUI" image="ButtonNormalTop" dimension="Height" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="ButtonNormalRight" dimension="Width" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="ButtonNormalBottom" dimension="Height" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
        </Area>
        <Image imageset="smartYYUI" image="ButtonNormalBackground" />
        <Colours topLeft="FFFFFFFF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFFFFFFF" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <ImagerySection name="hover">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <Image type="TopLeftCorner" imageset="smartYYUI" image="ButtonHoverTopLeft" />
        <Image type="TopRightCorner" imageset="smartYYUI" image="ButtonHoverTopRight" />
        <Image type="BottomLeftCorner" imageset="smartYYUI" image="ButtonHoverBottomLeft" />
        <Image type="BottomRightCorner" imageset="smartYYUI" image="ButtonHoverBottomRight" />
        <Image type="LeftEdge" imageset="smartYYUI" image="ButtonHoverLeft" />
        <Image type="TopEdge" imageset="smartYYUI" image="ButtonHoverTop" />
        <Image type="RightEdge" imageset="smartYYUI" image="ButtonHoverRight" />
        <Image type="BottomEdge" imageset="smartYYUI" image="ButtonHoverBottom" />
      </FrameComponent>
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge">
            <ImageDim imageset="smartYYUI" image="ButtonHoverLeft" dimension="Width" />
          </Dim>
          <Dim type="TopEdge">
            <ImageDim imageset="smartYYUI" image="ButtonHoverTop" dimension="Height" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="ButtonHoverRight" dimension="Width" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="ButtonHoverBottom" dimension="Height" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
        </Area>
        <Image imageset="smartYYUI" image="ButtonHoverBackground" />
        <Colours topLeft="FFFFFFFF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFFFFFFF" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <ImagerySection name="pushed">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <Image type="TopLeftCorner" imageset="smartYYUI" image="ButtonPushedTopLeft" />
        <Image type="TopRightCorner" imageset="smartYYUI" image="ButtonPushedTopRight" />
        <Image type="BottomLeftCorner" imageset="smartYYUI" image="ButtonPushedBottomLeft" />
        <Image type="BottomRightCorner" imageset="smartYYUI" image="ButtonPushedBottomRight" />
        <Image type="LeftEdge" imageset="smartYYUI" image="ButtonPushedLeft" />
        <Image type="TopEdge" imageset="smartYYUI" image="ButtonPushedTop" />
        <Image type="RightEdge" imageset="smartYYUI" image="ButtonPushedRight" />
        <Image type="BottomEdge" imageset="smartYYUI" image="ButtonPushedBottom" />
      </FrameComponent>
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge">
            <ImageDim imageset="smartYYUI" image="ButtonPushedLeft" dimension="Width" />
          </Dim>
          <Dim type="TopEdge">
            <ImageDim imageset="smartYYUI" image="ButtonPushedTop" dimension="Height" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="ButtonPushedRight" dimension="Width" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="ButtonPushedBottom" dimension="Height" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
        </Area>
        <Image imageset="smartYYUI" image="ButtonPushedBackground" />
        <Colours topLeft="FFFFFFFF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFFFFFFF" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <ImagerySection name="disabled">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <Image type="TopLeftCorner" imageset="smartYYUI" image="ButtonPushedTopLeft" />
        <Image type="TopRightCorner" imageset="smartYYUI" image="ButtonPushedTopRight" />
        <Image type="BottomLeftCorner" imageset="smartYYUI" image="ButtonPushedBottomLeft" />
        <Image type="BottomRightCorner" imageset="smartYYUI" image="ButtonPushedBottomRight" />
        <Image type="LeftEdge" imageset="smartYYUI" image="ButtonPushedLeft" />
        <Image type="TopEdge" imageset="smartYYUI" image="ButtonPushedTop" />
        <Image type="RightEdge" imageset="smartYYUI" image="ButtonPushedRight" />
        <Image type="BottomEdge" imageset="smartYYUI" image="ButtonPushedBottom" />
      </FrameComponent>
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge">
            <ImageDim imageset="smartYYUI" image="ButtonPushedLeft" dimension="Width" />
          </Dim>
          <Dim type="TopEdge">
            <ImageDim imageset="smartYYUI" image="ButtonPushedTop" dimension="Height" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="ButtonPushedRight" dimension="Width" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="ButtonPushedBottom" dimension="Height" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
        </Area>
        <Image imageset="smartYYUI" image="ButtonPushedBackground" />
        <Colours topLeft="FFFFFFFF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFFFFFFF" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <StateImagery name="Normal">
      <Layer>
        <Section section="normal" />
        <Section section="label">
          <ColourProperty name="NormalTextColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="Hover">
      <Layer>
        <Section section="hover" />
        <Section section="label">
          <ColourProperty name="HoverTextColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="Pushed">
      <Layer>
        <Section section="pushed" />
        <Section section="label">
          <ColourProperty name="PushedTextColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="PushedOff">
      <Layer>
        <Section section="hover" />
        <Section section="label">
          <ColourProperty name="HoverTextColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="Disabled">
      <Layer>
        <Section section="disabled">
          <!-- <Colours topLeft="FFDFDFDF" topRight="FFDFDFDF" bottomLeft="FFDFDFDF" bottomRight="FFDFDFDF" /> -->
        </Section>
        <Section section="label">
          <ColourProperty name="DisabledTextColour" />
        </Section>
      </Layer>
    </StateImagery>
  </WidgetLook>
  
  <!--
    ***************************************************
        smartYYUI/ConfirmButton2 //Disable Highlight
    ***************************************************
    -->
  <WidgetLook name="smartYY/ConfirmButton2">
    <PropertyDefinition name="NormalTextColour" initialValue="5FFFFFFF" redrawOnWrite="true" />
    <PropertyDefinition name="HoverTextColour" initialValue="5FFFFFFF" redrawOnWrite="true" />
    <PropertyDefinition name="PushedTextColour" initialValue="5FFFFFFF" redrawOnWrite="true" />
    <PropertyDefinition name="DisabledTextColour" initialValue="5FFFFFFF" redrawOnWrite="true" />	
    <ImagerySection name="label">
      <TextComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="12" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" offset="-12" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <VertFormat type="CentreAligned" />
        <HorzFormat type="CentreAligned" />
      </TextComponent>
    </ImagerySection>
    <ImagerySection name="normal">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <Image type="TopLeftCorner" imageset="smartYYUI" image="ButtonNormalTopLeft" />
        <Image type="TopRightCorner" imageset="smartYYUI" image="ButtonNormalTopRight" />
        <Image type="BottomLeftCorner" imageset="smartYYUI" image="ButtonNormalBottomLeft" />
        <Image type="BottomRightCorner" imageset="smartYYUI" image="ButtonNormalBottomRight" />
        <Image type="LeftEdge" imageset="smartYYUI" image="ButtonNormalLeft" />
        <Image type="TopEdge" imageset="smartYYUI" image="ButtonNormalTop" />
        <Image type="RightEdge" imageset="smartYYUI" image="ButtonNormalRight" />
        <Image type="BottomEdge" imageset="smartYYUI" image="ButtonNormalBottom" />
      </FrameComponent>
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge">
            <ImageDim imageset="smartYYUI" image="ButtonNormalLeft" dimension="Width" />
          </Dim>
          <Dim type="TopEdge">
            <ImageDim imageset="smartYYUI" image="ButtonNormalTop" dimension="Height" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="ButtonNormalRight" dimension="Width" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="ButtonNormalBottom" dimension="Height" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
        </Area>
        <Image imageset="smartYYUI" image="ButtonNormalBackground" />
        <Colours topLeft="FFFFFFFF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFFFFFFF" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <ImagerySection name="hover">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <Image type="TopLeftCorner" imageset="smartYYUI" image="ButtonHoverTopLeft" />
        <Image type="TopRightCorner" imageset="smartYYUI" image="ButtonHoverTopRight" />
        <Image type="BottomLeftCorner" imageset="smartYYUI" image="ButtonHoverBottomLeft" />
        <Image type="BottomRightCorner" imageset="smartYYUI" image="ButtonHoverBottomRight" />
        <Image type="LeftEdge" imageset="smartYYUI" image="ButtonHoverLeft" />
        <Image type="TopEdge" imageset="smartYYUI" image="ButtonHoverTop" />
        <Image type="RightEdge" imageset="smartYYUI" image="ButtonHoverRight" />
        <Image type="BottomEdge" imageset="smartYYUI" image="ButtonHoverBottom" />
      </FrameComponent>
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge">
            <ImageDim imageset="smartYYUI" image="ButtonHoverLeft" dimension="Width" />
          </Dim>
          <Dim type="TopEdge">
            <ImageDim imageset="smartYYUI" image="ButtonHoverTop" dimension="Height" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="ButtonHoverRight" dimension="Width" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="ButtonHoverBottom" dimension="Height" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
        </Area>
        <Image imageset="smartYYUI" image="ButtonHoverBackground" />
        <Colours topLeft="FFFFFFFF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFFFFFFF" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <ImagerySection name="pushed">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <Image type="TopLeftCorner" imageset="smartYYUI" image="ButtonPushedTopLeft" />
        <Image type="TopRightCorner" imageset="smartYYUI" image="ButtonPushedTopRight" />
        <Image type="BottomLeftCorner" imageset="smartYYUI" image="ButtonPushedBottomLeft" />
        <Image type="BottomRightCorner" imageset="smartYYUI" image="ButtonPushedBottomRight" />
        <Image type="LeftEdge" imageset="smartYYUI" image="ButtonPushedLeft" />
        <Image type="TopEdge" imageset="smartYYUI" image="ButtonPushedTop" />
        <Image type="RightEdge" imageset="smartYYUI" image="ButtonPushedRight" />
        <Image type="BottomEdge" imageset="smartYYUI" image="ButtonPushedBottom" />
      </FrameComponent>
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge">
            <ImageDim imageset="smartYYUI" image="ButtonPushedLeft" dimension="Width" />
          </Dim>
          <Dim type="TopEdge">
            <ImageDim imageset="smartYYUI" image="ButtonPushedTop" dimension="Height" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="ButtonPushedRight" dimension="Width" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="ButtonPushedBottom" dimension="Height" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
        </Area>
        <Image imageset="smartYYUI" image="ButtonPushedBackground" />
        <Colours topLeft="FFFFFFFF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFFFFFFF" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <ImagerySection name="disabled">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <Image type="TopLeftCorner" imageset="smartYYUI" image="ButtonPushedTopLeft" />
        <Image type="TopRightCorner" imageset="smartYYUI" image="ButtonPushedTopRight" />
        <Image type="BottomLeftCorner" imageset="smartYYUI" image="ButtonPushedBottomLeft" />
        <Image type="BottomRightCorner" imageset="smartYYUI" image="ButtonPushedBottomRight" />
        <Image type="LeftEdge" imageset="smartYYUI" image="ButtonPushedLeft" />
        <Image type="TopEdge" imageset="smartYYUI" image="ButtonPushedTop" />
        <Image type="RightEdge" imageset="smartYYUI" image="ButtonPushedRight" />
        <Image type="BottomEdge" imageset="smartYYUI" image="ButtonPushedBottom" />
      </FrameComponent>
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge">
            <ImageDim imageset="smartYYUI" image="ButtonPushedLeft" dimension="Width" />
          </Dim>
          <Dim type="TopEdge">
            <ImageDim imageset="smartYYUI" image="ButtonPushedTop" dimension="Height" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="ButtonPushedRight" dimension="Width" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="ButtonPushedBottom" dimension="Height" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
        </Area>
        <Image imageset="smartYYUI" image="ButtonPushedBackground" />
        <Colours topLeft="FFFFFFFF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFFFFFFF" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <StateImagery name="Normal">
      <Layer>
        <Section section="normal" />
        <Section section="label">
          <ColourProperty name="NormalTextColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="Hover">
      <Layer>
        <Section section="hover" />
        <Section section="label">
          <ColourProperty name="HoverTextColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="Pushed">
      <Layer>
        <Section section="pushed" />
        <Section section="label">
          <ColourProperty name="PushedTextColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="PushedOff">
      <Layer>
        <Section section="hover" />
        <Section section="label">
          <ColourProperty name="HoverTextColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="Disabled">
      <Layer>
		<Section section="hover" >
        <!--<Section section="disabled">
           <Colours topLeft="FFDFDFDF" topRight="FFDFDFDF" bottomLeft="FFDFDFDF" bottomRight="FFDFDFDF" /> -->
        </Section>
        <Section section="label">
          <ColourProperty name="DisabledTextColour" />
        </Section>
      </Layer>
    </StateImagery>
  </WidgetLook>
  
    <!--
    ***************************************************
        smartYYUI/CancelButton
    ***************************************************
    -->
  <WidgetLook name="smartYY/CancelButton">
    <PropertyDefinition name="NormalTextColour" initialValue="5FFFFFFF" redrawOnWrite="true" />
    <PropertyDefinition name="HoverTextColour" initialValue="5FFFFFFF" redrawOnWrite="true" />
    <PropertyDefinition name="PushedTextColour" initialValue="5FFFFFFF" redrawOnWrite="true" />
    <PropertyDefinition name="DisabledTextColour" initialValue="80000000" redrawOnWrite="true" />	
    <ImagerySection name="label">
      <TextComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="12" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" offset="-12" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <VertFormat type="CentreAligned" />
        <HorzFormat type="CentreAligned" />
      </TextComponent>
    </ImagerySection>
    <ImagerySection name="normal">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <Image type="TopLeftCorner" imageset="smartYYUI" image="Button2NormalTopLeft" />
        <Image type="TopRightCorner" imageset="smartYYUI" image="Button2NormalTopRight" />
        <Image type="BottomLeftCorner" imageset="smartYYUI" image="Button2NormalBottomLeft" />
        <Image type="BottomRightCorner" imageset="smartYYUI" image="Button2NormalBottomRight" />
        <Image type="LeftEdge" imageset="smartYYUI" image="Button2NormalLeft" />
        <Image type="TopEdge" imageset="smartYYUI" image="Button2NormalTop" />
        <Image type="RightEdge" imageset="smartYYUI" image="Button2NormalRight" />
        <Image type="BottomEdge" imageset="smartYYUI" image="Button2NormalBottom" />
      </FrameComponent>
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge">
            <ImageDim imageset="smartYYUI" image="Button2NormalLeft" dimension="Width" />
          </Dim>
          <Dim type="TopEdge">
            <ImageDim imageset="smartYYUI" image="Button2NormalTop" dimension="Height" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="Button2NormalRight" dimension="Width" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="Button2NormalBottom" dimension="Height" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
        </Area>
        <Image imageset="smartYYUI" image="Button2NormalBackground" />
        <Colours topLeft="FFFFFFFF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFFFFFFF" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <ImagerySection name="hover">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <Image type="TopLeftCorner" imageset="smartYYUI" image="Button2HoverTopLeft" />
        <Image type="TopRightCorner" imageset="smartYYUI" image="Button2HoverTopRight" />
        <Image type="BottomLeftCorner" imageset="smartYYUI" image="Button2HoverBottomLeft" />
        <Image type="BottomRightCorner" imageset="smartYYUI" image="Button2HoverBottomRight" />
        <Image type="LeftEdge" imageset="smartYYUI" image="Button2HoverLeft" />
        <Image type="TopEdge" imageset="smartYYUI" image="Button2HoverTop" />
        <Image type="RightEdge" imageset="smartYYUI" image="Button2HoverRight" />
        <Image type="BottomEdge" imageset="smartYYUI" image="Button2HoverBottom" />
      </FrameComponent>
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge">
            <ImageDim imageset="smartYYUI" image="Button2HoverLeft" dimension="Width" />
          </Dim>
          <Dim type="TopEdge">
            <ImageDim imageset="smartYYUI" image="Button2HoverTop" dimension="Height" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="Button2HoverRight" dimension="Width" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="Button2HoverBottom" dimension="Height" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
        </Area>
        <Image imageset="smartYYUI" image="Button2HoverBackground" />
        <Colours topLeft="FFFFFFFF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFFFFFFF" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <ImagerySection name="pushed">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <Image type="TopLeftCorner" imageset="smartYYUI" image="Button2PushedTopLeft" />
        <Image type="TopRightCorner" imageset="smartYYUI" image="Button2PushedTopRight" />
        <Image type="BottomLeftCorner" imageset="smartYYUI" image="Button2PushedBottomLeft" />
        <Image type="BottomRightCorner" imageset="smartYYUI" image="Button2PushedBottomRight" />
        <Image type="LeftEdge" imageset="smartYYUI" image="Button2PushedLeft" />
        <Image type="TopEdge" imageset="smartYYUI" image="Button2PushedTop" />
        <Image type="RightEdge" imageset="smartYYUI" image="Button2PushedRight" />
        <Image type="BottomEdge" imageset="smartYYUI" image="Button2PushedBottom" />
      </FrameComponent>
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge">
            <ImageDim imageset="smartYYUI" image="Button2PushedLeft" dimension="Width" />
          </Dim>
          <Dim type="TopEdge">
            <ImageDim imageset="smartYYUI" image="Button2PushedTop" dimension="Height" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="Button2PushedRight" dimension="Width" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="Button2PushedBottom" dimension="Height" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
        </Area>
        <Image imageset="smartYYUI" image="Button2PushedBackground" />
        <Colours topLeft="FFFFFFFF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFFFFFFF" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <ImagerySection name="disabled">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <Image type="TopLeftCorner" imageset="smartYYUI" image="Button2DisableTopLeft" />
        <Image type="TopRightCorner" imageset="smartYYUI" image="Button2DisableTopRight" />
        <Image type="BottomLeftCorner" imageset="smartYYUI" image="Button2DisableBottomLeft" />
        <Image type="BottomRightCorner" imageset="smartYYUI" image="Button2DisableBottomRight" />
        <Image type="LeftEdge" imageset="smartYYUI" image="Button2DisableLeft" />
        <Image type="TopEdge" imageset="smartYYUI" image="Button2DisableTop" />
        <Image type="RightEdge" imageset="smartYYUI" image="Button2DisableRight" />
        <Image type="BottomEdge" imageset="smartYYUI" image="Button2DisableBottom" />
      </FrameComponent>
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge">
            <ImageDim imageset="smartYYUI" image="Button2DisableLeft" dimension="Width" />
          </Dim>
          <Dim type="TopEdge">
            <ImageDim imageset="smartYYUI" image="Button2DisableTop" dimension="Height" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="Button2DisableRight" dimension="Width" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="Button2DisableBottom" dimension="Height" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
        </Area>
        <Image imageset="smartYYUI" image="Button2DisableBackground" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <StateImagery name="Normal">
      <Layer>
        <Section section="normal" />
        <Section section="label">
          <ColourProperty name="NormalTextColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="Hover">
      <Layer>
        <Section section="hover" />
        <Section section="label">
          <ColourProperty name="HoverTextColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="Pushed">
      <Layer>
        <Section section="pushed" />
        <Section section="label">
          <ColourProperty name="PushedTextColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="PushedOff">
      <Layer>
        <Section section="hover" />
        <Section section="label">
          <ColourProperty name="HoverTextColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="Disabled">
      <Layer>
        <Section section="disabled">
          <Colours topLeft="FFDFDFDF" topRight="FFDFDFDF" bottomLeft="FFDFDFDF" bottomRight="FFDFDFDF" />
        </Section>
        <Section section="label">
          <ColourProperty name="DisabledTextColour" />
        </Section>
      </Layer>
    </StateImagery>
  </WidgetLook>

  <!--
    ***************************************************
        smartYYUI/SmallConfirmButton
    ***************************************************
    -->
  <WidgetLook name="smartYY/SmallConfirmButton">
    <PropertyDefinition name="NormalTextColour" initialValue="5FFFFFFF" redrawOnWrite="true" />
    <PropertyDefinition name="HoverTextColour" initialValue="5FFFFFFF" redrawOnWrite="true" />
    <PropertyDefinition name="PushedTextColour" initialValue="5FFFFFFF" redrawOnWrite="true" />
    <PropertyDefinition name="DisabledTextColour" initialValue="5FFFFFFF" redrawOnWrite="true" />   
    <ImagerySection name="label">
      <TextComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="8" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" offset="-8" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <VertFormat type="CentreAligned" />
        <HorzFormat type="CentreAligned" />
      </TextComponent>
    </ImagerySection>
    <ImagerySection name="normal">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <Image type="TopLeftCorner" imageset="smartYYUI" image="Small_Confirm_Btn_Normal_TopLeft" />
        <Image type="TopRightCorner" imageset="smartYYUI" image="Small_Confirm_Btn_Normal_TopRight" />
        <Image type="BottomLeftCorner" imageset="smartYYUI" image="Small_Confirm_Btn_Normal_BottomLeft" />
        <Image type="BottomRightCorner" imageset="smartYYUI" image="Small_Confirm_Btn_Normal_BottomRight" />
        <Image type="LeftEdge" imageset="smartYYUI" image="Small_Confirm_Btn_Normal_Left" />
        <Image type="TopEdge" imageset="smartYYUI" image="Small_Confirm_Btn_Normal_Top" />
        <Image type="RightEdge" imageset="smartYYUI" image="Small_Confirm_Btn_Normal_Right" />
        <Image type="BottomEdge" imageset="smartYYUI" image="Small_Confirm_Btn_Normal_Bottom" />
      </FrameComponent>
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge">
            <ImageDim imageset="smartYYUI" image="Small_Confirm_Btn_Normal_Left" dimension="Width" />
          </Dim>
          <Dim type="TopEdge">
            <ImageDim imageset="smartYYUI" image="Small_Confirm_Btn_Normal_Top" dimension="Height" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="Small_Confirm_Btn_Normal_Right" dimension="Width" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="Small_Confirm_Btn_Normal_Bottom" dimension="Height" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
        </Area>
        <Image imageset="smartYYUI" image="Small_Confirm_Btn_Normal_Background" />
        <Colours topLeft="FFFFFFFF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFFFFFFF" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <ImagerySection name="hover">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <Image type="TopLeftCorner" imageset="smartYYUI" image="Small_Confirm_Btn_Hover_TopLeft" />
        <Image type="TopRightCorner" imageset="smartYYUI" image="Small_Confirm_Btn_Hover_TopRight" />
        <Image type="BottomLeftCorner" imageset="smartYYUI" image="Small_Confirm_Btn_Hover_BottomLeft" />
        <Image type="BottomRightCorner" imageset="smartYYUI" image="Small_Confirm_Btn_Hover_BottomRight" />
        <Image type="LeftEdge" imageset="smartYYUI" image="Small_Confirm_Btn_Hover_Left" />
        <Image type="TopEdge" imageset="smartYYUI" image="Small_Confirm_Btn_Hover_Top" />
        <Image type="RightEdge" imageset="smartYYUI" image="Small_Confirm_Btn_Hover_Right" />
        <Image type="BottomEdge" imageset="smartYYUI" image="Small_Confirm_Btn_Hover_Bottom" />
      </FrameComponent>
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge">
            <ImageDim imageset="smartYYUI" image="Small_Confirm_Btn_Hover_Left" dimension="Width" />
          </Dim>
          <Dim type="TopEdge">
            <ImageDim imageset="smartYYUI" image="Small_Confirm_Btn_Hover_Top" dimension="Height" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="Small_Confirm_Btn_Hover_Right" dimension="Width" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="Small_Confirm_Btn_Hover_Bottom" dimension="Height" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
        </Area>
        <Image imageset="smartYYUI" image="Small_Confirm_Btn_Hover_Background" />
        <Colours topLeft="FFFFFFFF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFFFFFFF" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <ImagerySection name="pushed">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <Image type="TopLeftCorner" imageset="smartYYUI" image="Small_Confirm_Btn_Pushed_TopLeft" />
        <Image type="TopRightCorner" imageset="smartYYUI" image="Small_Confirm_Btn_Pushed_TopRight" />
        <Image type="BottomLeftCorner" imageset="smartYYUI" image="Small_Confirm_Btn_Pushed_BottomLeft" />
        <Image type="BottomRightCorner" imageset="smartYYUI" image="Small_Confirm_Btn_Pushed_BottomRight" />
        <Image type="LeftEdge" imageset="smartYYUI" image="Small_Confirm_Btn_Pushed_Left" />
        <Image type="TopEdge" imageset="smartYYUI" image="Small_Confirm_Btn_Pushed_Top" />
        <Image type="RightEdge" imageset="smartYYUI" image="Small_Confirm_Btn_Pushed_Right" />
        <Image type="BottomEdge" imageset="smartYYUI" image="Small_Confirm_Btn_Pushed_Bottom" />
      </FrameComponent>
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge">
            <ImageDim imageset="smartYYUI" image="Small_Confirm_Btn_Pushed_Left" dimension="Width" />
          </Dim>
          <Dim type="TopEdge">
            <ImageDim imageset="smartYYUI" image="Small_Confirm_Btn_Pushed_Top" dimension="Height" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="Small_Confirm_Btn_Pushed_Right" dimension="Width" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="Small_Confirm_Btn_Pushed_Bottom" dimension="Height" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
        </Area>
        <Image imageset="smartYYUI" image="Small_Confirm_Btn_Pushed_Background" />
        <Colours topLeft="FFFFFFFF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFFFFFFF" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <ImagerySection name="disabled">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <Image type="TopLeftCorner" imageset="smartYYUI" image="Small_Confirm_Btn_Disabled_TopLeft" />
        <Image type="TopRightCorner" imageset="smartYYUI" image="Small_Confirm_Btn_Disabled_TopRight" />
        <Image type="BottomLeftCorner" imageset="smartYYUI" image="Small_Confirm_Btn_Disabled_BottomLeft" />
        <Image type="BottomRightCorner" imageset="smartYYUI" image="Small_Confirm_Btn_Disabled_BottomRight" />
        <Image type="LeftEdge" imageset="smartYYUI" image="Small_Confirm_Btn_Disabled_Left" />
        <Image type="TopEdge" imageset="smartYYUI" image="Small_Confirm_Btn_Disabled_Top" />
        <Image type="RightEdge" imageset="smartYYUI" image="Small_Confirm_Btn_Disabled_Right" />
        <Image type="BottomEdge" imageset="smartYYUI" image="Small_Confirm_Btn_Disabled_Bottom" />
      </FrameComponent>
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge">
            <ImageDim imageset="smartYYUI" image="Small_Confirm_Btn_Disabled_Left" dimension="Width" />
          </Dim>
          <Dim type="TopEdge">
            <ImageDim imageset="smartYYUI" image="Small_Confirm_Btn_Disabled_Top" dimension="Height" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="Small_Confirm_Btn_Disabled_Right" dimension="Width" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="Small_Confirm_Btn_Disabled_Bottom" dimension="Height" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
        </Area>
        <Image imageset="smartYYUI" image="Small_Confirm_Btn_Disabled_Background" />
        <Colours topLeft="FFFFFFFF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFFFFFFF" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <StateImagery name="Normal">
      <Layer>
        <Section section="normal" />
        <Section section="label">
          <ColourProperty name="NormalTextColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="Hover">
      <Layer>
        <Section section="hover" />
        <Section section="label">
          <ColourProperty name="HoverTextColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="Pushed">
      <Layer>
        <Section section="pushed" />
        <Section section="label">
          <ColourProperty name="PushedTextColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="PushedOff">
      <Layer>
        <Section section="hover" />
        <Section section="label">
          <ColourProperty name="HoverTextColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="Disabled">
      <Layer>
        <Section section="disabled">
          <!-- <Colours topLeft="FFDFDFDF" topRight="FFDFDFDF" bottomLeft="FFDFDFDF" bottomRight="FFDFDFDF" /> -->
        </Section>
        <Section section="label">
          <ColourProperty name="DisabledTextColour" />
        </Section>
      </Layer>
    </StateImagery>
  </WidgetLook>
  
    <!--
    ***************************************************
        smartYYUI/SmallCancelButton
    ***************************************************
    -->
  <WidgetLook name="smartYY/SmallCancelButton">
    <PropertyDefinition name="NormalTextColour" initialValue="5FFFFFFF" redrawOnWrite="true" />
    <PropertyDefinition name="HoverTextColour" initialValue="5FFFFFFF" redrawOnWrite="true" />
    <PropertyDefinition name="PushedTextColour" initialValue="5FFFFFFF" redrawOnWrite="true" />
    <PropertyDefinition name="DisabledTextColour" initialValue="80000000" redrawOnWrite="true" />   
    <ImagerySection name="label">
      <TextComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="8" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" offset="-8" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <VertFormat type="CentreAligned" />
        <HorzFormat type="CentreAligned" />
      </TextComponent>
    </ImagerySection>
    <ImagerySection name="normal">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <Image type="TopLeftCorner" imageset="smartYYUI" image="Small_Cancel_Btn_Normal_TopLeft" />
        <Image type="TopRightCorner" imageset="smartYYUI" image="Small_Cancel_Btn_Normal_TopRight" />
        <Image type="BottomLeftCorner" imageset="smartYYUI" image="Small_Cancel_Btn_Normal_BottomLeft" />
        <Image type="BottomRightCorner" imageset="smartYYUI" image="Small_Cancel_Btn_Normal_BottomRight" />
        <Image type="LeftEdge" imageset="smartYYUI" image="Small_Cancel_Btn_Normal_Left" />
        <Image type="TopEdge" imageset="smartYYUI" image="Small_Cancel_Btn_Normal_Top" />
        <Image type="RightEdge" imageset="smartYYUI" image="Small_Cancel_Btn_Normal_Right" />
        <Image type="BottomEdge" imageset="smartYYUI" image="Small_Cancel_Btn_Normal_Bottom" />
      </FrameComponent>
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge">
            <ImageDim imageset="smartYYUI" image="Small_Cancel_Btn_Normal_Left" dimension="Width" />
          </Dim>
          <Dim type="TopEdge">
            <ImageDim imageset="smartYYUI" image="Small_Cancel_Btn_Normal_Top" dimension="Height" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="Small_Cancel_Btn_Normal_Right" dimension="Width" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="Small_Cancel_Btn_Normal_Bottom" dimension="Height" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
        </Area>
        <Image imageset="smartYYUI" image="Small_Cancel_Btn_Normal_Background" />
        <Colours topLeft="FFFFFFFF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFFFFFFF" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <ImagerySection name="hover">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <Image type="TopLeftCorner" imageset="smartYYUI" image="Small_Cancel_Btn_Hover_TopLeft" />
        <Image type="TopRightCorner" imageset="smartYYUI" image="Small_Cancel_Btn_Hover_TopRight" />
        <Image type="BottomLeftCorner" imageset="smartYYUI" image="Small_Cancel_Btn_Hover_BottomLeft" />
        <Image type="BottomRightCorner" imageset="smartYYUI" image="Small_Cancel_Btn_Hover_BottomRight" />
        <Image type="LeftEdge" imageset="smartYYUI" image="Small_Cancel_Btn_Hover_Left" />
        <Image type="TopEdge" imageset="smartYYUI" image="Small_Cancel_Btn_Hover_Top" />
        <Image type="RightEdge" imageset="smartYYUI" image="Small_Cancel_Btn_Hover_Right" />
        <Image type="BottomEdge" imageset="smartYYUI" image="Small_Cancel_Btn_Hover_Bottom" />
      </FrameComponent>
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge">
            <ImageDim imageset="smartYYUI" image="Small_Cancel_Btn_Hover_Left" dimension="Width" />
          </Dim>
          <Dim type="TopEdge">
            <ImageDim imageset="smartYYUI" image="Small_Cancel_Btn_Hover_Top" dimension="Height" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="Small_Cancel_Btn_Hover_Right" dimension="Width" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="Small_Cancel_Btn_Hover_Bottom" dimension="Height" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
        </Area>
        <Image imageset="smartYYUI" image="Small_Cancel_Btn_Hover_Background" />
        <Colours topLeft="FFFFFFFF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFFFFFFF" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <ImagerySection name="pushed">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <Image type="TopLeftCorner" imageset="smartYYUI" image="Small_Cancel_Btn_Pushed_TopLeft" />
        <Image type="TopRightCorner" imageset="smartYYUI" image="Small_Cancel_Btn_Pushed_TopRight" />
        <Image type="BottomLeftCorner" imageset="smartYYUI" image="Small_Cancel_Btn_Pushed_BottomLeft" />
        <Image type="BottomRightCorner" imageset="smartYYUI" image="Small_Cancel_Btn_Pushed_BottomRight" />
        <Image type="LeftEdge" imageset="smartYYUI" image="Small_Cancel_Btn_Pushed_Left" />
        <Image type="TopEdge" imageset="smartYYUI" image="Small_Cancel_Btn_Pushed_Top" />
        <Image type="RightEdge" imageset="smartYYUI" image="Small_Cancel_Btn_Pushed_Right" />
        <Image type="BottomEdge" imageset="smartYYUI" image="Small_Cancel_Btn_Pushed_Bottom" />
      </FrameComponent>
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge">
            <ImageDim imageset="smartYYUI" image="Small_Cancel_Btn_Pushed_Left" dimension="Width" />
          </Dim>
          <Dim type="TopEdge">
            <ImageDim imageset="smartYYUI" image="Small_Cancel_Btn_Pushed_Top" dimension="Height" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="Small_Cancel_Btn_Pushed_Right" dimension="Width" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="Small_Cancel_Btn_Pushed_Bottom" dimension="Height" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
        </Area>
        <Image imageset="smartYYUI" image="Small_Cancel_Btn_Pushed_Background" />
        <Colours topLeft="FFFFFFFF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFFFFFFF" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <ImagerySection name="disabled">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <Image type="TopLeftCorner" imageset="smartYYUI" image="Small_Cancel_Btn_Disabled_TopLeft" />
        <Image type="TopRightCorner" imageset="smartYYUI" image="Small_Cancel_Btn_Disabled_TopRight" />
        <Image type="BottomLeftCorner" imageset="smartYYUI" image="Small_Cancel_Btn_Disabled_BottomLeft" />
        <Image type="BottomRightCorner" imageset="smartYYUI" image="Small_Cancel_Btn_Disabled_BottomRight" />
        <Image type="LeftEdge" imageset="smartYYUI" image="Small_Cancel_Btn_Disabled_Left" />
        <Image type="TopEdge" imageset="smartYYUI" image="Small_Cancel_Btn_Disabled_Top" />
        <Image type="RightEdge" imageset="smartYYUI" image="Small_Cancel_Btn_Disabled_Right" />
        <Image type="BottomEdge" imageset="smartYYUI" image="Small_Cancel_Btn_Disabled_Bottom" />
      </FrameComponent>
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge">
            <ImageDim imageset="smartYYUI" image="Small_Cancel_Btn_Disabled_Left" dimension="Width" />
          </Dim>
          <Dim type="TopEdge">
            <ImageDim imageset="smartYYUI" image="Small_Cancel_Btn_Disabled_Top" dimension="Height" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="Small_Cancel_Btn_Disabled_Right" dimension="Width" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="Small_Cancel_Btn_Disabled_Bottom" dimension="Height" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
        </Area>
        <Image imageset="smartYYUI" image="Small_Cancel_Btn_Disabled_Background" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <StateImagery name="Normal">
      <Layer>
        <Section section="normal" />
        <Section section="label">
          <ColourProperty name="NormalTextColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="Hover">
      <Layer>
        <Section section="hover" />
        <Section section="label">
          <ColourProperty name="HoverTextColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="Pushed">
      <Layer>
        <Section section="pushed" />
        <Section section="label">
          <ColourProperty name="PushedTextColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="PushedOff">
      <Layer>
        <Section section="hover" />
        <Section section="label">
          <ColourProperty name="HoverTextColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="Disabled">
      <Layer>
        <Section section="disabled">
          <Colours topLeft="FFDFDFDF" topRight="FFDFDFDF" bottomLeft="FFDFDFDF" bottomRight="FFDFDFDF" />
        </Section>
        <Section section="label">
          <ColourProperty name="DisabledTextColour" />
        </Section>
      </Layer>
    </StateImagery>
  </WidgetLook>
  
	<!--
    ***************************************************
        smartYYUI/GreenButton
    ***************************************************
    -->
  <WidgetLook name="smartYY/GreenButton">
    <PropertyDefinition name="NormalTextColour" initialValue="5FFFFFFF" redrawOnWrite="true" />
    <PropertyDefinition name="HoverTextColour" initialValue="5FFFFFFF" redrawOnWrite="true" />
    <PropertyDefinition name="PushedTextColour" initialValue="5FFFFFFF" redrawOnWrite="true" />
    <PropertyDefinition name="DisabledTextColour" initialValue="5FFFFFFF" redrawOnWrite="true" />	
    <ImagerySection name="label">
      <TextComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="8" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" offset="-8" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <VertFormat type="CentreAligned" />
        <HorzFormat type="CentreAligned" />
      </TextComponent>
    </ImagerySection>
    <ImagerySection name="normal">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <Image type="TopLeftCorner" imageset="smartYYUI" image="BottomBtnNormalTopLeft" />
        <Image type="TopRightCorner" imageset="smartYYUI" image="BottomBtnNormalTopRight" />
        <Image type="BottomLeftCorner" imageset="smartYYUI" image="BottomBtnNormalBotLeft" />
        <Image type="BottomRightCorner" imageset="smartYYUI" image="BottomBtnNormalBotRight" />
        <Image type="LeftEdge" imageset="smartYYUI" image="BottomBtnNormalLeft" />
        <Image type="TopEdge" imageset="smartYYUI" image="BottomBtnNormalTop" />
        <Image type="RightEdge" imageset="smartYYUI" image="BottomBtnNormalRight" />
        <Image type="BottomEdge" imageset="smartYYUI" image="BottomBtnNormalBot" />
      </FrameComponent>
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge">
            <ImageDim imageset="smartYYUI" image="BottomBtnNormalLeft" dimension="Width" />
          </Dim>
          <Dim type="TopEdge">
            <ImageDim imageset="smartYYUI" image="BottomBtnNormalTop" dimension="Height" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="BottomBtnNormalRight" dimension="Width" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="BottomBtnNormalBot" dimension="Height" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
        </Area>
        <Image imageset="smartYYUI" image="BottomBtnNormalBackground" />
        <Colours topLeft="FFFFFFFF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFFFFFFF" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <ImagerySection name="hover">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <Image type="TopLeftCorner" imageset="smartYYUI" image="BottomBtnHoverTopLeft" />
        <Image type="TopRightCorner" imageset="smartYYUI" image="BottomBtnHoverTopRight" />
        <Image type="BottomLeftCorner" imageset="smartYYUI" image="BottomBtnHoverBotLeft" />
        <Image type="BottomRightCorner" imageset="smartYYUI" image="BottomBtnHoverBotRight" />
        <Image type="LeftEdge" imageset="smartYYUI" image="BottomBtnHoverLeft" />
        <Image type="TopEdge" imageset="smartYYUI" image="BottomBtnHoverTop" />
        <Image type="RightEdge" imageset="smartYYUI" image="BottomBtnHoverRight" />
        <Image type="BottomEdge" imageset="smartYYUI" image="BottomBtnHoverBot" />
      </FrameComponent>
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge">
            <ImageDim imageset="smartYYUI" image="BottomBtnHoverLeft" dimension="Width" />
          </Dim>
          <Dim type="TopEdge">
            <ImageDim imageset="smartYYUI" image="BottomBtnHoverTop" dimension="Height" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="BottomBtnHoverRight" dimension="Width" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="BottomBtnHoverBot" dimension="Height" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
        </Area>
        <Image imageset="smartYYUI" image="BottomBtnHoverBackground" />
        <Colours topLeft="FFFFFFFF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFFFFFFF" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <ImagerySection name="pushed">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <Image type="TopLeftCorner" imageset="smartYYUI" image="BottomBtnPushTopLeft" />
        <Image type="TopRightCorner" imageset="smartYYUI" image="BottomBtnPushTopRight" />
        <Image type="BottomLeftCorner" imageset="smartYYUI" image="BottomBtnPushBotLeft" />
        <Image type="BottomRightCorner" imageset="smartYYUI" image="BottomBtnPushBotRight" />
        <Image type="LeftEdge" imageset="smartYYUI" image="BottomBtnPushLeft" />
        <Image type="TopEdge" imageset="smartYYUI" image="BottomBtnPushTop" />
        <Image type="RightEdge" imageset="smartYYUI" image="BottomBtnPushRight" />
        <Image type="BottomEdge" imageset="smartYYUI" image="BottomBtnPushBot" />
      </FrameComponent>
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge">
            <ImageDim imageset="smartYYUI" image="BottomBtnPushLeft" dimension="Width" />
          </Dim>
          <Dim type="TopEdge">
            <ImageDim imageset="smartYYUI" image="BottomBtnPushTop" dimension="Height" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="BottomBtnPushRight" dimension="Width" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="BottomBtnPushBot" dimension="Height" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
        </Area>
        <Image imageset="smartYYUI" image="BottomBtnPushBackground" />
        <Colours topLeft="FFFFFFFF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFFFFFFF" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <ImagerySection name="disabled">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <Image type="TopLeftCorner" imageset="smartYYUI" image="BottomBtnNormalTopLeft" />
        <Image type="TopRightCorner" imageset="smartYYUI" image="BottomBtnNormalTopRight" />
        <Image type="BottomLeftCorner" imageset="smartYYUI" image="BottomBtnNormalBotLeft" />
        <Image type="BottomRightCorner" imageset="smartYYUI" image="BottomBtnNormalBotRight" />
        <Image type="LeftEdge" imageset="smartYYUI" image="BottomBtnNormalLeft" />
        <Image type="TopEdge" imageset="smartYYUI" image="BottomBtnNormalTop" />
        <Image type="RightEdge" imageset="smartYYUI" image="BottomBtnNormalRight" />
        <Image type="BottomEdge" imageset="smartYYUI" image="BottomBtnNormalBot" />
      </FrameComponent>
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge">
            <ImageDim imageset="smartYYUI" image="BottomBtnNormalLeft" dimension="Width" />
          </Dim>
          <Dim type="TopEdge">
            <ImageDim imageset="smartYYUI" image="BottomBtnNormalTop" dimension="Height" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="BottomBtnNormalRight" dimension="Width" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="BottomBtnNormalBot" dimension="Height" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
        </Area>
        <Image imageset="smartYYUI" image="BottomBtnNormalBackground" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <StateImagery name="Normal">
      <Layer>
        <Section section="normal" />
        <Section section="label">
          <ColourProperty name="NormalTextColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="Hover">
      <Layer>
        <Section section="hover" />
        <Section section="label">
          <ColourProperty name="HoverTextColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="Pushed">
      <Layer>
        <Section section="pushed" />
        <Section section="label">
          <ColourProperty name="PushedTextColour" />
        </Section>
      </Layer>
    </StateImagery>
	<!--
    <StateImagery name="PushedOff">
      <Layer>
        <Section section="hover" />
        <Section section="label">
          <ColourProperty name="HoverTextColour" />
        </Section>
      </Layer>
    </StateImagery>
	-->
    <StateImagery name="Disabled">
      <Layer>
        <Section section="disabled">
          <Colours topLeft="FFDFDFDF" topRight="FFDFDFDF" bottomLeft="FFDFDFDF" bottomRight="FFDFDFDF" />
        </Section>
        <Section section="label">
          <ColourProperty name="DisabledTextColour" />
        </Section>
      </Layer>
    </StateImagery>
  </WidgetLook>
  <!--
    ***************************************************
        smartYYUI/TextButton
    ***************************************************
    -->
  <WidgetLook name="smartYY/TextButton">
	<Property name="NonClient" value="True" />
    <PropertyDefinition name="NormalTextColour" initialValue="FF438AD2" redrawOnWrite="true" />
    <PropertyDefinition name="HoverTextColour" initialValue="FF6EC7FF" redrawOnWrite="true" />
    <PropertyDefinition name="PushedTextColour" initialValue="FF303F52" redrawOnWrite="true" />
    <PropertyDefinition name="DisabledTextColour" initialValue="5FFFFFFF" redrawOnWrite="true" />
    <ImagerySection name="label">
      <TextComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <VertFormat type="CentreAligned" />
        <HorzFormat type="WordWrapCentreAligned" />
      </TextComponent>
    </ImagerySection>
    <ImagerySection name="normal">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <Image type="TopLeftCorner" imageset="smartYYUI" image="empty" />
        <Image type="TopRightCorner" imageset="smartYYUI" image="empty" />
        <Image type="BottomLeftCorner" imageset="smartYYUI" image="empty" />
        <Image type="BottomRightCorner" imageset="smartYYUI" image="empty" />
        <Image type="LeftEdge" imageset="smartYYUI" image="empty" />
        <Image type="TopEdge" imageset="smartYYUI" image="empty" />
        <Image type="RightEdge" imageset="smartYYUI" image="empty" />
        <Image type="BottomEdge" imageset="smartYYUI" image="empty" />
      </FrameComponent>
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge">
            <ImageDim imageset="smartYYUI" image="empty" dimension="Width" />
          </Dim>
          <Dim type="TopEdge">
            <ImageDim imageset="smartYYUI" image="empty" dimension="Height" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="empty" dimension="Width" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="empty" dimension="Height" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
        </Area>
        <Image imageset="smartYYUI" image="empty" />
        <Colours topLeft="FFAFAFAF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFAFAFAF" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <ImagerySection name="hover">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <Image type="TopLeftCorner" imageset="smartYYUI" image="empty" />
        <Image type="TopRightCorner" imageset="smartYYUI" image="empty" />
        <Image type="BottomLeftCorner" imageset="smartYYUI" image="empty" />
        <Image type="BottomRightCorner" imageset="smartYYUI" image="empty" />
        <Image type="LeftEdge" imageset="smartYYUI" image="empty" />
        <Image type="TopEdge" imageset="smartYYUI" image="empty" />
        <Image type="RightEdge" imageset="smartYYUI" image="empty" />
        <Image type="BottomEdge" imageset="smartYYUI" image="empty" />
      </FrameComponent>
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge">
            <ImageDim imageset="smartYYUI" image="empty" dimension="Width" />
          </Dim>
          <Dim type="TopEdge">
            <ImageDim imageset="smartYYUI" image="empty" dimension="Height" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="empty" dimension="Width" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="empty" dimension="Height" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
        </Area>
        <Image imageset="smartYYUI" image="empty" />
        <Colours topLeft="FFCFD9CF" topRight="FFF2FFF2" bottomLeft="FFF2FFF2" bottomRight="FFCFD9CF" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <ImagerySection name="pushed">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <Image type="TopLeftCorner" imageset="smartYYUI" image="empty" />
        <Image type="TopRightCorner" imageset="smartYYUI" image="empty" />
        <Image type="BottomLeftCorner" imageset="smartYYUI" image="empty" />
        <Image type="BottomRightCorner" imageset="smartYYUI" image="empty" />
        <Image type="LeftEdge" imageset="smartYYUI" image="empty" />
        <Image type="TopEdge" imageset="smartYYUI" image="empty" />
        <Image type="RightEdge" imageset="smartYYUI" image="empty" />
        <Image type="BottomEdge" imageset="smartYYUI" image="empty" />
      </FrameComponent>
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge">
            <ImageDim imageset="smartYYUI" image="empty" dimension="Width" />
          </Dim>
          <Dim type="TopEdge">
            <ImageDim imageset="smartYYUI" image="empty" dimension="Height" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="empty" dimension="Width" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="empty" dimension="Height" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
        </Area>
        <Image imageset="smartYYUI" image="empty" />
        <Colours topLeft="FFAFAFAF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFAFAFAF" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <ImagerySection name="disabled">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <Image type="TopLeftCorner" imageset="smartYYUI" image="empty" />
        <Image type="TopRightCorner" imageset="smartYYUI" image="empty" />
        <Image type="BottomLeftCorner" imageset="smartYYUI" image="empty" />
        <Image type="BottomRightCorner" imageset="smartYYUI" image="empty" />
        <Image type="LeftEdge" imageset="smartYYUI" image="empty" />
        <Image type="TopEdge" imageset="smartYYUI" image="empty" />
        <Image type="RightEdge" imageset="smartYYUI" image="empty" />
        <Image type="BottomEdge" imageset="smartYYUI" image="empty" />
      </FrameComponent>
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge">
            <ImageDim imageset="smartYYUI" image="empty" dimension="Width" />
          </Dim>
          <Dim type="TopEdge">
            <ImageDim imageset="smartYYUI" image="empty" dimension="Height" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="empty" dimension="Width" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="empty" dimension="Height" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
        </Area>
        <Image imageset="smartYYUI" image="empty" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <StateImagery name="Normal">
      <Layer>
        <Section section="normal" />
        <Section section="label">
          <ColourProperty name="NormalTextColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="Hover">
      <Layer>
        <Section section="hover" />
        <Section section="label">
          <ColourProperty name="HoverTextColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="Pushed">
      <Layer>
        <Section section="pushed" />
        <Section section="label">
          <ColourProperty name="PushedTextColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="PushedOff">
      <Layer>
        <Section section="hover" />
        <Section section="label">
          <ColourProperty name="HoverTextColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="Disabled">
      <Layer>
        <Section section="disabled">
          <Colours topLeft="FFDFDFDF" topRight="FFDFDFDF" bottomLeft="FFDFDFDF" bottomRight="FFDFDFDF" />
        </Section>
        <Section section="label">
          <ColourProperty name="DisabledTextColour" />
        </Section>
      </Layer>
    </StateImagery>
  </WidgetLook>

    <!--
    ***************************************************
        smartYYUI/LeftAlignedTextButton
    ***************************************************
    -->
  <WidgetLook name="smartYY/LeftAlignedTextButton">
    <PropertyDefinition name="NormalTextColour" initialValue="FF438AD2" redrawOnWrite="true" />
    <PropertyDefinition name="HoverTextColour" initialValue="FF6EC7FF" redrawOnWrite="true" />
    <PropertyDefinition name="PushedTextColour" initialValue="FF303F52" redrawOnWrite="true" />
    <PropertyDefinition name="DisabledTextColour" initialValue="5FFFFFFF" redrawOnWrite="true" />
    <ImagerySection name="label">
      <TextComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <VertFormat type="CentreAligned" />
        <HorzFormat type="LeftAligned" />
      </TextComponent>
    </ImagerySection>
    <ImagerySection name="normal">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <Image type="TopLeftCorner" imageset="smartYYUI" image="empty" />
        <Image type="TopRightCorner" imageset="smartYYUI" image="empty" />
        <Image type="BottomLeftCorner" imageset="smartYYUI" image="empty" />
        <Image type="BottomRightCorner" imageset="smartYYUI" image="empty" />
        <Image type="LeftEdge" imageset="smartYYUI" image="empty" />
        <Image type="TopEdge" imageset="smartYYUI" image="empty" />
        <Image type="RightEdge" imageset="smartYYUI" image="empty" />
        <Image type="BottomEdge" imageset="smartYYUI" image="empty" />
      </FrameComponent>
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge">
            <ImageDim imageset="smartYYUI" image="empty" dimension="Width" />
          </Dim>
          <Dim type="TopEdge">
            <ImageDim imageset="smartYYUI" image="empty" dimension="Height" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="empty" dimension="Width" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="empty" dimension="Height" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
        </Area>
        <Image imageset="smartYYUI" image="empty" />
        <Colours topLeft="FFAFAFAF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFAFAFAF" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <ImagerySection name="hover">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <Image type="TopLeftCorner" imageset="smartYYUI" image="empty" />
        <Image type="TopRightCorner" imageset="smartYYUI" image="empty" />
        <Image type="BottomLeftCorner" imageset="smartYYUI" image="empty" />
        <Image type="BottomRightCorner" imageset="smartYYUI" image="empty" />
        <Image type="LeftEdge" imageset="smartYYUI" image="empty" />
        <Image type="TopEdge" imageset="smartYYUI" image="empty" />
        <Image type="RightEdge" imageset="smartYYUI" image="empty" />
        <Image type="BottomEdge" imageset="smartYYUI" image="empty" />
      </FrameComponent>
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge">
            <ImageDim imageset="smartYYUI" image="empty" dimension="Width" />
          </Dim>
          <Dim type="TopEdge">
            <ImageDim imageset="smartYYUI" image="empty" dimension="Height" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="empty" dimension="Width" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="empty" dimension="Height" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
        </Area>
        <Image imageset="smartYYUI" image="empty" />
        <Colours topLeft="FFCFD9CF" topRight="FFF2FFF2" bottomLeft="FFF2FFF2" bottomRight="FFCFD9CF" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <ImagerySection name="pushed">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <Image type="TopLeftCorner" imageset="smartYYUI" image="empty" />
        <Image type="TopRightCorner" imageset="smartYYUI" image="empty" />
        <Image type="BottomLeftCorner" imageset="smartYYUI" image="empty" />
        <Image type="BottomRightCorner" imageset="smartYYUI" image="empty" />
        <Image type="LeftEdge" imageset="smartYYUI" image="empty" />
        <Image type="TopEdge" imageset="smartYYUI" image="empty" />
        <Image type="RightEdge" imageset="smartYYUI" image="empty" />
        <Image type="BottomEdge" imageset="smartYYUI" image="empty" />
      </FrameComponent>
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge">
            <ImageDim imageset="smartYYUI" image="empty" dimension="Width" />
          </Dim>
          <Dim type="TopEdge">
            <ImageDim imageset="smartYYUI" image="empty" dimension="Height" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="empty" dimension="Width" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="empty" dimension="Height" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
        </Area>
        <Image imageset="smartYYUI" image="empty" />
        <Colours topLeft="FFAFAFAF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFAFAFAF" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <ImagerySection name="disabled">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge">
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge" />
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge" />
          </Dim>
        </Area>
        <Image type="TopLeftCorner" imageset="smartYYUI" image="empty" />
        <Image type="TopRightCorner" imageset="smartYYUI" image="empty" />
        <Image type="BottomLeftCorner" imageset="smartYYUI" image="empty" />
        <Image type="BottomRightCorner" imageset="smartYYUI" image="empty" />
        <Image type="LeftEdge" imageset="smartYYUI" image="empty" />
        <Image type="TopEdge" imageset="smartYYUI" image="empty" />
        <Image type="RightEdge" imageset="smartYYUI" image="empty" />
        <Image type="BottomEdge" imageset="smartYYUI" image="empty" />
      </FrameComponent>
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge">
            <ImageDim imageset="smartYYUI" image="empty" dimension="Width" />
          </Dim>
          <Dim type="TopEdge">
            <ImageDim imageset="smartYYUI" image="empty" dimension="Height" />
          </Dim>
          <Dim type="RightEdge">
            <UnifiedDim scale="1" type="RightEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="empty" dimension="Width" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
          <Dim type="BottomEdge">
            <UnifiedDim scale="1" type="BottomEdge">
              <DimOperator op="Subtract">
                <ImageDim imageset="smartYYUI" image="empty" dimension="Height" />
              </DimOperator>
            </UnifiedDim>
          </Dim>
        </Area>
        <Image imageset="smartYYUI" image="empty" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <StateImagery name="Normal">
      <Layer>
        <Section section="normal" />
        <Section section="label">
          <ColourProperty name="NormalTextColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="Hover">
      <Layer>
        <Section section="hover" />
        <Section section="label">
          <ColourProperty name="HoverTextColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="Pushed">
      <Layer>
        <Section section="pushed" />
        <Section section="label">
          <ColourProperty name="PushedTextColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="PushedOff">
      <Layer>
        <Section section="hover" />
        <Section section="label">
          <ColourProperty name="HoverTextColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="Disabled">
      <Layer>
        <Section section="disabled">
          <Colours topLeft="FFDFDFDF" topRight="FFDFDFDF" bottomLeft="FFDFDFDF" bottomRight="FFDFDFDF" />
        </Section>
        <Section section="label">
          <ColourProperty name="DisabledTextColour" />
        </Section>
      </Layer>
    </StateImagery>
  </WidgetLook>

    <!--
    ***************************************************
        smartYY/ImageButton
    ***************************************************
    -->
    <WidgetLook name="smartYY/ImageButton">
        <PropertyDefinition name="NormalImage" initialValue="" redrawOnWrite="true" />
        <PropertyDefinition name="HoverImage" initialValue="" redrawOnWrite="true" />
        <PropertyDefinition name="PushedImage" initialValue="" redrawOnWrite="true" />
        <PropertyDefinition name="DisabledImage" initialValue="" redrawOnWrite="true" />
        <PropertyDefinition name="VertImageFormatting" initialValue="Stretched" redrawOnWrite="true" />
        <PropertyDefinition name="HorzImageFormatting" initialValue="Stretched" redrawOnWrite="true" />
        <Property name="NonClient" value="True" />
		<PropertyDefinition name="NormalTextColour" initialValue="FF000000" redrawOnWrite="true" />
		<PropertyDefinition name="HoverTextColour" initialValue="FF000000" redrawOnWrite="true" />
		<PropertyDefinition name="PushedTextColour" initialValue="FF000000" redrawOnWrite="true" />
		<PropertyDefinition name="DisabledTextColour" initialValue="FF000000" redrawOnWrite="true" />
		<ImagerySection name="label">
		  <TextComponent>
			<Area>
			  <Dim type="LeftEdge">
				<AbsoluteDim value="0" />
			  </Dim>
			  <Dim type="TopEdge">
				<AbsoluteDim value="0" />
			  </Dim>
			  <Dim type="RightEdge">
				<UnifiedDim scale="1" type="RightEdge" />
			  </Dim>
			  <Dim type="BottomEdge">
				<UnifiedDim scale="1" type="BottomEdge" />
			  </Dim>
			</Area>
			<VertFormat type="CentreAligned" />
			<HorzFormat type="WordWrapCentreAligned" />
		  </TextComponent>
		</ImagerySection>
        <ImagerySection name="normal">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <ImageProperty name="NormalImage" />
                <VertFormatProperty name="VertImageFormatting" />
                <HorzFormatProperty name="HorzImageFormatting" />
            </ImageryComponent>
        </ImagerySection>
        <ImagerySection name="hover">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <ImageProperty name="HoverImage" />
                <VertFormatProperty name="VertImageFormatting" />
                <HorzFormatProperty name="HorzImageFormatting" />
            </ImageryComponent>
        </ImagerySection>
        <ImagerySection name="pushed">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <ImageProperty name="PushedImage" />
                <VertFormatProperty name="VertImageFormatting" />
                <HorzFormatProperty name="HorzImageFormatting" />
            </ImageryComponent>
        </ImagerySection>
        <ImagerySection name="disabled">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <ImageProperty name="DisabledImage" />
                <VertFormatProperty name="VertImageFormatting" />
                <HorzFormatProperty name="HorzImageFormatting" />
            </ImageryComponent>
        </ImagerySection>
		<StateImagery name="Normal">
		  <Layer>
			<Section section="normal" />
			<Section section="label">
			  <ColourProperty name="NormalTextColour" />
			</Section>
		  </Layer>
		</StateImagery>
		<StateImagery name="Hover">
		  <Layer>
			<Section section="hover" />
			<Section section="label">
			  <ColourProperty name="HoverTextColour" />
			</Section>
		  </Layer>
		</StateImagery>
		<StateImagery name="Pushed">
		  <Layer>
			<Section section="pushed" />
			<Section section="label">
			  <ColourProperty name="PushedTextColour" />
			</Section>
		  </Layer>
		</StateImagery>
		<StateImagery name="PushedOff">
		  <Layer>
			<Section section="hover" />
			<Section section="label">
			  <ColourProperty name="HoverTextColour" />
			</Section>
		  </Layer>
		</StateImagery>
		<StateImagery name="Disabled">
		  <Layer>
			<Section section="disabled" />
			<Section section="label">
			  <ColourProperty name="DisabledTextColour" />
			</Section>
		  </Layer>
		</StateImagery>
    </WidgetLook>

    
    <!--
    ***************************************************
        smartYY/HorizontalSliderThumb
    ***************************************************
    -->
    <WidgetLook name="smartYY/HorizontalSliderThumb">
        <Property name="HorzFree" value="True" />
        <ImagerySection name="normal">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1.0" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1.0" type="Height" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="SliderThumbNormal" />
                <VertFormat type="Stretched" />
                <HorzFormat type="Stretched" />
            </ImageryComponent>
        </ImagerySection>
        <ImagerySection name="hover">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1.0" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1.0" type="Height" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="SliderThumbHover" />
                <VertFormat type="Stretched" />
                <HorzFormat type="Stretched" />
            </ImageryComponent>
        </ImagerySection>
        <StateImagery name="Normal">
            <Layer> <Section section="normal" /> </Layer>
        </StateImagery>
        <StateImagery name="Hover">
            <Layer> <Section section="hover" /> </Layer>
        </StateImagery>
        <StateImagery name="Pushed">
            <Layer> <Section section="hover" /> </Layer>
        </StateImagery>
        <StateImagery name="Disabled">
            <Layer>
                <Section section="normal">
                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
                </Section>
            </Layer>
        </StateImagery>
    </WidgetLook>


    <!--
    ***************************************************
    smartYY/HorizontalSlider
    ***************************************************
    -->
    <WidgetLook name="smartYY/HorizontalSlider">
        <Property name="MouseButtonDownAutoRepeat" value="True" />
        <Property name="WantsMultiClickEvents" value="False" />
        <NamedArea name="ThumbTrackArea">
            <Area>
                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="RightEdge" ><UnifiedDim scale="1.0" type="RightEdge" /></Dim>
                <Dim type="BottomEdge" ><UnifiedDim scale="1.0" type="BottomEdge" /></Dim>
            </Area>
        </NamedArea>
        <Child  type="smartYY/HorizontalSliderThumb" nameSuffix="__auto_thumb__">
            <Area>
                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="Width" ><ImageDim imageset="smartYYUI" image="SliderThumbNormal" dimension="Width" /></Dim>
                <Dim type="Height" ><ImageDim imageset="smartYYUI" image="SliderThumbNormal" dimension="Height" /></Dim>
            </Area>
            <VertAlignment type="CentreAligned" />
        </Child>
        <ImagerySection name="value_lights">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge"><AbsoluteDim value="5" /></Dim>
                    <Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
                    <Dim type="BottomEdge"><ImageDim imageset="smartYYUI" image="SliderTrackVal" dimension="BottomEdge" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="SliderTrackVal" />
                <VertFormat type="TopAligned" />
                <HorzFormat type="Stretched" />
            </ImageryComponent>
        </ImagerySection>  
	<ImagerySection name="track">
            <FrameComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" >
                        <UnifiedDim scale="0.5" type="TopEdge">
                            <DimOperator op="Subtract">
                                <ImageDim imageset="smartYYUI" image="SliderTrackLeft" dimension="Height">
                                    <DimOperator op="Divide">
                                        <AbsoluteDim value="2" />
                                    </DimOperator>
                                </ImageDim>
                            </DimOperator>
                        </UnifiedDim>
                    </Dim>
                    <Dim type="RightEdge" ><UnifiedDim scale="1.0" type="RightEdge" /></Dim>
                    <Dim type="Height" ><ImageDim imageset="smartYYUI" image="SliderTrackMiddle" dimension="Height" /></Dim>
                </Area>
                <Image type="LeftEdge" imageset="smartYYUI" image="SliderTrackLeft" />
                <Image type="RightEdge" imageset="smartYYUI" image="SliderTrackRight" />
                <Image type="Background" imageset="smartYYUI" image="SliderTrackMiddle" />
                <VertFormat type="Stretched" />
                <HorzFormat type="Stretched" />
            </FrameComponent>
        </ImagerySection>
        <StateImagery name="Enabled">
            <Layer> <Section section="track" /> </Layer>
        </StateImagery>
        <StateImagery name="Disabled">
            <Layer> <Section section="track" /> </Layer>
        </StateImagery>
        <StateImagery name="EnabledSlider">
            <Layer> <Section section="value_lights" /> </Layer>
        </StateImagery>
        <StateImagery name="DisabledSlider">
            <Layer>
                <Section section="value_lights">
                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
                </Section>
            </Layer>
        </StateImagery>        
    </WidgetLook>

    <!--
    ***************************************************
        smartYY/VerticalSliderThumb
    ***************************************************
    -->
    <WidgetLook name="smartYY/VerticalSliderThumb">
        <Property name="VertFree" value="True" />
        <ImagerySection name="normal">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1.0" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1.0" type="Height" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="SliderThumbNormal" />
                <VertFormat type="Stretched" />
                <HorzFormat type="Stretched" />
            </ImageryComponent>
        </ImagerySection>
        <ImagerySection name="hover">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1.0" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1.0" type="Height" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="SliderThumbHover" />
                <VertFormat type="Stretched" />
                <HorzFormat type="Stretched" />
            </ImageryComponent>
        </ImagerySection>
        <StateImagery name="Normal">
            <Layer> <Section section="normal" /> </Layer>
        </StateImagery>
        <StateImagery name="Hover">
            <Layer> <Section section="hover" /> </Layer>
        </StateImagery>
        <StateImagery name="Pushed">
            <Layer> <Section section="hover" /> </Layer>
        </StateImagery>
        <StateImagery name="Disabled">
            <Layer>
                <Section section="normal">
                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
                </Section>
            </Layer>
        </StateImagery>
    </WidgetLook>


    <!--
    ***************************************************
    smartYY/VerticalSlider
    ***************************************************
    -->
    <WidgetLook name="smartYY/VerticalSlider">
        <Property name="MouseButtonDownAutoRepeat" value="True" />
        <Property name="WantsMultiClickEvents" value="False" />
        <Property name="VerticalSlider" value="True" />
        <NamedArea name="ThumbTrackArea">
            <Area>
                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="RightEdge" ><UnifiedDim scale="1.0" type="RightEdge" /></Dim>
                <Dim type="BottomEdge" ><UnifiedDim scale="1.0" type="BottomEdge" /></Dim>
            </Area>
        </NamedArea>
        <Child  type="smartYY/VerticalSliderThumb" nameSuffix="__auto_thumb__">
            <Area>
                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="Width" ><ImageDim imageset="smartYYUI" image="SliderThumbNormal" dimension="Width" /></Dim>
                <Dim type="Height" ><ImageDim imageset="smartYYUI" image="SliderThumbNormal" dimension="Height" /></Dim>
            </Area>
            <HorzAlignment type="CentreAligned"/>
        </Child>
        <ImagerySection name="value_lights">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge"><AbsoluteDim value="5" /></Dim>
                    <Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
                    <Dim type="BottomEdge"><ImageDim imageset="smartYYUI" image="SliderTrackVal" dimension="BottomEdge" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="SliderTrackVal" />
                <VertFormat type="TopAligned" />
                <HorzFormat type="Stretched" />
            </ImageryComponent>
        </ImagerySection>  
        <ImagerySection name="track">
            <FrameComponent>
                <Area>
                    <Dim type="LeftEdge" >
                        <UnifiedDim scale="0.5" type="LeftEdge">
                            <DimOperator op="Subtract">
                                <ImageDim imageset="smartYYUI" image="SliderTrackLeft" dimension="Width">
                                    <DimOperator op="Divide">
                                        <AbsoluteDim value="2" />
                                    </DimOperator>
                                </ImageDim>
                            </DimOperator>
                        </UnifiedDim>
                    </Dim>
                    <Dim type="TopEdge" ><ImageDim imageset="smartYYUI" image="SliderTrackLeft" dimension="Height" /></Dim>
                    <Dim type="Width" ><ImageDim imageset="smartYYUI" image="SliderTrackMiddle" dimension="Width" /></Dim>
                    <Dim type="BottomEdge" >
                        <UnifiedDim scale="1.0" type="BottomEdge">
                            <DimOperator op="Subtract">
                                <ImageDim imageset="smartYYUI" image="SliderTrackRight" dimension="Height" />
                            </DimOperator>
                        </UnifiedDim>
                    </Dim>
                </Area>
                <Image type="TopEdge" imageset="smartYYUI" image="SliderTrackLeft" />
                <Image type="BottomEdge" imageset="smartYYUI" image="SliderTrackRight" />
                <Image type="Background" imageset="smartYYUI" image="SliderTrackMiddle" />
                <VertFormat type="Stretched" />
                <HorzFormat type="Stretched" />
            </FrameComponent>
        </ImagerySection>
        <StateImagery name="Enabled">
            <Layer> <Section section="track" /> </Layer>
        </StateImagery>
        <StateImagery name="Disabled">
            <Layer> <Section section="track" /> </Layer>
        </StateImagery>
        <StateImagery name="EnabledSlider">
            <Layer> <Section section="value_lights" /> </Layer>
        </StateImagery>
        <StateImagery name="DisabledSlider">
            <Layer>
                <Section section="value_lights">
                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
                </Section>
            </Layer>
        </StateImagery>        
    </WidgetLook>
         
<!--**************************************************     
smartYY/Editbox     
***************************************************-->

  <WidgetLook name="smartYY/Editbox">
    <PropertyDefinition name="NormalTextColour" initialValue="FF438AD2" redrawOnWrite="true" />
    <PropertyDefinition name="SelectedTextColour" initialValue="FFFFFFFF" redrawOnWrite="true" />
    <PropertyDefinition name="ActiveSelectionColour" initialValue="FF607b8f" redrawOnWrite="true" />
    <PropertyDefinition name="InactiveSelectionColour" initialValue="FF607b8f" redrawOnWrite="true" />
    <Property name="MouseCursorImage" value="set:smartYYUI image:MouseTextBar" />
    <NamedArea name="TextArea">
		<!--
		<Area>
			<Dim type="LeftEdge" > <AbsoluteDim value="10" /> </Dim>
			<Dim type="TopEdge" > <AbsoluteDim value="0" /> </Dim>
			<Dim type="RightEdge" > <UnifiedDim scale="1.0" offset="-10" type="RightEdge" /> </Dim>
			<Dim type="Height" > <ImageDim imageset="smartYYUI" image="EditBoxMiddle" dimension="Height" /> </Dim>
		</Area>
		-->
		<Area>
			<Dim type="LeftEdge" ><AbsoluteDim value="11" /></Dim>
			<Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
			<Dim type="Width" ><UnifiedDim scale="1.0" offset="-11" type="RightEdge" /></Dim>
			<Dim type="BottomEdge" ><UnifiedDim scale="1.0" type="BottomEdge" /></Dim>
		</Area>
    </NamedArea>
    <ImagerySection name="container_normal">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge" > <AbsoluteDim value="0" /> </Dim>
          <Dim type="TopEdge" >
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="Width" > <UnifiedDim scale="1" type="Width" /> </Dim>
          <Dim type="Height" >  <ImageDim imageset="smartYYUI" image="EditBoxMiddle" dimension="Height" /> </Dim>
        </Area>
        <Image type="LeftEdge" imageset="smartYYUI" image="EditBoxLeft" />
        <Image type="RightEdge" imageset="smartYYUI" image="EditBoxRight" />
        <Image type="Background" imageset="smartYYUI" image="EditBoxMiddle" />
      </FrameComponent>
    </ImagerySection>
    <ImagerySection name="selection">
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge" > <AbsoluteDim value="0" /> </Dim>
          <Dim type="TopEdge" > <AbsoluteDim value="2" /> </Dim>
          <Dim type="RightEdge" > <UnifiedDim scale="1.0" type="RightEdge" /> </Dim>
          <Dim type="BottomEdge" > <UnifiedDim scale="1.0" offset="-2" type="BottomEdge" /> </Dim>
        </Area>
        <Image imageset="smartYYUI" image="MultiLineEditboxSelectionBrush" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <ImagerySection name="Carat">
      <ImageryComponent>
        <Area>
			<Dim type="LeftEdge" > <AbsoluteDim value="0" /> </Dim>
			<Dim type="TopEdge" > <AbsoluteDim value="3" /> </Dim>
			<Dim type="Width" > <ImageDim imageset="smartYYUI" image="EditBoxCarat" dimension="Width" /> </Dim>
			<Dim type="BottomEdge" ><UnifiedDim scale="1.0" offset="-3" type="BottomEdge" /></Dim>
			<!--          
			<Dim type="Height" > <ImageDim imageset="smartYYUI" image="EditBoxCarat" dimension="Height" /> </Dim>
			-->
        </Area>
        <Image imageset="smartYYUI" image="EditBoxCarat" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>

    <StateImagery name="Actived">
      <Layer>  <Section section="container_normal" /> </Layer>
    </StateImagery>

    <StateImagery name="Enabled">
      <Layer>  <Section section="container_normal" /> </Layer>
    </StateImagery>

    <StateImagery name="ReadOnly">
      <Layer> <Section section="container_normal" /> </Layer>
    </StateImagery>

    <StateImagery name="MaskText">
      <Layer> <Section section="container_normal" /> </Layer>
    </StateImagery>

    <StateImagery name="Disabled">
      <Layer>
        <Section section="container_normal">
          <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="ActiveSelection">
      <Layer>
        <Section section="selection">
          <ColourProperty name="ActiveSelectionColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="InactiveSelection">
      <Layer>
        <Section section="selection">
          <ColourProperty name="InactiveSelectionColour" />
        </Section>
      </Layer>
    </StateImagery>
  </WidgetLook>
     

<!--**************************************************         
smartYY/HorizontalScrollbarThumb     
***************************************************-->
	<WidgetLook name="smartYY/HorizontalScrollbarThumb">
	  <Property name="HorzFree" value="True" />
	  <ImagerySection name="normal">
	    <ImageryComponent>
	      <Area>
		<Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
		<Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
		<Dim type="Width" >
		  <ImageDim imageset="smartYYUI" image="MiniHorzScrollThumbNormal" dimension="Width" />
		</Dim>
		<Dim type="Height" >
		  <ImageDim imageset="smartYYUI" image="MiniHorzScrollThumbNormal" dimension="Height" />
		</Dim>
	      </Area>
	      <Image imageset="smartYYUI" image="MiniHorzScrollThumbNormal" />
	      <VertFormat type="Stretched" />
	      <HorzFormat type="Stretched" />
	    </ImageryComponent>
	  </ImagerySection>
	  <ImagerySection name="hover">
	    <ImageryComponent>
	      <Area>
		<Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
		<Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
		<Dim type="Width" >
		  <ImageDim imageset="smartYYUI" image="MiniHorzScrollThumbHover" dimension="Width" />
		</Dim>
		<Dim type="Height" >
		  <ImageDim imageset="smartYYUI" image="MiniHorzScrollThumbHover" dimension="Height" />
		</Dim>
	      </Area>
	      <Image imageset="smartYYUI" image="MiniHorzScrollThumbHover" />
	      <VertFormat type="Stretched" />
	      <HorzFormat type="Stretched" />
	    </ImageryComponent>
	  </ImagerySection>
	  <ImagerySection name="pushed">
	    <ImageryComponent>
	      <Area>
		<Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
		<Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
		<Dim type="Width" >
		  <ImageDim imageset="smartYYUI" image="MiniHorzScrollThumbPushed" dimension="Width" />
		</Dim>
		<Dim type="Height" >
		  <ImageDim imageset="smartYYUI" image="MiniHorzScrollThumbPushed" dimension="Height" />
		</Dim>
	      </Area>
	      <Image imageset="smartYYUI" image="MiniHorzScrollThumbPushed" />
	      <VertFormat type="Stretched" />
	      <HorzFormat type="Stretched" />
	    </ImageryComponent>
	  </ImagerySection>
	  <StateImagery name="Normal"> <Layer> <Section section="normal" />  </Layer>  </StateImagery>
	  <StateImagery name="Hover">  <Layer> <Section section="hover" />   </Layer>  </StateImagery>
	  <StateImagery name="Pushed"> <Layer> <Section section="pushed" />  </Layer>  </StateImagery>
	  <StateImagery name="Disabled">
	    <Layer>
	      <Section section="normal">
		<Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
	      </Section>
	    </Layer>
	  </StateImagery>
	</WidgetLook>


<!--**************************************************         
smartYY/HorizontalScrollbar     
***************************************************-->
	<WidgetLook name="smartYY/HorizontalScrollbar">
	  <NamedArea name="ThumbTrackArea">
	    <Area>
	      <Dim type="LeftEdge" >
		<ImageDim imageset="smartYYUI" image="MiniHorzScrollLeftNormal" dimension="Width" />
	      </Dim>
	      <Dim type="TopEdge" >
		<AbsoluteDim value="0" />
	      </Dim>
	      <Dim type="RightEdge" >
		<UnifiedDim scale="1.0" type="RightEdge">
		  <DimOperator op="Subtract">
		    <ImageDim imageset="smartYYUI" image="MiniHorzScrollRightNormal" dimension="Width" />
		  </DimOperator>
		</UnifiedDim>
	      </Dim>
	      <Dim type="BottomEdge" >
		<ImageDim imageset="smartYYUI" image="MiniHorzScrollBarSegment" dimension="Height" />
	      </Dim>
	    </Area>
	  </NamedArea>
	  <Child  type="smartYY/ImageButton" nameSuffix="__auto_incbtn__">
	    <Area>
	      <Dim type="LeftEdge" > <AbsoluteDim value="0" /> </Dim>
	      <Dim type="TopEdge" > <AbsoluteDim value="0" /> </Dim>
	      <Dim type="Width" > <ImageDim imageset="smartYYUI" image="MiniHorzScrollRightNormal" dimension="Width" /> </Dim>
	      <Dim type="Height" > <ImageDim imageset="smartYYUI" image="MiniHorzScrollRightNormal" dimension="Height" /> </Dim>
	    </Area>
	    <HorzAlignment type="RightAligned" />
	    <Property name="NormalImage" value="set:smartYYUI image:MiniHorzScrollRightNormal" />
	    <Property name="HoverImage" value="set:smartYYUI image:MiniHorzScrollRightHover" />
	    <Property name="PushedImage" value="set:smartYYUI image:MiniHorzScrollRightNormal" />
	  </Child>
	  <Child  type="smartYY/ImageButton" nameSuffix="__auto_decbtn__">
	    <Area>
	      <Dim type="LeftEdge" > <AbsoluteDim value="0" /> </Dim>
	      <Dim type="TopEdge" > <AbsoluteDim value="0" /> </Dim>
	      <Dim type="Width" > <ImageDim imageset="smartYYUI" image="MiniHorzScrollLeftNormal" dimension="Width" /> </Dim>
	      <Dim type="Height" > <ImageDim imageset="smartYYUI" image="MiniHorzScrollLeftNormal" dimension="Height" /> </Dim>
	    </Area>
	    <Property name="NormalImage" value="set:smartYYUI image:MiniHorzScrollLeftNormal" />
	    <Property name="HoverImage" value="set:smartYYUI image:MiniHorzScrollLeftHover" />
	    <Property name="PushedImage" value="set:smartYYUI image:MiniHorzScrollLeftNormal" />
	  </Child>
	  <Child  type="smartYY/HorizontalScrollbarThumb" nameSuffix="__auto_thumb__">
	    <Area>
	      <Dim type="LeftEdge" > <AbsoluteDim value="0" /> </Dim>
	      <Dim type="TopEdge" > <AbsoluteDim value="0" /> </Dim>
	      <Dim type="Width" > <ImageDim imageset="smartYYUI" image="MiniHorzScrollThumbNormal" dimension="Width" /> </Dim>
	      <Dim type="Height" > <ImageDim imageset="smartYYUI" image="MiniHorzScrollThumbNormal" dimension="Height" /> </Dim>
	    </Area>
	  </Child>
	  <ImagerySection name="main">
	    <FrameComponent>
	      <Area>
		<Dim type="LeftEdge">
		  <ImageDim imageset="smartYYUI" image="MiniHorzScrollLeftNormal" dimension="Width" />
		</Dim>
		<Dim type="TopEdge">
		  <AbsoluteDim value="0" />
		</Dim>
		<Dim type="RightEdge">
		  <UnifiedDim scale="1" type="RightEdge">
		    <DimOperator op="Subtract">
		      <ImageDim imageset="smartYYUI" image="MiniHorzScrollRightNormal" dimension="Width" />
		    </DimOperator>
		  </UnifiedDim>
		</Dim>
		<Dim type="Height">
		  <ImageDim imageset="smartYYUI" image="MiniHorzScrollBarSegment" dimension="Height" />
		</Dim>
	      </Area>
	      <Image type="LeftEdge" imageset="smartYYUI" image="MiniHorzScrollBarSegmentLeft" />
	      <Image type="RightEdge" imageset="smartYYUI" image="MiniHorzScrollBarSegmentRight" />
	      <Image type="Background" imageset="smartYYUI" image="MiniHorzScrollBarSegment" />
	    </FrameComponent>
	  </ImagerySection>
	  <StateImagery name="Enabled">
	    <Layer> <Section section="main" /> </Layer>
	  </StateImagery>
	  <StateImagery name="Disabled">
	    <Layer>
	      <Section section="main">
		<Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
	      </Section>
	    </Layer>
	  </StateImagery>
	</WidgetLook>

     
<!--**************************************************         
 smartYY/VerticalScrollbarThumb    
***************************************************-->
	<WidgetLook name="smartYY/VerticalScrollbarThumb">
	<Property name="VertFree" value="True" />
	<ImagerySection name="normal">
	  <ImageryComponent>
	    <Area>
	      <Dim type="LeftEdge" > <AbsoluteDim value="0" /> </Dim>
	      <Dim type="TopEdge" > <AbsoluteDim value="0" /> </Dim>
	      <Dim type="Width" > <ImageDim imageset="smartYYUI" image="MiniVertScrollThumbNormal" dimension="Width" /> </Dim>
	      <Dim type="Height" ><ImageDim imageset="smartYYUI" image="MiniVertScrollThumbNormal" dimension="Height" /> </Dim>
	    </Area>
	    <Image imageset="smartYYUI" image="MiniVertScrollThumbNormal" />
	    <VertFormat type="Stretched" />
	    <HorzFormat type="Stretched" />
	  </ImageryComponent>
	</ImagerySection>
	<ImagerySection name="hover">
	  <ImageryComponent>
	    <Area>
	      <Dim type="LeftEdge" > <AbsoluteDim value="0" /> </Dim>
	      <Dim type="TopEdge" > <AbsoluteDim value="0" /> </Dim>
	      <Dim type="Width" > <ImageDim imageset="smartYYUI" image="MiniVertScrollThumbHover" dimension="Width" /> </Dim>
	      <Dim type="Height" > <ImageDim imageset="smartYYUI" image="MiniVertScrollThumbHover" dimension="Height" /> </Dim>
	    </Area>
	    <Image imageset="smartYYUI" image="MiniVertScrollThumbHover" />
	    <VertFormat type="Stretched" />
	    <HorzFormat type="Stretched" />
	  </ImageryComponent>
	</ImagerySection>
	<ImagerySection name="pushed">
	  <ImageryComponent>
	    <Area>
	      <Dim type="LeftEdge" > <AbsoluteDim value="0" /> </Dim>
	      <Dim type="TopEdge" > <AbsoluteDim value="0" /> </Dim>
	      <Dim type="Width" > <ImageDim imageset="smartYYUI" image="MiniVertScrollThumbPushed" dimension="Width" /> </Dim>
	      <Dim type="Height" > <ImageDim imageset="smartYYUI" image="MiniVertScrollThumbPushed" dimension="Height" /> </Dim>
	    </Area>
	    <Image imageset="smartYYUI" image="MiniVertScrollThumbPushed" />
	    <VertFormat type="Stretched" />
	    <HorzFormat type="Stretched" />
	  </ImageryComponent>
	</ImagerySection>
	<StateImagery name="Normal">  <Layer> <Section section="normal" /> </Layer> </StateImagery>
	<StateImagery name="Hover">   <Layer> <Section section="hover" /> </Layer>  </StateImagery>
	<StateImagery name="Pushed">  <Layer>  <Section section="pushed" /> </Layer></StateImagery>
	<StateImagery name="Disabled">
	  <Layer>
	    <Section section="normal">
	      <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
	    </Section>
	  </Layer>
	</StateImagery>
	</WidgetLook>


<!--**************************************************        
smartYY/VerticalScrollbar     
***************************************************-->
	<WidgetLook name="smartYY/VerticalScrollbar">
	<Property name="VerticalScrollbar" value="True" />
	<NamedArea name="ThumbTrackArea">
	  <Area>
	    <Dim type="LeftEdge" >   <AbsoluteDim value="0" /> </Dim>
	    <Dim type="TopEdge" > <ImageDim imageset="smartYYUI" image="MiniVertScrollUpNormal" dimension="Height" />  </Dim>
	    <Dim type="Width" >  <ImageDim imageset="smartYYUI" image="MiniVertScrollBarSegment" dimension="Width" />  </Dim>
	    <Dim type="BottomEdge" >
	      <UnifiedDim scale="1.0" type="BottomEdge">
		<DimOperator op="Subtract">
		  <ImageDim imageset="smartYYUI" image="MiniVertScrollDownNormal" dimension="Height" />
		</DimOperator>
	      </UnifiedDim>
	    </Dim>
	  </Area>
	</NamedArea>
	<Child  type="smartYY/ImageButton" nameSuffix="__auto_incbtn__">
	  <Area>
	    <Dim type="LeftEdge" > <AbsoluteDim value="0" /> </Dim>
	    <Dim type="TopEdge" > <AbsoluteDim value="0" />  </Dim>
	    <Dim type="Width" >   <ImageDim imageset="smartYYUI" image="MiniVertScrollDownNormal" dimension="Width" /> </Dim>
	    <Dim type="Height" >  <ImageDim imageset="smartYYUI" image="MiniVertScrollDownNormal" dimension="Height" /> </Dim>
	  </Area>
	  <VertAlignment type="BottomAligned" />
	  <Property name="NormalImage" value="set:smartYYUI image:MiniVertScrollDownNormal" />
	  <Property name="HoverImage" value="set:smartYYUI image:MiniVertScrollDownHover" />
	  <Property name="PushedImage" value="set:smartYYUI image:MiniVertScrollDownNormal" />
	</Child>
	<Child  type="smartYY/ImageButton" nameSuffix="__auto_decbtn__">
	  <Area>
	    <Dim type="LeftEdge" > <AbsoluteDim value="0" />  </Dim>
	    <Dim type="TopEdge" >  <AbsoluteDim value="0" />  </Dim>
	    <Dim type="Width" >   <ImageDim imageset="smartYYUI" image="MiniVertScrollUpNormal" dimension="Width" /> </Dim>
	    <Dim type="Height" >  <ImageDim imageset="smartYYUI" image="MiniVertScrollUpNormal" dimension="Height" /> </Dim>
	  </Area>
	  <Property name="NormalImage" value="set:smartYYUI image:MiniVertScrollUpNormal" />
	  <Property name="HoverImage" value="set:smartYYUI image:MiniVertScrollUpHover" />
	  <Property name="PushedImage" value="set:smartYYUI image:MiniVertScrollUpNormal" />
	</Child>
	<Child  type="smartYY/VerticalScrollbarThumb" nameSuffix="__auto_thumb__">
	  <Area>
	    <Dim type="LeftEdge" >  <AbsoluteDim value="0" /> </Dim>
	    <Dim type="TopEdge" >   <AbsoluteDim value="0" /> </Dim>
	    <Dim type="Width" >  <ImageDim imageset="smartYYUI" image="MiniVertScrollThumbNormal" dimension="Width" />  </Dim>
	    <Dim type="Height" > <ImageDim imageset="smartYYUI" image="MiniVertScrollThumbNormal" dimension="Height" /> </Dim>
	  </Area>
	</Child>
	<ImagerySection name="main">
	  <FrameComponent>
	    <Area>
	      <Dim type="LeftEdge" > <AbsoluteDim value="0" /> </Dim>
	      <Dim type="TopEdge" >  <ImageDim imageset="smartYYUI" image="MiniVertScrollUpNormal" dimension="Height" />  </Dim>
	      <Dim type="Width" >    <ImageDim imageset="smartYYUI" image="MiniVertScrollBarSegment" dimension="Width" /> </Dim>
	      <Dim type="BottomEdge" >
		<UnifiedDim scale="1.0" type="BottomEdge">
		  <DimOperator op="Subtract">
		    <ImageDim imageset="smartYYUI" image="MiniVertScrollDownNormal" dimension="Height" />
		  </DimOperator>
		</UnifiedDim>
	      </Dim>
	    </Area>
	    <Image type="TopEdge" imageset="smartYYUI" image="MiniVertScrollBarSegmentTop" />
	    <Image type="BottomEdge" imageset="smartYYUI" image="MiniVertScrollBarSegmentBottom" />
	    <Image type="Background" imageset="smartYYUI" image="MiniVertScrollBarSegment" />
	  </FrameComponent>
	</ImagerySection>
	<StateImagery name="Enabled">  <Layer> <Section section="main" /> </Layer> </StateImagery>
	<StateImagery name="Disabled"> 
	  <Layer> 
	    <Section section="main">
	      <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
	    </Section>
	  </Layer>
	</StateImagery>
	</WidgetLook>


<!--**************************************************
smartYY/Listbox
***************************************************-->
    <WidgetLook name="smartYY/Listbox">
        <NamedArea name="ItemRenderingArea">
            <Area>
                <Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="ListboxLeft" dimension="Width" /></Dim>
                <Dim type="TopEdge" >
                         <ImageDim imageset="smartYYUI" image="ListboxTop" dimension="Height" />
				</Dim>

                <Dim type="RightEdge" >
                    <UnifiedDim scale="1" type="RightEdge">
                        <DimOperator op="Subtract"> <ImageDim imageset="smartYYUI" image="ListboxRight" dimension="Width" /> </DimOperator>
                    </UnifiedDim>
                </Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract"> <ImageDim imageset="smartYYUI" image="ListboxBottom" dimension="Height" /> </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <NamedArea name="ItemRenderingAreaHScroll">
            <Area>
                <Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="ListboxLeft" dimension="Width" /></Dim>
                <Dim type="TopEdge" ><ImageDim imageset="smartYYUI" image="ListboxTop" dimension="Height" /></Dim>
                <Dim type="RightEdge" >
                    <UnifiedDim scale="1" type="RightEdge">
                        <DimOperator op="Subtract">  <ImageDim imageset="smartYYUI" image="ListboxRight" dimension="Width" />  </DimOperator>
                    </UnifiedDim>
                </Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract"> <WidgetDim widget="__auto_hscrollbar__" dimension="Height" /> </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <NamedArea name="ItemRenderingAreaVScroll">
            <Area>
                <Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="ListboxLeft" dimension="Width" /></Dim>
                <Dim type="TopEdge" ><ImageDim imageset="smartYYUI" image="ListboxTop" dimension="Height" /></Dim>
                <Dim type="RightEdge" >
                    <UnifiedDim scale="1" type="RightEdge">
                        <DimOperator op="Subtract">  <WidgetDim widget="__auto_vscrollbar__" dimension="Width" />  </DimOperator>
                    </UnifiedDim>
                </Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract">  <ImageDim imageset="smartYYUI" image="ListboxBottom" dimension="Height" />  </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <NamedArea name="ItemRenderingAreaHVScroll">
            <Area>
                <Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="ListboxLeft" dimension="Width" /></Dim>
                <Dim type="TopEdge" ><ImageDim imageset="smartYYUI" image="ListboxTop" dimension="Height" /></Dim>
                <Dim type="RightEdge" >
                    <UnifiedDim scale="1" type="RightEdge">
                        <DimOperator op="Subtract">  <WidgetDim widget="__auto_vscrollbar__" dimension="Width" /> </DimOperator>
                    </UnifiedDim>
                </Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract">  <WidgetDim widget="__auto_hscrollbar__" dimension="Height" /> </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <Child  type="smartYY/HorizontalScrollbar" nameSuffix="__auto_hscrollbar__">
            <Area>
                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="Width" ><UnifiedDim scale="1" offset="-12" type="Width" /></Dim>
                <Dim type="Height" ><AbsoluteDim value="12" /></Dim>
            </Area>
            <VertAlignment type="BottomAligned" />
        </Child>
        <Child  type="smartYY/VerticalScrollbar" nameSuffix="__auto_vscrollbar__">
            <Area>
                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="Width" ><AbsoluteDim value="10" /></Dim>
                <Dim type="Height" ><UnifiedDim scale="1" offset="-10" type="Height" /></Dim>
            </Area>
            <HorzAlignment type="RightAligned" />
        </Child>
        <ImagerySection name="main">
            <FrameComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <Image type="TopEdge" imageset="smartYYUI" image="ListboxTop" />
                <Image type="LeftEdge" imageset="smartYYUI" image="ListboxLeft" />
                <Image type="RightEdge" imageset="smartYYUI" image="ListboxRight" />
                <Image type="BottomEdge" imageset="smartYYUI" image="ListboxBottom" />
                <Image type="Background" imageset="smartYYUI" image="ListboxBackdrop" />
                <Image type="TopLeftCorner" imageset="smartYYUI" image="ListboxTopLeft" />
                <Image type="TopRightCorner" imageset="smartYYUI" image="ListboxTopRight" />
                <Image type="BottomLeftCorner" imageset="smartYYUI" image="ListboxBottomLeft" />
                <Image type="BottomRightCorner" imageset="smartYYUI" image="ListboxBottomRight" />
            </FrameComponent>
        </ImagerySection>
        <StateImagery name="Enabled">
            <Layer>  <Section section="main" />  </Layer>
        </StateImagery>
        <StateImagery name="Disabled">
            <Layer>
                <Section section="main">
                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
                </Section>
            </Layer>
        </StateImagery>
    </WidgetLook>

<!--**************************************************
smartYY/Listbox2
***************************************************-->
    <WidgetLook name="smartYY/Listbox2">
        <NamedArea name="ItemRenderingArea">
            <Area>
				<Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="ListboxLeft" dimension="Width" /></Dim>
                <Dim type="TopEdge" >
                         <ImageDim imageset="smartYYUI" image="ListboxTop" dimension="Height" />
				</Dim>

                <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract"> <ImageDim imageset="smartYYUI" image="ListboxBottom" dimension="Height" /> </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <NamedArea name="ItemRenderingAreaHScroll">
            <Area>
                <Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="ListboxLeft" dimension="Width" /></Dim>
                <Dim type="TopEdge" ><ImageDim imageset="smartYYUI" image="ListboxTop" dimension="Height" /></Dim>
                <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract"> <WidgetDim widget="__auto_hscrollbar__" dimension="Height" /> </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <NamedArea name="ItemRenderingAreaVScroll">
            <Area>
                <Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="ListboxLeft" dimension="Width" /></Dim>
                <Dim type="TopEdge" ><ImageDim imageset="smartYYUI" image="ListboxTop" dimension="Height" /></Dim>
                <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract">  <ImageDim imageset="smartYYUI" image="ListboxBottom" dimension="Height" />  </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <NamedArea name="ItemRenderingAreaHVScroll">
            <Area>
                <Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="ListboxLeft" dimension="Width" /></Dim>
                <Dim type="TopEdge" ><ImageDim imageset="smartYYUI" image="ListboxTop" dimension="Height" /></Dim>
                <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract">  <WidgetDim widget="__auto_hscrollbar__" dimension="Height" /> </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <Child  type="smartYY/HorizontalScrollbar" nameSuffix="__auto_hscrollbar__">
            <Area>
                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="Width" ><UnifiedDim scale="1" offset="-12" type="Width" /></Dim>
                <Dim type="Height" ><AbsoluteDim value="12" /></Dim>
            </Area>
            <VertAlignment type="BottomAligned" />
        </Child>
        <Child  type="smartYY/VerticalScrollbar" nameSuffix="__auto_vscrollbar__">
            <Area>
                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="Width" ><AbsoluteDim value="10" /></Dim>
                <Dim type="Height" ><UnifiedDim scale="1" offset="-10" type="Height" /></Dim>
            </Area>
            <HorzAlignment type="RightAligned" />
        </Child>
        <ImagerySection name="main">
            <FrameComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <Image type="LeftEdge" imageset="smartYYUI" image="ListboxLeft" />
                <Image type="BottomEdge" imageset="smartYYUI" image="ListboxBottom" />
                <Image type="Background" imageset="smartYYUI" image="ListboxBackdrop" />
                <Image type="TopLeftCorner" imageset="smartYYUI" image="ListboxTopLeft" />
                <Image type="TopRightCorner" imageset="smartYYUI" image="ListboxTopRight" />
                <Image type="BottomLeftCorner" imageset="smartYYUI" image="ListboxBottomLeft" />
                <Image type="BottomRightCorner" imageset="smartYYUI" image="ListboxBottomRight" />
            </FrameComponent>
        </ImagerySection>
        <StateImagery name="Enabled">
            <Layer>  <Section section="main" />  </Layer>
        </StateImagery>
        <StateImagery name="Disabled">
            <Layer>
                <Section section="main">
                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
                </Section>
            </Layer>
        </StateImagery>
    </WidgetLook>
	
	<!--**************************************************
smartYY/Listbox3
***************************************************-->
    <WidgetLook name="smartYY/Listbox3">
        <NamedArea name="ItemRenderingArea">
            <Area>
				<Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge" >
                         <ImageDim imageset="smartYYUI" image="ListboxTop" dimension="Height" />
				</Dim>
				   <Dim type="RightEdge" >
                    <UnifiedDim scale="1" type="RightEdge">
                        <DimOperator op="Subtract"> <ImageDim imageset="smartYYUI" image="ListboxRight" dimension="Width" /> </DimOperator>
                    </UnifiedDim>
                </Dim>
            <!--    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim> -->
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract"> <ImageDim imageset="smartYYUI" image="ListboxBottom" dimension="Height" /> </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <NamedArea name="ItemRenderingAreaHScroll">
            <Area>
                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge" ><ImageDim imageset="smartYYUI" image="ListboxTop" dimension="Height" /></Dim>
                <Dim type="RightEdge" ><AbsoluteDim value="0" />
                    <UnifiedDim scale="1" type="RightEdge">
                        <DimOperator op="Subtract">  <WidgetDim widget="__auto_vscrollbar__" dimension="Width" /> </DimOperator>
                    </UnifiedDim>
                </Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract"> <WidgetDim widget="__auto_hscrollbar__" dimension="Height" /> </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <NamedArea name="ItemRenderingAreaVScroll">
            <Area>
                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge" ><ImageDim imageset="smartYYUI" image="ListboxTop" dimension="Height" /></Dim>
                <Dim type="RightEdge" ><AbsoluteDim value="0" />
                    <UnifiedDim scale="1" type="RightEdge">
                        <DimOperator op="Subtract">  <WidgetDim widget="__auto_vscrollbar__" dimension="Width" /> </DimOperator>
                    </UnifiedDim>
                </Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract">  <ImageDim imageset="smartYYUI" image="ListboxBottom" dimension="Height" />  </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <NamedArea name="ItemRenderingAreaHVScroll">
            <Area>
                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge" ><ImageDim imageset="smartYYUI" image="ListboxTop" dimension="Height" /></Dim>
                <Dim type="RightEdge" ><AbsoluteDim value="0" />
                    <UnifiedDim scale="1" type="RightEdge">
                        <DimOperator op="Subtract">  <WidgetDim widget="__auto_vscrollbar__" dimension="Width" /> </DimOperator>
                    </UnifiedDim>
                </Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract">  <WidgetDim widget="__auto_hscrollbar__" dimension="Height" /> </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <Child  type="smartYY/HorizontalScrollbar" nameSuffix="__auto_hscrollbar__">
            <Area>
                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="Width" ><UnifiedDim scale="1" offset="-12" type="Width" /></Dim>
                <Dim type="Height" ><AbsoluteDim value="12" /></Dim>
            </Area>
            <VertAlignment type="BottomAligned" />
        </Child>
        <Child  type="smartYY/VerticalScrollbar" nameSuffix="__auto_vscrollbar__">
            <Area>
                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="Width" ><AbsoluteDim value="10" /></Dim>
                <Dim type="Height" ><UnifiedDim scale="1" offset="-10" type="Height" /></Dim>
            </Area>
            <HorzAlignment type="RightAligned" />
        </Child>
        <ImagerySection name="main">
            <FrameComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <Image type="LeftEdge" imageset="smartYYUI" image="ListboxLeft" />
                <Image type="BottomEdge" imageset="smartYYUI" image="ListboxBottom" />
                <Image type="Background" imageset="smartYYUI" image="ListboxBackdrop" />
                <Image type="TopLeftCorner" imageset="smartYYUI" image="ListboxTopLeft" />
                <Image type="TopRightCorner" imageset="smartYYUI" image="ListboxTopRight" />
                <Image type="BottomLeftCorner" imageset="smartYYUI" image="ListboxBottomLeft" />
                <Image type="BottomRightCorner" imageset="smartYYUI" image="ListboxBottomRight" />
            </FrameComponent>
        </ImagerySection>
        <StateImagery name="Enabled">
            <Layer>  <Section section="main" />  </Layer>
        </StateImagery>
        <StateImagery name="Disabled">
            <Layer>
                <Section section="main">
                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
                </Section>
            </Layer>
        </StateImagery>
    </WidgetLook>
	
	
    <!--
    ***************************************************
        smartYY/MultiLineEditbox
    ***************************************************
    -->
    <WidgetLook name="smartYY/MultiLineEditbox">
        <PropertyDefinition name="NormalTextColour" initialValue="FFFFFFFF" redrawOnWrite="true" />
        <PropertyDefinition name="SelectedTextColour" initialValue="FF000000" redrawOnWrite="true" />
        <PropertyDefinition name="ActiveSelectionColour" initialValue="FF607FFF" redrawOnWrite="true" />
        <PropertyDefinition name="InactiveSelectionColour" initialValue="FF606060" redrawOnWrite="true" />
        <Property name="MouseCursorImage" value="set:smartYYUI image:MouseTextBar" />
        <Property name="SelectionBrushImage" value="set:smartYYUI image:MultiLineEditboxSelectionBrush" />
        <NamedArea name="TextArea">			
            <Area>
                <Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="MultiLineEditboxLeft" dimension="Width" /></Dim>
                <Dim type="TopEdge" ><ImageDim imageset="smartYYUI" image="MultiLineEditboxTop" dimension="Height" /></Dim>
                <Dim type="RightEdge" >
                    <UnifiedDim scale="1" type="RightEdge">
                        <DimOperator op="Subtract">
                            <ImageDim imageset="smartYYUI" image="MultiLineEditboxRight" dimension="Width" />
                        </DimOperator>
                    </UnifiedDim>
                </Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract">
                            <ImageDim imageset="smartYYUI" image="MultiLineEditboxBottom" dimension="Height" />
                        </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>			
        </NamedArea>
        <NamedArea name="TextAreaHScroll">
            <Area>
                <Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="MultiLineEditboxLeft" dimension="Width" /></Dim>
                <Dim type="TopEdge" ><ImageDim imageset="smartYYUI" image="MultiLineEditboxTop" dimension="Height" /></Dim>
                <Dim type="RightEdge" >
                    <UnifiedDim scale="1" type="RightEdge">
                        <DimOperator op="Subtract">
                            <ImageDim imageset="smartYYUI" image="MultiLineEditboxRight" dimension="Width" />
                        </DimOperator>
                    </UnifiedDim>
                </Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract">
                            <WidgetDim widget="__auto_hscrollbar__" dimension="Height" />
                        </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <NamedArea name="TextAreaVScroll">
            <Area>
                <Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="MultiLineEditboxLeft" dimension="Width" /></Dim>
                <Dim type="TopEdge" ><ImageDim imageset="smartYYUI" image="MultiLineEditboxTop" dimension="Height" /></Dim>
                <Dim type="RightEdge" >
                    <UnifiedDim scale="1" type="RightEdge">
                        <DimOperator op="Subtract">
                            <WidgetDim widget="__auto_vscrollbar__" dimension="Width" />
                        </DimOperator>
                    </UnifiedDim>
                </Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract">
                            <ImageDim imageset="smartYYUI" image="MultiLineEditboxBottom" dimension="Height" />
                        </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <NamedArea name="TextAreaHVScroll">
            <Area>
                <Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="MultiLineEditboxLeft" dimension="Width" /></Dim>
                <Dim type="TopEdge" ><ImageDim imageset="smartYYUI" image="MultiLineEditboxTop" dimension="Height" /></Dim>
                <Dim type="RightEdge" >
                    <UnifiedDim scale="1" type="RightEdge">
                        <DimOperator op="Subtract">
                            <WidgetDim widget="__auto_vscrollbar__" dimension="Width" />
                        </DimOperator>
                    </UnifiedDim>
                </Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract">
                            <WidgetDim widget="__auto_hscrollbar__" dimension="Height" />
                        </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <Child  type="smartYY/HorizontalScrollbar" nameSuffix="__auto_hscrollbar__">
            <Area>
                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="Width" ><UnifiedDim scale="1" offset="-12" type="Width" /></Dim>
                <Dim type="Height" ><AbsoluteDim value="12" /></Dim>
            </Area>
            <VertAlignment type="BottomAligned" />
        </Child>
        <Child  type="smartYY/VerticalScrollbar" nameSuffix="__auto_vscrollbar__">
            <Area>
                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="Width" ><AbsoluteDim value="7" /></Dim>
                <Dim type="Height" ><UnifiedDim scale="1" offset="-7" type="Height" /></Dim>
            </Area>
            <HorzAlignment type="RightAligned" />
        </Child>
        <ImagerySection name="main">
            <FrameComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <Image type="TopLeftCorner" imageset="smartYYUI" image="MultiLineEditboxTopLeft" />
                <Image type="TopRightCorner" imageset="smartYYUI" image="MultiLineEditboxTopRight" />
                <Image type="BottomLeftCorner" imageset="smartYYUI" image="MultiLineEditboxBottomLeft" />
                <Image type="BottomRightCorner" imageset="smartYYUI" image="MultiLineEditboxBottomRight" />
                <Image type="LeftEdge" imageset="smartYYUI" image="MultiLineEditboxLeft" />
                <Image type="RightEdge" imageset="smartYYUI" image="MultiLineEditboxRight" />
                <Image type="TopEdge" imageset="smartYYUI" image="MultiLineEditboxTop" />
                <Image type="BottomEdge" imageset="smartYYUI" image="MultiLineEditboxBottom" />
                <Image type="Background" imageset="smartYYUI" image="MultiLineEditboxBackdrop" />
            </FrameComponent>
        </ImagerySection>
        <ImagerySection name="Carat">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><ImageDim imageset="smartYYUI" image="EditBoxCarat" dimension="Width" /></Dim>
                    <Dim type="BottomEdge" ><UnifiedDim scale="1.0" type="BottomEdge" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="EditBoxCarat" />
                <VertFormat type="Stretched" />
                <HorzFormat type="Stretched" />
            </ImageryComponent>
        </ImagerySection>
        <StateImagery name="Enabled">
            <Layer>
                <Section section="main" />
            </Layer>
        </StateImagery>
        <StateImagery name="ReadOnly">
            <Layer>
                <Section section="main" />
            </Layer>
        </StateImagery>
        <StateImagery name="Disabled">
            <Layer>
                <Section section="main">
                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
                </Section>
            </Layer>
        </StateImagery>
    </WidgetLook>



    <!--
    ***************************************************
        smartYY/Checkbox
    ***************************************************
    -->
    <WidgetLook name="smartYY/Checkbox">
	<PropertyDefinition name="NormalTextColour" initialValue="FF438AD2" redrawOnWrite="true" />
        <PropertyDefinition name="HoverTextColour" initialValue="FF6EC7FF" redrawOnWrite="true" />
        <PropertyDefinition name="PushedTextColour" initialValue="FF303F52" redrawOnWrite="true" />
        <PropertyDefinition name="DisabledTextColour" initialValue="5FFFFFFF" redrawOnWrite="true" />
        <ImagerySection name="label">
            <TextComponent>
                <Area>
                    <Dim type="LeftEdge" >
                        <ImageDim imageset="smartYYUI" image="CheckboxNormal" dimension="Width">
                            <DimOperator op="Add"> <AbsoluteDim value="3" /> </DimOperator>
                        </ImageDim>
                    </Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="1" /></Dim>
                    <Dim type="RightEdge" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <VertFormat type="CentreAligned" />
                <HorzFormat type="LeftAligned" />
            </TextComponent>
        </ImagerySection>
        <ImagerySection name="normal">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="CheckboxNormal" />
                <VertFormat type="CentreAligned" />
                <HorzFormat type="LeftAligned" />
            </ImageryComponent>
        </ImagerySection>
        <ImagerySection name="hover">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="CheckboxHover" />
                <VertFormat type="CentreAligned" />
                <HorzFormat type="LeftAligned" />
            </ImageryComponent>
        </ImagerySection>
        <ImagerySection name="select_mark">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="1" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="1" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="CheckboxMark" />
                <VertFormat type="CentreAligned" />
                <HorzFormat type="LeftAligned" />
            </ImageryComponent>
        </ImagerySection>
        <StateImagery name="Normal">
            <Layer>
                <Section section="normal" />
                <Section section="label"> <ColourProperty name="NormalTextColour" /> </Section>
            </Layer>
        </StateImagery>
        <StateImagery name="Hover">
            <Layer>
                <Section section="hover" />
                <Section section="label"> <ColourProperty name="HoverTextColour" />  </Section>
            </Layer>
        </StateImagery>
        <StateImagery name="Disabled">
            <Layer>
                <Section section="normal">
                    <!-- <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" /> -->
                </Section>
                <Section section="label"> <ColourProperty name="DisabledTextColour" /> </Section>
            </Layer>
        </StateImagery>
        <StateImagery name="SelectedNormal">
            <Layer>
                <Section section="normal" />
                <Section section="select_mark" />
                <Section section="label"> <ColourProperty name="NormalTextColour" /> </Section>
            </Layer>
        </StateImagery>
        <StateImagery name="SelectedHover">
            <Layer>
                <Section section="hover" />
                <Section section="select_mark" />
                <Section section="label"> <ColourProperty name="HoverTextColour" /> </Section>
            </Layer>
        </StateImagery>
        <StateImagery name="SelectedDisabled">
            <Layer>
                <Section section="normal">
                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
                </Section>
                <Section section="select_mark">
                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
                </Section>
                <Section section="label">
                    <ColourProperty name="DisabledTextColour" />
                </Section>
            </Layer>
        </StateImagery>
    </WidgetLook>



    <!--
    ***************************************************
        smartYY/Tooltip
    ***************************************************
    -->
    <WidgetLook name="smartYY/Tooltip">
        <NamedArea name="TextArea">
            <Area>
                <Dim type="LeftEdge" >					
                    <ImageDim imageset="smartYYUI" image="TooltipLeftEdge" dimension="Width">
						<DimOperator op="Add">
                            <AbsoluteDim value="10" />
                        </DimOperator>
					</ImageDim>
                </Dim>
                <Dim type="TopEdge" >					
                    <ImageDim imageset="smartYYUI" image="TooltipTopEdge" dimension="Height">
						<DimOperator op="Add">
                            <AbsoluteDim value="6" />
                        </DimOperator>
					</ImageDim>
                </Dim>
                <Dim type="RightEdge" >
                    <UnifiedDim scale="1.0" type="RightEdge">
                        <DimOperator op="Subtract">
                            <ImageDim imageset="smartYYUI" image="TooltipRightEdge" dimension="Width" />
                        </DimOperator>
                    </UnifiedDim>
                </Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1.0" type="BottomEdge">
                        <DimOperator op="Subtract">
                            <ImageDim imageset="smartYYUI" image="TooltipBottomEdge" dimension="Height" />
                        </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <ImagerySection name="main">
            <FrameComponent>
                <Area>
                    <Dim type="LeftEdge"> <AbsoluteDim value="0" /> </Dim>
                    <Dim type="TopEdge"> <AbsoluteDim value="0" /> </Dim>
                    <Dim type="RightEdge"> <UnifiedDim scale="1" type="RightEdge" /> </Dim>
                    <Dim type="BottomEdge"> <UnifiedDim scale="1" type="BottomEdge" /> </Dim>
                </Area>
                <Image type="TopLeftCorner" imageset="smartYYUI" image="TooltipTopLeft" />
                <Image type="TopRightCorner" imageset="smartYYUI" image="TooltipTopRight" />
                <Image type="BottomLeftCorner" imageset="smartYYUI" image="TooltipBottomLeft" />
                <Image type="BottomRightCorner" imageset="smartYYUI" image="TooltipBottomRight" />
                <Image type="LeftEdge" imageset="smartYYUI" image="TooltipLeftEdge" />
                <Image type="TopEdge" imageset="smartYYUI" image="TooltipTopEdge" />
                <Image type="RightEdge" imageset="smartYYUI" image="TooltipRightEdge" />
                <Image type="BottomEdge" imageset="smartYYUI" image="TooltipBottomEdge" />
                <Image type="Background" imageset="smartYYUI" image="TooltipMiddle" />
            </FrameComponent>
        </ImagerySection>
        <ImagerySection name="label">
            <TextComponent>
                <Area>
                    <Dim type="LeftEdge"> <AbsoluteDim value="0" /> </Dim>
                    <Dim type="TopEdge"> <AbsoluteDim value="0" /> </Dim>
                    <Dim type="RightEdge"> <UnifiedDim scale="1" type="RightEdge" /> </Dim>
                    <Dim type="BottomEdge"> <UnifiedDim scale="1" type="BottomEdge" /> </Dim>
                </Area>
                <Colours topLeft="FFFFFFFF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFFFFFFF" />
                <VertFormat type="CentreAligned" />
                <HorzFormat type="CentreAligned" />
            </TextComponent>
        </ImagerySection>
        <StateImagery name="Enabled">
            <Layer>
                <Section section="main" />
                <Section section="label" />
            </Layer>
        </StateImagery>
        <StateImagery name="Disabled">
            <Layer>
                <Section section="main" />
                <Section section="label" />
            </Layer>
        </StateImagery>
    </WidgetLook>


  <!--
	***************************************************
	smartYY/HotkeyCtrl
	***************************************************
	-->
  <WidgetLook name="smartYY/HotkeyCtrl">
    <PropertyDefinition name="NormalTextColour" initialValue="FFA9ABAE" redrawOnWrite="true" />
    <PropertyDefinition name="HoverTextColour" initialValue="FFFFFFFF" redrawOnWrite="true" />
    <PropertyDefinition name="DisabledTextColour" initialValue="5FFFFFFF" redrawOnWrite="true" />
    <NamedArea name="TextArea">
      <Area>
        <Dim type="LeftEdge" >
          <AbsoluteDim value="0" />
        </Dim>
        <Dim type="TopEdge" >
          <AbsoluteDim value="0" />
        </Dim>
        <Dim type="RightEdge" >
          <UnifiedDim scale="1.0" type="RightEdge" />
        </Dim>
        <Dim type="BottomEdge" >
          <UnifiedDim scale="1.0" type="BottomEdge" />
        </Dim>
      </Area>
    </NamedArea>
    <ImagerySection name="text">
      <TextComponent>
        <Area>
          <Dim type="LeftEdge" >
            <AbsoluteDim value="10" />
          </Dim>
          <Dim type="TopEdge" >
            <AbsoluteDim value="5" />
          </Dim>
          <Dim type="RightEdge" >
            <UnifiedDim scale="1.0" offset="-10" type="Width" />
          </Dim>
          <Dim type="BottomEdge" >
            <UnifiedDim scale="1.0" type="BottomEdge" />
          </Dim>
        </Area>
        <VertFormat type="TopAligned"/>
        <HorzFormat type="LeftAligned"/>
      </TextComponent>
    </ImagerySection>
    <ImagerySection name="Carat">
      <ImageryComponent>
        <Area>
          <Dim type="LeftEdge" >
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge" >
            <AbsoluteDim value="4" />
          </Dim>
          <Dim type="Width" >
            <AbsoluteDim value="2" />
          </Dim>
          <Dim type="Height" >
            <AbsoluteDim value="22" />
          </Dim>
        </Area>
        <Image imageset="smartYYUI" image="empty" />
        <VertFormat type="Stretched" />
        <HorzFormat type="Stretched" />
      </ImageryComponent>
    </ImagerySection>
    <ImagerySection name="normal">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge" >
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge" >
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge" >
            <UnifiedDim scale="1.0"  type="RightEdge" />
          </Dim>
          <Dim type= "Height" >
            <ImageDim imageset="smartYYUI" image="edit_l" dimension="Height"/>
          </Dim>
        </Area>
        <Image type="LeftEdge" imageset="smartYYUI" image="edit_l"/>
        <Image type="Background" imageset="smartYYUI" image="edit_m"/>
        <Image type="RightEdge" imageset="smartYYUI" image="edit_r"/>
      </FrameComponent>
    </ImagerySection>
    <ImagerySection name="active">
      <FrameComponent>
        <Area>
          <Dim type="LeftEdge" >
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="TopEdge" >
            <AbsoluteDim value="0" />
          </Dim>
          <Dim type="RightEdge" >
            <UnifiedDim scale="1.0"  type="RightEdge" />
          </Dim>
          <Dim type= "Height" >
            <ImageDim imageset="smartYYUI" image="edit_l" dimension="Height"/>
          </Dim>
        </Area>
        <Image type="LeftEdge" imageset="smartYYUI" image="edith_l"/>
        <Image type="Background" imageset="smartYYUI" image="edith_m"/>
        <Image type="RightEdge" imageset="smartYYUI" image="edith_r"/>
      </FrameComponent>
    </ImagerySection>
    <StateImagery name="Enabled">
      <Layer>
        <Section section="normal"/>
        <Section section="text">
            <ColourProperty name="NormalTextColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="ReadOnly">
      <Layer>
        <Section section="normal"/>
        <Section section="text">
            <ColourProperty name="DisabledTextColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="Input">
      <Layer>
        <Section section="active"/>
        <Section section="text">
            <ColourProperty name="HoverTextColour" />
        </Section>
      </Layer>
    </StateImagery>
    <StateImagery name="Disabled">
      <Layer>
        <Section section="normal">
          <Colour colour="FFEFEFEF"/>
        </Section>
        <Section section="text">
            <ColourProperty name="DisabledTextColour" />
        </Section>
      </Layer>
    </StateImagery>
  </WidgetLook>
  
  <!--
    ***************************************************
        smartYY/ComboDropList
    ***************************************************
    -->
    <WidgetLook name="smartYY/ComboDropList">
        <NamedArea name="ItemRenderingArea">
            <Area>
                <Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="ComboboxListLeft" dimension="Width" /></Dim>
                <Dim type="TopEdge" ><ImageDim imageset="smartYYUI" image="ComboboxListTop" dimension="Height" /></Dim>
                <Dim type="RightEdge" >
                    <UnifiedDim scale="1" type="RightEdge">
                        <DimOperator op="Subtract">
                            <ImageDim imageset="smartYYUI" image="ComboboxListRight" dimension="Width" />
                        </DimOperator>
                    </UnifiedDim>
                </Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract">
                            <ImageDim imageset="smartYYUI" image="ComboboxListBottom" dimension="Height" />
                        </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <NamedArea name="ItemRenderingAreaHScroll">
            <Area>
                <Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="ComboboxListLeft" dimension="Width" /></Dim>
                <Dim type="TopEdge" ><ImageDim imageset="smartYYUI" image="ComboboxListTop" dimension="Height" /></Dim>
                <Dim type="RightEdge" >
                    <UnifiedDim scale="1" type="RightEdge">
                        <DimOperator op="Subtract">
                            <ImageDim imageset="smartYYUI" image="ComboboxListRight" dimension="Width" />
                        </DimOperator>
                    </UnifiedDim>
                </Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract">
                            <WidgetDim widget="__auto_hscrollbar__" dimension="Height" />
                        </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <NamedArea name="ItemRenderingAreaVScroll">
            <Area>
                <Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="ComboboxListLeft" dimension="Width" /></Dim>
                <Dim type="TopEdge" ><ImageDim imageset="smartYYUI" image="ComboboxListTop" dimension="Height" /></Dim>
                <Dim type="RightEdge" >
                    <UnifiedDim scale="1" type="RightEdge">
                        <DimOperator op="Subtract">
                            <WidgetDim widget="__auto_vscrollbar__" dimension="Width" />
                        </DimOperator>
                    </UnifiedDim>
                </Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract">
                            <ImageDim imageset="smartYYUI" image="ComboboxListBottom" dimension="Height" />
                        </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <NamedArea name="ItemRenderingAreaHVScroll">
            <Area>
                <Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="ComboboxListLeft" dimension="Width" /></Dim>
                <Dim type="TopEdge" ><ImageDim imageset="smartYYUI" image="ComboboxListTop" dimension="Height" /></Dim>
                <Dim type="RightEdge" >
                    <UnifiedDim scale="1" type="RightEdge">
                        <DimOperator op="Subtract">
                            <WidgetDim widget="__auto_vscrollbar__" dimension="Width" />
                        </DimOperator>
                    </UnifiedDim>
                </Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract">
                            <WidgetDim widget="__auto_hscrollbar__" dimension="Height" />
                        </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <Child  type="smartYY/HorizontalScrollbar" nameSuffix="__auto_hscrollbar__">
            <Area>
                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="Width" ><UnifiedDim scale="1" offset="-12" type="Width" /></Dim>
                <Dim type="Height" ><AbsoluteDim value="12" /></Dim>
            </Area>
            <VertAlignment type="BottomAligned" />
        </Child>
        <Child  type="smartYY/VerticalScrollbar" nameSuffix="__auto_vscrollbar__">
            <Area>
                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="Width" ><AbsoluteDim value="12" /></Dim>
                <Dim type="Height" ><UnifiedDim scale="1" offset="-12" type="Height" /></Dim>
            </Area>
            <HorzAlignment type="RightAligned" />
        </Child>
        <ImagerySection name="main">
            <FrameComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <Image type="TopLeftCorner" imageset="smartYYUI" image="ComboboxListTopLeft" />
                <Image type="TopRightCorner" imageset="smartYYUI" image="ComboboxListTopRight" />
                <Image type="BottomLeftCorner" imageset="smartYYUI" image="ComboboxListBottomLeft" />
                <Image type="BottomRightCorner" imageset="smartYYUI" image="ComboboxListBottomRight" />
                <Image type="LeftEdge" imageset="smartYYUI" image="ComboboxListLeft" />
                <Image type="RightEdge" imageset="smartYYUI" image="ComboboxListRight" />
                <Image type="TopEdge" imageset="smartYYUI" image="ComboboxListTop" />
                <Image type="BottomEdge" imageset="smartYYUI" image="ComboboxListBottom" />
                <Image type="Background" imageset="smartYYUI" image="ComboboxListBackdrop" />
            </FrameComponent>
        </ImagerySection>
        <StateImagery name="Enabled">
            <Layer>
                <Section section="main" />
            </Layer>
        </StateImagery>
        <StateImagery name="Disabled">
            <Layer>
                <Section section="main">
                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
                </Section>
            </Layer>
        </StateImagery>
    </WidgetLook>

    <!--
    ***************************************************
        smartYY/ComboEditbox
    ***************************************************
    -->
    <WidgetLook name="smartYY/ComboEditbox">
        <PropertyDefinition name="NormalTextColour" initialValue="FFA9ABAE" redrawOnWrite="true" />
        <PropertyDefinition name="SelectedTextColour" initialValue="FFA9ABAE" redrawOnWrite="true" />
        <PropertyDefinition name="ActiveSelectionColour" initialValue="FF607FFF" redrawOnWrite="true" />
        <PropertyDefinition name="InactiveSelectionColour" initialValue="FF606060" redrawOnWrite="true" />
        <Property name="MouseCursorImage" value="set:smartYYUI image:MouseTextBar" />
        <NamedArea name="TextArea">
            <Area>
                <Dim type="LeftEdge" ><AbsoluteDim value="5" /></Dim>
                <Dim type="TopEdge" ><AbsoluteDim value="1" /></Dim>
                <Dim type="RightEdge" ><UnifiedDim scale="1.0" offset="-5" type="RightEdge" /></Dim>
                <Dim type="BottomEdge" ><UnifiedDim scale="1.0" offset="-1" type="BottomEdge" /></Dim>
            </Area>
        </NamedArea>
        <ImagerySection name="container_normal">
            <FrameComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1.0" type="Width" /></Dim>
                    <Dim type="Height" > <ImageDim imageset="smartYYUI" image="ComboboxListButtonDownNormal" dimension="Height" /> </Dim>
                </Area>
                <Image type="LeftEdge" imageset="smartYYUI" image="ComboboxEditLeft" />
                <Image type="Background" imageset="smartYYUI" image="ComboboxEditMiddle" />
            </FrameComponent>
        </ImagerySection>
        <ImagerySection name="selection">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="RightEdge" ><UnifiedDim scale="1.0" type="RightEdge" /></Dim>
                    <Dim type="BottomEdge" ><UnifiedDim scale="1.0" type="BottomEdge" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="ComboboxSelectionBrush" />
                <VertFormat type="Stretched" />
                <HorzFormat type="Stretched" />
            </ImageryComponent>
        </ImagerySection>
        <ImagerySection name="Carat">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><ImageDim imageset="smartYYUI" image="EditBoxCarat" dimension="Width" /></Dim>
                    <Dim type="BottomEdge" ><UnifiedDim scale="1.0" type="BottomEdge" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="EditBoxCarat" />
                <VertFormat type="Stretched" />
                <HorzFormat type="Stretched" />
            </ImageryComponent>
        </ImagerySection>

        <StateImagery name="Actived">
            <Layer>
                <Section section="container_normal" />
            </Layer>
        </StateImagery>

        <StateImagery name="Enabled">
            <Layer>
                <Section section="container_normal" />
            </Layer>
        </StateImagery>
        <StateImagery name="ReadOnly">
            <Layer>
                <Section section="container_normal" />
            </Layer>
        </StateImagery>
        <StateImagery name="Disabled">
            <Layer>
                <Section section="container_normal">
                <!--    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />-->
                </Section>
            </Layer>
        </StateImagery>
        <StateImagery name="ActiveSelection">
            <Layer>
                <Section section="selection">
                    <ColourProperty name="ActiveSelectionColour" />
                </Section>
            </Layer>
        </StateImagery>
        <StateImagery name="InactiveSelection">
            <Layer>
                <Section section="selection">
                    <ColourProperty name="InactiveSelectionColour" />
                </Section>
            </Layer>
        </StateImagery>
    </WidgetLook>

    <!--
    ***************************************************
        smartYY/Combobox
    ***************************************************
    -->
    <WidgetLook name="smartYY/Combobox">
        <PropertyLinkDefinition name="NormalEditTextColour" widget="__auto_editbox__" targetProperty="NormalTextColour" initialValue="FFFFFFFF" />
        <PropertyLinkDefinition name="SelectedEditTextColour" widget="__auto_editbox__" targetProperty="SelectedTextColour" initialValue="FF000000" />
        <PropertyLinkDefinition name="ActiveEditSelectionColour" widget="__auto_editbox__" targetProperty="ActiveSelectionColour" initialValue="FF6060FF" />
        <PropertyLinkDefinition name="InactiveEditSelectionColour" widget="__auto_editbox__" targetProperty="InactiveSelectionColour" initialValue="FF606060" />
        <Child  type="smartYY/ComboEditbox" nameSuffix="__auto_editbox__">
            <Area>
                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="RightEdge" >
                    <UnifiedDim scale="1" type="RightEdge">
                        <DimOperator op="Subtract">
                            <WidgetDim widget="__auto_button__" dimension="Width" />
                        </DimOperator>
                    </UnifiedDim>
                </Dim>
                <Dim type="Height" >
                    <WidgetDim widget="__auto_button__" dimension="Height" />
                </Dim>
            </Area>
        </Child>
        <Child  type="smartYY/ComboDropList" nameSuffix="__auto_droplist__">
            <Area>
                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge" >
                    <AbsoluteDim value="2">
                        <DimOperator op="Add">
                            <WidgetDim widget="__auto_editbox__" dimension="BottomEdge" />
                        </DimOperator>
                    </AbsoluteDim>
                </Dim>
                <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                <Dim type="BottomEdge" ><UnifiedDim scale="1" type="BottomEdge" /></Dim>
            </Area>
        </Child>
        <Child  type="smartYY/ImageButton" nameSuffix="__auto_button__">
            <Area>
                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="Width" > <ImageDim imageset="smartYYUI" image="ComboboxListButtonDownNormal" dimension="Width" /> </Dim>
                <Dim type="Height" > <ImageDim imageset="smartYYUI" image="ComboboxListButtonDownNormal" dimension="Height" /> </Dim>
            </Area>
            <HorzAlignment type="RightAligned" />
            <Property name="NormalImage" value="set:smartYYUI image:ComboboxListButtonDownNormal" />
            <Property name="HoverImage" value="set:smartYYUI image:ComboboxListButtonDownHover" />
            <Property name="PushedImage" value="set:smartYYUI image:ComboboxListButtonDownHover" />
            <Property name="DisabledImage" value="set:smartYYUI image:ComboboxListButtonDownDisabled" />
        </Child>
        <StateImagery name="Enabled" />
        <StateImagery name="Disabled" />
    </WidgetLook>

<!--
    ***************************************************
        smartYY/RadioButton
    ***************************************************
    -->
    <WidgetLook name="smartYY/RadioButton">
		<PropertyDefinition name="NormalTextColour" initialValue="FF438AD2" redrawOnWrite="true" />
        <PropertyDefinition name="HoverTextColour" initialValue="FF6EC7FF" redrawOnWrite="true" />
        <PropertyDefinition name="PushedTextColour" initialValue="FF303F52" redrawOnWrite="true" />
        <PropertyDefinition name="DisabledTextColour" initialValue="5FFFFFFF" redrawOnWrite="true" />
        <ImagerySection name="label">
            <TextComponent>
                <Area>
                    <Dim type="LeftEdge" >
                        <ImageDim imageset="smartYYUI" image="RadioButtonNormal" dimension="Width">
                            <DimOperator op="Add">
                                <AbsoluteDim value="3" />
                            </DimOperator>
                        </ImageDim>
                    </Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="RightEdge" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <VertFormat type="CentreAligned" />
                <HorzFormat type="LeftAligned" />
            </TextComponent>
        </ImagerySection>
        <ImagerySection name="normal">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="RadioButtonNormal" />
                <VertFormat type="CentreAligned" />
                <HorzFormat type="LeftAligned" />
            </ImageryComponent>
        </ImagerySection>
        <ImagerySection name="hover">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="RadioButtonNormal" />
                <VertFormat type="CentreAligned" />
                <HorzFormat type="LeftAligned" />
            </ImageryComponent>
        </ImagerySection>
        <ImagerySection name="select_mark">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="RadioButtonMark" />
                <VertFormat type="CentreAligned" />
                <HorzFormat type="LeftAligned" />
            </ImageryComponent>
        </ImagerySection>
        <StateImagery name="Normal">
            <Layer>
                <Section section="normal" />
                <Section section="label">
                    <ColourProperty name="NormalTextColour" />
                </Section>
            </Layer>
        </StateImagery>
        <StateImagery name="Hover">
            <Layer>
                <Section section="hover" />
                <Section section="label">
                    <ColourProperty name="HoverTextColour" />
                </Section>
            </Layer>
        </StateImagery>
        <StateImagery name="Disabled">
            <Layer>
                <Section section="normal">
                    <!-- <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" /> -->
                </Section>
                <Section section="label">
                    <ColourProperty name="DisabledTextColour" />
                </Section>
            </Layer>
        </StateImagery>
        <StateImagery name="SelectedNormal">
            <Layer>
                <Section section="normal" />
                <Section section="select_mark" />
                <Section section="label">
                    <ColourProperty name="NormalTextColour" />
                </Section>
            </Layer>
        </StateImagery>
        <StateImagery name="SelectedHover">
            <Layer>
                <Section section="hover" />
                <Section section="select_mark" />
                <Section section="label">
                    <ColourProperty name="HoverTextColour" />
                </Section>
            </Layer>
        </StateImagery>
        <StateImagery name="SelectedDisabled">
            <Layer>
                <Section section="normal">
                    <!-- <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" /> -->
                </Section>
                <Section section="select_mark">
                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
                </Section>
                <Section section="label">
                    <ColourProperty name="DisabledTextColour" />
                </Section>
            </Layer>
        </StateImagery>
    </WidgetLook>

    <!--
    ***************************************************
        smartYY/Tree
    ***************************************************
    -->
    <WidgetLook name="smartYY/Tree">
    <PropertyDefinition name="FrameColours" initialValue="tl:FFFFFFFF tr:FFFFFFFF bl:FFFFFFFF br:FFFFFFFF" redrawOnWrite="true" type="ColourRect"/>
        <NamedArea name="ItemRenderingArea">
            <Area>
                <Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="ListboxLeft" dimension="Width" /></Dim>
                <Dim type="TopEdge" ><ImageDim imageset="smartYYUI" image="ListboxTop" dimension="Height" /></Dim>
                <Dim type="RightEdge" >                    
                    <UnifiedDim scale="1" type="RightEdge">
						<DimOperator op="Subtract"> 
							<ImageDim imageset="smartYYUI" image="ListboxRight" dimension="Width" />							</DimOperator>
                    </UnifiedDim>
                </Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract"> 
							<ImageDim imageset="smartYYUI" image="ListboxBottom" dimension="Height" /> 
						</DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <NamedArea name="ItemRenderingAreaHScroll">
            <Area>
                <Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="ListboxLeft" dimension="Width" /></Dim>
                <Dim type="TopEdge" ><ImageDim imageset="smartYYUI" image="ListboxTop" dimension="Height" /></Dim>
                <Dim type="RightEdge" >
                    <UnifiedDim scale="1" type="RightEdge">
                        <DimOperator op="Subtract">  <ImageDim imageset="smartYYUI" image="ListboxRight" dimension="Width" />  </DimOperator>
                    </UnifiedDim>
                </Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract"> <WidgetDim widget="__auto_hscrollbar__" dimension="Height" /> </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <NamedArea name="ItemRenderingAreaVScroll">
            <Area>
                <Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="ListboxLeft" dimension="Width" /></Dim>
                <Dim type="TopEdge" ><ImageDim imageset="smartYYUI" image="ListboxTop" dimension="Height" /></Dim>
                <Dim type="RightEdge" >
                    <UnifiedDim scale="1" type="RightEdge">
                        <DimOperator op="Subtract">  <WidgetDim widget="__auto_vscrollbar__" dimension="Width" />  </DimOperator>
                    </UnifiedDim>
                </Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract">  <ImageDim imageset="smartYYUI" image="ListboxBottom" dimension="Height" />  </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <NamedArea name="ItemRenderingAreaHVScroll">
            <Area>
                <Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="ListboxLeft" dimension="Width" /></Dim>
                <Dim type="TopEdge" ><ImageDim imageset="smartYYUI" image="ListboxTop" dimension="Height" /></Dim>
                <Dim type="RightEdge" >
                    <UnifiedDim scale="1" type="RightEdge">
                        <DimOperator op="Subtract">  <WidgetDim widget="__auto_vscrollbar__" dimension="Width" /> </DimOperator>
                    </UnifiedDim>
                </Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract">  <WidgetDim widget="__auto_hscrollbar__" dimension="Height" /> </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <Child  type="smartYY/HorizontalScrollbar" nameSuffix="__auto_hscrollbar__">
            <Area>
                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="Width" ><UnifiedDim scale="1" offset="-12" type="Width" /></Dim>
                <Dim type="Height" ><AbsoluteDim value="12" /></Dim>
            </Area>
            <VertAlignment type="BottomAligned" />
        </Child>
        <Child  type="smartYY/VerticalScrollbar" nameSuffix="__auto_vscrollbar__">
            <Area>
                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="Width" ><AbsoluteDim value="10" /></Dim>
                <Dim type="Height" ><UnifiedDim scale="1" offset="-10" type="Height" /></Dim>
            </Area>
            <HorzAlignment type="RightAligned" />
        </Child>
        <ImagerySection name="OpenTreeButton">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
                    <Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
                    <Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="Room_Extend_Unlock" />
                <!-- <VertFormat type="Stretched" />
                <HorzFormat type="Stretched" /> -->
            </ImageryComponent>
        </ImagerySection>
        <ImagerySection name="CloseTreeButton">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
                    <Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
                    <Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="Room_Open_Unlock" />
                <VertFormat type="Stretched" />
                <HorzFormat type="Stretched" />
            </ImageryComponent>
        </ImagerySection>
        <ImagerySection name="EmptyTreeButton">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
                    <Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
                    <Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="Room_None_Unlock" />
                <VertFormat type="Stretched" />
                <HorzFormat type="Stretched" />
            </ImageryComponent>
        </ImagerySection>
        <ImagerySection name="main">
            <FrameComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <Image type="TopEdge" imageset="smartYYUI" image="ListboxTop" />
                <Image type="LeftEdge" imageset="smartYYUI" image="ListboxLeft" />
                <Image type="RightEdge" imageset="smartYYUI" image="ListboxRight" />
                <Image type="BottomEdge" imageset="smartYYUI" image="ListboxBottom" />
                <Image type="Background" imageset="smartYYUI" image="ListboxBackdrop" />
                <Image type="TopLeftCorner" imageset="smartYYUI" image="ListboxTopLeft" />
                <Image type="TopRightCorner" imageset="smartYYUI" image="ListboxTopRight" />
                <Image type="BottomLeftCorner" imageset="smartYYUI" image="ListboxBottomLeft" />
                <Image type="BottomRightCorner" imageset="smartYYUI" image="ListboxBottomRight" />
            </FrameComponent>
        </ImagerySection>
        <StateImagery name="Enabled">
            <Layer>
				<Section section="main" />
				<!--
                <Section look="smartYY/StaticShared" section="frame">
                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
                </Section>
				-->
            </Layer>
        </StateImagery>
        <StateImagery name="Disabled">
            <Layer>
                <Section look="smartYY/StaticShared" section="frame">
                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
                </Section>
            </Layer>
        </StateImagery>
    </WidgetLook>

<!--
    ***************************************************
        smartYY/TabButton
    ***************************************************
    -->
    <WidgetLook name="smartYY/TabButton">
        <PropertyDefinition name="NormalTextColour" initialValue="FF438AD2" redrawOnWrite="true" />
        <PropertyDefinition name="HoverTextColour" initialValue="FF6EC7FF" redrawOnWrite="true" />
        <PropertyDefinition name="PushedTextColour" initialValue="FF303F52" redrawOnWrite="true" />
        <PropertyDefinition name="DisabledTextColour" initialValue="5FFFFFFF" redrawOnWrite="true" />
        <PropertyDefinition name="ImageNormal" initialValue="set:smartYYUI image:TabBtnNormal" redrawOnWrite="true"/>
        <PropertyDefinition name="ImageDisable" initialValue="set:smartYYUI image:TabDisable" redrawOnWrite="true"/>
        <PropertyDefinition name="ImageHover" initialValue="set:smartYYUI image:TabBtnHover" redrawOnWrite="true"/>
        <PropertyDefinition name="ImageSelect" initialValue="set:smartYYUI image:TabBtnSelected" redrawOnWrite="true"/>
		<PropertyDefinition name="IconNormal" initialValue="set:smartYYUI image:TabHomeIconNormal" redrawOnWrite="true"/>
		<PropertyDefinition name="IconHover" initialValue="set:smartYYUI image:TabHomeIconSelected" redrawOnWrite="true"/>
		<PropertyDefinition name="IconSelect" initialValue="set:smartYYUI image:TabHomeIconSelected" redrawOnWrite="true"/>
        <ImagerySection name="label">
            <TextComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="RightEdge" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <VertFormat type="CentreAligned" />
                <HorzFormat type="CentreAligned" />
            </TextComponent>
        </ImagerySection>
        <ImagerySection name="normal">
			<ImageryComponent>
				<Area>
					<Dim type="LeftEdge" >
						<AbsoluteDim value="0" />
					</Dim>
					<Dim type="TopEdge" >
						<AbsoluteDim value="0" />
					</Dim>
					<Dim type="Width" >
						<UnifiedDim scale="1" type="Width" />
					</Dim>
					<Dim type="Height" >
						<UnifiedDim scale="1" type="Height" />
					</Dim>
				</Area>
				<ImageProperty name="ImageNormal"/>
				<VertFormat type="Stretched" />
				<HorzFormat type="Stretched" />
			</ImageryComponent>
			<ImageryComponent>
				<Area>
					<Dim type="LeftEdge" >
						<AbsoluteDim value="0" />
					</Dim>
					<Dim type="TopEdge" >
						<AbsoluteDim value="0" />
					</Dim>
					<Dim type="Width" >
						<UnifiedDim scale="1" type="Width" />
					</Dim>
					<Dim type="Height" >
						<UnifiedDim scale="1" type="Height" />
					</Dim>
				</Area>
				<ImageProperty name="IconNormal"/>
				<VertFormat type="CentreAligned" />
				<HorzFormat type="CentreAligned" />
			</ImageryComponent>
        </ImagerySection>
        <ImagerySection name="disable">
			<ImageryComponent>
				<Area>
					<Dim type="LeftEdge" >
						<AbsoluteDim value="0" />
					</Dim>
					<Dim type="TopEdge" >
						<AbsoluteDim value="0" />
					</Dim>
					<Dim type="Width" >
						<UnifiedDim scale="1" type="Width" />
					</Dim>
					<Dim type="Height" >
						<UnifiedDim scale="1" type="Height" />
					</Dim>
				</Area>
				<ImageProperty name="ImageDisable"/>
				<VertFormat type="Stretched" />
				<HorzFormat type="Stretched" />
			</ImageryComponent>
			<ImageryComponent>
				<Area>
					<Dim type="LeftEdge" >
						<AbsoluteDim value="0" />
					</Dim>
					<Dim type="TopEdge" >
						<AbsoluteDim value="0" />
					</Dim>
					<Dim type="Width" >
						<UnifiedDim scale="1" type="Width" />
					</Dim>
					<Dim type="Height" >
						<UnifiedDim scale="1" type="Height" />
					</Dim>
				</Area>
				<ImageProperty name="IconNormal"/>
				<VertFormat type="CentreAligned" />
				<HorzFormat type="CentreAligned" />
			</ImageryComponent>
        </ImagerySection>
        <ImagerySection name="hover">         
			<ImageryComponent>
				<Area>
					<Dim type="LeftEdge" >
						<AbsoluteDim value="0" />
					</Dim>
					<Dim type="TopEdge" >
						<AbsoluteDim value="0" />
					</Dim>
					<Dim type="Width" >
						<UnifiedDim scale="1" type="Width" />
					</Dim>
					<Dim type="Height" >
						<UnifiedDim scale="1" type="Height" />
					</Dim>
				</Area>
				<ImageProperty name="ImageHover"/>
				<VertFormat type="Stretched" />
				<HorzFormat type="Stretched" />
			</ImageryComponent>
			<ImageryComponent>
				<Area>
					<Dim type="LeftEdge" >
						<AbsoluteDim value="0" />
					</Dim>
					<Dim type="TopEdge" >
						<AbsoluteDim value="0" />
					</Dim>
					<Dim type="Width" >
						<UnifiedDim scale="1" type="Width" />
					</Dim>
					<Dim type="Height" >
						<UnifiedDim scale="1" type="Height" />
					</Dim>
				</Area>
				<ImageProperty name="IconHover"/>
				<VertFormat type="CentreAligned" />
				<HorzFormat type="CentreAligned" />
			</ImageryComponent>
        </ImagerySection>
        <ImagerySection name="select">        
			<ImageryComponent>
				<Area>
					<Dim type="LeftEdge" >
						<AbsoluteDim value="0" />
					</Dim>
					<Dim type="TopEdge" >
						<AbsoluteDim value="0" />
					</Dim>
					<Dim type="Width" >
						<UnifiedDim scale="1" type="Width" />
					</Dim>
					<Dim type="Height" >
						<UnifiedDim scale="1" type="Height" />
					</Dim>
				</Area>
				<ImageProperty name="ImageSelect"/>
				<VertFormat type="Stretched" />
				<HorzFormat type="Stretched" />
			</ImageryComponent>
			<ImageryComponent>
				<Area>
					<Dim type="LeftEdge" >
						<AbsoluteDim value="0" />
					</Dim>
					<Dim type="TopEdge" >
						<AbsoluteDim value="0" />
					</Dim>
					<Dim type="Width" >
						<UnifiedDim scale="1" type="Width" />
					</Dim>
					<Dim type="Height" >
						<UnifiedDim scale="1" type="Height" />
					</Dim>
				</Area>
				<ImageProperty name="IconSelect"/>
				<VertFormat type="CentreAligned" />
				<HorzFormat type="CentreAligned" />
			</ImageryComponent>
        </ImagerySection>
        <StateImagery name="Normal">
          <Layer>
            <Section section="normal" />  
            <Section section="label">
                <ColourProperty name="NormalTextColour" />
            </Section>          
          </Layer>
        </StateImagery>
        <StateImagery name="Hover">
          <Layer>
            <Section section="hover" />
            <Section section="label">
                <ColourProperty name="HoverTextColour" />
            </Section>         
          </Layer>
        </StateImagery>
        <StateImagery name="Disabled">
          <Layer>
            <Section section="disable" />
            <Section section="label">
                <ColourProperty name="DisabledTextColour" />
            </Section>
          </Layer>
        </StateImagery>
        <StateImagery name="SelectedNormal">
          <Layer>
            <Section section="select" />
            <Section section="label">
                <ColourProperty name="NormalTextColour" />
            </Section>           
          </Layer>
        </StateImagery>
        <StateImagery name="SelectedHover">
          <Layer>   
            <Section section="select" />
            <Section section="label">
                <ColourProperty name="HoverTextColour" />
            </Section>
          </Layer>
        </StateImagery>
        <StateImagery name="SelectedDisabled">
          <Layer>   
            <Section section="select">
              <!-- <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" /> -->
            </Section>
            <Section section="label">
                <ColourProperty name="DisabledTextColour" />
            </Section>      
          </Layer>
        </StateImagery>
    </WidgetLook>

    <!--
    ***************************************************
        smartYY/MenuItem
    ***************************************************
    -->
    <WidgetLook name="smartYY/MenuItem">
        <PropertyDefinition name="NormalTextColour" initialValue="FF438AD2" redrawOnWrite="true" />
        <PropertyDefinition name="HoverTextColour" initialValue="FF6EC7FF" redrawOnWrite="true" />
        <PropertyDefinition name="PushedTextColour" initialValue="FF303F52" redrawOnWrite="true" />
        <PropertyDefinition name="DisabledTextColour" initialValue="5FFFFFFF" redrawOnWrite="true" />
        <PropertyDefinition name="HoverColour" initialValue="FFFFFFFF" redrawOnWrite="true" />
        <PropertyDefinition name="PushedColour" initialValue="FFFFFFFF" redrawOnWrite="true" />
        <PropertyDefinition name="OpenedColour" initialValue="FFFFFFFF" redrawOnWrite="true" />
        <Property name="WantsMultiClickEvents" value="False" />
        <NamedArea name="ContentSize">
            <Area>
                <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
                <Dim type="Width">
                    <FontDim type="HorzExtent">
                        <DimOperator op="Add">
                            <ImageDim imageset="smartYYUI" image="MenuLeft" dimension="Width">
                                <DimOperator op="Add">
                                    <ImageDim imageset="smartYYUI" image="MenuRight" dimension="Width">
				      <DimOperator op="Add">
					<AbsoluteDim value="25"/>
				      </DimOperator>
				    </ImageDim>
                                </DimOperator>
                            </ImageDim>
                        </DimOperator>
                    </FontDim>
                </Dim>
                <Dim type="Height">
                    <FontDim type="LineSpacing">
                        <DimOperator op="Add">
                            <ImageDim imageset="smartYYUI" image="MenuTop" dimension="Height">
                                <DimOperator op="Add">
                                    <ImageDim imageset="smartYYUI" image="MenuBottom" dimension="Height" />
                                </DimOperator>
                            </ImageDim>
                        </DimOperator>
                    </FontDim>
                </Dim>
            </Area>
        </NamedArea>
        <NamedArea name="HasPopupContentSize">
            <Area>
                <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
                <Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
                <Dim type="Width">
                    <FontDim type="HorzExtent">
                        <DimOperator op="Add">
                            <ImageDim imageset="smartYYUI" image="MenuLeft" dimension="Width">
                                <DimOperator op="Add">
                                    <ImageDim imageset="smartYYUI" image="MenuRight" dimension="Width">
                                        <DimOperator op="Add">
                                            <ImageDim imageset="smartYYUI" image="PopupMenuArrowLeft" dimension="Width">
                                                <DimOperator op="Multiply">
                                                    <AbsoluteDim value="3" />
                                                </DimOperator>
                                            </ImageDim>
                                        </DimOperator>
                                    </ImageDim>
                                </DimOperator>
                            </ImageDim>
                        </DimOperator>
                    </FontDim>
                </Dim>
                <Dim type="Height">
                    <FontDim type="LineSpacing">
                        <DimOperator op="Add">
                            <ImageDim imageset="smartYYUI" image="MenuTop" dimension="Height">
                                <DimOperator op="Add">
                                    <ImageDim imageset="smartYYUI" image="MenuBottom" dimension="Height" />
                                </DimOperator>
                            </ImageDim>
                        </DimOperator>
                    </FontDim>
                </Dim>
            </Area>
        </NamedArea>
        <ImagerySection name="label">
            <TextComponent>
                <Area>
                    <Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="MenuLeft" dimension="Width" />
		    <DimOperator op="add">
		      <AbsoluteDim value="25"/>
		    </DimOperator>
		    </Dim>
                    <Dim type="TopEdge" ><ImageDim imageset="smartYYUI" image="MenuTop" dimension="Height" /></Dim>
                    <Dim type="RightEdge" >
                        <UnifiedDim scale="1" type="RightEdge">
                            <DimOperator op="Subtract">
                                <ImageDim imageset="smartYYUI" image="MenuRight" dimension="Width" />
                            </DimOperator>
                        </UnifiedDim>
                    </Dim>
                    <Dim type="BottomEdge" >
                        <UnifiedDim scale="1" type="BottomEdge">
                            <DimOperator op="Subtract">
                                <ImageDim imageset="smartYYUI" image="MenuBottom" dimension="Height" />
                            </DimOperator>
                        </UnifiedDim>
                    </Dim>
                </Area>
                <VertFormat type="CentreAligned" />
                <HorzFormat type="LeftAligned" />
            </TextComponent>
        </ImagerySection>
        <ImagerySection name="frame">
            <FrameComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <Image type="TopLeftCorner" imageset="smartYYUI" image="MenuTopLeft" />
                <Image type="TopRightCorner" imageset="smartYYUI" image="MenuTopRight" />
                <Image type="BottomLeftCorner" imageset="smartYYUI" image="MenuBottomLeft" />
                <Image type="BottomRightCorner" imageset="smartYYUI" image="MenuBottomRight" />
                <Image type="LeftEdge" imageset="smartYYUI" image="MenuLeft" />
                <Image type="RightEdge" imageset="smartYYUI" image="MenuRight" />
                <Image type="TopEdge" imageset="smartYYUI" image="MenuTop" />
                <Image type="BottomEdge" imageset="smartYYUI" image="MenuBottom" />
                <Image type="Background" imageset="smartYYUI" image="MenuMiddle" />
            </FrameComponent>
        </ImagerySection>
        <ImagerySection name="popup_arrow_right">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" >
                        <UnifiedDim scale="1" type="Width">
                            <DimOperator op="Subtract">
                                <ImageDim imageset="smartYYUI" image="PopupMenuArrowRight" dimension="Width" />
                            </DimOperator>
                        </UnifiedDim>
                    </Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="PopupMenuArrowRight" />
                <VertFormat type="CentreAligned" />
                <HorzFormat type="RightAligned" />
            </ImageryComponent>
        </ImagerySection>
        <ImagerySection name="popup_arrow_left">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" >
                        <UnifiedDim scale="1" type="Width">
                            <DimOperator op="Subtract">
                                <ImageDim imageset="smartYYUI" image="PopupMenuArrowLeft" dimension="Width" />
                            </DimOperator>
                        </UnifiedDim>
                    </Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="PopupMenuArrowLeft" />
                <VertFormat type="CentreAligned" />
                <HorzFormat type="RightAligned" />
            </ImageryComponent>
        </ImagerySection>
        <StateImagery name="EnabledNormal">
            <Layer>
                <Section section="label">
                    <ColourProperty name="NormalTextColour" />
                </Section>
            </Layer>
        </StateImagery>
        <StateImagery name="EnabledHover">
            <Layer>
                <Section section="frame">
                    <ColourProperty name="HoverColour" />
                </Section>
                <Section section="label">
                    <ColourProperty name="HoverTextColour" />
                </Section>
            </Layer>
        </StateImagery>
        <StateImagery name="EnabledPushed">
            <Layer>
                <Section section="frame">
                    <ColourProperty name="PushedColour" />
                </Section>
                <Section section="label">
                    <ColourProperty name="PushedTextColour" />
                </Section>
            </Layer>
        </StateImagery>
        <StateImagery name="EnabledPopupOpen">
            <Layer>
                <Section section="frame">
                    <ColourProperty name="OpenedColour" />
                </Section>
                <Section section="label">
                    <ColourProperty name="NormalTextColour" />
                </Section>
            </Layer>
        </StateImagery>
        <StateImagery name="DisabledNormal">
            <Layer>
                <Section section="label">
                    <ColourProperty name="DisabledTextColour" />
                </Section>
            </Layer>
        </StateImagery>
        <StateImagery name="DisabledHover">
            <Layer>
                <Section section="frame">
                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
                </Section>
                <Section section="label">
                    <ColourProperty name="DisabledTextColour" />
                </Section>
            </Layer>
        </StateImagery>
        <StateImagery name="DisabledPushed">
            <Layer>
                <Section section="frame">
                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
                </Section>
                <Section section="label">
                    <ColourProperty name="DisabledTextColour" />
                </Section>
            </Layer>
        </StateImagery>
        <StateImagery name="DisabledPopupOpen">
            <Layer>
                <Section section="frame">
                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
                </Section>
                <Section section="label">
                    <ColourProperty name="DisabledTextColour" />
                </Section>
            </Layer>
        </StateImagery>
        <StateImagery name="PopupClosedIcon">
            <Layer>
                <Section section="popup_arrow_right" />
            </Layer>
        </StateImagery>
        <StateImagery name="PopupOpenIcon">
            <Layer>
                <Section section="popup_arrow_left" />
            </Layer>
        </StateImagery>
    </WidgetLook>

    <!--
    ***************************************************
        smartYY/PopupMenu
    ***************************************************
    -->
    <WidgetLook name="smartYY/PopupMenu">
        <PropertyDefinition name="BackgroundColours" initialValue="tl:FFFFFFFF tr:FFFFFFFF bl:FFFFFFFF br:FFFFFFFF" redrawOnWrite="true" />
        <PropertyDefinition name="BorderWidth" initialValue="0" layoutOnWrite="true" />
        <NamedArea name="ItemRenderArea">
            <Area>
                <Dim type="LeftEdge" >
                    <ImageDim imageset="smartYYUI" image="PopupMenuFrameLeft" dimension="Width">
                        <DimOperator op="Add">
                            <PropertyDim name="BorderWidth" />
                        </DimOperator>
                    </ImageDim>
                </Dim>
                <Dim type="TopEdge" >
                    <ImageDim imageset="smartYYUI" image="PopupMenuFrameTop" dimension="Height">
                        <DimOperator op="Add">
                            <PropertyDim name="BorderWidth" />
                        </DimOperator>
                    </ImageDim>
                </Dim>
                <Dim type="RightEdge" >
                    <UnifiedDim scale="1" type="RightEdge">
                        <DimOperator op="Subtract">
                            <ImageDim imageset="smartYYUI" image="PopupMenuFrameRight" dimension="Width">
                                <DimOperator op="Add">
                                    <PropertyDim name="BorderWidth" />
                                </DimOperator>
                            </ImageDim>
                        </DimOperator>
                    </UnifiedDim>
                </Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract">
                            <ImageDim imageset="smartYYUI" image="PopupMenuFrameBottom" dimension="Height">
                                <DimOperator op="Add">
                                    <PropertyDim name="BorderWidth" />
                                </DimOperator>
                            </ImageDim>
                        </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <ImagerySection name="frame">
            <FrameComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <Image type="TopLeftCorner" imageset="smartYYUI" image="PopupMenuFrameTopLeft" />
                <Image type="TopRightCorner" imageset="smartYYUI" image="PopupMenuFrameTopRight" />
                <Image type="BottomLeftCorner" imageset="smartYYUI" image="PopupMenuFrameBottomLeft" />
                <Image type="BottomRightCorner" imageset="smartYYUI" image="PopupMenuFrameBottomRight" />
                <Image type="LeftEdge" imageset="smartYYUI" image="PopupMenuFrameLeft" />
                <Image type="RightEdge" imageset="smartYYUI" image="PopupMenuFrameRight" />
                <Image type="TopEdge" imageset="smartYYUI" image="PopupMenuFrameTop" />
                <Image type="BottomEdge" imageset="smartYYUI" image="PopupMenuFrameBottom" />
                <Image type="Background" imageset="smartYYUI" image="PopupMenuMiddle" />
            </FrameComponent>
        </ImagerySection>
        <StateImagery name="Enabled">
            <Layer>
                <Section section="frame">
                    <ColourRectProperty name="BackgroundColours" />
                </Section>
            </Layer>
        </StateImagery>
        <StateImagery name="Disabled">
            <Layer>
                <Section section="frame">
                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
                </Section>
            </Layer>
        </StateImagery>
    </WidgetLook>


    <!--
    ***************************************************
        smartYY/Menubar
    ***************************************************
    -->
    <WidgetLook name="smartYY/Menubar">
        <PropertyDefinition name="BackgroundColours" initialValue="tl:FFFFFFFF tr:FFFFFFFF bl:FFFFFFFF br:FFFFFFFF" redrawOnWrite="true" />
        <PropertyDefinition name="BorderWidth" initialValue="5" layoutOnWrite="true" />
        <NamedArea name="ItemRenderArea">
            <Area>
                <Dim type="LeftEdge" >
                    <ImageDim imageset="smartYYUI" image="PopupMenuFrameLeft" dimension="Width">
                        <DimOperator op="Add">
                            <PropertyDim name="BorderWidth" />
                        </DimOperator>
                    </ImageDim>
                </Dim>
                <Dim type="TopEdge" >
                    <ImageDim imageset="smartYYUI" image="PopupMenuFrameTop" dimension="Height">
                        <DimOperator op="Add">
                            <PropertyDim name="BorderWidth" />
                        </DimOperator>
                    </ImageDim>
                </Dim>
                <Dim type="RightEdge" >
                    <UnifiedDim scale="1" type="RightEdge">
                        <DimOperator op="Subtract">
                            <ImageDim imageset="smartYYUI" image="PopupMenuFrameRight" dimension="Width">
                                <DimOperator op="Add">
                                    <PropertyDim name="BorderWidth" />
                                </DimOperator>
                            </ImageDim>
                        </DimOperator>
                    </UnifiedDim>
                </Dim>
                <Dim type="BottomEdge" >
                    <UnifiedDim scale="1" type="BottomEdge">
                        <DimOperator op="Subtract">
                            <ImageDim imageset="smartYYUI" image="PopupMenuFrameBottom" dimension="Height">
                                <DimOperator op="Add">
                                    <PropertyDim name="BorderWidth" />
                                </DimOperator>
                            </ImageDim>
                        </DimOperator>
                    </UnifiedDim>
                </Dim>
            </Area>
        </NamedArea>
        <ImagerySection name="frame">
            <FrameComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <Image type="TopLeftCorner" imageset="smartYYUI" image="PopupMenuFrameTopLeft" />
                <Image type="TopRightCorner" imageset="smartYYUI" image="PopupMenuFrameTopRight" />
                <Image type="BottomLeftCorner" imageset="smartYYUI" image="PopupMenuFrameBottomLeft" />
                <Image type="BottomRightCorner" imageset="smartYYUI" image="PopupMenuFrameBottomRight" />
                <Image type="LeftEdge" imageset="smartYYUI" image="PopupMenuFrameLeft" />
                <Image type="RightEdge" imageset="smartYYUI" image="PopupMenuFrameRight" />
                <Image type="TopEdge" imageset="smartYYUI" image="PopupMenuFrameTop" />
                <Image type="BottomEdge" imageset="smartYYUI" image="PopupMenuFrameBottom" />
                <Image type="Background" imageset="smartYYUI" image="PopupMenuMiddle" />
            </FrameComponent>
        </ImagerySection>
        <StateImagery name="Enabled">
            <Layer>
                <Section section="frame">
                    <ColourRectProperty name="BackgroundColours" />
                </Section>
            </Layer>
        </StateImagery>
        <StateImagery name="Disabled">
            <Layer>
                <Section section="frame">
                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
                </Section>
            </Layer>
        </StateImagery>
    </WidgetLook>

    <!--
    ***************************************************
        smartYY/ProgressBar
    ***************************************************
    -->
    <WidgetLook name="smartYY/ProgressBar">
        <NamedArea name="ProgressArea">
            <Area>
                <Dim type="LeftEdge" >
					<AbsoluteDim Value="0"/>
					<!--
                    <ImageDim imageset="smartYYUI" image="ProgressBarLeft" dimension="Width">
                        <DimOperator op="Divide">
                            <AbsoluteDim value="2" />
                        </DimOperator>
                    </ImageDim>
					-->
                </Dim>
                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                <Dim type="RightEdge" >
                    <UnifiedDim scale="1" type="RightEdge">
						<!--
                        <DimOperator op="Subtract">
                            <ImageDim imageset="smartYYUI" image="ProgressBarRight" dimension="Width">
                                <DimOperator op="Divide">
                                    <AbsoluteDim value="2" />
                                </DimOperator>
                            </ImageDim>
                        </DimOperator>
						-->
                    </UnifiedDim>
                </Dim>
                <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
            </Area>
        </NamedArea>
        <ImagerySection name="frame">
            <FrameComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <Image type="LeftEdge" imageset="smartYYUI" image="ProgressBarLeft" />
                <Image type="RightEdge" imageset="smartYYUI" image="ProgressBarRight" />
                <Image type="Background" imageset="smartYYUI" image="ProgressBarMiddle" />
                <HorzFormat type="Tiled" />
            </FrameComponent>
        </ImagerySection>
        <ImagerySection name="progress_lights" >
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="ProgressBarLitSegment" />
                <VertFormat type="Stretched" />
                <HorzFormat type="Tiled" />
            </ImageryComponent>
        </ImagerySection>
        <StateImagery name="Enabled">
            <Layer>
                <Section section="frame" />
            </Layer>
        </StateImagery>
        <StateImagery name="Disabled">
            <Layer>
                <Section section="frame">
                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
                </Section>
            </Layer>
        </StateImagery>
        <StateImagery name="EnabledProgress">
            <Layer>
                <Section section="progress_lights" />
            </Layer>
        </StateImagery>
        <StateImagery name="DisabledProgress">
            <Layer>
                <Section section="progress_lights">
                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
                </Section>
            </Layer>
        </StateImagery>
    </WidgetLook>

    <!--
    ***************************************************
        smartYY/Hotbar
    ***************************************************
    -->
    <WidgetLook name="smartYY/Hotbar">
        <PropertyDefinition name="CaptionColour" initialValue="FFFFFFFF" redrawOnWrite="true" />
        <PropertyDefinition name="HotbarLeft" initialValue="set:smartYYUI image:HotbarLeft" redrawOnWrite="true"/>
        <PropertyDefinition name="HotbarMiddle" initialValue="set:smartYYUI image:HotbarMiddle" redrawOnWrite="true"/>
        <PropertyDefinition name="HotbarRight" initialValue="set:smartYYUI image:HotbarRight" redrawOnWrite="true"/>
        <Property name="NonClient" value="True" />
        <ImagerySection name="main">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1.0" type="Width" /></Dim>
                    <Dim type="Height" ><ImageDim imageset="smartYYUI" image="HotbarLeft" dimension="Height" /></Dim>
                </Area>
                <ImageProperty name="HotbarLeft"/>
                <VertFormat type="Stretched" />
            </ImageryComponent>
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="HotbarLeft" dimension="Width" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="RightEdge" >
                        <UnifiedDim scale="1" type="RightEdge">
                            <DimOperator op="Subtract">
                                <ImageDim imageset="smartYYUI" image="HotbarRight" dimension="Width">
                                </ImageDim>
                            </DimOperator>
                        </UnifiedDim>
                    </Dim>
                    <Dim type="Height" ><ImageDim imageset="smartYYUI" image="HotbarMiddle" dimension="Height" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="HotbarMiddle" />
                <VertFormat type="Stretched" />
                <HorzFormat type="Stretched" />
            </ImageryComponent>
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1.0" type="Width" /></Dim>
                    <Dim type="Height" ><ImageDim imageset="smartYYUI" image="HotbarRight" dimension="Height" /></Dim>
                </Area>
                <ImageProperty name="HotbarRight"/>
                <VertFormat type="Stretched" />
                <HorzFormat type="RightAligned" />
            </ImageryComponent>
        </ImagerySection>
        <ImagerySection name="caption">
            <TextComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="33" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="2" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <ColourProperty name="CaptionColour" />
                <VertFormat type="CentreAligned" />
            </TextComponent>
        </ImagerySection>
        <StateImagery name="Active">
            <Layer>
                <Section section="main" />
                <Section section="caption" />
            </Layer>
        </StateImagery>
        <StateImagery name="Inactive">
            <Layer>
                <Section section="main" />
                <Section section="caption" />
            </Layer>
        </StateImagery>
        <StateImagery name="Disabled">
            <Layer>
                <Section section="main">
                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
                </Section>
                <Section section="caption">
                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
                </Section>
            </Layer>
        </StateImagery>
    </WidgetLook>

    <!--
    ***************************************************
        smartYY/Hotbar_Menu_BG
    ***************************************************
    -->
    <WidgetLook name="smartYY/Hotbar_Menu_BG">
        <ImagerySection name="image">
            <FrameComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="RightEdge" ><UnifiedDim scale="1" type="Width" /></Dim>
                    <Dim type="BottomEdge" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <Image type="TopLeftCorner" imageset="smartYYUI" image="SubmenuTopLeft" />
                <Image type="TopRightCorner" imageset="smartYYUI" image="SubMenuTopRight" />
                <Image type="BottomLeftCorner" imageset="smartYYUI" image="SubMenuBottomLeft" />
                <Image type="BottomRightCorner" imageset="smartYYUI" image="SubMenuBottomRight" />
                <Image type="LeftEdge"   imageset="smartYYUI" image="SubMenuLeft" />
                <Image type="TopEdge"    imageset="smartYYUI" image="SubMenuTop" />
                <Image type="RightEdge"  imageset="smartYYUI" image="SubMenuRight" />
                <Image type="BottomEdge" imageset="smartYYUI" image="SubMenuBottom" />
            </FrameComponent>
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge"> <ImageDim imageset="smartYYUI" image="SubMenuLeft" dimension="Width" /> </Dim>
                    <Dim type="TopEdge">  <ImageDim imageset="smartYYUI" image="SubMenuTop" dimension="Height" /> </Dim>
                    <Dim type="RightEdge">
                        <UnifiedDim scale="1" type="RightEdge">
                            <DimOperator op="Subtract"> <ImageDim imageset="smartYYUI" image="SubMenuRight" dimension="Width" /> </DimOperator>
                        </UnifiedDim>
                    </Dim>
                    <Dim type="BottomEdge">
                        <UnifiedDim scale="1" type="BottomEdge">
                            <DimOperator op="Subtract"> <ImageDim imageset="smartYYUI" image="SubMenuBottom" dimension="Height" /> </DimOperator>
                        </UnifiedDim>
                    </Dim>
                </Area>
                <Image imageset="smartYYUI" image="SubMenuCenter" />
                <VertFormat type="Stretched" />
                <HorzFormat type="Stretched" />
            </ImageryComponent>
        </ImagerySection>
        <StateImagery name="Enabled" >
            <Layer><Section section="image"/></Layer>
        </StateImagery>
        <StateImagery name="Disabled" >
            <Layer><Section section="image"/></Layer>
        </StateImagery>
    </WidgetLook>

    <!--
    ***************************************************
        smartYY/Dockbar
    ***************************************************
    -->
    <WidgetLook name="smartYY/Dockbar">
        <PropertyDefinition name="CaptionColour" initialValue="FFFFFFFF" redrawOnWrite="true" />
        <Property name="NonClient" value="True" />
        <ImagerySection name="main">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1.0" type="Width" /></Dim>
                    <Dim type="Height" ><ImageDim imageset="smartYYUI" image="HotbarRcLeft" dimension="Height" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="HotbarRcLeft" />
                <VertFormat type="Stretched" />
            </ImageryComponent>
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="HotbarRcLeft" dimension="Width" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="RightEdge" >
                        <UnifiedDim scale="1" type="RightEdge">
                            <DimOperator op="Subtract">
                                <ImageDim imageset="smartYYUI" image="HotbarArcRight" dimension="Width">
                                </ImageDim>
                            </DimOperator>
                        </UnifiedDim>
                    </Dim>
                    <Dim type="Height" ><ImageDim imageset="smartYYUI" image="HotbarMiddle" dimension="Height" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="HotbarMiddle" />
                <VertFormat type="Stretched" />
                <HorzFormat type="Stretched" />
            </ImageryComponent>
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1.0" type="Width" /></Dim>
                    <Dim type="Height" ><ImageDim imageset="smartYYUI" image="HotbarArcRight" dimension="Height" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="HotbarArcRight" />
                <VertFormat type="Stretched" />
                <HorzFormat type="RightAligned" />
            </ImageryComponent>
        </ImagerySection>
        <ImagerySection name="caption">
            <TextComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="33" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="2" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1" offset="-100" type="Width" /></Dim>
                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
                </Area>
                <ColourProperty name="CaptionColour" />
                <VertFormat type="CentreAligned" />
            </TextComponent>
        </ImagerySection>
        <StateImagery name="Active">
            <Layer>
                <Section section="main" />
                <Section section="caption" />
            </Layer>
        </StateImagery>
        <StateImagery name="Inactive">
            <Layer>
                <Section section="main" />
                <Section section="caption" />
            </Layer>
        </StateImagery>
        <StateImagery name="Disabled">
            <Layer>
                <Section section="main">
                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
                </Section>
                <Section section="caption">
                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
                </Section>
            </Layer>
        </StateImagery>
    </WidgetLook>

    <!--
    ***************************************************
        smartYY/White_BG
    ***************************************************
    -->
    <WidgetLook name="smartYY/White_BG">
        <PropertyDefinition name="CaptionColour" initialValue="FF000000" redrawOnWrite="true" />
        <Property name="NonClient" value="True" />
        <ImagerySection name="image">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1.0" type="Width" /></Dim>
                    <Dim type="Height" ><ImageDim imageset="smartYYUI" image="WhiteBG_Left" dimension="Height" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="WhiteBG_Left" />
                <VertFormat type="Stretched" />
            </ImageryComponent>
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><ImageDim imageset="smartYYUI" image="WhiteBG_Left" dimension="Width" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="RightEdge" >
                        <UnifiedDim scale="1" type="RightEdge">
                            <DimOperator op="Subtract">
                                <ImageDim imageset="smartYYUI" image="WhiteBG_Right" dimension="Width">
                                </ImageDim>
                            </DimOperator>
                        </UnifiedDim>
                    </Dim>
                    <Dim type="Height" ><ImageDim imageset="smartYYUI" image="WhiteBG_Middle" dimension="Height" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="WhiteBG_Middle" />
                <VertFormat type="Stretched" />
                <HorzFormat type="Stretched" />
            </ImageryComponent>
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1.0" type="Width" /></Dim>
                    <Dim type="Height" ><ImageDim imageset="smartYYUI" image="WhiteBG_Right" dimension="Height" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="WhiteBG_Right" />
                <VertFormat type="Stretched" />
                <HorzFormat type="RightAligned" />
            </ImageryComponent>
        </ImagerySection>
        <ImagerySection name="blackarrow">
            <ImageryComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="16" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="9" /></Dim>
                    <Dim type="Width" ><ImageDim imageset="smartYYUI" image="Black_Arrow" dimension="Width" /></Dim>
                    <Dim type="Height" ><ImageDim imageset="smartYYUI" image="Black_Arrow" dimension="Height" /></Dim>
                </Area>
                <Image imageset="smartYYUI" image="Black_Arrow" />
                <VertFormat type="Stretched" />
                <HorzFormat type="Stretched" />
            </ImageryComponent>
        </ImagerySection>
        <ImagerySection name="caption">
            <TextComponent>
                <Area>
                    <Dim type="LeftEdge" ><AbsoluteDim value="35" /></Dim>
                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
                    <Dim type="Width" ><UnifiedDim scale="1" offset="-16" type="Width" /></Dim>
                    <Dim type="Height" ><ImageDim imageset="smartYYUI" image="WhiteBG_Left" dimension="Height" /></Dim>
                </Area>
                <ColourProperty name="CaptionColour" />
                <VertFormat type="CentreAligned" />
            </TextComponent>
        </ImagerySection>
        <StateImagery name="Enabled">
            <Layer>
                <Section section="image" />
                <Section section="blackarrow" />
                <Section section="caption" />
            </Layer>
        </StateImagery>
        <StateImagery name="Disabled">
            <Layer>
                <Section section="image">
                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
                </Section>
                <Section section="blackarrow">
                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
                </Section>
                <Section section="caption">
                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
                </Section>
            </Layer>
        </StateImagery>
    </WidgetLook>

</Falagard>
