<container w='1024' h='768' x='188' y='0' visible="0">
  <state name="upgrade_popup" visible="1"/>
  <state name="upgrade" visible="0"/>
  <state name="map" visible="0"/>

  <container w="1024" h="768" x="0" y="0" color="ffffff00">
    <state name="upgrade_popup" color="ffffffff"/>
    <state name="upgrade" color="ffffff00"/>
    <state name="map" color="ffffff00"/>
    <image x='-188' w="1400" h="768" filename="data/gui/popap_shade.png" />
  </container>

  <container w="740" h="620"                x='205' y='-800'>
    <state name="upgrade_popup" visible="1" x='205' y='160' />
    <state name="upgrade" visible="1"       x='205' y='-800'/>
    <state name="map" visible="1"           x='205' y='-800'/>


    <image x='0' y='0' filename="data/gui/loose.png" />

    <container x='195' y='140' name="upgrade_popup_content" w="600" h="620" />
    <image x='200' y='143' filename="data/backgrounds/main/thumbs/200frame.png" />
    <text name="" x="125" y="105" w="364" line_height="25"   align="center" text="Buy this upgrade?" font="data/fonts/dsgoose_26_simple.xml" />      

    <button x="150" y="320" w="170" h="80" on_click="cancelBuyItem">
      <image name="default" x="0" y="0" filename="data/gui/buttons/menu_back_d.png" visible="1" />
      <image name="active" x="0" y="0" filename="data/gui/buttons/menu_back_a.png" visible="0" />
      <image name="pressed" x="5" y="5" filename="data/gui/buttons/menu_back_a.png" visible="0" />
    </button>



    <button x="305" y="320" w="170" h="80" text="" on_click="completeBuyItem">
      <image name="default" x="0" y="0" filename="data/gui/buttons/menu_buy_d.png" visible="1" />
      <image name="active" x="0" y="0" filename="data/gui/buttons/menu_buy_a.png" visible="0" />
      <image name="pressed" x="1" y="1" filename="data/gui/buttons/menu_buy_a.png" visible="0" />
    </button>

  </container>
</container>


