<Gauge Name="L188 OBS" Version="1.0">
   <Image Name="OBS_BG.bmp" ImageSizes="201,201,201,201"/>
   <Element>
      <Position X="71" Y="88"/>
      <MaskImage Name="OBS_StripMask.bmp" ImageSizes="17,24,17,24">
         <Axis X="0" Y="0"/>
      </MaskImage>
      <Image Name="OBS_Strip.bmp" Luminous="Yes" ImageSizes="17,240,17,240">
         <Axis X="0" Y="0"/>
         <Nonlinearity>
            <Item Value="0" X="0" Y="0"/>
            <Item Value="5" X="0" Y="120"/>
         </Nonlinearity>
      </Image>
      <Shift>
         <Value>(A:NAV1 OBS, degrees) 100 / flr</Value>
      </Shift>
   </Element>
   <Element>
      <Position X="92" Y="88"/>
      <MaskImage Name="OBS_StripMask.bmp" ImageSizes="17,24,17,24">
         <Axis X="0" Y="0"/>
      </MaskImage>
      <Image Name="OBS_Strip.bmp" Luminous="Yes" ImageSizes="17,240,17,240">
         <Axis X="0" Y="0"/>
         <Nonlinearity>
            <Item Value="0" X="0" Y="0"/>
            <Item Value="5" X="0" Y="120"/>
         </Nonlinearity>
      </Image>
      <Shift>
         <Value>(A:NAV1 OBS, degrees) 10 / flr 10 %</Value>
      </Shift>
   </Element>
   <Element>
      <Position X="113" Y="88"/>
      <MaskImage Name="OBS_StripMask.bmp" ImageSizes="17,24,17,24">
         <Axis X="0" Y="0"/>
      </MaskImage>
      <Image Name="OBS_Strip.bmp" Luminous="Yes" ImageSizes="17,240,17,240">
         <Axis X="0" Y="0"/>
         <Nonlinearity>
            <Item Value="0" X="0" Y="0"/>
            <Item Value="5" X="0" Y="120"/>
         </Nonlinearity>
      </Image>
      <Shift>
         <Value>(A:NAV1 OBS, degrees) flr 10 %</Value>
      </Shift>
   </Element>
   <Element>
      <Position X="98" Y="25"/>
      <MaskImage Name="OBS_NeedleMask.bmp" ImageSizes="34,49,34,49">
         <Axis X="33" Y="24.5"/>
      </MaskImage>
      <Image Name="OBS_Needle.bmp" Luminous="Yes" ImageSizes="11,34,11,34">
         <Axis X="5.5" Y="33"/>
      </Image>
      <Rotate>
         <Value>(L:NAV1 Switch, bool) ! if{ (A:HSI TF flags, enum) } els{ 0 }</Value>
         <Nonlinearity>
            <Item Value="0" Degrees="270"/>
            <Item Value="1" Degrees="305"/>
            <Item Value="2" Degrees="235"/>
         </Nonlinearity>
         <Failures>
            <SYSTEM_ELECTRICAL_PANELS Action="0"/>
            <SYSTEM_ELECTRICAL_AVIONICS Action="0"/>
            <GAUGE_NAVIGATION_VOR1 Action="0"/>
         </Failures>
      </Rotate>
   </Element>
   <Element>
      <Position X="172" Y="107"/>
      <Image Name="OBS_Knob.bmp" ImageSizes="50,50,50,50">
         <Axis X="25" Y="25"/>
      </Image>
      <Rotate>
         <Value>(G:Var1)</Value>
         <Nonlinearity>
            <Item Value="0" Degrees="0"/>
            <Item Value="12" Degrees="180"/>
         </Nonlinearity>
      </Rotate>
   </Element>
   <Element>
      <Position X="82" Y="160"/>
      <Select>
         <Value>(L:NAV1 Switch, bool) ! (A:NAV1 has localizer, bool) &amp;&amp; (A:NAV1 has glide slope, bool) ! &amp;&amp;</Value>
         <Failures>
            <SYSTEM_ELECTRICAL_PANELS Action="0"/>
            <SYSTEM_ELECTRICAL_AVIONICS Action="0"/>
            <GAUGE_NAVIGATION_VOR1 Action="0"/>
         </Failures>
         <Case Value="1">
            <Image Name="OBS_LightGSI.bmp" Bright="Yes" ImageSizes="35,35,35,35"/>
         </Case>
      </Select>
   </Element>
   <Macro Name="OBS">OBI 1 (%((L:NAV1 Switch, bool) ! (A:NAV1 has nav, bool) &amp;&amp;)%{if}%((A:NAV1 ident, string))%!s!%((A:NAV1 has localizer, bool) !)%{if} %((A:NAV1 Radial, radians) pi + 180 * pi / near)%!d!&#176;%{end}%{else}No Signal%{end})</Macro>
   <Mouse>
      <Area Bottom="81">
         <Tooltip>@OBS</Tooltip>
      </Area>
      <Area Left="0" Right="146" Top="82" Bottom="131">
         <Tooltip>@OBS</Tooltip>
      </Area>
      <Area Top="132">
         <Tooltip>@OBS</Tooltip>
      </Area>
      <Area Left="147" Right="196" Top="82" Bottom="131">
         <Tooltip>OBS (NAV 1)</Tooltip>
         <Area Right="25">
            <Cursor Type="DownArrow"/>
            <Click Repeat="Yes">(G:Var1) -- (&gt;G:Var1) (&gt;K:VOR1_OBI_DEC)</Click>
         </Area>
         <Area Left="25">
            <Cursor Type="UpArrow"/>
            <Click Repeat="Yes">(G:Var1) ++ (&gt;G:Var1) (&gt;K:VOR1_OBI_INC)</Click>
         </Area>
      </Area>
   </Mouse>
</Gauge>