<Gauge Name="ARK" Version="1.0">
   <Image Name="ark_back.bmp" Luminous="Yes" ImageSizes="240,240,0,0"/>
   <Element>
      <Select>
         <Value>(A:ADF Signal:1,bel) ! if{ (L:arkstrVar7, number) (L:arkstrVar3, number) + (>L:arkstrVar7, number) (L:arkstrVar7, number) 20 (P:Absolute time,minutes) 60 % + &gt; if{ -0.05 (>L:arkstrVar3, number) } (L:arkstrVar7, number) (A:Plane heading degrees gyro,degrees) /-/ &lt; if{ (P:Absolute time,seconds) 60 % 200 / (>L:arkstrVar3, number) } } els{ 0 (>L:arkstrVar7, number) }
	(L:arkstrVar9, number) 0 == if{ 0.1 (>L:arkstrVar3, number) -0.4 (>L:arkstrVar4, number) 1 (>L:arkstrVar9, number) }</Value>
      </Select>
   </Element>

   <Element>
      <Position X="120" Y="120"/>
      <Image Name="us_needle.bmp"  Luminous="Yes" ImageSizes="10,130,0,0">
         <Axis X="5" Y="90"/>
      </Image>
      <Rotate>
         <Value>(L:ARK5on, bool) if{ (A:ADF Radial:1,radians) (L:arkstrVar7, number) 20 / + } els{ 0 }</Value>
         <Failures>
            <SYSTEM_ELECTRICAL_PANELS Action="Freeze"/>
            <SYSTEM_ELECTRICAL_AVIONICS Action="Freeze"/>
            <GAUGE_GYRO_HEADING Action="Freeze"/>
            <GAUGE_ADF Action="Freeze"/>
         </Failures>
         <Delay DegreesPerSecond="90"/>
      </Rotate>
   </Element>

</Gauge>
