<Gauge Name="EICAS_LOWER" Version="1.0" Author="Ken Mitchell">
<Image Name="background.bmp" ImageSizes="355,339"/>

<Element>
   <Position X="0" Y="0"/>
   <Container/>
   <Update Frequency="6"/>

      <Visible>(A:Circuit general panel on, bool)</Visible>
      <!--===============LOWER 1 ============= -->

   <Element>
      <Size X="355" Y="339"/>
      <Visible>(L:EICAS LOWER Switch, enum) 0 ==</Visible>


            <Image Name="EICAS_LOWER1.bmp" Bright="Yes" ImageSizes="355,339"/>


      <!--          RUDDER             -->

      <Element>
         <Position X="183" Y="181"/>
         <Image Name="RUDDER_POINTER.bmp" Bright="Yes" PointsTo="South" ImageSizes="18,52">
            <Axis X="9" Y="10"/>
         </Image>
         <Rotate>
            <Value Minimum="-150" Maximum="150">(A:RUDDER DEFLECTION, degrees) 6 *</Value>
            <Nonlinearity>
               <Item Value="150" X="215" Y="205"/>
               <Item Value="0" X="182" Y="219"/>
               <Item Value="-150" X="151" Y="205"/>
            </Nonlinearity>
         </Rotate>
      </Element>

      <!--          ELEVATOR TRIM             -->

      <Element>
         <Position X="138" Y="121"/>
         <Text X="76" Y="20" Bright="Yes" Length="5" Font="Arial" Color="%('#FF00FF' '#FFFFFF' (A:ELEVATOR TRIM POSITION, degrees) 10 * near 10 / 0 &gt;= ! ?)" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
            <String>%((A:ELEVATOR TRIM POSITION, degrees) 10 * near 10 / )%!5.1f!</String>
         </Text>
      </Element>



      <!--          ELEVATOR POSITION             -->

      <Element>
         <Position X="135" Y="121"/>
         <Image Name="AIL_POINTER.bmp" Bright="Yes" ImageSizes="21,14">
            <Axis X="10.5" Y="7"/>
         </Image>
         <Shift>
            <Value Minimum="-60" Maximum="60">(A:ELEVATOR POSITION, degrees)</Value>
            <Nonlinearity>
               <Item Value="-60" X="183" Y="279"/>
               <Item Value="60" X="183" Y="245"/>
            </Nonlinearity>
         </Shift>
      </Element>
      <Element>
         <Position X="198" Y="255"/>
         <Text X="34" Y="20" Bright="Yes" Length="3" Font="Arial" Color="%('#FF00FF' '#FFFFFF' (A:ELEVATOR POSITION, degrees) 0 &gt; ! ?)" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
            <String>%((A:ELEVATOR POSITION, degrees))%!3d!</String>
         </Text>
      </Element>

      <!--          AILERON DEFLECTION             -->

      <Element>
         <Image Name="AIL_POINTER.bmp" Bright="Yes" ImageSizes="21,14">
            <Axis X="10.5" Y="7"/>
         </Image>
         <Shift>
            <Value Minimum="-20.7" Maximum="20.7">(A:AILERON LEFT DEFLECTION, degrees)</Value>
            <Nonlinearity>
               <Item Value="-20.7" X="75" Y="141"/>
               <Item Value="-3" X="75" Y="127"/>
               <Item Value="0" X="75" Y="113"/>
               <Item Value="3" X="75" Y="99"/>
               <Item Value="20.7" X="75" Y="86"/>
            </Nonlinearity>
         </Shift>
      </Element>
      <Element>
         <Image Name="AIL_POINTER.bmp" Bright="Yes" ImageSizes="21,14">
            <Axis X="10.5" Y="7"/>
         </Image>
         <Shift>
            <Value Minimum="-20.7" Maximum="20.7">(A:AILERON RIGHT DEFLECTION, degrees)</Value>
            <Nonlinearity>
               <Item Value="-20.7" X="286" Y="86"/>
               <Item Value="-3" X="286" Y="99"/>
               <Item Value="-3" X="286" Y="113"/>
               <Item Value="3" X="286" Y="127"/>
               <Item Value="20.7" X="286" Y="141"/>
            </Nonlinearity>
         </Shift>
      </Element>

      <!--          SPEEDBRAKES             -->

   <Element>
         <Position X="164" Y="19"/>
          <Text X="37" Y="12" Bright="Yes" Length="5" FontWeight="700" Font="Quartz" Color="Green" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
            <String>%((A:SPOILERS ARMED,bool) if{ 'ARMED' } els{ '     ' } )%!s!</String>
         </Text>
   </Element>
   <Element>
         <Position X="150" Y="36"/>
          <Text X="65" Y="14" Bright="Yes" Length="8" FontWeight="700" Font="Quartz" Color="Orange" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
            <String>%(((A:SPOILERS HANDLE POSITION,bool) abs) if{ 'DEPLOYED' } els{ '        ' } )%!s!</String>
         </Text>
   </Element>

   <Element>
         <Position X="91" Y="42"/>
      <Select>
         <Value>(A:SPOILERS HANDLE POSITION,bool)</Value>

         <Case Value="1">
            <Image Name="SPDBRK_LEFT.bmp" Bright="Yes" ImageSizes="53,20"/>
         </Case>
      </Select>
   </Element>

   <Element>
         <Position X="219" Y="42"/>
      <Select>
         <Value>(A:SPOILERS HANDLE POSITION,bool)</Value>

         <Case Value="1">
            <Image Name="SPDBRK_RIGHT.bmp" Bright="Yes"  ImageSizes="53,20"/>
         </Case>
      </Select>
   </Element>





   </Element>


      <!--===============LOWER 2 ============= -->

   <Element>
      <Size X="355" Y="339"/>
      <Visible>(L:EICAS LOWER Switch, enum) 1 ==</Visible>
      <Image Name="EICAS_LOWER2.bmp" Bright="Yes" ImageSizes="355,339"/>

   <Element>
         <Position X="68" Y="36"/>
      <Select>
         <Value>(A:General eng1 mixture lever position, percent) 50 &gt; </Value>
         <Case Value="0">
            <Image Name="FUEL_VALVE_1_CLOSED.bmp" Bright="Yes" ImageSizes="43,25"/>
         </Case>
         <Case Value="1">
            <Image Name="FUEL_VALVE_1_OPEN.bmp" Bright="Yes" ImageSizes="43,25"/>
         </Case>
      </Select>
   </Element>

   <Element>
         <Position X="251" Y="36"/>
      <Select>
         <Value>(A:General eng2 mixture lever position, percent) 50 &gt; </Value>
         <Case Value="0">
            <Image Name="FUEL_VALVE_2_CLOSED.bmp" Bright="Yes" ImageSizes="43,25"/>
         </Case>
         <Case Value="1">
            <Image Name="FUEL_VALVE_2_OPEN.bmp" Bright="Yes" ImageSizes="43,25"/>
         </Case>
      </Select>
   </Element>




   <Element>
         <Position X="114" Y="67"/>
      <Select>
         <Value>(A:FUEL CROSS FEED,bool)</Value>
         <Case Value="0">
            <Image Name="FUEL_CROSS_FEED_CLOSED.bmp" Bright="Yes" ImageSizes="25,25"/>
         </Case>
         <Case Value="1">
            <Image Name="FUEL_CROSS_FEED_OPEN.bmp" Bright="Yes" ImageSizes="25,25"/>
         </Case>
      </Select>
   </Element>

   <Element>
         <Position X="223" Y="67"/>
      <Select>
         <Value>(A:FUEL CROSS FEED,bool)</Value>
         <Case Value="0">
            <Image Name="FUEL_CROSS_FEED_CLOSED.bmp" Bright="Yes" ImageSizes="25,25"/>
         </Case>
         <Case Value="1">
            <Image Name="FUEL_CROSS_FEED_OPEN.bmp" Bright="Yes" ImageSizes="25,25"/>
         </Case>
      </Select>
   </Element>



   <Element>
     <Position X="178" Y="34" /> 
      <Text X="45" Y="15" Bright="Yes" Length="6" Font="Quartz" Color="#00FF00" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
         <Axis X="22.5" Y="15"/> 
       <String>%((A:FUEL TOTAL CAPACITY, gallons) (A:Fuel weight per gallon, pounds per gallon) * flr s0 (A:FUEL TOTAL QUANTITY WEIGHT, pounds) -)%!5d!%</String> 
      </Text> 
   </Element>

   <Element>
     <Position X="28" Y="198" /> 
      <Text X="45" Y="15" Bright="Yes" Length="6" Font="Quartz" Color="%('#00FF00' '#FF0000' (A:FUEL TANK LEFT AUX LEVEL, percent) 5 &lt; ! ?)" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
         <Axis X="22.5" Y="18"/> 
       <String>%((A:FUEL TANK LEFT AUX QUANTITY, gallons) (A:Fuel weight per gallon, pounds per gallon) * flr)%!5d!%</String> 
      </Text> 
   </Element>

   <Element>
     <Position X="21" Y="213" /> 
      <Text X="28" Y="15" Bright="Yes" Length="3" Font="Quartz" Color="%('#00FF00' '#FF0000' (A:AMBIENT TEMPERATURE, celsius) 5 + (&gt;L:LA_TEMP, number) (L:TANK_HEAT_LA,bool) if{ (L:LA_TEMP, number) 30 + } els{ (L:LA_TEMP, number) } -20 &lt; ! ?)" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
         <Axis X="14" Y="18"/> 
       <String>%((L:TANK_HEAT_LA,bool) if{ (L:LA_TEMP, number) 30 + } els{ (L:LA_TEMP, number) } )%!3d!%</String> 
      </Text> 
   </Element>

   <Element>
         <Position X="12" Y="158"/>
      <Select>
         <Value>(L:TANK_HEAT_LA,bool)</Value> 
         <Case Value="1">
            <Image Name="HEAT_ON.bmp" Bright="Yes"/>
         </Case>
      </Select>
   </Element>

   <Element>
     <Position X="59" Y="136" /> 
      <Text  X="45" Y="15" Bright="Yes" Length="6" Font="Quartz" Color="%('#00FF00' '#FF0000' (A:FUEL TANK LEFT MAIN LEVEL, percent) 5 &lt; ! ?)" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No"> 
       <String>%((A:FUEL TANK LEFT MAIN QUANTITY, gallons) (A:Fuel weight per gallon, pounds per gallon) * flr)%!5d!%</String> 
      </Text> 
   </Element>

   <Element>
     <Position X="65" Y="152" /> 
      <Text X="28" Y="15" Bright="Yes" Length="3" Font="Quartz" Color="%('#00FF00' '#FF0000' (A:AMBIENT TEMPERATURE, celsius) 7 + (&gt;L:LM_TEMP, number) (L:TANK_HEAT_LM,bool) if{ (L:LM_TEMP, number) 30 + } els{ (L:LM_TEMP, number) } -20 &lt; ! ?)" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No"> 
       <String>%((L:TANK_HEAT_LM,bool) if{ (L:LM_TEMP, number) 30 + } els{ (L:LM_TEMP, number) } )%!3d!%</String> 
      </Text> 
   </Element>

   <Element>
         <Position X="75" Y="177"/>
      <Select>
         <Value>(L:TANK_HEAT_LM,bool)</Value> 
         <Case Value="1">
            <Image Name="HEAT_ON.bmp" Bright="Yes"/>
         </Case>
      </Select>
   </Element>

   <Element>
     <Position X="125" Y="136" /> 
      <Text  X="45" Y="15" Bright="Yes" Length="6" Font="Quartz" Color="%('#00FF00' '#FF0000' (A:FUEL TANK CENTER LEVEL, percent) 5 &lt; ! ?)" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No"> 
       <String>%((A:FUEL TANK CENTER QUANTITY, gallons) (A:Fuel weight per gallon, pounds per gallon) * flr)%!5d!%</String> 
      </Text> 
   </Element>

   <Element>
     <Position X="130" Y="152" /> 
      <Text X="28" Y="15" Bright="Yes" Length="3" Font="Quartz" Color="%('#00FF00' '#FF0000' (A:AMBIENT TEMPERATURE, celsius) 12 + (&gt;L:C1_TEMP, number) (L:TANK_HEAT_C1,bool) if{ (L:C1_TEMP, number) 30 + } els{ (L:C1_TEMP, number) } -20 &lt; ! ?)" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
       <String>%((L:TANK_HEAT_C1,bool) if{ (L:C1_TEMP, number) 30 + } els{ (L:C1_TEMP, number) } )%!3d!%</String> 
      </Text> 
   </Element>

  <Element>
         <Position X="140" Y="177"/>
      <Select>
         <Value>(L:TANK_HEAT_C1,bool)</Value> 
         <Case Value="1">
            <Image Name="HEAT_ON.bmp" Bright="Yes"/>
         </Case>
      </Select>
   </Element>

   <Element>
     <Position X="188" Y="136" /> 
      <Text  X="45" Y="15" Bright="Yes" Length="6" Font="Quartz" Color="%('#00FF00' '#FF0000' (A:FUEL TANK CENTER2 LEVEL, percent) 5 &lt; ! ?)" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No"> 
       <String>%((A:FUEL TANK CENTER2 QUANTITY, gallons) (A:Fuel weight per gallon, pounds per gallon) * flr)%!5d!%</String> 
      </Text> 
   </Element>

   <Element>
     <Position X="193" Y="152" /> 
      <Text X="28" Y="15" Bright="Yes" Length="3" Font="Quartz" Color="%('#00FF00' '#FF0000' (A:AMBIENT TEMPERATURE, celsius) 9 + (&gt;L:C2_TEMP, number) (L:TANK_HEAT_C2,bool) if{ (L:C2_TEMP, number) 30 + } els{ (L:C2_TEMP, number) } -20 &lt; ! ?)" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No"> 
       <String>%((L:TANK_HEAT_C2,bool) if{ (L:C2_TEMP, number) 30 + } els{ (L:C2_TEMP, number) } )%!3d!%</String> 
      </Text> 
   </Element>

   <Element>
         <Position X="201" Y="177"/>
      <Select>
         <Value>(L:TANK_HEAT_C2,bool)</Value> 
         <Case Value="1">
            <Image Name="HEAT_ON.bmp" Bright="Yes"/>
         </Case>
      </Select>
   </Element>

 



   <Element>
     <Position X="256" Y="136" /> 
      <Text  X="45" Y="15" Bright="Yes" Length="6" Font="Quartz" Color="%('#00FF00' '#FF0000' (A:FUEL TANK RIGHT MAIN LEVEL, percent) 5 &lt; ! ?)" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No"> 
       <String>%((A:FUEL TANK RIGHT MAIN QUANTITY, gallons) (A:Fuel weight per gallon, pounds per gallon) * flr)%!5d!%</String> 
      </Text> 
   </Element>

   <Element>
     <Position X="263" Y="152" /> 
      <Text X="28" Y="15" Bright="Yes" Length="3" Font="Quartz" Color="%('#00FF00' '#FF0000' (A:AMBIENT TEMPERATURE, celsius) 7 + (&gt;L:RM_TEMP, number) (L:TANK_HEAT_RM,bool) if{ (L:RM_TEMP, number) 30 + } els{ (L:RM_TEMP, number) } -20 &lt; ! ?)" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
       <String>%((L:TANK_HEAT_RM,bool) if{ (L:RM_TEMP, number) 30 + } els{ (L:RM_TEMP, number) } )%!3d!%</String> 
      </Text> 
   </Element>

   <Element>
         <Position X="263" Y="177"/>
      <Select>
         <Value>(L:TANK_HEAT_RM,bool)</Value> 
         <Case Value="1">
            <Image Name="HEAT_ON.bmp" Bright="Yes"/>
         </Case>
      </Select>
   </Element>

   <Element>
     <Position X="325" Y="196" /> 
      <Text X="45" Y="15" Bright="Yes" Length="6" Font="Quartz" Color="%('#00FF00' '#FF0000' (A:FUEL TANK RIGHT AUX LEVEL, percent) 5 &lt; ! ?)" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
         <Axis X="22.5" Y="18"/> 
       <String>%((A:FUEL TANK RIGHT AUX QUANTITY, gallons) (A:Fuel weight per gallon, pounds per gallon) * flr)%!5d!%</String> 
      </Text> 
   </Element>

   <Element>
     <Position X="317" Y="213" /> 
      <Text X="28" Y="15" Bright="Yes" Length="3" Font="Quartz" Color="%('#00FF00' '#FF0000' (A:AMBIENT TEMPERATURE, celsius) 5 + (&gt;L:RA_TEMP, number) (L:TANK_HEAT_RA,bool) if{ (L:RA_TEMP, number) 30 + } els{ (L:RA_TEMP, number) } -20 &lt; ! ?)" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
         <Axis X="14" Y="18"/> 
       <String>%((L:TANK_HEAT_RA,bool) if{ (L:RA_TEMP, number) 30 + } els{ (L:RA_TEMP, number) } )%!3d!%</String> 
      </Text> 
   </Element>

   <Element>
         <Position X="329" Y="158"/>
      <Select>
         <Value>(L:TANK_HEAT_RA,bool)</Value> 
         <Case Value="1">
            <Image Name="HEAT_ON.bmp" Bright="Yes"/>
         </Case>
      </Select>
   </Element>

   <Element>
      <Position X="77" Y="259"/>
      <Text X="58" Y="18" Length="7" Fixed="Yes" Font="Quartz" Adjust="Center" VerticalAdjust="Center" Color="#00FF00" Bright="Yes">
         <Axis X="29" Y="11"/>
            <String>%((A:TURB ENG1 FUEL FLOW PPH, pounds per hour) (A:TURB ENG2 FUEL FLOW PPH, pounds per hour) +)%!6.0f!%</String>
      </Text>
   </Element>

   <Element>
      <Position X="77" Y="283"/>
      <Text X="58" Y="18" Length="7" Fixed="Yes" Font="Quartz" Adjust="Center" VerticalAdjust="Center" Color="#00FF00" Bright="Yes">
         <Axis X="29" Y="11"/>
            <String>%((A:FUEL TOTAL QUANTITY WEIGHT, pounds) s0)%!6.0f!%</String>
      </Text>
   </Element>

   <Element>
         <Position X="165" Y="243"/>
      <Select>
         <Value>(L:FUEL_DUMP, enum)</Value>
         <Case Value="0"> 
            <Image Name="FUEL_DUMP_CLOSED.bmp" Bright="Yes" ImageSizes="25,25"/>
         </Case>
         <Case Value="1">
            <Image Name="FUEL_DUMP_OPEN.bmp" Bright="Yes" ImageSizes="25,25"/>
         </Case>
      </Select>
   </Element>

   </Element>

      <!--===============LOWER 3 ============= -->

   <Element>
      <Size X="355" Y="339"/>
      <Visible>(L:EICAS LOWER Switch, enum) 2 ==</Visible>


            <Image Name="EICAS_LOWER3.bmp" Bright="Yes" ImageSizes="355,339"/>

      <!--         HYDRAULICS             -->


   <Element>
     <Position X="88" Y="126" /> 
      <Text  X="30" Y="16" Bright="Yes" Length="4" Font="Quartz" Color="%('#00FF00' '#FF0000' (A:ENG1 HYDRAULIC QUANTITY, percent) 5 &lt; ! ?)" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
         <Axis X="15" Y="8"/> 
       <String>%((A:ENG1 HYDRAULIC QUANTITY, percent) abs)%!3.0f!&#37;%</String> 
      </Text> 
   </Element>

   <Element>
     <Position X="88" Y="200" /> 
      <Text  X="30" Y="14" Bright="Yes" Length="4" Font="Quartz" Color="%('#00FF00' '#FF0000' (A:ENG1 HYDRAULIC PRESSURE, psi) 1000 &lt; ! ?)" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
         <Axis X="15" Y="7"/> 
       <String>%((A:ENG1 HYDRAULIC PRESSURE, psi) abs)%!4d!</String> 
      </Text> 
   </Element>

   <Element>
     <Position X="270" Y="126" /> 
      <Text  X="30" Y="16" Bright="Yes" Length="4" Font="Quartz" Color="%('#00FF00' '#FF0000' (A:ENG1 HYDRAULIC QUANTITY, percent) 5 &lt; ! ?)" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
         <Axis X="15" Y="8"/> 
       <String>%((A:ENG2 HYDRAULIC QUANTITY, percent) abs)%!3.0f!&#37;%</String> 
      </Text> 
   </Element>

   <Element>
     <Position X="270" Y="200" /> 
      <Text  X="30" Y="14" Bright="Yes" Length="4" Font="Quartz" Color="%('#00FF00' '#FF0000' (A:ENG2 HYDRAULIC PRESSURE, psi) 1000 &lt; ! ?)" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
         <Axis X="15" Y="7"/> 
       <String>%((A:ENG1 HYDRAULIC PRESSURE, psi) abs)%!4d!</String> 
      </Text> 
   </Element>



   <Element>
     <Position X="177" Y="238" /> 
      <Text  X="30" Y="14" Bright="Yes" Length="4" Font="Quartz" Color="%('#00FF00' '#FF0000' (A:ENG1 HYDRAULIC PRESSURE, psi) (A:ENG2 HYDRAULIC PRESSURE, psi) + (A:ENG3 HYDRAULIC PRESSURE, psi) + (A:ENG4 HYDRAULIC PRESSURE, psi) + 4 / 1000 &lt; ! ?)" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
         <Axis X="15" Y="7"/> 
       <String>%((A:ENG1 HYDRAULIC PRESSURE, psi) (A:ENG2 HYDRAULIC PRESSURE, psi) + 2 / abs)%!4d!</String> 
      </Text> 
   </Element>
   </Element>


      <!--===============LOWER 4 ============= -->

   <Element>
      <Size X="355" Y="339"/>
      <Visible>(L:EICAS LOWER Switch, enum) 3 ==</Visible>
       <Image Name="EICAS_LOWER4.bmp" Bright="Yes" ImageSizes="355,339"/>

   <Element>
     <Position X="149" Y="126" />
      <Select>
         <Value>(A:EXIT OPEN, bool)</Value>
         <Case Value="0">
            <Image Name="ACCESS_DOOR_CLOSED_L.bmp" Bright="Yes"/>
         </Case>
         <Case Value="1">
            <Image Name="ACCESS_DOOR_OPEN_L.bmp" Bright="Yes"/>
         </Case>
      </Select>
   </Element>

   <Element>
     <Position X="145" Y="133" /> 
      <Text  X="100" Y="14" Bright="Yes" Length="14" Font="Quartz" Color="ORANGE" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
         <Axis X="100" Y="7"/> 
       <String>%((A:EXIT OPEN, bool) if{ 'PASSENGER DOOR' } els{ '             ' } )%!s!</String> 
      </Text> 
   </Element>

   <Element>
     <Position X="196" Y="98" />
      <Select>
         <Value>(A:EXIT OPEN:1, bool)</Value>
         <Case Value="0">
            <Image Name="ACCESS_CARGO_CLOSED.bmp" Bright="Yes"/>
         </Case>
         <Case Value="1">
            <Image Name="ACCESS_CARGO_OPEN.bmp" Bright="Yes"/>
         </Case>
      </Select>
   </Element>

   <Element>
     <Position X="212" Y="109" /> 
      <Text  X="100" Y="14" Bright="Yes" Length="14" Font="Quartz" Color="ORANGE" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
         <Axis X="0" Y="7"/> 
       <String>%((A:EXIT OPEN:1, bool) if{ 'FWD CARGO' } els{ '             ' } )%!s!</String> 
      </Text> 
   </Element>

   <Element>
     <Position X="196" Y="210" />
      <Select>
         <Value>(A:EXIT OPEN:1, bool)</Value>
         <Case Value="0">
            <Image Name="ACCESS_CARGO_CLOSED.bmp" Bright="Yes"/>
         </Case>
         <Case Value="1">
            <Image Name="ACCESS_CARGO_OPEN.bmp" Bright="Yes"/>
         </Case>
      </Select>
   </Element>

   <Element>
     <Position X="212" Y="221" /> 
      <Text  X="100" Y="14" Bright="Yes" Length="14" Font="Quartz" Color="ORANGE" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
         <Axis X="0" Y="7"/> 
       <String>%((A:EXIT OPEN:1, bool) if{ 'AFT CARGO' } els{ '             ' } )%!s!</String> 
      </Text> 
   </Element>

   <Element>
     <Position X="196" Y="126" />
      <Select>
         <Value>(A:TAILHOOK POSITION, percent) 50 &gt;</Value>
         <Case Value="0">
            <Image Name="ACCESS_DOOR_CLOSED.bmp" Bright="Yes"/>
         </Case>
         <Case Value="1">
            <Image Name="ACCESS_DOOR_OPEN.bmp" Bright="Yes"/>
         </Case>
      </Select>
   </Element>

   <Element>
     <Position X="212" Y="133" /> 
      <Text  X="80" Y="14" Bright="Yes" Length="14" Font="Quartz" Color="ORANGE" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
         <Axis X="0" Y="7"/> 
       <String>%((A:TAILHOOK POSITION, percent) 50 &gt; if{ 'GALLEY DOOR' } els{ '             ' } )%!s!</String> 
      </Text> 
   </Element>

   </Element>


      <!--          ALTITUDE SELECT             -->
      <Element>
         <Position X="176" Y="294"/>
         <Text X="60" Y="13" Bright="Yes" Length="6"  Font="Quartz" Color="Orange" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="Yes">
            <String>%((L:FEET METER, bool) if{ (A:Autopilot altitude lock var, meters) } els{ (A:Autopilot altitude lock var, feet) } )%!05.0f!</String>
         </Text>
      </Element>

      <!--          AUTOBRAKE             -->
      <Element>
         <Position X="187" Y="312"/>
         <Text X="32" Y="13" Bright="Yes" Length="5"  Font="Quartz" Color="Orange" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
            <String>%((A:Auto brake switch cb, enum) 0 == if{ 'RTO' } (A:Auto brake switch cb, enum) 1 == if{ 'OFF' } (A:Auto brake switch cb, enum) 2 == if{ 'LIGHT' } (A:Auto brake switch cb, enum) 3 == if{ 'MED' } (A:Auto brake switch cb, enum) 4 == if{ 'HIGH' } (A:Auto brake switch cb, enum) 5 == if{ 'MAX' }  )%!s!</String>
         </Text>
      </Element>


      <!--          TAT             -->
   <Element>
     <Position X="49" Y="294" /> 
      <Text X="50" Y="13" Bright="Yes" Length="8" Font="Quartz" Color="%('#FF9000' '#9BD6FF' (A:Total air temperature, celsius) 5 &lt; ! ?)" Adjust="Right" VerticalAdjust="Center" Multiline="No" Fixed="No"> 
       <String>%((A:Total air temperature, celsius) 999 min)%!+4d! &#176; C</String> 
      </Text> 
   </Element>


      <!--          OAT             -->
   <Element>
     <Position X="49" Y="313" /> 
      <Text X="50" Y="13" Bright="Yes" Length="8" Font="Quartz" Color="%('#FF9000' '#9BD6FF' (A:Total air temperature, celsius) 5 &lt; ! ?)" Adjust="Right" VerticalAdjust="Center" Multiline="No" Fixed="No"> 
       <String>%((A:AMBIENT TEMPERATURE, celsius) 999 min)%!+4d! &#176; C</String> 
      </Text> 
   </Element>

      <!--          GW             -->

      <Element>
         <Position X="266" Y="294"/>
         <Text X="60" Y="13" Bright="Yes" Length="6"  Font="Quartz" Color="Orange" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="Yes">
            <String>%((A:TOTAL WEIGHT, pounds) s0)%!06.0f! lbs</String>
         </Text>
      </Element>



   </Element>
</Gauge>
