<container w='1024' h='768' x='188' y='0' name="timerselect_popup" visible="0">
  <state name="timerselect" visible="1"/>

  <container w="1024" h="768" x="0" y="0" color="ffffff00">
    <state name="timerselect" color="ffffffff"/>
    <image x='-188' w="1400" h="768" filename="data/gui/popap_shade.png" />
      <image filename="data/gfx/elf_right.png"  x="765" y="200"/>
  
  </container>

  <container w="730" h="460" x="120" y="-460">
    <state name="timerselect" x="120" y="140"/>

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

    <text x="205" y="100" w="340" h="100" line_height="25" align="center"  color="fffeddff" text="Select the game mode. In the Timed Mode you have to complete the level fast to get three stars. In the Relaxed Mode you don't get stars." font="data/fonts/dsgoose_26_simple.xml" />



    <button x="207" y="275" w="150" h="128" text="" on_click="setTimedMode">
      <image name="default" x="0" y="0" filename="data/gui/buttons/main_timed_d.png" visible="1" />
      <image name="active" x="0" y="0" filename="data/gui/buttons/main_timed_a.png" visible="0" />
      <image name="pressed" x="1" y="1" filename="data/gui/buttons/main_timed_a.png" visible="0" />
    </button>

    <button x="390" y="275" w="150" h="128" text="" on_click="setRelaxedMode">
      <image name="default" x="0" y="0" filename="data/gui/buttons/main_relaxed_d.png" visible="1" />
      <image name="active" x="0" y="0" filename="data/gui/buttons/main_relaxed_a.png" visible="0" />
      <image name="pressed" x="1" y="1" filename="data/gui/buttons/main_relaxed_a.png" visible="0" />
    </button>
  </container>

</container>
