<Gauge Name="CargoDoor gauge" Version="1.0">
   <Element>
      <Position X="0" Y="0"/>
      <Select>
         <Value>(A:EXIT OPEN:1,percent) 0 &gt; 2 * (G:Var1) +</Value>
         <Case Value="0">
            <Image Name="cx_cargo_c_u.bmp" ImageSizes="44,20,44,20"/>
         </Case>
         <Case Value="1">
            <Image Name="cx_cargo_c_d.bmp" ImageSizes="44,20,44,20"/>
         </Case>
         <Case Value="2">
            <Image Name="cx_cargo_o_u.bmp" ImageSizes="44,20,44,20"/>
         </Case>
         <Case Value="3">
            <Image Name="cx_cargo_o_d.bmp" ImageSizes="44,20,44,20"/>
         </Case>
      </Select>
   </Element>
   <Mouse>
      <Area Left="0" Width="44" Top="0" Height="20">
         <Cursor Type="Hand" />
         <Click Kind="LeftSingle+LeftRelease">
         (M:Event) 'LeftSingle' scmp 0 == if{ (&gt;K:TOGGLE_AIRCRAFT_EXIT) (&gt;K:SELECT_3) 1 (&gt;G:Var1) } (M:Event) 'LeftRelease' scmp 0 == if{ 0 (&gt;G:Var1) }
         </Click>
         <Tooltip ID="">Slide/Close cargo door</Tooltip>
      </Area>
   </Mouse>
</Gauge>
