<Gauge Name="L188 Fire handle 2" Version="1.0">
   <Image Name="L188_Fire handles_background.bmp" ImageSizes="125,121,0,0"/>
//------- INITIALIZE STATE TO "Not Pulled" and Fuel Pump ON --------
   <Element>
      <Select>
         <Value>(L:Handle State 2,number) 1 &lt; if{ 1 (&gt;L:Handle State 2,number) 1 (A:GENERAL ENG2 FUEL PUMP SWITCH,bool) }</Value>
      </Select>
   </Element>
   <Element>
      <Position X="0" Y="1"/>
      <Select>
         <Value>(L:Handle State 2,number)</Value>
         <Case Value="1">
            <Image Name="L188_Fire_handle2.bmp" ImageSizes="25,65,0,0"/>
         </Case>
         <Case Value="2">
            <Image Name="L188_Fire_handle2_Pulled.bmp" ImageSizes="65,121,0,0"/>
         </Case>
         <Case Value="3">
            <Image Name="L188_Fire_handle2_Pulled.bmp" ImageSizes="65,121,0,0"/>
         </Case>
      </Select>
   </Element>
  <Element>
	<Select>
	<Value>(L:Handle State 2,number) 2 == if{ 0 (>K:MIXTURE2_SET) -16384.0 (>K:PROP_PITCH2_SET) }</Value>
	</Select>
  </Element>
  <Element>
	<Select>
	<Value>(L:Handle State 2,number) 2 == if{ 0 (>K:TOGGLE_ELECT_FUEL_PUMP2) 1 (>L:Prop2_Feathered,bool) 1 (>A:PROP2 FEATHERED,bool) 1 (>L:Prop2_Feathered_State,enum)  }</Value>
	</Select>
  </Element>
  <Element>
	<Select>
	<Value>(L:Handle State 2,number) 2 == if{ (P:Local Time, seconds) 59.00 + (&gt;L:Feather2_Var,number) + 0 (>K:TOGGLE_FUEL_VALVE_ENG2) }</Value>
	</Select>
  </Element>
   <Element>
	<Select>
	<Value>(L:Handle State 2,number) 2 == if{ 3 (&gt;L:Handle State 2,number) }</Value>
	</Select>
  </Element>
  
   <Mouse>
      <Area Top="33" Left="5" Width="28" Height="34">
         <Tooltip>ENG2 EMERGENCY SHUTDOWN - PULL</Tooltip>
         <Cursor Type="Hand"/>
         <Click>(L:Handle State 2,number) 1 == if{ 2 (&gt;L:Handle State 2,number) } (>K:THROTTLE2_CUT) (>K:ENGINE) (L:Prop1_Feathered,bool) ! if{ (>K:SELECT_1) } (L:Prop3_Feathered,bool) ! if{ (>K:SELECT_3) } (L:Prop4_Feathered,bool) ! if{ (>K:SELECT_4) }</Click>
      </Area>
      <Area Top="2" Left="5" Width="28" Height="30">
         <Tooltip>PUSH to Reset </Tooltip>
         <Cursor Type="Hand"/>
         <Click>(L:Handle State 2,number) 3 == if{ 1 (&gt;L:Handle State 2,number) }</Click>
      </Area>
   </Mouse>
</Gauge>