<SimBase.Document Type="AceXML" version="1,0" id="communications">
    <Descr>AceXML Document</Descr>
    <Filename>communications.xml</Filename>
    <SimGauge.Gauge id="Gauge" ArtDirectory="%INETROOT%\private\fs\src\gauges\Radar\objd\i386">
        <FloatPosition>0.000,0.000</FloatPosition>
        <Size>246,316</Size>
        <Image id="communications_window.bmp" Name="communications_window.bmp">
            <Transparent>True</Transparent>
            <Bright>True</Bright>
        </Image>
        <Macro id="TextColor" Name="TextColor">
            <MacroValue>0x7BB984</MacroValue>
        </Macro>
        <Macro id="ButtonWidth" Name="ButtonWidth">
            <MacroValue>54</MacroValue>
        </Macro>
        <Macro id="ButtonHeight" Name="ButtonHeight">
            <MacroValue>34</MacroValue>
        </Macro>
        <Macro id="TextHeight" Name="TextHeight">
            <MacroValue>15</MacroValue>
        </Macro>
        <Macro id="RectangleBlue" Name="RectangleBlue">
            <MacroValue>0x6F341D</MacroValue>
        </Macro>
        <Macro id="c" Name="c">
            <MacroValue>C:fs9gps:1</MacroValue>
        </Macro>
        <Macro id="g" Name="g">
            <MacroValue>C:fs9gps:1</MacroValue>
        </Macro>
        <Macro id="ScrollDelta" Name="ScrollDelta">
            <MacroValue>16</MacroValue>
        </Macro>
        <Macro id="ListItemSelect" Name="ListItemSelect">
            <MacroValue>(L:FreqListFirstVis) @1 + (&gt;L:SelectedFreqLine)
(L:SelectedFreqLine) (&gt;@c:NearestAirportSelectedFrequencyIndex)
(@c:NearestAirportSelectedFrequencyValue, Frequency BCD16) 
(A:COM1 TRANSMIT, bool) if{ (&gt;K:COM_RADIO_SET) } els{ (&gt;K:COM2_RADIO_SET) }</MacroValue>
        </Macro>
        <Macro id="ThumbMaxHeight" Name="ThumbMaxHeight">
            <MacroValue>139</MacroValue>
        </Macro>
        <Update id="Update">
            <Script>(A:GPS POSITION LAT, degrees) (&gt;@c:NearestAirportCurrentLatitude)
(A:GPS POSITION LON, degrees) (&gt;@c:NearestAirportCurrentLongitude)
1 (&gt;@c:NearestAirportMaximumItems)
100000 (&gt;@c:NearestAirportMaximumDistance)
(L:FreqListFirstVis) (@c:NearestAirportSelectedNumberFrequencies) 1 - 0 max min (&gt;L:FreqListFirstVis)</Script>
        </Update>
        <Element id="COM 1">
            <FloatPosition>9.000,36.000</FloatPosition>
            <Element id="Freq">
                <FloatPosition>0.000,0.000</FloatPosition>
                <GaugeText id="GaugeText">
                    <Bold>True</Bold>
                    <Bright>True</Bright>
                    <FontColor>@TextColor</FontColor>
                    <FontHeightScript>22</FontHeightScript>
                    <GaugeString>%((A:COM ACTIVE FREQUENCY:1, Mhz) flr)%!3d!.%( (A:COM ACTIVE FREQUENCY:1, Mhz)  d flr - 0.0001 + 100 *  flr )%!02d!</GaugeString>
                    <HorizontalAlign>CENTER</HorizontalAlign>
                    <Length>30</Length>
                    <Size>111,22</Size>
                    <HeightScript>@ButtonHeight</HeightScript>
                    <Transparent>True</Transparent>
                    <VerticalAlign>CENTER</VerticalAlign>
                </GaugeText>
            </Element>
            <Element id="TX">
                <FloatPosition>0.000,35.000</FloatPosition>
                <Element id="Blue">
                    <FloatPosition>0.000,0.000</FloatPosition>
                    <Visibility>(A:COM TRANSMIT:1, bool)</Visibility>
                    <Rectangle id="Rectangle">
                        <LineWidth>2</LineWidth>
                        <Bright>True</Bright>
                        <Width>54</Width>
                        <WidthScript>@ButtonWidth</WidthScript>
                        <Height>34</Height>
                        <HeightScript>@ButtonHeight</HeightScript>
                        <LineColor>Gray</LineColor>
                        <FillColor>@RectangleBlue</FillColor>
                    </Rectangle>
                </Element>
                <Element id="Text">
                    <FloatPosition>0.000,10.000</FloatPosition>
                    <GaugeText id="GaugeText">
                        <Bold>True</Bold>
                        <Bright>True</Bright>
                        <FontColor>@TextColor</FontColor>
                        <FontHeightScript>@TextHeight 2 -</FontHeightScript>
                        <GaugeString>TX</GaugeString>
                        <HorizontalAlign>CENTER</HorizontalAlign>
                        <Length>30</Length>
                        <Size>20,20</Size>
                        <HeightScript>@ButtonHeight</HeightScript>
                        <WidthScript>@ButtonWidth</WidthScript>
                        <Transparent>True</Transparent>
                        <VerticalAlign>CENTER</VerticalAlign>
                    </GaugeText>
                </Element>
            </Element>
            <Element id="RCV">
                <FloatPosition>57.000,35.000</FloatPosition>
                <Element id="Blue">
                    <FloatPosition>0.000,0.000</FloatPosition>
                    <Visibility>(A:COM RECEIVE ALL, bool) (A:COM TRANSMIT:1, bool) or</Visibility>
                    <Rectangle id="Rectangle">
                        <LineWidth>2</LineWidth>
                        <Bright>True</Bright>
                        <Width>54</Width>
                        <WidthScript>@ButtonWidth</WidthScript>
                        <Height>34</Height>
                        <HeightScript>@ButtonHeight</HeightScript>
                        <LineColor>Gray</LineColor>
                        <FillColor>@RectangleBlue</FillColor>
                    </Rectangle>
                </Element>
                <Element id="Text">
                    <FloatPosition>0.000,10.000</FloatPosition>
                    <GaugeText id="GaugeText">
                        <Bold>True</Bold>
                        <Bright>True</Bright>
                        <FontColor>@TextColor</FontColor>
                        <FontHeightScript>@TextHeight 2 -</FontHeightScript>
                        <GaugeString>RCV</GaugeString>
                        <HorizontalAlign>CENTER</HorizontalAlign>
                        <Length>30</Length>
                        <Size>20,20</Size>
                        <HeightScript>@ButtonHeight</HeightScript>
                        <WidthScript>@ButtonWidth</WidthScript>
                        <Transparent>True</Transparent>
                        <VerticalAlign>CENTER</VerticalAlign>
                    </GaugeText>
                </Element>
            </Element>
        </Element>
        <Element id="COM 2">
            <FloatPosition>125.000,36.000</FloatPosition>
            <Element id="Freq">
                <FloatPosition>0.000,0.000</FloatPosition>
                <GaugeText id="GaugeText">
                    <Bold>True</Bold>
                    <Bright>True</Bright>
                    <FontColor>@TextColor</FontColor>
                    <FontHeightScript>22</FontHeightScript>
                    <GaugeString>%((A:COM ACTIVE FREQUENCY:2, Mhz) flr)%!3d!.%( (A:COM ACTIVE FREQUENCY:2, Mhz)  d flr - 0.0001 + 100 *  flr )%!02d!</GaugeString>
                    <HorizontalAlign>CENTER</HorizontalAlign>
                    <Length>30</Length>
                    <Size>111,20</Size>
                    <HeightScript>@ButtonHeight</HeightScript>
                    <Transparent>True</Transparent>
                    <VerticalAlign>CENTER</VerticalAlign>
                </GaugeText>
            </Element>
            <Element id="TX">
                <FloatPosition>0.000,35.000</FloatPosition>
                <Element id="Blue">
                    <FloatPosition>0.000,0.000</FloatPosition>
                    <Visibility>(A:COM TRANSMIT:2, bool)</Visibility>
                    <Rectangle id="Rectangle">
                        <LineWidth>2</LineWidth>
                        <Bright>True</Bright>
                        <Width>54</Width>
                        <WidthScript>@ButtonWidth</WidthScript>
                        <Height>34</Height>
                        <HeightScript>@ButtonHeight</HeightScript>
                        <LineColor>Gray</LineColor>
                        <FillColor>@RectangleBlue</FillColor>
                    </Rectangle>
                </Element>
                <Element id="Text">
                    <FloatPosition>0.000,10.000</FloatPosition>
                    <GaugeText id="GaugeText">
                        <Bold>True</Bold>
                        <Bright>True</Bright>
                        <FontColor>@TextColor</FontColor>
                        <FontHeightScript>@TextHeight 2 -</FontHeightScript>
                        <GaugeString>TX</GaugeString>
                        <HorizontalAlign>CENTER</HorizontalAlign>
                        <Length>30</Length>
                        <Size>20,20</Size>
                        <HeightScript>@ButtonHeight</HeightScript>
                        <WidthScript>@ButtonWidth</WidthScript>
                        <Transparent>True</Transparent>
                        <VerticalAlign>CENTER</VerticalAlign>
                    </GaugeText>
                </Element>
            </Element>
            <Element id="RCV">
                <FloatPosition>57.000,35.000</FloatPosition>
                <Element id="Blue">
                    <FloatPosition>0.000,0.000</FloatPosition>
                    <Visibility>(A:COM RECEIVE ALL, bool) (A:COM TRANSMIT:2, bool) or</Visibility>
                    <Rectangle id="Rectangle">
                        <LineWidth>2</LineWidth>
                        <Bright>True</Bright>
                        <Width>54</Width>
                        <WidthScript>@ButtonWidth</WidthScript>
                        <Height>34</Height>
                        <HeightScript>@ButtonHeight</HeightScript>
                        <LineColor>Gray</LineColor>
                        <FillColor>@RectangleBlue</FillColor>
                    </Rectangle>
                </Element>
                <Element id="Text">
                    <FloatPosition>0.000,10.000</FloatPosition>
                    <GaugeText id="GaugeText">
                        <Bold>True</Bold>
                        <Bright>True</Bright>
                        <FontColor>@TextColor</FontColor>
                        <FontHeightScript>@TextHeight 2 -</FontHeightScript>
                        <GaugeString>RCV</GaugeString>
                        <HorizontalAlign>CENTER</HorizontalAlign>
                        <Length>30</Length>
                        <Size>20,20</Size>
                        <HeightScript>@ButtonHeight</HeightScript>
                        <WidthScript>@ButtonWidth</WidthScript>
                        <Transparent>True</Transparent>
                        <VerticalAlign>CENTER</VerticalAlign>
                    </GaugeText>
                </Element>
            </Element>
        </Element>
        <Element id="Reference data">
            <FloatPosition>0.000,113.000</FloatPosition>
            <Rectangle id="Rectangle">
                <Bright>True</Bright>
                <Width>246</Width>
                <Height>201</Height>
                <FillColor>Black</FillColor>
            </Rectangle>
            <Element id="Boundary">
                <FloatPosition>3.000,0.000</FloatPosition>
                <Rectangle id="Rectangle">
                    <Bright>True</Bright>
                    <Width>240</Width>
                    <Height>197</Height>
                    <LineColor>Gray</LineColor>
                </Rectangle>
            </Element>
            <Element id="Airport Name">
                <FloatPosition>7.000,5.000</FloatPosition>
                <Rectangle id="Rectangle">
                    <Bright>True</Bright>
                    <Width>233</Width>
                    <Height>18</Height>
                    <LineColor>Gray</LineColor>
                </Rectangle>
                <Element id="Text">
                    <FloatPosition>3.000,0.000</FloatPosition>
                    <GaugeText id="GaugeText">
                        <Bold>True</Bold>
                        <Bright>True</Bright>
                        <FontColor>@TextColor</FontColor>
                        <FontHeight>14</FontHeight>
                        <GaugeString>FREQUENCIES FOR %(0 (&gt;@c:NearestAirportCurrentLine))%((@c:NearestAirportCurrentIdent) uc )%!s!\{nr}
</GaugeString>
                        <Size>230,20</Size>
                        <Tabs>0, 75</Tabs>
                        <Transparent>True</Transparent>
                    </GaugeText>
                </Element>
            </Element>
            <Element id="Frequencies list">
                <FloatPosition>7.000,25.000</FloatPosition>
                <Rectangle id="Rectangle">
                    <Bright>True</Bright>
                    <Width>233</Width>
                    <Height>168</Height>
                    <LineColor>Gray</LineColor>
                </Rectangle>
                <Element id="Element">
                    <FloatPosition>215.000,0.000</FloatPosition>
                    <Rectangle id="Rectangle">
                        <Bright>True</Bright>
                        <Width>18</Width>
                        <Height>168</Height>
                        <LineColor>Gray</LineColor>
                    </Rectangle>
                    <Element id="Scroll up">
                        <FloatPosition>0.000,0.000</FloatPosition>
                        <Rectangle id="Rectangle">
                            <Bright>True</Bright>
                            <Width>18</Width>
                            <Height>15</Height>
                            <LineColor>Gray</LineColor>
                        </Rectangle>
                        <Element id="Triangle">
                            <FloatPosition>2.000,3.000</FloatPosition>
                            <Polygon id="Polygon">
                                <Bright>True</Bright>
                                <LineColor>Gray</LineColor>
                                <Point id="Point">
                                    <FloatPosition>7.000,0.000</FloatPosition>
                                </Point>
                                <Point id="Point">
                                    <FloatPosition>13.000,8.000</FloatPosition>
                                </Point>
                                <Point id="Point">
                                    <FloatPosition>0.000,8.000</FloatPosition>
                                </Point>
                            </Polygon>
                        </Element>
                    </Element>
                    <Element id="Scroll Thumb">
                        <FloatPosition>1.000,15.000</FloatPosition>
                        <Rectangle id="Rectangle">
                            <LineWidth>1</LineWidth>
                            <Bright>True</Bright>
                            <Width>16</Width>
                            <Height>200</Height>
                            <HeightScript>@ThumbMaxHeight 10 * (@c:NearestAirportSelectedNumberFrequencies) 10 max /</HeightScript>
                            <LineColor>0x808080</LineColor>
                            <FillColor>Black</FillColor>
                        </Rectangle>
                        <Shift id="Shift">
                            <Scale>0.000,1.000</Scale>
                            <Expression id="Expression">
                                <Script>@ThumbMaxHeight 
1 10 (@c:NearestAirportSelectedNumberFrequencies) / - *
(@c:NearestAirportSelectedNumberFrequencies) 10 - /
(L:FreqListFirstVis) *</Script>
                            </Expression>
                        </Shift>
                    </Element>
                    <Element id="Scroll down">
                        <FloatPosition>0.000,153.000</FloatPosition>
                        <Rectangle id="Rectangle">
                            <Bright>True</Bright>
                            <Width>18</Width>
                            <Height>15</Height>
                            <LineColor>Gray</LineColor>
                        </Rectangle>
                        <Element id="Triangle">
                            <FloatPosition>2.000,3.000</FloatPosition>
                            <Polygon id="Polygon">
                                <Bright>True</Bright>
                                <LineColor>Gray</LineColor>
                                <Point id="Point">
                                    <FloatPosition>7.000,8.000</FloatPosition>
                                </Point>
                                <Point id="Point">
                                    <FloatPosition>13.000,0.000</FloatPosition>
                                </Point>
                                <Point id="Point">
                                    <FloatPosition>0.000,0.000</FloatPosition>
                                </Point>
                            </Polygon>
                        </Element>
                    </Element>
                </Element>
                <Element id="Text">
                    <FloatPosition>3.000,2.000</FloatPosition>
                    <GaugeText id="GaugeText">
                        <BackgroundColor>0x101010</BackgroundColor>
                        <Bold>True</Bold>
                        <Bright>True</Bright>
                        <FontColor>@TextColor</FontColor>
                        <FontHeight>14</FontHeight>
                        <GaugeString>%((L:FreqListFirstVis) 10 + (@c:NearestAirportSelectedNumberFrequencies) min s2)
%((@c:NearestAirportSelectedNumberFrequencies) 0 &gt; )
%{if}
	%((L:FreqListFirstVis) sp1)
	%{loop}
		%(l1 (&gt;@c:NearestAirportCurrentFrequency))
		%((L:SelectedFreqLine) l1 == )%{if}\{rev}\{blc=@TextColor}%{end}
		%((@c:NearestAirportCurrentFrequencyName) uc )%!s!\t
		%((@c:NearestAirportCurrentFrequency,Mhz) 100 * near d 100 div)%!03d!.\{fnt1}
		%(100 %)%!02d!\{fnt}\{nr}\n%(l1 ++ s1 l2 &lt;)
	%{next}
%{else}
&lt;NONE&gt;
%{end}</GaugeString>
                        <Size>210,162</Size>
                        <Tabs>0, 155</Tabs>
                        <Transparent>True</Transparent>
                    </GaugeText>
                </Element>
            </Element>
        </Element>
        <MouseArea id="MouseArea">
            <FloatPosition>0.000,0.000</FloatPosition>
            <Size>471,328</Size>
            <MouseArea id="TX1">
                <FloatPosition>10.000,73.000</FloatPosition>
                <Size>54,34</Size>
                <CursorType>Hand</CursorType>
                <HelpId>HELPID_GAUGE_COMM1_TRANSMIT</HelpId>
                <MouseClick id="MouseClick">
                    <KeyEvent>COM1_TRANSMIT_SELECT</KeyEvent>
                </MouseClick>
            </MouseArea>
            <MouseArea id="RCV1">
                <FloatPosition>68.000,73.000</FloatPosition>
                <Size>54,34</Size>
                <CursorType>Hand</CursorType>
                <HelpId>HELPID_GAUGE_COMM1_RECEIVE</HelpId>
                <MouseClick id="MouseClick">
                    <Script>(A:COM TRANSMIT:2, bool) if{ (&gt;K:COM_RECEIVE_ALL_TOGGLE) }</Script>
                </MouseClick>
            </MouseArea>
            <MouseArea id="TX2">
                <FloatPosition>127.000,73.000</FloatPosition>
                <Size>54,34</Size>
                <CursorType>Hand</CursorType>
                <HelpId>HELPID_GAUGE_COMM2_TRANSMIT</HelpId>
                <MouseClick id="MouseClick">
                    <KeyEvent>COM2_TRANSMIT_SELECT</KeyEvent>
                </MouseClick>
            </MouseArea>
            <MouseArea id="RCV2">
                <FloatPosition>183.000,73.000</FloatPosition>
                <Size>54,34</Size>
                <CursorType>Hand</CursorType>
                <HelpId>HELPID_GAUGE_COMM2_RECEIVE</HelpId>
                <MouseClick id="MouseClick">
                    <Script>(A:COM TRANSMIT:1, bool) if{ (&gt;K:COM_RECEIVE_ALL_TOGGLE) }</Script>
                </MouseClick>
            </MouseArea>
            <MouseArea id="Freq1">
                <FloatPosition>11.000,33.000</FloatPosition>
                <Size>111,34</Size>
                <HelpId>HELPID_GAUGE_COMM1_FREQUENCY</HelpId>
                <MouseArea id="Whole numbers">
                    <FloatPosition>0.000,0.000</FloatPosition>
                    <Size>54,34</Size>
                    <MouseArea id="Up">
                        <FloatPosition>0.000,0.000</FloatPosition>
                        <Size>54,17</Size>
                        <CursorType>UpArrow</CursorType>
                        <MouseClick id="MouseClick">
                            <KeyEvent>COM_RADIO_WHOLE_INC</KeyEvent>
                        </MouseClick>
                    </MouseArea>
                    <MouseArea id="Down">
                        <FloatPosition>0.000,17.000</FloatPosition>
                        <Size>54,17</Size>
                        <CursorType>DownArrow</CursorType>
                        <MouseClick id="MouseClick">
                            <KeyEvent>COM_RADIO_WHOLE_DEC</KeyEvent>
                        </MouseClick>
                    </MouseArea>
                </MouseArea>
                <MouseArea id="Fraction">
                    <FloatPosition>57.000,0.000</FloatPosition>
                    <Size>54,34</Size>
                    <MouseArea id="Up">
                        <FloatPosition>0.000,0.000</FloatPosition>
                        <Size>54,17</Size>
                        <CursorType>UpArrow</CursorType>
                        <MouseClick id="MouseClick">
                            <KeyEvent>COM_RADIO_FRACT_INC</KeyEvent>
                        </MouseClick>
                    </MouseArea>
                    <MouseArea id="Down">
                        <FloatPosition>0.000,17.000</FloatPosition>
                        <Size>54,17</Size>
                        <CursorType>DownArrow</CursorType>
                        <MouseClick id="MouseClick">
                            <KeyEvent>COM_RADIO_FRACT_DEC</KeyEvent>
                        </MouseClick>
                    </MouseArea>
                </MouseArea>
            </MouseArea>
            <MouseArea id="Freq2">
                <FloatPosition>127.000,33.000</FloatPosition>
                <Size>111,35</Size>
                <HelpId>HELPID_GAUGE_COMM2_FREQUENCY</HelpId>
                <MouseArea id="Whole numbers">
                    <FloatPosition>0.000,0.000</FloatPosition>
                    <Size>54,34</Size>
                    <MouseArea id="Up">
                        <FloatPosition>0.000,0.000</FloatPosition>
                        <Size>54,17</Size>
                        <CursorType>UpArrow</CursorType>
                        <MouseClick id="MouseClick">
                            <KeyEvent>COM2_RADIO_WHOLE_INC</KeyEvent>
                        </MouseClick>
                    </MouseArea>
                    <MouseArea id="Down">
                        <FloatPosition>0.000,17.000</FloatPosition>
                        <Size>54,17</Size>
                        <CursorType>DownArrow</CursorType>
                        <MouseClick id="MouseClick">
                            <KeyEvent>COM2_RADIO_WHOLE_DEC</KeyEvent>
                        </MouseClick>
                    </MouseArea>
                </MouseArea>
                <MouseArea id="Fraction">
                    <FloatPosition>57.000,0.000</FloatPosition>
                    <Size>54,35</Size>
                    <MouseArea id="Up">
                        <FloatPosition>0.000,0.000</FloatPosition>
                        <Size>54,17</Size>
                        <CursorType>UpArrow</CursorType>
                        <MouseClick id="MouseClick">
                            <KeyEvent>COM2_RADIO_FRACT_INC</KeyEvent>
                        </MouseClick>
                    </MouseArea>
                    <MouseArea id="Down">
                        <FloatPosition>0.000,17.000</FloatPosition>
                        <Size>54,17</Size>
                        <CursorType>DownArrow</CursorType>
                        <MouseClick id="MouseClick">
                            <KeyEvent>COM2_RADIO_FRACT_DEC</KeyEvent>
                        </MouseClick>
                    </MouseArea>
                </MouseArea>
            </MouseArea>
            <MouseArea id="Frequency List">
                <FloatPosition>5.000,138.000</FloatPosition>
                <Size>220,190</Size>
                <HelpId>HELPID_GAUGE_AIRPORT_FREQUENCY_LIST</HelpId>
                <MouseArea id="MouseArea0">
                    <FloatPosition>0.000,0.000</FloatPosition>
                    <Size>220,15</Size>
                    <CursorType>Hand</CursorType>
                    <MouseClick id="MouseClick">
                        <Script>@ListItemSelect(0)</Script>
                    </MouseClick>
                </MouseArea>
                <MouseArea id="MouseArea1">
                    <FloatPosition>0.000,16.000</FloatPosition>
                    <Size>220,15</Size>
                    <CursorType>Hand</CursorType>
                    <MouseClick id="MouseClick">
                        <Script>@ListItemSelect(1)</Script>
                    </MouseClick>
                </MouseArea>
                <MouseArea id="MouseArea2">
                    <FloatPosition>0.000,32.000</FloatPosition>
                    <Size>220,15</Size>
                    <CursorType>Hand</CursorType>
                    <MouseClick id="MouseClick">
                        <Script>@ListItemSelect(2)</Script>
                    </MouseClick>
                </MouseArea>
                <MouseArea id="MouseArea3">
                    <FloatPosition>0.000,48.000</FloatPosition>
                    <Size>220,15</Size>
                    <CursorType>Hand</CursorType>
                    <MouseClick id="MouseClick">
                        <Script>@ListItemSelect(3)</Script>
                    </MouseClick>
                </MouseArea>
                <MouseArea id="MouseArea4">
                    <FloatPosition>0.000,64.000</FloatPosition>
                    <Size>220,15</Size>
                    <CursorType>Hand</CursorType>
                    <MouseClick id="MouseClick">
                        <Script>@ListItemSelect(4)</Script>
                    </MouseClick>
                </MouseArea>
                <MouseArea id="MouseArea5">
                    <FloatPosition>0.000,80.000</FloatPosition>
                    <Size>220,15</Size>
                    <CursorType>Hand</CursorType>
                    <MouseClick id="MouseClick">
                        <Script>@ListItemSelect(5)</Script>
                    </MouseClick>
                </MouseArea>
                <MouseArea id="MouseArea6">
                    <FloatPosition>0.000,96.000</FloatPosition>
                    <Size>220,15</Size>
                    <CursorType>Hand</CursorType>
                    <MouseClick id="MouseClick">
                        <Script>@ListItemSelect(6)</Script>
                    </MouseClick>
                </MouseArea>
                <MouseArea id="MouseArea7">
                    <FloatPosition>0.000,113.000</FloatPosition>
                    <Size>220,15</Size>
                    <CursorType>Hand</CursorType>
                    <MouseClick id="MouseClick">
                        <Script>@ListItemSelect(7)</Script>
                    </MouseClick>
                </MouseArea>
                <MouseArea id="MouseArea8">
                    <FloatPosition>0.000,131.000</FloatPosition>
                    <Size>220,15</Size>
                    <CursorType>Hand</CursorType>
                    <MouseClick id="MouseClick">
                        <Script>@ListItemSelect(8)</Script>
                    </MouseClick>
                </MouseArea>
                <MouseArea id="MouseArea9">
                    <FloatPosition>0.000,152.000</FloatPosition>
                    <Size>220,15</Size>
                    <CursorType>Hand</CursorType>
                    <MouseClick id="MouseClick">
                        <Script>@ListItemSelect(9)</Script>
                    </MouseClick>
                </MouseArea>
            </MouseArea>
            <MouseArea id="Scrolling">
                <FloatPosition>225.000,138.000</FloatPosition>
                <Size>246,175</Size>
                <CursorType>Hand</CursorType>
                <MouseArea id="Scroll up">
                    <FloatPosition>0.000,0.000</FloatPosition>
                    <Size>18,15</Size>
                    <CursorType>Hand</CursorType>
                    <MouseClick id="MouseClick">
                        <Script>(L:FreqScrollOffset) @ScrollDelta - 0 max (&gt;L:FreqScrollOffset)
(L:FreqListFirstVis) -- 0 max (&gt;L:FreqListFirstVis)</Script>
                        <ClickRepeat>True</ClickRepeat>
                    </MouseClick>
                </MouseArea>
                <MouseArea id="Scroll thumb">
                    <FloatPosition>0.000,15.000</FloatPosition>
                    <Size>246,135</Size>
                    <CursorType>Hand</CursorType>
                    <MouseClick id="MouseClick">
                        <Script>(M:Event) 'LeftSingle' scmp 0 == if{
(M:Y) (&gt;L:FreqDownY)
}
els{ 
(M:Y) (L:FreqDownY) -
@ThumbMaxHeight / (@c:NearestAirportSelectedNumberFrequencies) *
(L:FreqListFirstVis) +
(@c:NearestAirportSelectedNumberFrequencies) 10 - min 0 max (&gt;L:FreqListFirstVis) }</Script>
                        <ClickType>LeftSingle+LeftDrag</ClickType>
                    </MouseClick>
                </MouseArea>
                <MouseArea id="Scroll down">
                    <FloatPosition>0.000,152.000</FloatPosition>
                    <Size>18,15</Size>
                    <CursorType>Hand</CursorType>
                    <MouseClick id="MouseClick">
                        <Script>(L:FreqScrollOffset) @ScrollDelta + 600 min (&gt;L:FreqScrollOffset)
(L:FreqListFirstVis) ++ (@c:NearestAirportSelectedNumberFrequencies) 10 - 0 max min (&gt;L:FreqListFirstVis)</Script>
                        <ClickRepeat>True</ClickRepeat>
                    </MouseClick>
                </MouseArea>
            </MouseArea>
            <MouseArea id="Close">
                <FloatPosition>224.000,3.000</FloatPosition>
                <Size>20,20</Size>
                <CursorType>Hand</CursorType>
                <HelpId>HELPID_GAUGE_CLOSE_POPUP_WINDOW</HelpId>
                <MouseClick id="MouseClick">
                    <Script>261 (&gt;K:PANEL_ID_TOGGLE)</Script>
                </MouseClick>
            </MouseArea>
        </MouseArea>
    </SimGauge.Gauge>
</SimBase.Document>