<container w='1024' h='768' x='0' y='0'>
  
  <container w="730" h="460" x="0" y="0">
    <state name="initial" color="ffffff00" />
    <state name="closing" color="ffffff00" />    
    <image w='1024' h='768' filename="data/gui/popap_shade.png" />
  </container>
  
  <container w='1024' h='768' x="150" y="150">
    
    <state name="initial" w="730" h="460" x='150' y='-460'/>
    <state name="closing" w="730" h="460" x='150' y='-460' on_end="removePopup"/>
    
    
    <image w="420" h="300" x='165' y='80' filename="data/gui/popap_frame.png" />
	<image x='275' y='130' filename="data/backgrounds/main/09_large.jpg" />
	
	
    <button x="215" y="280" w="150" h="50" on_click="closePopup">
      <image name="default" x="0" y="0" filename="data/gui/buttons/cancel_d.png" visible="1" />
      <image name="active" x="0" y="0" filename="data/gui/buttons/cancel_a.png" visible="0" />
      <image name="pressed" x="5" y="5" filename="data/gui/buttons/cancel_a.png" visible="0" />
    </button>
    
    <button x="375" y="280" w="150" h="50" on_click="buyItem:upgrade9">
      <image name="default" x="0" y="0" filename="data/gui/buttons/buy_d.png" visible="1" />
      <image name="active" x="0" y="0" filename="data/gui/buttons/buy_a.png" visible="0" />
      <image name="pressed" x="5" y="5" filename="data/gui/buttons/buy_a.png" visible="0" />
    </button>
    
    
  </container>

</container>