<Gauge Name="FMC" Version="1.0">
	<Image Name="fmc_background.bmp" />
	<Macro Name="INDEXPageGroup">0</Macro>
	<Macro Name="IDENTPageGroup">1</Macro>
	<Macro Name="POSINITPageGroup">2</Macro>
	<Macro Name="PERFPageGroup">3</Macro>
	<Macro Name="TAKEOFFPageGroup">4</Macro>
	<Macro Name="APPROACHPageGroup">5</Macro>
	<Macro Name="NAVDATAPageGroup">6</Macro>
	<Macro Name="ROUTEPageGroup">7</Macro>
	<Macro Name="LEGSPageGroup">8</Macro>
	<Macro Name="NAVSTATUSPageGroup">9</Macro>
	<Macro Name="DEPARRIVALPageGroup">10</Macro>
	<Macro Name="PROGRESSPageGroup">11</Macro>
	<Macro Name="NAVRADPageGroup">12</Macro>
	<Macro Name="ATCPageGroup">13</Macro>
	<Macro Name="FIXPageGroup">14</Macro>
	<Macro Name="DUPLICATEDWPTSPageGroup">15</Macro>
	<Macro Name="GPSMapPageGroup">16</Macro>
	<Macro Name="POSINITPageCnt">3</Macro>
	<Macro Name="POSINIT_POSINIT">0</Macro>
	<Macro Name="POSINIT_POSREF">1</Macro>
	<Macro Name="POSINIT_POSSHIFT">2</Macro>
	<Macro Name="TAKEOFFPageCnt">2</Macro>
	<Macro Name="TAKEOFF_1">0</Macro>
	<Macro Name="TAKEOFF_2">1</Macro>
	<Macro Name="ROUTEPageCnt">3</Macro>
	<Macro Name="ROUTE_MAIN">1</Macro>
	<Macro Name="ROUTE_VIA">2</Macro>
	<Macro Name="ROUTE_VIA_ARRIVAL">3</Macro>
	<Macro Name="LEGS">1</Macro>
	<Macro Name="LEGS_ARRIVAL">2</Macro>
	<Macro Name="DEPARRIndex">0</Macro>
	<Macro Name="DEPARRSelect">1</Macro>
	<Macro Name="DEPARRSelected">2</Macro>
	<Macro Name="PROGRESS_1">0</Macro>
	<Macro Name="PROGRESS_2">1</Macro>
	<Macro Name="NAVDATA_MAIN">0</Macro>
	<Macro Name="NAVDATA_APT">1</Macro>
	<Macro Name="NAVDATA_INT">2</Macro>
	<Macro Name="NAVDATA_NDB">3</Macro>
	<Macro Name="NAVDATA_VOR">4</Macro>
	<Macro Name="NAVDATA_NRST_APT">5</Macro>
	<Macro Name="NAVDATA_NRST_INT">6</Macro>
	<Macro Name="NAVDATA_NRST_NDB">7</Macro>
	<Macro Name="NAVDATA_NRST_VOR">8</Macro>
	<Macro Name="NAVDATA_APT_MAIN">0</Macro>
	<Macro Name="NAVDATA_APT_RWY">1</Macro>
	<Macro Name="NAVDATA_APT_FREQ">2</Macro>

	<Macro Name="c">C:fs9gps</Macro>
	<Macro Name="g">C:fs9gps</Macro>
	<Macro Name="FormatLatitudeTabbed">%((@1,degrees) d 0 >=)%{if}N%{else}S%{end}\t%(abs 6000 * near 6000 / d flr - b)%!02d!\t&#xB0;%(60 *)%!04.1f!</Macro>
	<Macro Name="FormatLongitudeTabbed">%((@1,degrees) d 0 >=)%{if}E%{else}W%{end}\t%(abs 6000 * near 6000 / d flr - b)%!03d!\t&#xB0;%(60 *)%!04.1f!</Macro>
	<Macro Name="InitBlinker">70 (>@g:menuBlinker)</Macro>
	
;/////////////////////////////////////////////////////////////////////////////////////////////////////	


	<Macro Name="InvokePopupMenu">
		@1 (>@g:popupMenu) @2 (>@g:popupMenuX) @3 (>@g:popupMenuY) @4 (>@g:popupMenuWidth) @5 (>@g:popupMenuHeight) 
		@6 (>@g:popupMenuHeaderHeight) @7 (>@g:popupMenuLineHeight) @8 (>@g:popupMenuMaxElements) 
		0 (>@g:popupMenuCurrent) (@g:blinkingField) (>@g:blinkingFieldSaved) 0 (>@g:blinkingField) @InitBlinker
	</Macro>
	
	<Macro Name="EscapeMenu">
		0 (>@g:blinkingField)
		0 (>@g:popupMenu)
		0 (>@g:listItems)
		0 (>@g:directTo)
		0 (>@g:activateLeg)
		0 (>@g:noOptionMenu)
		@InitBlinker
	</Macro>

	<Macro Name="reset_vars">
		@INDEXPageGroup (>L:fmcBendixGA_group, number)
		@ROUTE_MAIN (>L:fmcBendixGA_gROUTE_pag, number)
		@POSINIT_POSINIT (>L:fmcBendixGA_gPOSINIT_pag, number)
		@TAKEOFF_1 (>L:fmcBendixGA_gTAKEOFF_pag, number)  
		@DEPARRIndex (>L:fmcBendixGA_gDEPARRIVAL_pag, number)
		@NAVDATA_MAIN (>L:fmcBendixGA_gNAVDATA, number)
		@DEPARRIndex (>L:fmcBendixGA_gDEPARRIVAL_pag, number)
		0 (>L:fmcBendixGA_RK_APPR_pulse, number)
		0 (>L:fmcBendixGA_exec_button, bool)
		0 (>L:fmcBendixGA_enterdata, bool)
		0 (>L:fmcBendixGA_FMCCOMM, number)
		0 (>L:fmcBendixGA_vnav, bool)
		0 (>L:fmcBendixGA_hold, bool)
		0 (>L:fmcBendixGA_keyboard_active, bool)
		0 (>L:fmcBendixGA_wpt_apt_selected, bool)
		0 (>L:fmcBendixGA_wpt_int_selected, bool)
		0 (>L:fmcBendixGA_wpt_ndb_selected, bool)
		0 (>L:fmcBendixGA_wpt_vor_selected, bool)
		0 (>L:fmcBendixGA_dupl_wpt_int_info, bool)
		0 (>L:fmcBendixGA_dupl_wpt_ndb_info, bool)
		0 (>L:fmcBendixGA_dupl_wpt_vor_info, bool)
		0 (>L:fmcBendixGA_dupl_wpt_dto, bool)
		0 (>@g:enteringInput)
	</Macro>

	<Macro Name="reset_vnav_data">
		0 (>L:fmcBendixGA_alt_1, number) 0 (>L:fmcBendixGA_alt_1, number)
		0 (>L:fmcBendixGA_alt_2, number) 0 (>L:fmcBendixGA_alt_2, number)
		0 (>L:fmcBendixGA_alt_3, number) 0 (>L:fmcBendixGA_alt_3, number)
		0 (>L:fmcBendixGA_alt_4, number) 0 (>L:fmcBendixGA_alt_4, number)
		0 (>L:fmcBendixGA_alt_5, number) 0 (>L:fmcBendixGA_alt_5, number)
		0 (>L:fmcBendixGA_alt_6, number) 0 (>L:fmcBendixGA_alt_6, number)
		0 (>L:fmcBendixGA_alt_7, number) 0 (>L:fmcBendixGA_alt_7, number)
		0 (>L:fmcBendixGA_alt_8, number) 0 (>L:fmcBendixGA_alt_8, number)
		0 (>L:fmcBendixGA_alt_9, number) 0 (>L:fmcBendixGA_alt_9, number)
		0 (>L:fmcBendixGA_alt_10, number) 0 (>L:fmcBendixGA_alt_10, number)
		0 (>L:fmcBendixGA_alt_11, number) 0 (>L:fmcBendixGA_alt_11, number)
		0 (>L:fmcBendixGA_alt_12, number) 0 (>L:fmcBendixGA_alt_12, number)
		0 (>L:fmcBendixGA_alt_13, number) 0 (>L:fmcBendixGA_alt_13, number)
		0 (>L:fmcBendixGA_alt_14, number) 0 (>L:fmcBendixGA_alt_14, number)
		0 (>L:fmcBendixGA_alt_15, number) 0 (>L:fmcBendixGA_alt_15, number)
		0 (>L:fmcBendixGA_alt_16, number) 0 (>L:fmcBendixGA_alt_16, number)
		0 (>L:fmcBendixGA_alt_17, number) 0 (>L:fmcBendixGA_alt_17, number)
		0 (>L:fmcBendixGA_alt_18, number) 0 (>L:fmcBendixGA_alt_18, number)
		0 (>L:fmcBendixGA_alt_19, number) 0 (>L:fmcBendixGA_alt_19, number)
		0 (>L:fmcBendixGA_alt_20, number) 0 (>L:fmcBendixGA_alt_20, number)
		0 (>L:fmcBendixGA_alt_21, number) 0 (>L:fmcBendixGA_alt_21, number)
		0 (>L:fmcBendixGA_alt_22, number) 0 (>L:fmcBendixGA_alt_22, number)
		0 (>L:fmcBendixGA_alt_23, number) 0 (>L:fmcBendixGA_alt_23, number)
		0 (>L:fmcBendixGA_alt_24, number) 0 (>L:fmcBendixGA_alt_24, number)
		0 (>L:fmcBendixGA_alt_25, number) 0 (>L:fmcBendixGA_alt_25, number)
		0 (>L:fmcBendixGA_alt_26, number) 0 (>L:fmcBendixGA_alt_26, number)
		0 (>L:fmcBendixGA_alt_27, number) 0 (>L:fmcBendixGA_alt_27, number)
		0 (>L:fmcBendixGA_alt_28, number) 0 (>L:fmcBendixGA_alt_28, number)
		0 (>L:fmcBendixGA_alt_29, number) 0 (>L:fmcBendixGA_alt_29, number)
	</Macro>
	
	<Macro Name="get_altitude_vnav">
		@1 1 == if{ (L:fmcBendixGA_alt_1, number) (>L:fmcBendixGA_alt_vnav, number) }
		@1 2 == if{ (L:fmcBendixGA_alt_2, number) (>L:fmcBendixGA_alt_vnav, number) }
		@1 3 == if{ (L:fmcBendixGA_alt_3, number) (>L:fmcBendixGA_alt_vnav, number) }
		@1 4 == if{ (L:fmcBendixGA_alt_4, number) (>L:fmcBendixGA_alt_vnav, number) }
		@1 5 == if{ (L:fmcBendixGA_alt_5, number) (>L:fmcBendixGA_alt_vnav, number) }
		@1 6 == if{ (L:fmcBendixGA_alt_6, number) (>L:fmcBendixGA_alt_vnav, number) }
		@1 7 == if{ (L:fmcBendixGA_alt_7, number) (>L:fmcBendixGA_alt_vnav, number) }
		@1 8 == if{ (L:fmcBendixGA_alt_8, number) (>L:fmcBendixGA_alt_vnav, number) }
		@1 9 == if{ (L:fmcBendixGA_alt_9, number) (>L:fmcBendixGA_alt_vnav, number) }
		@1 10 == if{ (L:fmcBendixGA_alt_10, number) (>L:fmcBendixGA_alt_vnav, number) }
		@1 11 == if{ (L:fmcBendixGA_alt_11, number) (>L:fmcBendixGA_alt_vnav, number) }
		@1 12 == if{ (L:fmcBendixGA_alt_12, number) (>L:fmcBendixGA_alt_vnav, number) }
		@1 13 == if{ (L:fmcBendixGA_alt_13, number) (>L:fmcBendixGA_alt_vnav, number) }
		@1 14 == if{ (L:fmcBendixGA_alt_14, number) (>L:fmcBendixGA_alt_vnav, number) }
		@1 15 == if{ (L:fmcBendixGA_alt_15, number) (>L:fmcBendixGA_alt_vnav, number) }
		@1 16 == if{ (L:fmcBendixGA_alt_16, number) (>L:fmcBendixGA_alt_vnav, number) }
		@1 17 == if{ (L:fmcBendixGA_alt_17, number) (>L:fmcBendixGA_alt_vnav, number) }
		@1 18 == if{ (L:fmcBendixGA_alt_18, number) (>L:fmcBendixGA_alt_vnav, number) }
		@1 19 == if{ (L:fmcBendixGA_alt_19, number) (>L:fmcBendixGA_alt_vnav, number) }
		@1 20 == if{ (L:fmcBendixGA_alt_20, number) (>L:fmcBendixGA_alt_vnav, number) }
		@1 21 == if{ (L:fmcBendixGA_alt_21, number) (>L:fmcBendixGA_alt_vnav, number) }
		@1 22 == if{ (L:fmcBendixGA_alt_22, number) (>L:fmcBendixGA_alt_vnav, number) }
		@1 23 == if{ (L:fmcBendixGA_alt_23, number) (>L:fmcBendixGA_alt_vnav, number) }
		@1 24 == if{ (L:fmcBendixGA_alt_24, number) (>L:fmcBendixGA_alt_vnav, number) }
		@1 25 == if{ (L:fmcBendixGA_alt_25, number) (>L:fmcBendixGA_alt_vnav, number) }
		@1 26 == if{ (L:fmcBendixGA_alt_26, number) (>L:fmcBendixGA_alt_vnav, number) }
		@1 27 == if{ (L:fmcBendixGA_alt_27, number) (>L:fmcBendixGA_alt_vnav, number) }
		@1 28 == if{ (L:fmcBendixGA_alt_28, number) (>L:fmcBendixGA_alt_vnav, number) }
		@1 29 == if{ (L:fmcBendixGA_alt_29, number) (>L:fmcBendixGA_alt_vnav, number) }
	</Macro>
	
	<Macro Name="get_ias_vnav">
		@1 1 == if{ (L:fmcBendixGA_ias_1, number) (>L:fmcBendixGA_ias_vnav, number) }
		@1 2 == if{ (L:fmcBendixGA_ias_2, number) (>L:fmcBendixGA_ias_vnav, number) }
		@1 3 == if{ (L:fmcBendixGA_ias_3, number) (>L:fmcBendixGA_ias_vnav, number) }
		@1 4 == if{ (L:fmcBendixGA_ias_4, number) (>L:fmcBendixGA_ias_vnav, number) }
		@1 5 == if{ (L:fmcBendixGA_ias_5, number) (>L:fmcBendixGA_ias_vnav, number) }
		@1 6 == if{ (L:fmcBendixGA_ias_6, number) (>L:fmcBendixGA_ias_vnav, number) }
		@1 7 == if{ (L:fmcBendixGA_ias_7, number) (>L:fmcBendixGA_ias_vnav, number) }
		@1 8 == if{ (L:fmcBendixGA_ias_8, number) (>L:fmcBendixGA_ias_vnav, number) }
		@1 9 == if{ (L:fmcBendixGA_ias_9, number) (>L:fmcBendixGA_ias_vnav, number) }
		@1 10 == if{ (L:fmcBendixGA_ias_10, number) (>L:fmcBendixGA_ias_vnav, number) }
		@1 11 == if{ (L:fmcBendixGA_ias_11, number) (>L:fmcBendixGA_ias_vnav, number) }
		@1 12 == if{ (L:fmcBendixGA_ias_12, number) (>L:fmcBendixGA_ias_vnav, number) }
		@1 13 == if{ (L:fmcBendixGA_ias_13, number) (>L:fmcBendixGA_ias_vnav, number) }
		@1 14 == if{ (L:fmcBendixGA_ias_14, number) (>L:fmcBendixGA_ias_vnav, number) }
		@1 15 == if{ (L:fmcBendixGA_ias_15, number) (>L:fmcBendixGA_ias_vnav, number) }
		@1 16 == if{ (L:fmcBendixGA_ias_16, number) (>L:fmcBendixGA_ias_vnav, number) }
		@1 17 == if{ (L:fmcBendixGA_ias_17, number) (>L:fmcBendixGA_ias_vnav, number) }
		@1 18 == if{ (L:fmcBendixGA_ias_18, number) (>L:fmcBendixGA_ias_vnav, number) }
		@1 19 == if{ (L:fmcBendixGA_ias_19, number) (>L:fmcBendixGA_ias_vnav, number) }
		@1 20 == if{ (L:fmcBendixGA_ias_20, number) (>L:fmcBendixGA_ias_vnav, number) }
		@1 21 == if{ (L:fmcBendixGA_ias_21, number) (>L:fmcBendixGA_ias_vnav, number) }
		@1 22 == if{ (L:fmcBendixGA_ias_22, number) (>L:fmcBendixGA_ias_vnav, number) }
		@1 23 == if{ (L:fmcBendixGA_ias_23, number) (>L:fmcBendixGA_ias_vnav, number) }
		@1 24 == if{ (L:fmcBendixGA_ias_24, number) (>L:fmcBendixGA_ias_vnav, number) }
		@1 25 == if{ (L:fmcBendixGA_ias_25, number) (>L:fmcBendixGA_ias_vnav, number) }
		@1 26 == if{ (L:fmcBendixGA_ias_26, number) (>L:fmcBendixGA_ias_vnav, number) }
		@1 27 == if{ (L:fmcBendixGA_ias_27, number) (>L:fmcBendixGA_ias_vnav, number) }
		@1 28 == if{ (L:fmcBendixGA_ias_28, number) (>L:fmcBendixGA_ias_vnav, number) }
		@1 29 == if{ (L:fmcBendixGA_ias_29, number) (>L:fmcBendixGA_ias_vnav, number) }
	</Macro>
	
	<Macro Name="set_ias_alt_vnav">
		1 (>L:fmcBendixGA_data_entered_1, bool)
		1 (>L:fmcBendixGA_data_entered_2, bool)
		1 (>L:fmcBendixGA_data_entered_3, bool)
		1 (>L:fmcBendixGA_data_entered_4, bool)
		1 (>L:fmcBendixGA_data_entered_5, bool)		
		
		@1 1 == if{ @2 (>L:fmcBendixGA_alt_1, number) @3 (>L:fmcBendixGA_ias_1, number) }
		@1 2 == if{ @2 (>L:fmcBendixGA_alt_2, number) @3 (>L:fmcBendixGA_ias_2, number) }
		@1 3 == if{ @2 (>L:fmcBendixGA_alt_3, number) @3 (>L:fmcBendixGA_ias_3, number) }
		@1 4 == if{ @2 (>L:fmcBendixGA_alt_4, number) @3 (>L:fmcBendixGA_ias_4, number) }
		@1 5 == if{ @2 (>L:fmcBendixGA_alt_5, number) @3 (>L:fmcBendixGA_ias_5, number) }
		@1 6 == if{ @2 (>L:fmcBendixGA_alt_6, number) @3 (>L:fmcBendixGA_ias_6, number) }
		@1 7 == if{ @2 (>L:fmcBendixGA_alt_7, number) @3 (>L:fmcBendixGA_ias_7, number) }
		@1 8 == if{ @2 (>L:fmcBendixGA_alt_8, number) @3 (>L:fmcBendixGA_ias_8, number) }
		@1 9 == if{ @2 (>L:fmcBendixGA_alt_9, number) @3 (>L:fmcBendixGA_ias_9, number) }
		@1 10 == if{ @2 (>L:fmcBendixGA_alt_10, number) @3 (>L:fmcBendixGA_ias_10, number) }
		@1 11 == if{ @2 (>L:fmcBendixGA_alt_11, number) @3 (>L:fmcBendixGA_ias_11, number) }
		@1 12 == if{ @2 (>L:fmcBendixGA_alt_12, number) @3 (>L:fmcBendixGA_ias_12, number) }
		@1 13 == if{ @2 (>L:fmcBendixGA_alt_13, number) @3 (>L:fmcBendixGA_ias_13, number) }
		@1 14 == if{ @2 (>L:fmcBendixGA_alt_14, number) @3 (>L:fmcBendixGA_ias_14, number) }
		@1 15 == if{ @2 (>L:fmcBendixGA_alt_15, number) @3 (>L:fmcBendixGA_ias_15, number) }
		@1 16 == if{ @2 (>L:fmcBendixGA_alt_16, number) @3 (>L:fmcBendixGA_ias_16, number) }
		@1 17 == if{ @2 (>L:fmcBendixGA_alt_17, number) @3 (>L:fmcBendixGA_ias_17, number) }
		@1 18 == if{ @2 (>L:fmcBendixGA_alt_18, number) @3 (>L:fmcBendixGA_ias_18, number) }
		@1 19 == if{ @2 (>L:fmcBendixGA_alt_19, number) @3 (>L:fmcBendixGA_ias_19, number) }
		@1 20 == if{ @2 (>L:fmcBendixGA_alt_20, number) @3 (>L:fmcBendixGA_ias_20, number) }
		@1 21 == if{ @2 (>L:fmcBendixGA_alt_21, number) @3 (>L:fmcBendixGA_ias_21, number) }
		@1 22 == if{ @2 (>L:fmcBendixGA_alt_22, number) @3 (>L:fmcBendixGA_ias_22, number) }
		@1 23 == if{ @2 (>L:fmcBendixGA_alt_23, number) @3 (>L:fmcBendixGA_ias_23, number) }
		@1 24 == if{ @2 (>L:fmcBendixGA_alt_24, number) @3 (>L:fmcBendixGA_ias_24, number) }
		@1 25 == if{ @2 (>L:fmcBendixGA_alt_25, number) @3 (>L:fmcBendixGA_ias_25, number) }
		@1 26 == if{ @2 (>L:fmcBendixGA_alt_26, number) @3 (>L:fmcBendixGA_ias_26, number) }
		@1 27 == if{ @2 (>L:fmcBendixGA_alt_27, number) @3 (>L:fmcBendixGA_ias_27, number) }
		@1 28 == if{ @2 (>L:fmcBendixGA_alt_28, number) @3 (>L:fmcBendixGA_ias_28, number) }
		@1 29 == if{ @2 (>L:fmcBendixGA_alt_29, number) @3 (>L:fmcBendixGA_ias_29, number) }
	</Macro>
	
	<Macro Name="ias_alt_auto_wpt">
		(@c:FlightPlanWaypointsNumber) 1 - (>@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointDistanceTotal, nmiles) (>L:fmcBendixGA_dist_fpl, number)
		
		1 (>@c:FlightPlanWaypointIndex)
		(A:DESIGN SPEED VC,knots) (>L:fmcBendixGA_CruzAirspeed)
		(A:DESIGN SPEED VS0,knots) (A:DESIGN SPEED VS1,knots) + (>L:fmcBendixGA_takeoffAirspeed)
		(A:DESIGN SPEED VS1,knots) 2 / (A:DESIGN SPEED VS1,knots) + (>L:fmcBendixGA_approachAirspeed)
		(A:DESIGN SPEED VS0,knots) 2 / (A:DESIGN SPEED VS0,knots) + (>L:fmcBendixGA_FinalAirspeed)
		
		:140
		(@c:FlightPlanWaypointDistanceTotal, nmiles) (>L:fmcBendixGA_dist_origin, number)
		(L:fmcBendixGA_dist_fpl, number) (@c:FlightPlanWaypointDistanceTotal, nmiles) - (>L:fmcBendixGA_dist_end, number)
		
		(L:fmcBendixGA_dist_origin, number) (L:fmcBendixGA_vs, number) * (L:fmcBendixGA_gs, number) / 60 * (@c:FlightPlanDepartureAltitude, feet) + (>L:fmcBendixGA_maxalt_from_orig, number)
		(L:fmcBendixGA_dist_end, number) (L:fmcBendixGA_vs, number) * (L:fmcBendixGA_gs, number) / 60 * (@c:FlightPlanDestinationAltitude, feet) + (>L:fmcBendixGA_maxalt_from_end, number)
		(L:fmcBendixGA_maxalt_from_orig, number) (L:fmcBendixGA_maxalt_from_end, number) min (>L:fmcBendixGA_wpt_alt, number)
		(L:fmcBendixGA_wpt_alt, number) (L:fmcBendixGA_crz_alt, number) &gt;= if{ (L:fmcBendixGA_crz_alt, number) (>L:fmcBendixGA_wpt_alt, number) }
		(L:fmcBendixGA_wpt_alt, number) 1000 / flr 1000 * (>L:fmcBendixGA_wpt_alt, number)
		(L:fmcBendixGA_wpt_alt, number) 10000 &gt; if{ (L:fmcBendixGA_CruzAirspeed) (>L:fmcBendixGA_wpt_ias, number) }
		(L:fmcBendixGA_wpt_alt, number) 10000 &lt;= if{ 250 (>L:fmcBendixGA_wpt_ias, number) }
		(@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointsNumber) 1 - != and if{
		 (L:fmcBendixGA_takeoffAirspeed) (>L:fmcBendixGA_wpt_ias, number)
		}
		(@c:FlightPlanWaypointIndex) 1 == if{
		 (L:fmcBendixGA_takeoffAirspeed) (>L:fmcBendixGA_wpt_ias, number) 
		}
		(@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointsNumber) 1 - == if{
		 (@c:FlightPlanDestinationAltitude, feet) (>L:fmcBendixGA_wpt_alt, number)
		 (L:fmcBendixGA_FinalAirspeed) (>L:fmcBendixGA_wpt_ias, number) 
		}
		(@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointsNumber) 2 - == if{
		 (@c:FlightPlanDestinationAltitude, feet) 1500 + (>L:fmcBendixGA_wpt_alt, number)
		 (L:fmcBendixGA_approachAirspeed) (>L:fmcBendixGA_wpt_ias, number) 
		}
		@set_ias_alt_vnav((@c:FlightPlanWaypointIndex), (L:fmcBendixGA_wpt_alt, number), (L:fmcBendixGA_wpt_ias, number))
		(@c:FlightPlanWaypointIndex) ++ (>@c:FlightPlanWaypointIndex)
		(@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointsNumber) &lt; if{ g140 }
		
	</Macro>
	
	<Macro Name="alts_consec">
		@get_altitude_vnav((@c:FlightPlanActiveWaypoint)) (L:fmcBendixGA_alt_vnav, number) (>L:fmcBendixGA_nextwpt_alt, feet)
		(@c:FlightPlanActiveWaypoint) 1 - (>L:fmcBendixGA_prevwpt_index, number)
		(L:fmcBendixGA_prevwpt_index, number) 0 == if{ (@c:FlightPlanDepartureAltitude, feet) (>L:fmcBendixGA_prevwpt_alt, feet) }
		(L:fmcBendixGA_prevwpt_index, number) 0 != if{
			@get_altitude_vnav((L:fmcBendixGA_prevwpt_index, number)) (L:fmcBendixGA_alt_vnav, number) (>L:fmcBendixGA_prevwpt_alt, feet)
			}
		(L:fmcBendixGA_nextwpt_alt, feet) (L:fmcBendixGA_prevwpt_alt, feet) - (>L:fmcBendixGA_alt_diff, feet)
	</Macro>
	
	<Macro Name="follow_vnav">
		(A:AUTOPILOT MASTER, bool) (@c:FlightPlanIsActiveFlightPlan) and (L:fmcBendixGA_vnav_active, bool) and if{
			
			(L:fmcBendixGA_nextwpt_alt, feet) 0 &gt; (G:Var2) 0 == and (L:fmcBendixGA_alt_diff, feet) 0 &gt;= and if{
				(L:fmcBendixGA_ias_vnav, number) 0 &gt; if{
					(A:AUTOPILOT THROTTLE ARM, bool) 0 == if{ 1 (>K:AUTO_THROTTLE_ARM) }
					(A:AUTOPILOT AIRSPEED HOLD, bool) 0 == if{ 1 (>K:AP_AIRSPEED_HOLD) }
					(A:AUTOPILOT ALTITUDE LOCK, bool) 0 == if{ 1 (>K:AP_ALT_HOLD) }
					(L:fmcBendixGA_nextwpt_alt, feet) (>K:AP_ALT_VAR_SET_ENGLISH)
					(L:fmcBendixGA_vs, number) (>K:AP_VS_VAR_SET_ENGLISH)
					}
				(@c:FlightPlanActiveWaypoint) 1 == if{ 1 (>G:Var3) 1 (>G:Var2) }
				}
			
			(G:Var4) 1 == if{
				(L:fmcBendixGA_ias_vnav, number) 0 &gt; if{
					(L:fmcBendixGA_alt_diff, feet) 0 &lt; if{
						(A:GPS FLIGHT PLAN WP INDEX, number) (>@c:FlightPlanWaypointIndex)
						(@c:FlightPlanWaypointEstimatedTimeRemaining) 60 / near (L:fmcBendixGA_alt_diff, feet) abs (L:fmcBendixGA_vs, number) / near - (>L:fmcBendixGA_cond, number)
						(L:fmcBendixGA_cond, number) 0 &lt;= if{
							(A:AUTOPILOT THROTTLE ARM, bool) 0 == if{ 1 (>K:AUTO_THROTTLE_ARM) }
							(A:AUTOPILOT AIRSPEED HOLD, bool) 0 == if{ 1 (>K:AP_AIRSPEED_HOLD) }
							(A:AUTOPILOT ALTITUDE LOCK, bool) 0 == if{ 1 (>K:AP_ALT_HOLD) }
							(L:fmcBendixGA_nextwpt_alt, feet) (>K:AP_ALT_VAR_SET_ENGLISH)
							(L:fmcBendixGA_vs, number) /-/ (>K:AP_VS_VAR_SET_ENGLISH)
							0 (>G:Var4)
							}
						}
					}
				}

			}
	</Macro>
	
	<Macro Name="FPLActivateLeg">
		(L:fmcBendixGA_gROUTE_pag, number) (L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) &lt;= if{ (L:fmcBendixGA_fpl_index, number) (>@c:FlightPlanActiveWaypoint) }
		(L:fmcBendixGA_gROUTE_pag, number) (L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) &gt; if{ (L:fmcBendixGA_fplappr_index, number) (>@c:FlightPlanActiveApproachWaypoint) }
	</Macro>
	
	<Macro Name="vnav_altitudes">
	@1 1 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_alt_1, number) }
	@1 2 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_alt_2, number) }
	@1 3 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_alt_3, number) }
	@1 4 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_alt_4, number) }
	@1 5 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_alt_5, number) }
	@1 6 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_alt_6, number) }
	@1 7 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_alt_7, number) }
	@1 8 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_alt_8, number) }			
	@1 9 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_alt_9, number) }
	@1 10 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_alt_10, number) }
	@1 11 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_alt_11, number) }
	@1 12 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_alt_12, number) }
	@1 13 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_alt_13, number) }
	@1 14 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_alt_14, number) }
	@1 15 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_alt_15, number) }
	@1 16 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_alt_16, number) }
	@1 17 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_alt_17, number) }
	@1 18 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_alt_18, number) }
	@1 19 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_alt_19, number) }
	@1 20 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_alt_20, number) }
	@1 21 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_alt_21, number) }
	@1 22 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_alt_22, number) }
	@1 23 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_alt_23, number) }
	@1 24 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_alt_23, number) }
	@1 25 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_alt_25, number) }
	@1 26 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_alt_26, number) }
	@1 27 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_alt_27, number) }
	@1 28 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_alt_28, number) }
	</Macro>
	<Macro Name="vnav_ias">
	@1 1 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_ias_1, number) }
	@1 2 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_ias_2, number) }
	@1 3 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_ias_3, number) }
	@1 4 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_ias_4, number) }
	@1 5 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_ias_5, number) }
	@1 6 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_ias_6, number) }
	@1 7 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_ias_7, number) }
	@1 8 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_ias_8, number) }			
	@1 9 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_ias_9, number) }
	@1 10 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_ias_10, number) }
	@1 11 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_ias_11, number) }
	@1 12 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_ias_12, number) }
	@1 13 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_ias_13, number) }
	@1 14 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_ias_14, number) }
	@1 15 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_ias_15, number) }
	@1 16 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_ias_16, number) }
	@1 17 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_ias_17, number) }
	@1 18 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_ias_18, number) }
	@1 19 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_ias_19, number) }
	@1 20 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_ias_20, number) }
	@1 21 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_ias_21, number) }
	@1 22 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_ias_22, number) }
	@1 23 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_ias_23, number) }
	@1 24 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_ias_23, number) }
	@1 25 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_ias_25, number) }
	@1 26 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_ias_26, number) }
	@1 27 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_ias_27, number) }
	@1 28 == if{ (@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_ias_28, number) }
	</Macro>
	<Macro Name="vnav_data">
	(@c:IcaoSearchCurrentIdent) slen 3 &lt;= if{ @vnav_ias(@1) }
	(@c:IcaoSearchCurrentIdent) slen 3 &gt; if{ @vnav_altitudes(@1) }
	0 (>@c:IcaoSearchStartCursor)
	</Macro>
	
<Macro Name="fmcCalculateZoomFactor">2000 1500 1000 500 350 200 150 100 50 35 20 15 10 5 3.5 2.0 1.5 1.0 0.576037 0.329164 0.246873 0.164582 0.082290 0 24 @1 case</Macro>
	

;/////////////////////////////////////////////////////////////////////////////////////////////////////	

	<Update Hidden="No">
		(L:first_run_fmcBendixGA, bool) ! if{ 
			@reset_vars
			0 (>L:fmc_boot, bool)
			0 (>L:fmc_power, bool)
			@ROUTEPageGroup (>L:fmcBendixGA_group, number) @ROUTE_MAIN (>L:fmcBendixGA_gROUTE_pag, number)
			0 (>L:fmcBendixGA_INDEX, number)
			0 (>L:fmcBendixGA_vnav_active, bool)
			0 (>L:fmcBendixGA_crz_alt, number)
			1200 (>L:fmcBendixGA_vs, number) 310 (>L:fmcBendixGA_gs, number) 1 (>L:fmcBendixGA_ac_type, number)
			18000 (>L:fmcBendixGA_trans_alt, number)
			1 (>L:first_run_fmcBendixGA, bool)
			}
		
		(A:GPS POSITION LAT, Radians) (>@c:NearestAirportCurrentLatitude, Radians) (A:GPS POSITION LON, Radians) (>@c:NearestAirportCurrentLongitude, Radians) 9 (>@c:NearestAirportMaximumItems) 200 (>@c:NearestAirportMaximumDistance, NMiles) 
		(A:GPS POSITION LAT, Radians) (>@c:NearestIntersectionCurrentLatitude, Radians) (A:GPS POSITION LON, Radians) (>@c:NearestIntersectionCurrentLongitude, Radians) 9 (>@c:NearestIntersectionMaximumItems) 200 (>@c:NearestIntersectionMaximumDistance, NMiles)
		(A:GPS POSITION LAT, Radians) (>@c:NearestNdbCurrentLatitude, Radians) (A:GPS POSITION LON, Radians) (>@c:NearestNdbCurrentLongitude, Radians) 9 (>@c:NearestNdbMaximumItems) 200 (>@c:NearestNdbMaximumDistance, NMiles)
		(A:GPS POSITION LAT, Radians) (>@c:NearestVorCurrentLatitude, Radians) (A:GPS POSITION LON, Radians) (>@c:NearestVorCurrentLongitude, Radians) 9 (>@c:NearestVorMaximumItems) 200 (>@c:NearestVorMaximumDistance, NMiles)
		(@g:enteringInput) 0 != if{ 1 (>L:fmcBendixGA_keyboard_active, bool) }
		(A:Indicated Altitude, feet) (L:fmcBendixGA_trans_alt, number) &gt;= if{ 0 (>K:BAROMETRIC) }
		(P:ZULU TIME, seconds) flr 60 % 10 * 60 / (>L:fmcBendixGA_decimas_min, number)
		(@c:FlightPlanIsActiveFlightPlan) ! if{ 1 (>L:fmcBendixGA_gROUTE_numpags, number) g101 }
		(@c:FlightPlanIsActiveFlightPlan) if{
			
			(@c:WaypointAirportApproachesNumber) 5 &lt; if{
				1 (>L:fmcBendixGA_DEPARRSelect_numpags, number) 
				} 
			else{
				(@c:WaypointAirportApproachesNumber) 5 / ceil (>L:fmcBendixGA_DEPARRSelect_numpags, number)
				}
			(@c:FlightPlanWaypointsNumber) 5 &lt; if{ 2 (>L:fmcBendixGA_gROUTE_numpags, number) } else{ (@c:FlightPlanWaypointsNumber) 5 / ceil 1 + (>L:fmcBendixGA_gROUTE_numpags, number) (L:fmcBendixGA_gROUTE_numpags, number) 1 - (>L:fmcBendixGA_gLEGS_numpags, number) }
			(L:fmcBendixGA_gROUTE_numpags, number) (>L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) (L:fmcBendixGA_gLEGS_numpags, number) (>L:fmcBendixGA_LEGS_numpags_sinAPPR, number)
			(@c:FlightPlanApproachWaypointsNumber) 0 != if{
				(@c:FlightPlanApproachWaypointsNumber) 5 &lt; if{ 1 (>L:fmcBendixGA_APPRWPT_numpags, number) } else{ (@c:FlightPlanApproachWaypointsNumber) 5 / ceil (>L:fmcBendixGA_APPRWPT_numpags, number) }
				(L:fmcBendixGA_gROUTE_numpags, number) (L:fmcBendixGA_APPRWPT_numpags, number) + (>L:fmcBendixGA_gROUTE_numpags, number) (L:fmcBendixGA_gROUTE_numpags, number) 1 - (>L:fmcBendixGA_gLEGS_numpags, number)
				}
			}
		:101
		
				
		(L:fmcBendixGA_vnav_active, bool) (G:Var7) == if{ 1 (>G:Var8) } els{ 0 (>G:Var8) }
		(G:Var8) 0 == (L:fmcBendixGA_vnav_active, bool) 1 == and if{ 1000 (>G:Var1) 0 (>G:Var3) }
		(L:fmcBendixGA_vnav_active, bool) (>G:Var7)
		
		@follow_vnav
		
		(@c:FlightPlanActiveWaypoint) 1 == (G:Var3) 0 == and if{
			@get_ias_vnav((@c:FlightPlanActiveWaypoint))
			(L:fmcBendixGA_ias_vnav, number) (>L:fmcBendixGA_nextwpt_ias, knots) 0 (>G:Var5) 0 (>G:Var6)
			@alts_consec 0 (>G:Var2)
			} 
		(@c:FlightPlanActiveWaypoint) 1 != if{
			(@c:FlightPlanActiveWaypoint) (G:Var1) == if{
				1 (>G:Var2)
				}
			els{
				@alts_consec
				(L:fmcBendixGA_alt_diff, feet) 0 &gt;= if{
					@get_ias_vnav((@c:FlightPlanActiveWaypoint))
					(L:fmcBendixGA_ias_vnav, number) (>L:fmcBendixGA_nextwpt_ias, knots) 0 (>G:Var5) 0 (>G:Var6)
					0 (>G:Var2)
					}
				(L:fmcBendixGA_alt_diff, feet) 0 &lt; if{
					@get_ias_vnav((@c:FlightPlanActiveWaypoint))
					(L:fmcBendixGA_ias_vnav, number) (>L:fmcBendixGA_nextwpt_ias, knots) 0 (>G:Var5) 0 (>G:Var6)
					1 (>G:Var4)
					}
				} 
			(@c:FlightPlanActiveWaypoint) (>G:Var1)
			}
		
		(G:Var4) 1 == if{ g150 }
		(A:AUTOPILOT MASTER, bool) (@c:FlightPlanIsActiveFlightPlan) and (L:fmcBendixGA_vnav_active, bool) and if{
			(A:PLANE ALTITUDE, feet) 10000 &lt; if{
				0 (>G:Var6)
				(G:Var5) 0 == if{ 250 (L:fmcBendixGA_nextwpt_ias, knots) min (>K:AP_SPD_VAR_SET) 1 (>G:Var5) }
				}
			els{
				0 (>G:Var5)
				(G:Var6) 0 == if{ (L:fmcBendixGA_nextwpt_ias, knots) (>K:AP_SPD_VAR_SET) 1 (>G:Var6) }
				}
			}				
		:150
		(G:Var2) 0 == if{
			(A:Indicated Altitude, feet) (>L:fmcBendixGA_ALT_LASTWPT, number)
			(P:ZULU TIME, hours) flr 100 % (>L:fmcBendixGA_HOUR_LASTWPT, number) (P:ZULU TIME, minutes) flr 60 % (>L:fmcBendixGA_MINUTE_LASTWPT, number)
			(A:FUEL TOTAL QUANTITY WEIGHT, pounds) 1000 / (>L:fmcBendixGA_FUEL_LASTWPT, number)
			}
		
		(A:AMBIENT WIND VELOCITY, knots) (A:AMBIENT WIND VELOCITY, knots) * (A:AIRCRAFT WIND Z, knots) abs (A:AIRCRAFT WIND Z, knots) abs * - sqr (>L:fmcBendixGA_XWIND, number) 
		
		(A:NUMBER OF ENGINES, number) 1 == if{
			(A:TURB ENG1 FUEL FLOW PPH, pound per hour) (>L:fmcBendixGA_FUELFLOW_TOTAL, number)
			}
		(A:NUMBER OF ENGINES, number) 2 == if{
			(A:TURB ENG1 FUEL FLOW PPH, pound per hour) (A:TURB ENG2 FUEL FLOW PPH, pound per hour) + (>L:fmcBendixGA_FUELFLOW_TOTAL, number)
			}
		(A:NUMBER OF ENGINES, number) 3 == if{
			(A:TURB ENG1 FUEL FLOW PPH, pound per hour) (A:TURB ENG2 FUEL FLOW PPH, pound per hour) + (A:TURB ENG3 FUEL FLOW PPH, pound per hour) + (>L:fmcBendixGA_FUELFLOW_TOTAL, number)
			}
		(A:NUMBER OF ENGINES, number) 4 == if{
			(A:TURB ENG1 FUEL FLOW PPH, pound per hour) (A:TURB ENG2 FUEL FLOW PPH, pound per hour) + (A:TURB ENG3 FUEL FLOW PPH, pound per hour) + (A:TURB ENG4 FUEL FLOW PPH, pound per hour) + (>L:fmcBendixGA_FUELFLOW_TOTAL, number)
			}
		(L:fmc_MapInit) 0 == if{
		0 (&gt;L:fmc_LayerFollow, bool)
		0 (&gt;L:fmc_LayerAirports)
		0 (&gt;L:fmc_LayerAirspaces)
		1 (&gt;L:fmc_LayerTerrain)
		0 (&gt;L:fmc_LayerVORs)
		0 (&gt;L:fmc_LayerAirWays)
		0 (&gt;L:fmc_LayerNDBs)
		0 (&gt;L:fmc_LayerTags)
		0 (&gt;L:fmc_LayerCompass)
		0 (&gt;L:fmc_LayerIntersections)
		0 (&gt;L:fmc_LayerRangeRings)
		6 (&gt;L:fmc_VehicleObjectDetail)
		25 (&gt;L:fmc_Filter)
		1 (&gt;L:fmc_MapInit)
		1 (&gt;L:fmc_APdetail)
		}
		(L:fmc_ZoomStep, number) 0 == if{ 
			12 (&gt;L:fmc_ZoomStep, number) 
			@fmcCalculateZoomFactor((L:fmc_ZoomStep, number)) (&gt;L:fmc_ZoomFactor, number)
			}
	</Update>
	
	<Element Name="Button power">
		<Position X="285" Y="235" />
		<Image Name="fmc_poweroff.bmp"/>
	</Element>
	
	<Element Name="Main_Body">
		<Visible>(A:CIRCUIT AVIONICS ON,bool)</Visible>
		<Position X="000" Y="000" />
		<Element>
			<Visible>(L:fmc_power, bool)</Visible>
			<Postition X="0" Y="0" />
      <Image id="fmc_mask.bmp" Name="fmc_mask.bmp" />
		</Element>	
		<Element Name="fmc_boot">
		<Visible>(L:fmc_power, bool)</Visible>
		<Position X="000" Y="000" />
			<Element>
				<Visible>(L:fmc_boot, bool) 0 ==</Visible>
				<Postition X="0" Y="0" />
        <Image id="fmc_bootup.bmp" Luminous="True" Transparent="True" Bright="False" Name="fmc_bootup.bmp" />
			</Element>									
		</Element>
	
	<Element Name="Button power">
		<Position X="285" Y="235" />
		<Image Name="fmc_poweroff.bmp"/>
	</Element>
	<Element Name="power_on">
		<Visible>(L:fmc_power, bool)</Visible>
		<Position X="285" Y="235" />
		<Image Name="fmc_poweron.bmp"/>
	</Element>	
	<Element Name="Button exec">
	<Visible>(L:fmc_power, bool)</Visible>
		<Position X="260" Y="287" />
		<Select>
			<Value>(L:fmcBendixGA_exec_button, bool)</Value>
			<Case Value="0">
				<Image Name="fmc_exec_off.bmp" Luminous="True"/>
			</Case>
			<Case Value="1">
				<Image Name="fmc_exec_on.bmp"  Luminous="True"/>
			</Case>
		</Select>
	</Element>

	<Element Name="KEYPAD">
	<Visible>(L:fmc_power, bool)</Visible>
		<Position X="0" Y="0" />
		<Image Name="fmc_buttons.bmp" Transparent="True" Bright="True" Luminous="True"/>
	</Element>
	
;/////////////////////////////////////////////////////////////////////////////////////////////////////	
	<Element Name="ViewWindow" Container="Yes">
		<Visible>(L:fmc_boot, bool)</Visible>
		<Position X="42" Y="30" />
		<RelClip Left="0" Top="0" Width="243" Height="188" />
		<Failures>
			<SYSTEM_ELECTRICAL_PANELS Action="NoDraw" />
			<SYSTEM_ELECTRICAL_AVIONICS Action="NoDraw" />
		</Failures>
		

;//////////////////////////////////////////////////////////////////////////////////////////////////////////////		
		
		<Element Name="INDEX PAGE">
			<Visible>(L:fmcBendixGA_group, number) @INDEXPageGroup ==</Visible>
			<Element>
				<Position X="32" Y="0" />
				<FormattedText X="131" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>INIT / REF INDEX</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="192" Y="0" />
				<FormattedText X="31" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>1 / 1</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; POS</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="78" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; PERF</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="28" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>NAV DATA &gt;</String>
				</FormattedText>
			</Element>
		</Element>
		
;//////////////////////////////////////////////////////////////////////////////////////////////////////////////		
		
		<Element Name="POS INT POS INIT PAGE">
			<Visible>(L:fmcBendixGA_group, number) @POSINITPageGroup == (L:fmcBendixGA_gPOSINIT_pag, number) @POSINIT_POSINIT == and</Visible>
			<Element>
				<Position X="0" Y="0" />
				<FormattedText X="243" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>POS INIT</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="192" Y="0" />
				<FormattedText X="31" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>1 / 3</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="16" />
				<FormattedText X="114" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>LAST POS</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="55" Y="28" />
				<FormattedText X="110" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Tabs="55R,75R,75"
					Bright="Yes">
					<String>@FormatLatitudeTabbed(L:fmcBendixGA_lastpos_lat, degrees)</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="132" Y="28" />
				<FormattedText X="110" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Tabs="50R,75R,75"
					Bright="Yes">
					<String>@FormatLongitudeTabbed(L:fmcBendixGA_lastpos_lon, degrees)</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="41" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>REF AIRPORT</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="243" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_group, number) @POSINITPageGroup == (L:fmcBendixGA_gPOSINIT_pag, number) @POSINIT_POSINIT == and)%{if}
							%((@c:NearestAirportItemsNumber) s2 0 !=)
							%{if}
								%(0 (>@c:NearestAirportCurrentLine))
								%((@c:NearestAirportCurrentICAO) (>@c:WaypointAirportICAO))
								%((@c:NearestAirportCurrentIdent))%!s!    
							%{end}
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="55" Y="53" />
				<FormattedText X="110" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Tabs="55R,75R,75"
					Bright="Yes">
					<String>@FormatLatitudeTabbed(@c:WaypointAirportLatitude)</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="132" Y="53" />
				<FormattedText X="110" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Tabs="50R,75R,75"
					Bright="Yes">
					<String>@FormatLatitudeTabbed(@c:WaypointAirportLongitude)</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="91" />
				<FormattedText X="114" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>GPS POS</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="55" Y="103" />
				<FormattedText X="110" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Tabs="55R,75R,75"
					Bright="Yes">
					<String>@FormatLatitudeTabbed(A:GPS POSITION LAT, degrees)</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="132" Y="103" />
				<FormattedText X="110" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Tabs="50R,75R,75"
					Bright="Yes">
					<String>@FormatLongitudeTabbed(A:GPS POSITION LON, degrees)</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="116" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((P:ZULU DAY OF WEEK, times) 0 ==)%{if}GMT - SUN / DY%{end}
						%((P:ZULU DAY OF WEEK, times) 1 ==)%{if}GMT - MON / DY%{end}
						%((P:ZULU DAY OF WEEK, times) 2 ==)%{if}GMT - TUE / DY%{end}
						%((P:ZULU DAY OF WEEK, times) 3 ==)%{if}GMT - WEN / DY%{end}
						%((P:ZULU DAY OF WEEK, times) 4 ==)%{if}GMT - THU / DY%{end}
						%((P:ZULU DAY OF WEEK, times) 5 ==)%{if}GMT - FRI / DY%{end}
						%((P:ZULU DAY OF WEEK, times) 6 ==)%{if}GMT - SAT / DY%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="128" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((P:ZULU TIME, hours) flr 100 %)%!02d!%((P:ZULU TIME, minutes) flr 60 %)%!02d!.%((L:fmcBendixGA_decimas_min, number) flr 10 %)%!d!z  
						%((P:ZULU MONTH OF YEAR, times))%!02d! / %((P:ZULU DAY OF MONTH, times))%!02d!
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="145" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; INDEX</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>ROUTE &gt;</String>
				</FormattedText>
			</Element>
		</Element>

;//////////////////////////////////////////////////////////////////////////////////////////////////////////////		
		
		<Element Name="POS INT POS REF PAGE">
			<Visible>(L:fmcBendixGA_group, number) @POSINITPageGroup == (L:fmcBendixGA_gPOSINIT_pag, number) @POSINIT_POSREF == and</Visible>
			<Element>
				<Position X="0" Y="0" />
				<FormattedText X="243" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>POS REF</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="192" Y="0" />
				<FormattedText X="31" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>2 / 3</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="16" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>FMC POS (GPS)</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="16" />
				<FormattedText X="114" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>GS</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="-45" Y="28" />
				<FormattedText X="110" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Tabs="55R,75R,75"
					Bright="Yes">
					<String>@FormatLatitudeTabbed(A:GPS POSITION LAT, degrees)</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="32" Y="28" />
				<FormattedText X="110" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Tabs="50R,75R,75"
					Bright="Yes">
					<String>@FormatLongitudeTabbed(A:GPS POSITION LON, degrees)</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="28" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>%((A:GPS GROUND SPEED, knots) near)%!d!%\{fnt1}KT</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="41" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>IRS L</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="41" />
				<FormattedText X="114" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>GS</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="-45" Y="53" />
				<FormattedText X="110" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Tabs="55R,75R,75"
					Bright="Yes">
					<String>@FormatLatitudeTabbed(L:fmcBendixGA_lastpos_lat, degrees)</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="32" Y="53" />
				<FormattedText X="110" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Tabs="50R,75R,75"
					Bright="Yes">
					<String>@FormatLongitudeTabbed(L:fmcBendixGA_lastpos_lon, degrees)</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="53" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>%((A:GPS GROUND SPEED, knots) near)%!d!%\{fnt1}KT</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="91" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>IRS R</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="91" />
				<FormattedText X="114" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>GS</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="-45" Y="103" />
				<FormattedText X="110" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Tabs="55R,75R,75"
					Bright="Yes">
					<String>@FormatLatitudeTabbed(L:fmcBendixGA_lastpos_lat, degrees)</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="32" Y="103" />
				<FormattedText X="110" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Tabs="50R,75R,75"
					Bright="Yes">
					<String>@FormatLongitudeTabbed(L:fmcBendixGA_lastpos_lon, degrees)</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="103" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>%((A:GPS GROUND SPEED, knots) near)%!d!%\{fnt1}KT</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="116" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>RADIO</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="-45" Y="128" />
				<FormattedText X="110" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Tabs="55R,75R,75"
					Bright="Yes">
					<String>@FormatLatitudeTabbed(A:GPS POSITION LAT, degrees)</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="32" Y="128" />
				<FormattedText X="110" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Tabs="50R,75R,75"
					Bright="Yes">
					<String>@FormatLongitudeTabbed(A:GPS POSITION LON, degrees)</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="128" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>%((A:GPS GROUND SPEED, knots) near)%!d!%\{fnt1}KT</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="145" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; INDEX</String>
				</FormattedText>
			</Element>
		</Element>
		
;//////////////////////////////////////////////////////////////////////////////////////////////////////////////		
		
		<Element Name="POS INT POS SHIFT PAGE">
			<Visible>(L:fmcBendixGA_group, number) @POSINITPageGroup == (L:fmcBendixGA_gPOSINIT_pag, number) @POSINIT_POSSHIFT == and</Visible>
			<Element>
				<Position X="0" Y="0" />
				<FormattedText X="243" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>POS SHIFT</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="192" Y="0" />
				<FormattedText X="31" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>3 / 3</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="66" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>IRS - L</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="66" />
				<FormattedText X="105" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>IRS - R</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="78" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>&lt; - - -&#xB0; / - \{fnt1}NM</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="78" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>- - -&#xB0; / - \{fnt1}NM\{fnt} &gt;</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="91" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>RNP / ACTUAL</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="91" />
				<FormattedText X="105" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>RADIO</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="103" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<Font FontSize="9" />
					<String>-.- / -.-- \{fnt1}NM</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="103" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>- - -&#xB0; / -.- \{fnt1}NM</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="115" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="128" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>NAV STATUS &gt;</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; INDEX</String>
				</FormattedText>
			</Element>
		</Element>
		
;//////////////////////////////////////////////////////////////////////////////////////////////////////////////		
		
		<Element Name="PERF PAGE">
			<Visible>(L:fmcBendixGA_group, number) @PERFPageGroup ==</Visible>
			<Element>
				<Position X="32" Y="0" />
				<FormattedText X="131" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>PERF INIT</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="192" Y="0" />
				<FormattedText X="31" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>1 / 1</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="16" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>GR WT DUAL</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="16" />
				<FormattedText X="114" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>CRZ ALT</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>%((A:TOTAL WEIGHT, pounds) 1000 /)%!0.1f!%</String>
				</FormattedText>
			</Element>
			<Element>
				<Visible>(@c:FlightPlanIsActiveFlightPlan) (L:fmcBendixGA_crz_alt, number) 0 != and</Visible>
				<Position X="121" Y="28" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>%((L:fmcBendixGA_crz_alt, number))%!05d! &gt;</String>
				</FormattedText>
			</Element>
			<Element>
				<Visible>(@c:FlightPlanIsActiveFlightPlan) ! (L:fmcBendixGA_crz_alt, number) 0 == ||</Visible>
				<Position X="195" Y="30" />
				<Rectangle Width="7" Height="12" Color="#00ff80" Bright="Yes" />
			</Element>
			<Element>
				<Visible>(@c:FlightPlanIsActiveFlightPlan) ! (L:fmcBendixGA_crz_alt, number) 0 == ||</Visible>
				<Position X="205" Y="30" />
				<Rectangle Width="7" Height="12" Color="#00ff80" Bright="Yes" />
			</Element>
			<Element>
				<Visible>(@c:FlightPlanIsActiveFlightPlan) ! (L:fmcBendixGA_crz_alt, number) 0 == ||</Visible>
				<Position X="215" Y="30" />
				<Rectangle Width="7" Height="12" Color="#00ff80" Bright="Yes" />
			</Element>
			<Element>
				<Visible>(@c:FlightPlanIsActiveFlightPlan) ! (L:fmcBendixGA_crz_alt, number) 0 == ||</Visible>
				<Position X="225" Y="30" />
				<Rectangle Width="7" Height="12" Color="#00ff80" Bright="Yes" />
			</Element>
			<Element>
				<Visible>(@c:FlightPlanIsActiveFlightPlan) ! (L:fmcBendixGA_crz_alt, number) 0 == ||</Visible>
				<Position X="235" Y="30" />
				<Rectangle Width="7" Height="12" Color="#00ff80" Bright="Yes" />
			</Element>
			<Element>
				<Position X="10" Y="41" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>FUEL</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>%((A:FUEL TOTAL QUANTITY WEIGHT, pounds) 1000 /)%!0.1f!% \{fnt1}CALC</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="66" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>ZFW</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="66" />
				<FormattedText X="114" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>CRZ WIND</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="78" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>%((A:TOTAL WEIGHT, pounds) (A:FUEL TOTAL QUANTITY WEIGHT, pounds) - 1000 /)%!0.1f!%</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="78" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>%((A:AMBIENT WIND DIRECTION, degrees))%!03.0f!&#xB0; / %((A:AMBIENT WIND VELOCITY, knots))%!3.0f!\{fnt1}KT</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="91" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>RESERVES</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="91" />
				<FormattedText X="114" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>CRZ  CG</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="103" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>%((A:FUEL TOTAL CAPACITY, gallons) 6.7 * 0.02 * 1000 /)%!0.1f!%</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="103" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>%((A:CG PERCENT, percent))%!0.1f!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="116" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>COST INDEX</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="116" />
				<FormattedText X="114" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>TRANS ALT</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="128" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>90</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="128" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>%((L:fmcBendixGA_trans_alt, number))%!d! &gt;</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="145" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; INDEX</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>CALC VNAV &gt;</String>
				</FormattedText>
			</Element>
		</Element>
		
;//////////////////////////////////////////////////////////////////////////////////////////////////////////////		
		
		<Element Name="NAV DATA PAGE">
			<Visible>(L:fmcBendixGA_group, number) @NAVDATAPageGroup == (L:fmcBendixGA_gNAVDATA, number) @NAVDATA_MAIN == and</Visible>
			<Element>
				<Position X="32" Y="0" />
				<FormattedText X="131" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>REF NAV DATA</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="192" Y="0" />
				<FormattedText X="31" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>1 / 1</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="150" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; AIRPORT IDENT</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>NRST APT &gt;</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="150" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; INT IDENT</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>NRST INT &gt;</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="78" />
				<FormattedText X="150" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; NDB IDENT</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="78" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>NRST NDB &gt;</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="103" />
				<FormattedText X="150" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; VOR IDENT</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="103" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>NRST VOR &gt;</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="145" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; INDEX</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>NAV OPTIONS &gt;</String>
				</FormattedText>
			</Element>
		</Element>

		;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////	

		<Element Name="NAV DATA AIRPORT MAIN PAGE">
			<Visible>(L:fmcBendixGA_group, number) @NAVDATAPageGroup == (L:fmcBendixGA_gNAVDATA, number) @NAVDATA_APT == and (L:fmcBendixGA_gNAVDATA_APT_pag, number) @NAVDATA_APT_MAIN == and</Visible>
			<Element>
				<Position X="32" Y="0" />
				<FormattedText X="131" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>REF NAV DATA</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="192" Y="0" />
				<FormattedText X="31" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((@c:WaypointAirportRunwaysNumber) 5 / ceil 1 + (>L:fmcBendixGA_gNAVDATA_APT_numpags, number))
						%((@c:WaypointAirportFrequenciesNumber) 5 / ceil (L:fmcBendixGA_gNAVDATA_APT_numpags, number) + (>L:fmcBendixGA_gNAVDATA_APT_numpags, number))
						1 / %((L:fmcBendixGA_gNAVDATA_APT_numpags, number))%!d!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="16" />
				<FormattedText X="114" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>AIRPORT IDENT</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="16" />
				<FormattedText X="114" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>TYPE</String>
				</FormattedText>
			</Element>
			<Element>
				<Visible>(L:fmcBendixGA_wpt_apt_selected, bool) !</Visible>
				<Position X="0" Y="30" />
				<Element>
					<Position X="0" Y="0" />
					<Rectangle Width="7" Height="12" Color="#00ff80" Bright="Yes" />
				</Element>
				<Element>
					<Position X="10" Y="0" />
					<Rectangle Width="7" Height="12" Color="#00ff80" Bright="Yes" />
				</Element>
				<Element>
					<Position X="20" Y="0" />
					<Rectangle Width="7" Height="12" Color="#00ff80" Bright="Yes" />
				</Element>
				<Element>
					<Position X="30" Y="0" />
					<Rectangle Width="7" Height="12" Color="#00ff80" Bright="Yes" />
				</Element>
			</Element>
			<Element>
				<Visible>(L:fmcBendixGA_wpt_apt_selected, bool)</Visible>
				<Position X="0" Y="28" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((@c:WaypointAirportIdent) d slen 0 ==)%{if}_ _ _ _%{else}%!s!
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Visible>(L:fmcBendixGA_wpt_apt_selected, bool)</Visible>
				<Position X="0" Y="28" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((@c:WaypointAirportType))%{case}%{:1}PUBLIC%{:2}MILITARY%{:3}PRIVATE%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="41" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>LATITUDE</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="41" />
				<FormattedText X="114" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>LONGITUDE</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="-45" Y="53" />
				<FormattedText X="110" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Tabs="55R,75R,75"
					Bright="Yes">
					<String>%((L:fmcBendixGA_wpt_apt_selected, bool))%{if}@FormatLatitudeTabbed(@c:WaypointAirportLatitude)</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="132" Y="53" />
				<FormattedText X="110" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Tabs="50R,75R,75"
					Bright="Yes">
					<String>%((L:fmcBendixGA_wpt_apt_selected, bool))%{if}@FormatLongitudeTabbed(@c:WaypointAirportLongitude)</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="66" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>BEST APPR</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="66" />
				<FormattedText X="114" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>ELEVATION</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="78" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>%((L:fmcBendixGA_wpt_apt_selected, bool))%{if}%((@c:WaypointAirportBestApproach, feet))%!s!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="78" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>%((L:fmcBendixGA_wpt_apt_selected, bool))%{if}%((@c:WaypointAirportElevation, feet))%!d! \{fnt1}FT</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="91" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>NAME</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="91" />
				<FormattedText X="114" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>FUEL</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="103" />
				<FormattedText X="188" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>%((L:fmcBendixGA_wpt_apt_selected, bool))%{if}%((@c:WaypointAirportName) uc)%!s!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="191" Y="103" />
				<FormattedText X="50" Y="10" Font="Arial" FontSize="10" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
					%((L:fmcBendixGA_wpt_apt_selected, bool))%{if}%((@c:WaypointAirportFuel1) uc)%!s!
					%-%
					%((L:fmcBendixGA_wpt_apt_selected, bool))%{if}%((@c:WaypointAirportFuel2) uc)%!s!
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="116" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>CITY</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="128" />
				<FormattedText X="188" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>%((L:fmcBendixGA_wpt_apt_selected, bool))%{if}%((@c:WaypointAirportCity) uc)%!s!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="191" Y="128" />
				<FormattedText X="50" Y="14" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>GET MAP</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="128" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>%((L:fmcBendixGA_not_in_database, bool))%{if}NOT IN DATABASE</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="145" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; INDEX</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>RETURN &gt;</String>
				</FormattedText>
			</Element>
		</Element>
		
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////				
		
		<Element Name="NAV DATA AIRPORT RWY PAGE">
			<Element>
				<Select>
					<Value>
						(@c:WaypointAirportRunwaysNumber) 5 / ceil 1 + (>L:fmcBendixGA_gNAVDATA_RWY_LAST_PAG, number)
					</Value>
				</Select>
			</Element>
			<Visible>
				(L:fmcBendixGA_group, number) @NAVDATAPageGroup == (L:fmcBendixGA_gNAVDATA, number) @NAVDATA_APT == and
				(L:fmcBendixGA_gNAVDATA_APT_pag, number) 0 &gt; (L:fmcBendixGA_gNAVDATA_APT_pag, number) (L:fmcBendixGA_gNAVDATA_RWY_LAST_PAG, number) &lt; and and
			</Visible>
			<Element>
				<Position X="32" Y="0" />
				<FormattedText X="210" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>RWY DATA %((@c:WaypointAirportIdent))%!s!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="192" Y="0" />
				<FormattedText X="31" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((@c:WaypointAirportRunwaysNumber) 5 / ceil 1 + (>L:fmcBendixGA_gNAVDATA_APT_numpags, number))
						%((@c:WaypointAirportFrequenciesNumber) 5 / ceil (L:fmcBendixGA_gNAVDATA_APT_numpags, number) + (>L:fmcBendixGA_gNAVDATA_APT_numpags, number))
						%((L:fmcBendixGA_gNAVDATA_APT_pag, number) 1 +)%!d! / %((L:fmcBendixGA_gNAVDATA_APT_numpags, number))%!d!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="16" />
				<FormattedText X="232" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>RWY</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="16" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>LENGTH / WIDTH</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="16" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>SURFACE</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA_APT_pag, number) 1 - 5 * (>@c:WaypointAirportCurrentRunway))
						%((L:fmcBendixGA_wpt_apt_selected, bool))%{if}%((@c:WaypointAirportRunwayDesignation))%!s!
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA_APT_pag, number) 1 - 5 * (>@c:WaypointAirportCurrentRunway))
						%((L:fmcBendixGA_wpt_apt_selected, bool) (@c:WaypointAirportRunwayDesignation) slen 0 != and)%{if}%
							%((@c:WaypointAirportRunwayLength, feet))%!d! / %((@c:WaypointAirportRunwayWidth, feet))%!d!
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA_APT_pag, number) 1 - 5 * (>@c:WaypointAirportCurrentRunway))
						%((L:fmcBendixGA_wpt_apt_selected, bool))%{if}%
							%((@c:WaypointAirportRunwaySurface))%{case}%{:1}CONCRETE%{:2}ASPHALT%{:101}GRASS%{:102}TURF%{:103}DIRT%{:104}CORAL
							%{:105}GRAVEL%{:106}OIL%{:107}STEEL%{:108}BITUMINUS%{:109}BRICK%{:110}MACADAM%{:111}PLANKS%{:112}SAND%{:113}SHALE%{:114}TARMAC%{:115}SNOW%{:116}ICE%{:201}WATER%{end}
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA_APT_pag, number) 1 - 5 * 1 + (>@c:WaypointAirportCurrentRunway))
						%((L:fmcBendixGA_wpt_apt_selected, bool))%{if}%((@c:WaypointAirportRunwayDesignation))%!s!
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA_APT_pag, number) 1 - 5 * 1 + (>@c:WaypointAirportCurrentRunway))
						%((L:fmcBendixGA_wpt_apt_selected, bool) (@c:WaypointAirportRunwayDesignation) slen 0 != and)%{if}%
							%((@c:WaypointAirportRunwayLength, feet))%!d! / %((@c:WaypointAirportRunwayWidth, feet))%!d!
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA_APT_pag, number) 1 - 5 * 1 + (>@c:WaypointAirportCurrentRunway))
						%((L:fmcBendixGA_wpt_apt_selected, bool))%{if}%
							%((@c:WaypointAirportRunwaySurface))%{case}%{:1}CONCRETE%{:2}ASPHALT%{:101}GRASS%{:102}TURF%{:103}DIRT%{:104}CORAL
							%{:105}GRAVEL%{:106}OIL%{:107}STEEL%{:108}BITUMINUS%{:109}BRICK%{:110}MACADAM%{:111}PLANKS%{:112}SAND%{:113}SHALE%{:114}TARMAC%{:115}SNOW%{:116}ICE%{:201}WATER%{end}
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="78" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA_APT_pag, number) 1 - 5 * 2 + (>@c:WaypointAirportCurrentRunway))
						%((L:fmcBendixGA_wpt_apt_selected, bool))%{if}%((@c:WaypointAirportRunwayDesignation))%!s!
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="78" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA_APT_pag, number) 1 - 5 * 2 + (>@c:WaypointAirportCurrentRunway))
						%((L:fmcBendixGA_wpt_apt_selected, bool) (@c:WaypointAirportRunwayDesignation) slen 0 != and)%{if}%
							%((@c:WaypointAirportRunwayLength, feet))%!d! / %((@c:WaypointAirportRunwayWidth, feet))%!d!
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="78" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA_APT_pag, number) 1 - 5 * 2 + (>@c:WaypointAirportCurrentRunway))
						%((L:fmcBendixGA_wpt_apt_selected, bool))%{if}%
							%((@c:WaypointAirportRunwaySurface))%{case}%{:1}CONCRETE%{:2}ASPHALT%{:101}GRASS%{:102}TURF%{:103}DIRT%{:104}CORAL
							%{:105}GRAVEL%{:106}OIL%{:107}STEEL%{:108}BITUMINUS%{:109}BRICK%{:110}MACADAM%{:111}PLANKS%{:112}SAND%{:113}SHALE%{:114}TARMAC%{:115}SNOW%{:116}ICE%{:201}WATER%{end}
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="103" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA_APT_pag, number) 1 - 5 * 3 + (>@c:WaypointAirportCurrentRunway))
						%((L:fmcBendixGA_wpt_apt_selected, bool))%{if}%((@c:WaypointAirportRunwayDesignation))%!s!
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="103" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA_APT_pag, number) 1 - 5 * 3 + (>@c:WaypointAirportCurrentRunway))
						%((L:fmcBendixGA_wpt_apt_selected, bool) (@c:WaypointAirportRunwayDesignation) slen 0 != and)%{if}%
							%((@c:WaypointAirportRunwayLength, feet))%!d! / %((@c:WaypointAirportRunwayWidth, feet))%!d!
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="103" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA_APT_pag, number) 1 - 5 * 3 + (>@c:WaypointAirportCurrentRunway))
						%((L:fmcBendixGA_wpt_apt_selected, bool))%{if}%
							%((@c:WaypointAirportRunwaySurface))%{case}%{:1}CONCRETE%{:2}ASPHALT%{:101}GRASS%{:102}TURF%{:103}DIRT%{:104}CORAL
							%{:105}GRAVEL%{:106}OIL%{:107}STEEL%{:108}BITUMINUS%{:109}BRICK%{:110}MACADAM%{:111}PLANKS%{:112}SAND%{:113}SHALE%{:114}TARMAC%{:115}SNOW%{:116}ICE%{:201}WATER%{end}
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="128" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA_APT_pag, number) 1 - 5 * 4 + (>@c:WaypointAirportCurrentRunway))
						%((L:fmcBendixGA_wpt_apt_selected, bool))%{if}%((@c:WaypointAirportRunwayDesignation))%!s!
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="128" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA_APT_pag, number) 1 - 5 * 4 + (>@c:WaypointAirportCurrentRunway))
						%((L:fmcBendixGA_wpt_apt_selected, bool) (@c:WaypointAirportRunwayDesignation) slen 0 != and)%{if}%
							%((@c:WaypointAirportRunwayLength, feet))%!d! / %((@c:WaypointAirportRunwayWidth, feet))%!d!
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="128" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA_APT_pag, number) 1 - 5 * 4 + (>@c:WaypointAirportCurrentRunway))
						%((L:fmcBendixGA_wpt_apt_selected, bool))%{if}%
							%((@c:WaypointAirportRunwaySurface))%{case}%{:1}CONCRETE%{:2}ASPHALT%{:101}GRASS%{:102}TURF%{:103}DIRT%{:104}CORAL
							%{:105}GRAVEL%{:106}OIL%{:107}STEEL%{:108}BITUMINUS%{:109}BRICK%{:110}MACADAM%{:111}PLANKS%{:112}SAND%{:113}SHALE%{:114}TARMAC%{:115}SNOW%{:116}ICE%{:201}WATER%{end}
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="145" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; INDEX</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>RETURN &gt;</String>
				</FormattedText>
			</Element>
		</Element>
		
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////				
		
		<Element Name="NAV DATA AIRPORT FREQUENCIES PAGE">
			<Element>
				<Select>
					<Value>
						(@c:WaypointAirportRunwaysNumber) 5 / ceil 1 + (>L:fmcBendixGA_gNAVDATA_RWY_LAST_PAG, number)
					</Value>
				</Select>
			</Element>
			<Visible>
				(L:fmcBendixGA_group, number) @NAVDATAPageGroup == (L:fmcBendixGA_gNAVDATA, number) @NAVDATA_APT == and
				(L:fmcBendixGA_gNAVDATA_APT_pag, number) (L:fmcBendixGA_gNAVDATA_RWY_LAST_PAG, number) &gt;= and
			</Visible>
			<Element>
				<Position X="32" Y="0" />
				<FormattedText X="210" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>FREQ DATA %((@c:WaypointAirportIdent))%!s!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="192" Y="0" />
				<FormattedText X="31" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((@c:WaypointAirportRunwaysNumber) 5 / ceil 1 + (>L:fmcBendixGA_gNAVDATA_APT_numpags, number))
						%((@c:WaypointAirportFrequenciesNumber) 5 / ceil (L:fmcBendixGA_gNAVDATA_APT_numpags, number) + (>L:fmcBendixGA_gNAVDATA_APT_numpags, number))
						%((L:fmcBendixGA_gNAVDATA_APT_pag, number) 1 +)%!d! / %((L:fmcBendixGA_gNAVDATA_APT_numpags, number))%!d!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="16" />
				<FormattedText X="232" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>CLASS</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="16" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>LIMIT</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="16" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>FREQUENCY</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA_APT_pag, number) (L:fmcBendixGA_gNAVDATA_RWY_LAST_PAG, number) - 5 * (>@c:WaypointAirportCurrentFrequency))
						%((L:fmcBendixGA_wpt_apt_selected, bool))%{if}%((@c:WaypointAirportFrequencyName) uc)%!s!
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA_APT_pag, number) (L:fmcBendixGA_gNAVDATA_RWY_LAST_PAG, number) - 5 * (>@c:WaypointAirportCurrentFrequency))
						%((L:fmcBendixGA_wpt_apt_selected, bool))%{if}%
							%((@c:WaypointAirportFrequencyLimit))%{case}%{:1}RX%{:2}TX%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="12" />
					<String>
						%((L:fmcBendixGA_gNAVDATA_APT_pag, number) (L:fmcBendixGA_gNAVDATA_RWY_LAST_PAG, number) - 5 * (>@c:WaypointAirportCurrentFrequency))
						%((L:fmcBendixGA_wpt_apt_selected, bool) (@c:WaypointAirportFrequencyName) slen 0 != and)%{if}%
							%((@c:WaypointAirportFrequencyValue,Mhz) 100 * near d 100 div)%!03d!.\{fnt1}%(100 %)%!02d! &gt;
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA_APT_pag, number) (L:fmcBendixGA_gNAVDATA_RWY_LAST_PAG, number) - 5 * 1 + (>@c:WaypointAirportCurrentFrequency))
						%((L:fmcBendixGA_wpt_apt_selected, bool))%{if}%((@c:WaypointAirportFrequencyName) uc)%!s!
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA_APT_pag, number) (L:fmcBendixGA_gNAVDATA_RWY_LAST_PAG, number) - 5 * 1 + (>@c:WaypointAirportCurrentFrequency))
						%((L:fmcBendixGA_wpt_apt_selected, bool))%{if}%
							%((@c:WaypointAirportFrequencyLimit))%{case}%{:1}RX%{:2}TX%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="12" />
					<String>
						%((L:fmcBendixGA_gNAVDATA_APT_pag, number) (L:fmcBendixGA_gNAVDATA_RWY_LAST_PAG, number) - 5 * 1 + (>@c:WaypointAirportCurrentFrequency))
						%((L:fmcBendixGA_wpt_apt_selected, bool) (@c:WaypointAirportFrequencyName) slen 0 != and)%{if}%
							%((@c:WaypointAirportFrequencyValue,Mhz) 100 * near d 100 div)%!03d!.\{fnt1}%(100 %)%!02d! &gt;
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="78" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA_APT_pag, number) (L:fmcBendixGA_gNAVDATA_RWY_LAST_PAG, number) - 5 * 2 + (>@c:WaypointAirportCurrentFrequency))
						%((L:fmcBendixGA_wpt_apt_selected, bool))%{if}%((@c:WaypointAirportFrequencyName) uc)%!s!
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="78" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA_APT_pag, number) (L:fmcBendixGA_gNAVDATA_RWY_LAST_PAG, number) - 5 * 2 + (>@c:WaypointAirportCurrentFrequency))
						%((L:fmcBendixGA_wpt_apt_selected, bool))%{if}%
							%((@c:WaypointAirportFrequencyLimit))%{case}%{:1}RX%{:2}TX%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="78" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="12" />
					<String>
						%((L:fmcBendixGA_gNAVDATA_APT_pag, number) (L:fmcBendixGA_gNAVDATA_RWY_LAST_PAG, number) - 5 * 2 + (>@c:WaypointAirportCurrentFrequency))
						%((L:fmcBendixGA_wpt_apt_selected, bool) (@c:WaypointAirportFrequencyName) slen 0 != and)%{if}%
							%((@c:WaypointAirportFrequencyValue,Mhz) 100 * near d 100 div)%!03d!.\{fnt1}%(100 %)%!02d! &gt;
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="103" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA_APT_pag, number) (L:fmcBendixGA_gNAVDATA_RWY_LAST_PAG, number) - 5 * 3 + (>@c:WaypointAirportCurrentFrequency))
						%((L:fmcBendixGA_wpt_apt_selected, bool))%{if}%((@c:WaypointAirportFrequencyName) uc)%!s!
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="103" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA_APT_pag, number) (L:fmcBendixGA_gNAVDATA_RWY_LAST_PAG, number) - 5 * 3 + (>@c:WaypointAirportCurrentFrequency))
						%((L:fmcBendixGA_wpt_apt_selected, bool))%{if}%
							%((@c:WaypointAirportFrequencyLimit))%{case}%{:1}RX%{:2}TX%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="103" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="12" />
					<String>
						%((L:fmcBendixGA_gNAVDATA_APT_pag, number) (L:fmcBendixGA_gNAVDATA_RWY_LAST_PAG, number) - 5 * 3 + (>@c:WaypointAirportCurrentFrequency))
						%((L:fmcBendixGA_wpt_apt_selected, bool) (@c:WaypointAirportFrequencyName) slen 0 != and)%{if}%
							%((@c:WaypointAirportFrequencyValue,Mhz) 100 * near d 100 div)%!03d!.\{fnt1}%(100 %)%!02d! &gt;
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="128" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA_APT_pag, number) (L:fmcBendixGA_gNAVDATA_RWY_LAST_PAG, number) - 5 * 4 + (>@c:WaypointAirportCurrentFrequency))
						%((L:fmcBendixGA_wpt_apt_selected, bool))%{if}%((@c:WaypointAirportFrequencyName) uc)%!s!
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="128" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA_APT_pag, number) (L:fmcBendixGA_gNAVDATA_RWY_LAST_PAG, number) - 5 * 4 + (>@c:WaypointAirportCurrentFrequency))
						%((L:fmcBendixGA_wpt_apt_selected, bool))%{if}%
							%((@c:WaypointAirportFrequencyLimit))%{case}%{:1}RX%{:2}TX%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="128" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="12" />
					<String>
						%((L:fmcBendixGA_gNAVDATA_APT_pag, number) (L:fmcBendixGA_gNAVDATA_RWY_LAST_PAG, number) - 5 * 4 + (>@c:WaypointAirportCurrentFrequency))
						%((L:fmcBendixGA_wpt_apt_selected, bool) (@c:WaypointAirportFrequencyName) slen 0 != and)%{if}%
							%((@c:WaypointAirportFrequencyValue,Mhz) 100 * near d 100 div)%!03d!.\{fnt1}%(100 %)%!02d! &gt;
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="145" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; INDEX</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>RETURN &gt;</String>
				</FormattedText>
			</Element>
		</Element>
		
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////			
		
		<Element Name="NAV DATA INT PAGE">
			<Visible>(L:fmcBendixGA_group, number) @NAVDATAPageGroup == (L:fmcBendixGA_gNAVDATA, number) @NAVDATA_INT == and</Visible>
			<Element>
				<Position X="32" Y="0" />
				<FormattedText X="131" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>REF NAV DATA</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="192" Y="0" />
				<FormattedText X="31" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>1 / 1</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="16" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>NAVAID  IDENT</String>
				</FormattedText>
			</Element>
			<Element>
				<Visible>(L:fmcBendixGA_wpt_int_selected, bool) !</Visible>
				<Position X="205" Y="30" />
				<Element>
					<Position X="0" Y="0" />
					<Rectangle Width="7" Height="12" Color="#00ff80" Bright="Yes" />
				</Element>
				<Element>
					<Position X="10" Y="0" />
					<Rectangle Width="7" Height="12" Color="#00ff80" Bright="Yes" />
				</Element>
				<Element>
					<Position X="20" Y="0" />
					<Rectangle Width="7" Height="12" Color="#00ff80" Bright="Yes" />
				</Element>
				<Element>
					<Position X="30" Y="0" />
					<Rectangle Width="7" Height="12" Color="#00ff80" Bright="Yes" />
				</Element>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>%((L:fmcBendixGA_wpt_int_selected, bool))%{if}%((@c:WaypointIntersectionIdent))%!s!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="41" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>REGION</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="41" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>CLASS</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>%((L:fmcBendixGA_wpt_int_selected, bool))%{if}%((@c:WaypointIntersectionRegion))%!s!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>%((L:fmcBendixGA_wpt_int_selected, bool))%{if}%INT</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="66" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>LATITUDE</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="66" />
				<FormattedText X="114" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>LONGITUDE</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="-45" Y="78" />
				<FormattedText X="110" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Tabs="55R,75R,75"
					Bright="Yes">
					<String>%((L:fmcBendixGA_wpt_int_selected, bool))%{if}@FormatLatitudeTabbed(@c:WaypointIntersectionLatitude)</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="132" Y="78" />
				<FormattedText X="110" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Tabs="50R,75R,75"
					Bright="Yes">
					<String>%((L:fmcBendixGA_wpt_int_selected, bool))%{if}@FormatLongitudeTabbed(@c:WaypointIntersectionLongitude)</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="91" />
				<FormattedText X="114" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>RAD</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="103" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_wpt_int_selected, bool))
						%{if}
							%(
								(A:GPS POSITION LAT, degrees) (>@c:GeoCalcLatitude1, degrees) (A:GPS POSITION LON, degrees) (>@c:GeoCalcLongitude1, degrees) 
								(@c:WaypointIntersectionLatitude, degrees) (>@c:GeoCalcLatitude2, degrees) (@c:WaypointIntersectionLongitude, degrees) (>@c:GeoCalcLongitude2, degrees) 
								(@c:GeoCalcBearing, degrees) (A:GPS MAGVAR, degrees) - d360
							)%!03d!&#xB0;
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="91" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>DIS</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="103" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_wpt_int_selected, bool))
						%{if}
							%(
								(A:GPS POSITION LAT, degrees) (>@c:GeoCalcLatitude1, degrees) (A:GPS POSITION LON, degrees) (>@c:GeoCalcLongitude1, degrees) 
								(@c:WaypointIntersectionLatitude, degrees) (>@c:GeoCalcLatitude2, degrees) (@c:WaypointIntersectionLongitude, degrees) (>@c:GeoCalcLongitude2, degrees) 
								(@c:GeoCalcDistance, nautical miles) 
							)%!d!
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="128" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>%((L:fmcBendixGA_not_in_database, bool))%{if}NOT IN DATABASE</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="145" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; INDEX</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>RETURN &gt;</String>
				</FormattedText>
			</Element>
		</Element>
		
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////			
		
		<Element Name="NAV DATA NDB PAGE">
			<Visible>(L:fmcBendixGA_group, number) @NAVDATAPageGroup == (L:fmcBendixGA_gNAVDATA, number) @NAVDATA_NDB == and</Visible>
			<Element>
				<Position X="32" Y="0" />
				<FormattedText X="131" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>REF NAV DATA</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="192" Y="0" />
				<FormattedText X="31" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>1 / 1</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="16" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>FREQ</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>%((L:fmcBendixGA_wpt_ndb_selected, bool))%{if}&lt; %((@c:WaypointNdbFrequency, KHz))%!3.1f!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="16" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>NAVAID  IDENT</String>
				</FormattedText>
			</Element>
			<Element>
				<Visible>(L:fmcBendixGA_wpt_ndb_selected, bool) !</Visible>
				<Position X="205" Y="30" />
				<Element>
					<Position X="0" Y="0" />
					<Rectangle Width="7" Height="12" Color="#00ff80" Bright="Yes" />
				</Element>
				<Element>
					<Position X="10" Y="0" />
					<Rectangle Width="7" Height="12" Color="#00ff80" Bright="Yes" />
				</Element>
				<Element>
					<Position X="20" Y="0" />
					<Rectangle Width="7" Height="12" Color="#00ff80" Bright="Yes" />
				</Element>
				<Element>
					<Position X="30" Y="0" />
					<Rectangle Width="7" Height="12" Color="#00ff80" Bright="Yes" />
				</Element>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>%((L:fmcBendixGA_wpt_ndb_selected, bool))%{if}%((@c:WaypointNdbIdent))%!s!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="41" />
				<FormattedText X="232" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>REGION</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="41" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>CLASS</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>%((L:fmcBendixGA_wpt_ndb_selected, bool))%{if}%((@c:WaypointNdbRegion))%!s!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>%((L:fmcBendixGA_wpt_ndb_selected, bool))%{if}%NDB</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="66" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>LATITUDE</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="66" />
				<FormattedText X="114" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>LONGITUDE</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="-45" Y="78" />
				<FormattedText X="110" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Tabs="55R,75R,75"
					Bright="Yes">
					<String>%((L:fmcBendixGA_wpt_ndb_selected, bool))%{if}@FormatLatitudeTabbed(@c:WaypointNdbLatitude)</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="132" Y="78" />
				<FormattedText X="110" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Tabs="50R,75R,75"
					Bright="Yes">
					<String>%((L:fmcBendixGA_wpt_ndb_selected, bool))%{if}@FormatLongitudeTabbed(@c:WaypointNdbLongitude)</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="91" />
				<FormattedText X="114" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>RAD</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="103" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_wpt_ndb_selected, bool))
						%{if}
							%(
								(A:GPS POSITION LAT, degrees) (>@c:GeoCalcLatitude1, degrees) (A:GPS POSITION LON, degrees) (>@c:GeoCalcLongitude1, degrees) 
								(@c:WaypointNdbLatitude, degrees) (>@c:GeoCalcLatitude2, degrees) (@c:WaypointNdbLongitude, degrees) (>@c:GeoCalcLongitude2, degrees) 
								(@c:GeoCalcBearing, degrees) (A:GPS MAGVAR, degrees) - d360
							)%!03d!&#xB0;
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="91" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>DIS</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="103" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_wpt_ndb_selected, bool))
						%{if}
							%(
								(A:GPS POSITION LAT, degrees) (>@c:GeoCalcLatitude1, degrees) (A:GPS POSITION LON, degrees) (>@c:GeoCalcLongitude1, degrees) 
								(@c:WaypointNdbLatitude, degrees) (>@c:GeoCalcLatitude2, degrees) (@c:WaypointNdbLongitude, degrees) (>@c:GeoCalcLongitude2, degrees) 
								(@c:GeoCalcDistance, nautical miles) 
							)%!d!
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="128" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>%((L:fmcBendixGA_not_in_database, bool))%{if}NOT IN DATABASE</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="145" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; INDEX</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>RETURN &gt;</String>
				</FormattedText>
			</Element>
		</Element>		
		
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////			
		
		<Element Name="NAV DATA VOR PAGE">
			<Visible>(L:fmcBendixGA_group, number) @NAVDATAPageGroup == (L:fmcBendixGA_gNAVDATA, number) @NAVDATA_VOR == and</Visible>
			<Element>
				<Position X="32" Y="0" />
				<FormattedText X="131" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>REF NAV DATA</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="192" Y="0" />
				<FormattedText X="31" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>1 / 1</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="16" />
				<FormattedText X="232" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>FREQ</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>%((L:fmcBendixGA_wpt_vor_selected, bool))%{if}&lt; %((@c:WaypointVorFrequency, MHz))%!3.2f!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="16" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>NAVAID  IDENT</String>
				</FormattedText>
			</Element>
			<Element>
				<Visible>(L:fmcBendixGA_wpt_vor_selected, bool) !</Visible>
				<Position X="205" Y="30" />
				<Element>
					<Position X="0" Y="0" />
					<Rectangle Width="7" Height="12" Color="#00ff80" Bright="Yes" />
				</Element>
				<Element>
					<Position X="10" Y="0" />
					<Rectangle Width="7" Height="12" Color="#00ff80" Bright="Yes" />
				</Element>
				<Element>
					<Position X="20" Y="0" />
					<Rectangle Width="7" Height="12" Color="#00ff80" Bright="Yes" />
				</Element>
				<Element>
					<Position X="30" Y="0" />
					<Rectangle Width="7" Height="12" Color="#00ff80" Bright="Yes" />
				</Element>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>%((L:fmcBendixGA_wpt_vor_selected, bool))%{if}%((@c:WaypointVorIdent))%!s!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="41" />
				<FormattedText X="232" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>REGION</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="41" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>CLASS</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>%((L:fmcBendixGA_wpt_vor_selected, bool))%{if}%((@c:WaypointVorRegion))%!s!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>%((L:fmcBendixGA_wpt_vor_selected, bool))%{if}%VOR</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="66" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>LATITUDE</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="66" />
				<FormattedText X="114" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>LONGITUDE</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="-45" Y="78" />
				<FormattedText X="110" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Tabs="55R,75R,75"
					Bright="Yes">
					<String>%((L:fmcBendixGA_wpt_vor_selected, bool))%{if}@FormatLatitudeTabbed(@c:WaypointVorLatitude)</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="132" Y="78" />
				<FormattedText X="110" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Tabs="50R,75R,75"
					Bright="Yes">
					<String>%((L:fmcBendixGA_wpt_vor_selected, bool))%{if}@FormatLongitudeTabbed(@c:WaypointVorLongitude)</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="91" />
				<FormattedText X="114" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>MAG VAR</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="103" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_wpt_vor_selected, bool))%{if}
						%((@c:WaypointVorMagneticVariation) dnor near b 180 >=)%{if}E%(360 - /-/)%!03d!%{else}W%!03d!%{end}&#xB0;
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="91" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>DIS</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="103" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_wpt_vor_selected, bool))
						%{if}
							%(
								(A:GPS POSITION LAT, degrees) (>@c:GeoCalcLatitude1, degrees) (A:GPS POSITION LON, degrees) (>@c:GeoCalcLongitude1, degrees) 
								(@c:WaypointVorLatitude, degrees) (>@c:GeoCalcLatitude2, degrees) (@c:WaypointVorLongitude, degrees) (>@c:GeoCalcLongitude2, degrees) 
								(@c:GeoCalcDistance, nautical miles) 
							)%!d!
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="128" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>%((L:fmcBendixGA_not_in_database, bool))%{if}NOT IN DATABASE</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="145" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; INDEX</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>RETURN &gt;</String>
				</FormattedText>
			</Element>
		</Element>
		
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////			
		
		<Element Name="NRST PAGE">
			<Visible>(L:fmcBendixGA_group, number) @NAVDATAPageGroup == (L:fmcBendixGA_gNAVDATA, number) @NAVDATA_NRST_APT &gt;= and</Visible>
			<Element>
				<Position X="32" Y="0" />
				<FormattedText X="131" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA, number))%{case}
								%{:5}NEAREST APT
								%{:6}NEAREST INT
								%{:7}NEAREST NDB
								%{:8}NEAREST VOR
							%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="192" Y="0" />
				<FormattedText X="31" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>1 / 1</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="16" />
				<FormattedText X="232" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA, number))%{case}
								%{:5}APT
								%{:6}INT
								%{:7}NDB
								%{:8}VOR
							%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="16" />
				<FormattedText X="80" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>DIS</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="16" />
				<FormattedText X="150" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>BRG</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="16" />
				<FormattedText X="222" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA, number))%{case}
								%{:5}TWR FREQ
								%{:7}FREQ
								%{:8}FREQ
							%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA, number))%{case}
								%{:5}%(0 (>@c:NearestAirportCurrentLine))%((@c:NearestAirportCurrentIdent))%!s!
								%{:6}%(0 (>@c:NearestIntersectionCurrentLine))%((@c:NearestIntersectionCurrentIdent))%!s!
								%{:7}%(0 (>@c:NearestNdbCurrentLine))%((@c:NearestNdbCurrentIdent))%!s!
								%{:8}%(0 (>@c:NearestVorCurrentLine))%((@c:NearestVorCurrentIdent))%!s!
							%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="100" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((L:fmcBendixGA_gNAVDATA, number))%{case}
								%{:5}%(0 (>@c:NearestAirportCurrentLine))%((@c:NearestAirportCurrentDistance, nmiles))%!.1f! \{fnt1}NM
								%{:6}%(0 (>@c:NearestIntersectionCurrentLine))%((@c:NearestIntersectionCurrentDistance, nmiles))%!.1f! \{fnt1}NM
								%{:7}%(0 (>@c:NearestNdbCurrentLine))%((@c:NearestNdbCurrentDistance, nmiles))%!.1f! \{fnt1}NM
								%{:8}%(0 (>@c:NearestVorCurrentLine))%((@c:NearestVorCurrentDistance, nmiles))%!.1f! \{fnt1}NM
							%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="163" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA, number))%{case}
								%{:5}%(0 (>@c:NearestAirportCurrentLine))%((@c:NearestAirportCurrentTrueBearing, degrees) (A:GPS MAGVAR, degrees) - d360)%!03d!&#xB0;
								%{:6}%(0 (>@c:NearestIntersectionCurrentLine))%((@c:NearestIntersectionCurrentTrueBearing, degrees) (A:GPS MAGVAR, degrees) - d360)%!03d!&#xB0;
								%{:7}%(0 (>@c:NearestNdbCurrentLine))%((@c:NearestNdbCurrentTrueBearing, degrees) (A:GPS MAGVAR, degrees) - d360)%!03d!&#xB0;
								%{:8}%(0 (>@c:NearestVorCurrentLine))%((@c:NearestVorCurrentTrueBearing, degrees) (A:GPS MAGVAR, degrees) - d360)%!03d!&#xB0;
							%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="12" />
					<String>
						%((L:fmcBendixGA_gNAVDATA, number))%{case}
								%{:5}%(0 (>@c:NearestAirportCurrentLine))%((@c:NearestAirportCurrentComFrequencyValue, MHz) 1000 * near d 1000 div)%!03d!.\{fnt1}%(1000 %)%!03d! &gt;
								%{:7}%(0 (>@c:NearestNdbCurrentLine))%((@c:NearestNdbCurrentFrequency, KHz) 10 * near d 10 div)%!03d!.\{fnt1}%(10 %)%!01d! &gt;
								%{:8}%(0 (>@c:NearestVorCurrentLine))%((@c:NearestVorCurrentFrequency, MHz) 100 * near d 100 div)%!03d!.\{fnt1}%(100 %)%!02d! &gt;
							%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA, number))%{case}
								%{:5}%(1 (>@c:NearestAirportCurrentLine))%((@c:NearestAirportCurrentIdent))%!s!
								%{:6}%(1 (>@c:NearestIntersectionCurrentLine))%((@c:NearestIntersectionCurrentIdent))%!s!
								%{:7}%(1 (>@c:NearestNdbCurrentLine))%((@c:NearestNdbCurrentIdent))%!s!
								%{:8}%(1 (>@c:NearestVorCurrentLine))%((@c:NearestVorCurrentIdent))%!s!
							%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="100" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((L:fmcBendixGA_gNAVDATA, number))%{case}
								%{:5}%(1 (>@c:NearestAirportCurrentLine))%((@c:NearestAirportCurrentDistance, nmiles))%!.1f! \{fnt1}NM
								%{:6}%(1 (>@c:NearestIntersectionCurrentLine))%((@c:NearestIntersectionCurrentDistance, nmiles))%!.1f! \{fnt1}NM
								%{:7}%(1 (>@c:NearestNdbCurrentLine))%((@c:NearestNdbCurrentDistance, nmiles))%!.1f! \{fnt1}NM
								%{:8}%(1 (>@c:NearestVorCurrentLine))%((@c:NearestVorCurrentDistance, nmiles))%!.1f! \{fnt1}NM
							%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="163" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA, number))%{case}
								%{:5}%(1 (>@c:NearestAirportCurrentLine))%((@c:NearestAirportCurrentTrueBearing, degrees) (A:GPS MAGVAR, degrees) - d360)%!03d!&#xB0;
								%{:6}%(1 (>@c:NearestIntersectionCurrentLine))%((@c:NearestIntersectionCurrentTrueBearing, degrees) (A:GPS MAGVAR, degrees) - d360)%!03d!&#xB0;
								%{:7}%(1 (>@c:NearestNdbCurrentLine))%((@c:NearestNdbCurrentTrueBearing, degrees) (A:GPS MAGVAR, degrees) - d360)%!03d!&#xB0;
								%{:8}%(1 (>@c:NearestVorCurrentLine))%((@c:NearestVorCurrentTrueBearing, degrees) (A:GPS MAGVAR, degrees) - d360)%!03d!&#xB0;
							%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="12" />
					<String>
						%((L:fmcBendixGA_gNAVDATA, number))%{case}
								%{:5}%(1 (>@c:NearestAirportCurrentLine))%((@c:NearestAirportCurrentComFrequencyValue, MHz) 1000 * near d 1000 div)%!03d!.\{fnt1}%(1000 %)%!03d! &gt;
								%{:7}%(1 (>@c:NearestNdbCurrentLine))%((@c:NearestNdbCurrentFrequency, KHz) 10 * near d 10 div)%!03d!.\{fnt1}%(10 %)%!01d! &gt;
								%{:8}%(1 (>@c:NearestVorCurrentLine))%((@c:NearestVorCurrentFrequency, MHz) 100 * near d 100 div)%!03d!.\{fnt1}%(100 %)%!02d! &gt;
							%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="78" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA, number))%{case}
								%{:5}%(2 (>@c:NearestAirportCurrentLine))%((@c:NearestAirportCurrentIdent))%!s!
								%{:6}%(2 (>@c:NearestIntersectionCurrentLine))%((@c:NearestIntersectionCurrentIdent))%!s!
								%{:7}%(2 (>@c:NearestNdbCurrentLine))%((@c:NearestNdbCurrentIdent))%!s!
								%{:8}%(2 (>@c:NearestVorCurrentLine))%((@c:NearestVorCurrentIdent))%!s!
							%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="78" />
				<FormattedText X="100" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((L:fmcBendixGA_gNAVDATA, number))%{case}
								%{:5}%(2 (>@c:NearestAirportCurrentLine))%((@c:NearestAirportCurrentDistance, nmiles))%!.1f! \{fnt1}NM
								%{:6}%(2 (>@c:NearestIntersectionCurrentLine))%((@c:NearestIntersectionCurrentDistance, nmiles))%!.1f! \{fnt1}NM
								%{:7}%(2 (>@c:NearestNdbCurrentLine))%((@c:NearestNdbCurrentDistance, nmiles))%!.1f! \{fnt1}NM
								%{:8}%(2 (>@c:NearestVorCurrentLine))%((@c:NearestVorCurrentDistance, nmiles))%!.1f! \{fnt1}NM
							%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="78" />
				<FormattedText X="163" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA, number))%{case}
								%{:5}%(2 (>@c:NearestAirportCurrentLine))%((@c:NearestAirportCurrentTrueBearing, degrees) (A:GPS MAGVAR, degrees) - d360)%!03d!&#xB0;
								%{:6}%(2 (>@c:NearestIntersectionCurrentLine))%((@c:NearestIntersectionCurrentTrueBearing, degrees) (A:GPS MAGVAR, degrees) - d360)%!03d!&#xB0;
								%{:7}%(2 (>@c:NearestNdbCurrentLine))%((@c:NearestNdbCurrentTrueBearing, degrees) (A:GPS MAGVAR, degrees) - d360)%!03d!&#xB0;
								%{:8}%(2 (>@c:NearestVorCurrentLine))%((@c:NearestVorCurrentTrueBearing, degrees) (A:GPS MAGVAR, degrees) - d360)%!03d!&#xB0;
							%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="78" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="12" />
					<String>
						%((L:fmcBendixGA_gNAVDATA, number))%{case}
								%{:5}%(2 (>@c:NearestAirportCurrentLine))%((@c:NearestAirportCurrentComFrequencyValue, MHz) 1000 * near d 1000 div)%!03d!.\{fnt1}%(1000 %)%!03d! &gt;
								%{:7}%(2 (>@c:NearestNdbCurrentLine))%((@c:NearestNdbCurrentFrequency, KHz) 10 * near d 10 div)%!03d!.\{fnt1}%(10 %)%!01d! &gt;
								%{:8}%(2 (>@c:NearestVorCurrentLine))%((@c:NearestVorCurrentFrequency, MHz) 100 * near d 100 div)%!03d!.\{fnt1}%(100 %)%!02d! &gt;
							%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="103" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA, number))%{case}
								%{:5}%(3 (>@c:NearestAirportCurrentLine))%((@c:NearestAirportCurrentIdent))%!s!
								%{:6}%(3 (>@c:NearestIntersectionCurrentLine))%((@c:NearestIntersectionCurrentIdent))%!s!
								%{:7}%(3 (>@c:NearestNdbCurrentLine))%((@c:NearestNdbCurrentIdent))%!s!
								%{:8}%(3 (>@c:NearestVorCurrentLine))%((@c:NearestVorCurrentIdent))%!s!
							%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="103" />
				<FormattedText X="100" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((L:fmcBendixGA_gNAVDATA, number))%{case}
								%{:5}%(3 (>@c:NearestAirportCurrentLine))%((@c:NearestAirportCurrentDistance, nmiles))%!.1f! \{fnt1}NM
								%{:6}%(3 (>@c:NearestIntersectionCurrentLine))%((@c:NearestIntersectionCurrentDistance, nmiles))%!.1f! \{fnt1}NM
								%{:7}%(3 (>@c:NearestNdbCurrentLine))%((@c:NearestNdbCurrentDistance, nmiles))%!.1f! \{fnt1}NM
								%{:8}%(3 (>@c:NearestVorCurrentLine))%((@c:NearestVorCurrentDistance, nmiles))%!.1f! \{fnt1}NM
							%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="103" />
				<FormattedText X="163" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA, number))%{case}
								%{:5}%(3 (>@c:NearestAirportCurrentLine))%((@c:NearestAirportCurrentTrueBearing, degrees) (A:GPS MAGVAR, degrees) - d360)%!03d!&#xB0;
								%{:6}%(3 (>@c:NearestIntersectionCurrentLine))%((@c:NearestIntersectionCurrentTrueBearing, degrees) (A:GPS MAGVAR, degrees) - d360)%!03d!&#xB0;
								%{:7}%(3 (>@c:NearestNdbCurrentLine))%((@c:NearestNdbCurrentTrueBearing, degrees) (A:GPS MAGVAR, degrees) - d360)%!03d!&#xB0;
								%{:8}%(3 (>@c:NearestVorCurrentLine))%((@c:NearestVorCurrentTrueBearing, degrees) (A:GPS MAGVAR, degrees) - d360)%!03d!&#xB0;
							%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="103" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="12" />
					<String>
						%((L:fmcBendixGA_gNAVDATA, number))%{case}
								%{:5}%(3 (>@c:NearestAirportCurrentLine))%((@c:NearestAirportCurrentComFrequencyValue, MHz) 1000 * near d 1000 div)%!03d!.\{fnt1}%(1000 %)%!03d! &gt;
								%{:7}%(3 (>@c:NearestNdbCurrentLine))%((@c:NearestNdbCurrentFrequency, KHz) 10 * near d 10 div)%!03d!.\{fnt1}%(10 %)%!01d! &gt;
								%{:8}%(3 (>@c:NearestVorCurrentLine))%((@c:NearestVorCurrentFrequency, MHz) 100 * near d 100 div)%!03d!.\{fnt1}%(100 %)%!02d! &gt;
							%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="128" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA, number))%{case}
								%{:5}%(4 (>@c:NearestAirportCurrentLine))%((@c:NearestAirportCurrentIdent))%!s!
								%{:6}%(4 (>@c:NearestIntersectionCurrentLine))%((@c:NearestIntersectionCurrentIdent))%!s!
								%{:7}%(4 (>@c:NearestNdbCurrentLine))%((@c:NearestNdbCurrentIdent))%!s!
								%{:8}%(4 (>@c:NearestVorCurrentLine))%((@c:NearestVorCurrentIdent))%!s!
							%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="128" />
				<FormattedText X="100" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((L:fmcBendixGA_gNAVDATA, number))%{case}
								%{:5}%(4 (>@c:NearestAirportCurrentLine))%((@c:NearestAirportCurrentDistance, nmiles))%!.1f! \{fnt1}NM
								%{:6}%(4 (>@c:NearestIntersectionCurrentLine))%((@c:NearestIntersectionCurrentDistance, nmiles))%!.1f! \{fnt1}NM
								%{:7}%(4 (>@c:NearestNdbCurrentLine))%((@c:NearestNdbCurrentDistance, nmiles))%!.1f! \{fnt1}NM
								%{:8}%(4 (>@c:NearestVorCurrentLine))%((@c:NearestVorCurrentDistance, nmiles))%!.1f! \{fnt1}NM
							%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="128" />
				<FormattedText X="163" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gNAVDATA, number))%{case}
								%{:5}%(4 (>@c:NearestAirportCurrentLine))%((@c:NearestAirportCurrentTrueBearing, degrees) (A:GPS MAGVAR, degrees) - d360)%!03d!&#xB0;
								%{:6}%(4 (>@c:NearestIntersectionCurrentLine))%((@c:NearestIntersectionCurrentTrueBearing, degrees) (A:GPS MAGVAR, degrees) - d360)%!03d!&#xB0;
								%{:7}%(4 (>@c:NearestNdbCurrentLine))%((@c:NearestNdbCurrentTrueBearing, degrees) (A:GPS MAGVAR, degrees) - d360)%!03d!&#xB0;
								%{:8}%(4 (>@c:NearestVorCurrentLine))%((@c:NearestVorCurrentTrueBearing, degrees) (A:GPS MAGVAR, degrees) - d360)%!03d!&#xB0;
							%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="128" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="12" />
					<String>
						%((L:fmcBendixGA_gNAVDATA, number))%{case}
								%{:5}%(4 (>@c:NearestAirportCurrentLine))%((@c:NearestAirportCurrentComFrequencyValue, MHz) 1000 * near d 1000 div)%!03d!.\{fnt1}%(1000 %)%!03d! &gt;
								%{:7}%(4 (>@c:NearestNdbCurrentLine))%((@c:NearestNdbCurrentFrequency, KHz) 10 * near d 10 div)%!03d!.\{fnt1}%(10 %)%!01d! &gt;
								%{:8}%(4 (>@c:NearestVorCurrentLine))%((@c:NearestVorCurrentFrequency, MHz) 100 * near d 100 div)%!03d!.\{fnt1}%(100 %)%!02d! &gt;
							%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="145" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; INDEX</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>RETURN &gt;</String>
				</FormattedText>
			</Element>
		</Element>
		
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////	
	
		<Element Name="ROUTE ACT RTE PAGE1">
			<Visible>(L:fmcBendixGA_group, number) @ROUTEPageGroup == (L:fmcBendixGA_gROUTE_pag, number) @ROUTE_MAIN == and</Visible>
			<Element>
				<Visible>(@c:FlightPlanIsDirectTo)</Visible>
				<Position X="32" Y="0" />
				<FormattedText X="131" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>ACT  RTE IS DTO</String>
				</FormattedText>
			</Element>
			<Element>
				<Visible>(@c:FlightPlanIsDirectTo) !</Visible>
				<Position X="32" Y="0" />
				<FormattedText X="131" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>%((@c:FlightPlanIsActiveFlightPlan))%{if}%ACT  RTE%{else}%RTE%{end}</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="192" Y="0" />
				<FormattedText X="31" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>%((L:fmcBendixGA_gROUTE_pag, number))%!d! / %((L:fmcBendixGA_gROUTE_numpags, number))%!d!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="16" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>ORIGIN</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="16" />
				<FormattedText X="114" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>DEST</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>%((@c:FlightPlanIsActiveFlightPlan))%{if}%((@c:FlightPlanDepartureAirportIdent))%!s!</String>
				</FormattedText>
			</Element>
			<Element>
				<Visible>(@c:FlightPlanIsActiveFlightPlan) !</Visible>
				<Position X="0" Y="30" />
				<Rectangle Width="7" Height="12" Color="#00ff80" Bright="Yes" />
			</Element>
			<Element>
				<Visible>(@c:FlightPlanIsActiveFlightPlan) !</Visible>
				<Position X="10" Y="30" />
				<Rectangle Width="7" Height="12" Color="#00ff80" Bright="Yes" />
			</Element>
			<Element>
				<Visible>(@c:FlightPlanIsActiveFlightPlan) !</Visible>
				<Position X="20" Y="30" />
				<Rectangle Width="7" Height="12" Color="#00ff80" Bright="Yes" />
			</Element>
			<Element>
				<Visible>(@c:FlightPlanIsActiveFlightPlan) !</Visible>
				<Position X="30" Y="30" />
				<Rectangle Width="7" Height="12" Color="#00ff80" Bright="Yes" />
			</Element>
			<Element>
				<Position X="128" Y="28" />
				<FormattedText X="114" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((@c:FlightPlanIsDirectTo) !)%{if}
							%((@c:FlightPlanIsActiveFlightPlan))%{if}%((@c:FlightPlanDestinationAirportIdent))%!s!%{end}
						%{else}
							%((A:GPS WP NEXT ID, string))%!s!
						%{end}
							
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Visible>(@c:FlightPlanIsActiveFlightPlan) !</Visible>
				<Position X="205" Y="30" />
				<Rectangle Width="7" Height="12" Color="#00ff80" Bright="Yes" />
			</Element>
			<Element>
				<Visible>(@c:FlightPlanIsActiveFlightPlan) !</Visible>
				<Position X="215" Y="30" />
				<Rectangle Width="7" Height="12" Color="#00ff80" Bright="Yes" />
			</Element>
			<Element>
				<Visible>(@c:FlightPlanIsActiveFlightPlan) !</Visible>
				<Position X="225" Y="30" />
				<Rectangle Width="7" Height="12" Color="#00ff80" Bright="Yes" />
			</Element>
			<Element>
				<Visible>(@c:FlightPlanIsActiveFlightPlan) !</Visible>
				<Position X="235" Y="30" />
				<Rectangle Width="7" Height="12" Color="#00ff80" Bright="Yes" />
			</Element>
			<Element>
				<Position X="10" Y="41" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>CO ROUTE</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((@c:FlightPlanIsDirectTo) !)%{if}
							%((@c:FlightPlanIsActiveFlightPlan))%{if}FP %((@c:FlightPlanDepartureAirportIdent))%!s! - %((@c:FlightPlanDestinationAirportIdent))%!s!%{else}%- - - - - - -%{end}
						%{else}
							DTO -&gt; %((A:GPS WP NEXT ID, string))%!s!
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="88" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="116" />
				<FormattedText X="114" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>ROUTE</String>
				</FormattedText>
			</Element>
			<Element>
				<Visible>(@c:FlightPlanIsActiveFlightPlan) !</Visible>
				<Position X="0" Y="128" />
				<FormattedText X="242" Y="14" Font="Arial Black" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>USE FS MENU TO LOAD FLIGHT PLAN</String>
				</FormattedText>
			</Element>
			<Element>
				<Visible>(@c:FlightPlanIsActiveFlightPlan)</Visible>
				<Position X="0" Y="128" />
				<FormattedText X="242" Y="14" Font="Arial Black" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>%((@c:FlightPlanTitle))%!s!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; INDEX</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>PERF INIT &gt;</String>
				</FormattedText>
			</Element>
		</Element>
		
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////			
		
		<Element Name="ROUTE ACT RTE VIA PAGE2">
			<Visible>(L:fmcBendixGA_group, number) @ROUTEPageGroup == (L:fmcBendixGA_gROUTE_pag, number) @ROUTE_MAIN &gt; and (L:fmcBendixGA_gROUTE_pag, number) (L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) &lt;= and</Visible>
			<Element>
				<Visible>(@c:FlightPlanIsDirectTo)</Visible>
				<Position X="32" Y="0" />
				<FormattedText X="131" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>ACT  RTE IS DTO</String>
				</FormattedText>
			</Element>
			<Element>
				<Visible>(@c:FlightPlanIsDirectTo) !</Visible>
				<Position X="32" Y="0" />
				<FormattedText X="131" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>%((@c:FlightPlanIsActiveFlightPlan))%{if}%ACT  RTE%{else}%RTE%{end}</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="192" Y="0" />
				<FormattedText X="31" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>%((L:fmcBendixGA_gROUTE_pag, number))%!d! / %((L:fmcBendixGA_gROUTE_numpags, number))%!d!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="16" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>VIA</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="142" Y="16" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>TO</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gROUTE_pag, number) 5 * 10 - (>@c:FlightPlanWaypointIndex))
						%((@c:FlightPlanWaypointIndex) (@c:FlightPlanActiveWaypoint) != (@c:FlightPlanWaypointIdent) slen 0 != and)%{if}%DIRECT%{end}
						%((@c:FlightPlanWaypointIndex) (@c:FlightPlanActiveWaypoint) == (@c:FlightPlanWaypointIdent) slen 0 != and )%{if}%DIRECT%((@c:FlightPlanIsActiveApproach) !)%{if} &lt;%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="28" />
				<FormattedText X="114" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gROUTE_pag, number) 5 * 10 - (>@c:FlightPlanWaypointIndex))
						%((@c:FlightPlanWaypointIdent))%!s! %((L:fmcBendixGA_hold, bool) (@c:FlightPlanWaypointIdent) slen 0 != and)%{if}%&gt;
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gROUTE_pag, number) 5 * 9 - (>@c:FlightPlanWaypointIndex))
						%((@c:FlightPlanWaypointIndex) (@c:FlightPlanActiveWaypoint) != (@c:FlightPlanWaypointIdent) slen 0 != and)%{if}%DIRECT%{end}
						%((@c:FlightPlanWaypointIndex) (@c:FlightPlanActiveWaypoint) == (@c:FlightPlanWaypointIdent) slen 0 != and )%{if}%DIRECT%((@c:FlightPlanIsActiveApproach) !)%{if} &lt;%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="53" />
				<FormattedText X="114" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gROUTE_pag, number) 5 * 9 - (>@c:FlightPlanWaypointIndex))
						%((@c:FlightPlanWaypointIdent))%!s! %((L:fmcBendixGA_hold, bool) (@c:FlightPlanWaypointIdent) slen 0 != and)%{if}%&gt;
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="78" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gROUTE_pag, number) 5 * 8 - (>@c:FlightPlanWaypointIndex))
						%((@c:FlightPlanWaypointIndex) (@c:FlightPlanActiveWaypoint) != (@c:FlightPlanWaypointIdent) slen 0 != and)%{if}%DIRECT%{end}
						%((@c:FlightPlanWaypointIndex) (@c:FlightPlanActiveWaypoint) == (@c:FlightPlanWaypointIdent) slen 0 != and )%{if}%DIRECT%((@c:FlightPlanIsActiveApproach) !)%{if} &lt;%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="78" />
				<FormattedText X="114" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gROUTE_pag, number) 5 * 8 - (>@c:FlightPlanWaypointIndex))
						%((@c:FlightPlanWaypointIdent))%!s! %((L:fmcBendixGA_hold, bool) (@c:FlightPlanWaypointIdent) slen 0 != and)%{if}%&gt;
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="103" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gROUTE_pag, number) 5 * 7 - (>@c:FlightPlanWaypointIndex))
						%((@c:FlightPlanWaypointIndex) (@c:FlightPlanActiveWaypoint) != (@c:FlightPlanWaypointIdent) slen 0 != and)%{if}%DIRECT%{end}
						%((@c:FlightPlanWaypointIndex) (@c:FlightPlanActiveWaypoint) == (@c:FlightPlanWaypointIdent) slen 0 != and )%{if}%DIRECT%((@c:FlightPlanIsActiveApproach) !)%{if} &lt;%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="103" />
				<FormattedText X="114" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gROUTE_pag, number) 5 * 7 - (>@c:FlightPlanWaypointIndex))
						%((@c:FlightPlanWaypointIdent))%!s! %((L:fmcBendixGA_hold, bool) (@c:FlightPlanWaypointIdent) slen 0 != and)%{if}%&gt;
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="128" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gROUTE_pag, number) 5 * 6 - (>@c:FlightPlanWaypointIndex))
						%((@c:FlightPlanWaypointIndex) (@c:FlightPlanActiveWaypoint) != (@c:FlightPlanWaypointIdent) slen 0 != and)%{if}%DIRECT%{end}
						%((@c:FlightPlanWaypointIndex) (@c:FlightPlanActiveWaypoint) == (@c:FlightPlanWaypointIdent) slen 0 != and )%{if}%DIRECT%((@c:FlightPlanIsActiveApproach) !)%{if} &lt;%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="128" />
				<FormattedText X="114" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gROUTE_pag, number) 5 * 6 - (>@c:FlightPlanWaypointIndex))
						%((@c:FlightPlanWaypointIdent))%!s! %((L:fmcBendixGA_hold, bool) (@c:FlightPlanWaypointIdent) slen 0 != and)%{if}%&gt;
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="145" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; INDEX</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>PERF INIT &gt;</String>
				</FormattedText>
			</Element>
		</Element>	
		
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////		
		
		<Element Name="ROUTE ARRIVAL PAGE">
			<Visible>(L:fmcBendixGA_group, number) @ROUTEPageGroup == (L:fmcBendixGA_gROUTE_pag, number) @ROUTE_MAIN &gt; and (L:fmcBendixGA_gROUTE_pag, number) (L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) &gt; and</Visible>
			<Element>
				<Position X="5" Y="0" />
				<FormattedText X="187" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>APPR %((@c:FlightPlanApproachName))%!s!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="192" Y="0" />
				<FormattedText X="31" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>%((L:fmcBendixGA_gROUTE_pag, number))%!d! / %((L:fmcBendixGA_gROUTE_numpags, number))%!d!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="16" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>VIA</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="142" Y="16" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>TO</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gROUTE_pag, number) 1 - (L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) - 5 * (>@c:FlightPlanWaypointApproachIndex))
						%((@c:FlightPlanWaypointApproachName) slen 0 !=)%{if}%DIRECT%((@c:FlightPlanWaypointApproachIndex) (@c:FlightPlanActiveApproachWaypoint) == (@c:FlightPlanIsActiveApproach) and)%{if} &lt;%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="28" />
				<FormattedText X="114" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((L:fmcBendixGA_gROUTE_pag, number) 1 - (L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) - 5 * (>@c:FlightPlanWaypointApproachIndex))
						%((@c:FlightPlanWaypointApproachType))%{case}
								%{:1}%((@c:FlightPlanWaypointApproachName))%!s!
								%{:2}proc. turn
								%{:3}proc. turn
								%{:4}dme arc
								%{:5}dme arc
								%{:6}hold
								%{:7}hold
								%{:8}%((@c:FlightPlanWaypointApproachTarget, nmiles))%!0.1f!\{fnt1}NM
								%{:9}%((@c:FlightPlanWaypointApproachTarget, feet))%!d!\{fnt1}FT
								%{:10}man seq
								%{:11}%((@c:FlightPlanWaypointApproachName))%!s!
							%{end}
						%((L:fmcBendixGA_hold, bool) (@c:FlightPlanWaypointApproachName) slen 0 != and)%{if}% &gt;
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gROUTE_pag, number) 1 - (L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) - 5 * 1 + (>@c:FlightPlanWaypointApproachIndex))
						%((@c:FlightPlanWaypointApproachName) slen 0 !=)%{if}%DIRECT%((@c:FlightPlanWaypointApproachIndex) (@c:FlightPlanActiveApproachWaypoint) == (@c:FlightPlanIsActiveApproach) and)%{if} &lt;%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="53" />
				<FormattedText X="114" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((L:fmcBendixGA_gROUTE_pag, number) 1 - (L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) - 5 * 1 + (>@c:FlightPlanWaypointApproachIndex))
						%((@c:FlightPlanWaypointApproachType))%{case}
								%{:1}%((@c:FlightPlanWaypointApproachName))%!s!
								%{:2}proc. turn
								%{:3}proc. turn
								%{:4}dme arc
								%{:5}dme arc
								%{:6}hold
								%{:7}hold
								%{:8}%((@c:FlightPlanWaypointApproachTarget, nmiles))%!0.1f!\{fnt1}NM
								%{:9}%((@c:FlightPlanWaypointApproachTarget, feet))%!d!\{fnt1}FT
								%{:10}man seq
								%{:11}%((@c:FlightPlanWaypointApproachName))%!s!
							%{end}
						%((L:fmcBendixGA_hold, bool) (@c:FlightPlanWaypointApproachName) slen 0 != and)%{if}% &gt;
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="78" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gROUTE_pag, number) 1 - (L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) - 5 * 2 + (>@c:FlightPlanWaypointApproachIndex))
						%((@c:FlightPlanWaypointApproachName) slen 0 !=)%{if}%DIRECT%((@c:FlightPlanWaypointApproachIndex) (@c:FlightPlanActiveApproachWaypoint) == (@c:FlightPlanIsActiveApproach) and)%{if} &lt;%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="78" />
				<FormattedText X="114" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((L:fmcBendixGA_gROUTE_pag, number) 1 - (L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) - 5 * 2 + (>@c:FlightPlanWaypointApproachIndex))
						%((@c:FlightPlanWaypointApproachType))%{case}
								%{:1}%((@c:FlightPlanWaypointApproachName))%!s!
								%{:2}proc. turn
								%{:3}proc. turn
								%{:4}dme arc
								%{:5}dme arc
								%{:6}hold
								%{:7}hold
								%{:8}%((@c:FlightPlanWaypointApproachTarget, nmiles))%!0.1f!\{fnt1}NM
								%{:9}%((@c:FlightPlanWaypointApproachTarget, feet))%!d!\{fnt1}FT
								%{:10}man seq
								%{:11}%((@c:FlightPlanWaypointApproachName))%!s!
							%{end}
						%((L:fmcBendixGA_hold, bool) (@c:FlightPlanWaypointApproachName) slen 0 != and)%{if}% &gt;
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="103" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gROUTE_pag, number) 1 - (L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) - 5 * 3 + (>@c:FlightPlanWaypointApproachIndex))
						%((@c:FlightPlanWaypointApproachName) slen 0 !=)%{if}%DIRECT%((@c:FlightPlanWaypointApproachIndex) (@c:FlightPlanActiveApproachWaypoint) == (@c:FlightPlanIsActiveApproach) and)%{if} &lt;%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="103" />
				<FormattedText X="114" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((L:fmcBendixGA_gROUTE_pag, number) 1 - (L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) - 5 * 3 + (>@c:FlightPlanWaypointApproachIndex))
						%((@c:FlightPlanWaypointApproachType))%{case}
								%{:1}%((@c:FlightPlanWaypointApproachName))%!s!
								%{:2}proc. turn
								%{:3}proc. turn
								%{:4}dme arc
								%{:5}dme arc
								%{:6}hold
								%{:7}hold
								%{:8}%((@c:FlightPlanWaypointApproachTarget, nmiles))%!0.1f!\{fnt1}NM
								%{:9}%((@c:FlightPlanWaypointApproachTarget, feet))%!d!\{fnt1}FT
								%{:10}man seq
								%{:11}%((@c:FlightPlanWaypointApproachName))%!s!
							%{end}
						%((L:fmcBendixGA_hold, bool) (@c:FlightPlanWaypointApproachName) slen 0 != and)%{if}% &gt;
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="128" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gROUTE_pag, number) 1 - (L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) - 5 * 4 + (>@c:FlightPlanWaypointApproachIndex))
						%((@c:FlightPlanWaypointApproachName) slen 0 !=)%{if}%DIRECT%((@c:FlightPlanWaypointApproachIndex) (@c:FlightPlanActiveApproachWaypoint) == (@c:FlightPlanIsActiveApproach) and)%{if} &lt;%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="128" />
				<FormattedText X="114" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((L:fmcBendixGA_gROUTE_pag, number) 1 - (L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) - 5 * 4 + (>@c:FlightPlanWaypointApproachIndex))
						%((@c:FlightPlanWaypointApproachType))%{case}
								%{:1}%((@c:FlightPlanWaypointApproachName))%!s!
								%{:2}proc. turn
								%{:3}proc. turn
								%{:4}dme arc
								%{:5}dme arc
								%{:6}hold
								%{:7}hold
								%{:8}%((@c:FlightPlanWaypointApproachTarget, nmiles))%!0.1f!\{fnt1}NM
								%{:9}%((@c:FlightPlanWaypointApproachTarget, feet))%!d!\{fnt1}FT
								%{:10}man seq
								%{:11}%((@c:FlightPlanWaypointApproachName))%!s!
							%{end}
						%((L:fmcBendixGA_hold, bool) (@c:FlightPlanWaypointApproachName) slen 0 != and)%{if}% &gt;
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="145" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; INDEX</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>PERF INIT &gt;</String>
				</FormattedText>
			</Element>
		</Element>					
		
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////			
		
		<Element Name="LEGS ACT RTE PAGES">
			<Visible>(L:fmcBendixGA_group, number) @LEGSPageGroup == (L:fmcBendixGA_gLEGS_pag, number) @LEGS &gt;= and (L:fmcBendixGA_gLEGS_pag, number) (L:fmcBendixGA_LEGS_numpags_sinAPPR, number) &lt;= and</Visible>
			<Element>
				<Visible>(@c:FlightPlanIsDirectTo)</Visible>
				<Position X="32" Y="0" />
				<FormattedText X="131" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>LEG IS DTO</String>
				</FormattedText>
			</Element>
			<Element>
				<Visible>(@c:FlightPlanIsDirectTo) !</Visible>
				<Position X="32" Y="0" />
				<FormattedText X="131" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_vnav, bool))%{if}%((@c:FlightPlanIsActiveFlightPlan))%{if}%ACT  RTE  VNAV%{else}%VNAV%{end}%{end}
						%((L:fmcBendixGA_vnav, bool) !)%{if}%((@c:FlightPlanIsActiveFlightPlan))%{if}%ACT  RTE  LEGS%{else}%RTE%{end}%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="192" Y="0" />
				<FormattedText X="31" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>%((L:fmcBendixGA_vnav, bool) !)%{if}%((L:fmcBendixGA_gLEGS_pag, number))%!d! / %((L:fmcBendixGA_gLEGS_numpags, number))%!d!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="192" Y="0" />
				<FormattedText X="31" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>%((L:fmcBendixGA_vnav, bool))%{if}%((L:fmcBendixGA_gLEGS_pag, number))%!d! / %((L:fmcBendixGA_LEGS_numpags_sinAPPR, number))%!d!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="16" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_vnav, bool) !)%{if}
							%((L:fmcBendixGA_gLEGS_pag, number) 5 * 5 - (>@c:FlightPlanWaypointIndex))
							%((@c:FlightPlanWaypointIndex) 0 &gt; (@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointsNumber) &lt; and)%{if}%((@c:FlightPlanWaypointMagneticHeading,degrees) d360)%!03d!&#xB0;
							%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="16" />
				<FormattedText X="121" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>SPD / ALT</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="16" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>%((L:fmcBendixGA_vnav, bool))%{if}%WPT</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="16" />
				<FormattedText X="114" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>%((L:fmcBendixGA_vnav, bool))%{if}%SPD / ALT</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="16" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((L:fmcBendixGA_vnav, bool) !)%{if}
							%((L:fmcBendixGA_gLEGS_pag, number) 5 * 5 - (>@c:FlightPlanWaypointIndex))
							%((@c:FlightPlanWaypointRemainingDistance,nmiles) s0 0 != (@c:FlightPlanWaypointRemainingDistance,nmiles) 10 &gt;= and)%{if}%(l0)%!d! \{fnt1}NM%{end}
							%((@c:FlightPlanWaypointRemainingDistance,nmiles) s0 0 != (@c:FlightPlanWaypointRemainingDistance,nmiles) 10 &lt; and)%{if}%(l0)%!.1f! \{fnt1}NM%{end}
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gLEGS_pag, number) 5 * 5 - (>@c:FlightPlanWaypointIndex))
						%((@c:FlightPlanWaypointIndex) (@c:FlightPlanActiveWaypoint) !=)%{if}%((@c:FlightPlanWaypointIdent))%!s!%{end}
						%((@c:FlightPlanWaypointIndex) (@c:FlightPlanActiveWaypoint) ==)%{if}%((@c:FlightPlanWaypointIdent))%!s!%((@c:FlightPlanIsActiveApproach) !)%{if}% &lt;%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Visible>(@c:FlightPlanWaypointIndex) 0 &gt; (@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointsNumber) 1 - != and</Visible>
				<Position X="128" Y="28" />
				<FormattedText X="114" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_data_entered_1, bool))%{if}%
							%((L:fmcBendixGA_gLEGS_pag, number) 5 * 5 - (>@c:FlightPlanWaypointIndex) @get_altitude_vnav((@c:FlightPlanWaypointIndex)) @get_ias_vnav((@c:FlightPlanWaypointIndex)))
							%((L:fmcBendixGA_ias_vnav, number) 0 &gt;)%{if}%((L:fmcBendixGA_ias_vnav, number))%!03d!% / %{else}- - - / %{end}
							%((L:fmcBendixGA_alt_vnav, number) 0 &gt;)%{if}
									%((L:fmcBendixGA_alt_vnav, number) 18000 &lt;=)%{if}%((L:fmcBendixGA_alt_vnav, number))%!05d!%{else}FL%((L:fmcBendixGA_alt_vnav, number) 100 /)%!03d!%{end}
								%{else}
									- - - - -
								%{end}
						%{else}
							%((@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointsNumber) &lt;)%{if}- - - / - - - - -
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Visible>(@c:FlightPlanWaypointIndex) 0 ==</Visible>
				<Position X="128" Y="28" />
				<FormattedText X="114" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						- - - / %((@c:FlightPlanDepartureAltitude, feet))%!05d!
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Visible>(@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointsNumber) 1 - ==</Visible>
				<Position X="128" Y="28" />
				<FormattedText X="114" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_data_entered_1, bool))%{if}%
							%((L:fmcBendixGA_gLEGS_pag, number) 5 * 5 - (>@c:FlightPlanWaypointIndex) @get_ias_vnav((@c:FlightPlanWaypointIndex)))
							%((L:fmcBendixGA_ias_vnav, number) 0 &gt;)%{if}%((L:fmcBendixGA_ias_vnav, number))%!03d!% / %{else}- - - / %{end}%((@c:FlightPlanDestinationAltitude, feet))%!05d!
						%{else}
							%((@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointsNumber) &lt;)%{if}- - - / %((@c:FlightPlanDestinationAltitude, feet))%!05d!
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="41" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_vnav, bool) !)%{if}
							%((L:fmcBendixGA_gLEGS_pag, number) 5 * 4 - (>@c:FlightPlanWaypointIndex))
							%((@c:FlightPlanWaypointIndex) 0 &gt; (@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointsNumber) &lt; and)%{if}%((@c:FlightPlanWaypointMagneticHeading,degrees) d360)%!03d!&#xB0;
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="41" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						 %((L:fmcBendixGA_vnav, bool) !)%{if}
							%((L:fmcBendixGA_gLEGS_pag, number) 5 * 4 - (>@c:FlightPlanWaypointIndex))
							%((@c:FlightPlanWaypointRemainingDistance,nmiles) s0 0 != (@c:FlightPlanWaypointRemainingDistance,nmiles) 10 &gt;= and)%{if}%(l0)%!d! \{fnt1}NM%{end}
							%((@c:FlightPlanWaypointRemainingDistance,nmiles) s0 0 != (@c:FlightPlanWaypointRemainingDistance,nmiles) 10 &lt; and)%{if}%(l0)%!.1f! \{fnt1}NM%{end}
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gLEGS_pag, number) 5 * 4 - (>@c:FlightPlanWaypointIndex))
						%((@c:FlightPlanWaypointIndex) (@c:FlightPlanActiveWaypoint) !=)%{if}%((@c:FlightPlanWaypointIdent))%!s!%{end}
						%((@c:FlightPlanWaypointIndex) (@c:FlightPlanActiveWaypoint) ==)%{if}%((@c:FlightPlanWaypointIdent))%!s!%((@c:FlightPlanIsActiveApproach) !)%{if}% &lt;%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Visible>(@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointsNumber) 1 - &lt;</Visible>
				<Position X="128" Y="53" />
				<FormattedText X="114" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_data_entered_2, bool))%{if}%
							%((L:fmcBendixGA_gLEGS_pag, number) 5 * 4 - (>@c:FlightPlanWaypointIndex) @get_altitude_vnav((@c:FlightPlanWaypointIndex)) @get_ias_vnav((@c:FlightPlanWaypointIndex)))
							%((L:fmcBendixGA_ias_vnav, number) 0 &gt;)%{if}%((L:fmcBendixGA_ias_vnav, number))%!03d!% / %{else}- - - / %{end}
							%((L:fmcBendixGA_alt_vnav, number) 0 &gt;)%{if}
									%((L:fmcBendixGA_alt_vnav, number) 18000 &lt;=)%{if}%((L:fmcBendixGA_alt_vnav, number))%!05d!%{else}FL%((L:fmcBendixGA_alt_vnav, number) 100 /)%!03d!%{end}
								%{else}
									- - - - -
								%{end}
						%{else}
							%((@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointsNumber) &lt;)%{if}- - - / - - - - -
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Visible>(@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointsNumber) 1 - ==</Visible>
				<Position X="128" Y="53" />
				<FormattedText X="114" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_data_entered_1, bool))%{if}%
							%((L:fmcBendixGA_gLEGS_pag, number) 5 * 4 - (>@c:FlightPlanWaypointIndex) @get_ias_vnav((@c:FlightPlanWaypointIndex)))
							%((L:fmcBendixGA_ias_vnav, number) 0 &gt;)%{if}%((L:fmcBendixGA_ias_vnav, number))%!03d!% / %{else}- - - / %{end}%((@c:FlightPlanDestinationAltitude, feet))%!05d!
						%{else}
							%((@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointsNumber) &lt;)%{if}- - - / %((@c:FlightPlanDestinationAltitude, feet))%!05d!
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="66" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_vnav, bool) !)%{if}
							%((L:fmcBendixGA_gLEGS_pag, number) 5 * 3 - (>@c:FlightPlanWaypointIndex))
							%((@c:FlightPlanWaypointIndex) 0 &gt; (@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointsNumber) &lt; and)%{if}%((@c:FlightPlanWaypointMagneticHeading,degrees) d360)%!03d!&#xB0;
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="66" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((L:fmcBendixGA_vnav, bool) !)%{if}
							%((L:fmcBendixGA_gLEGS_pag, number) 5 * 3 - (>@c:FlightPlanWaypointIndex))
							%((@c:FlightPlanWaypointRemainingDistance,nmiles) s0 0 != (@c:FlightPlanWaypointRemainingDistance,nmiles) 10 &gt;= and)%{if}%(l0)%!d! \{fnt1}NM%{end}
							%((@c:FlightPlanWaypointRemainingDistance,nmiles) s0 0 != (@c:FlightPlanWaypointRemainingDistance,nmiles) 10 &lt; and)%{if}%(l0)%!.1f! \{fnt1}NM%{end}
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="78" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gLEGS_pag, number) 5 * 3 - (>@c:FlightPlanWaypointIndex))
						%((@c:FlightPlanWaypointIndex) (@c:FlightPlanActiveWaypoint) !=)%{if}%((@c:FlightPlanWaypointIdent))%!s!%{end}
						%((@c:FlightPlanWaypointIndex) (@c:FlightPlanActiveWaypoint) ==)%{if}%((@c:FlightPlanWaypointIdent))%!s!%((@c:FlightPlanIsActiveApproach) !)%{if}% &lt;%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Visible>(@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointsNumber) 1 - &lt;</Visible>
				<Position X="128" Y="78" />
				<FormattedText X="114" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_data_entered_3, bool))%{if}%
							%((L:fmcBendixGA_gLEGS_pag, number) 5 * 3 - (>@c:FlightPlanWaypointIndex) @get_altitude_vnav((@c:FlightPlanWaypointIndex)) @get_ias_vnav((@c:FlightPlanWaypointIndex)))
							%((L:fmcBendixGA_ias_vnav, number) 0 &gt;)%{if}%((L:fmcBendixGA_ias_vnav, number))%!03d!% / %{else}- - - / %{end}
							%((L:fmcBendixGA_alt_vnav, number) 0 &gt;)%{if}
									%((L:fmcBendixGA_alt_vnav, number) 18000 &lt;=)%{if}%((L:fmcBendixGA_alt_vnav, number))%!05d!%{else}FL%((L:fmcBendixGA_alt_vnav, number) 100 /)%!03d!%{end}
								%{else}
									- - - - -
								%{end}
						%{else}
							%((@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointsNumber) &lt;)%{if}- - - / - - - - -
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Visible>(@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointsNumber) 1 - ==</Visible>
				<Position X="128" Y="78" />
				<FormattedText X="114" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_data_entered_1, bool))%{if}%
							%((L:fmcBendixGA_gLEGS_pag, number) 5 * 3 - (>@c:FlightPlanWaypointIndex) @get_ias_vnav((@c:FlightPlanWaypointIndex)))
							%((L:fmcBendixGA_ias_vnav, number) 0 &gt;)%{if}%((L:fmcBendixGA_ias_vnav, number))%!03d!% / %{else}- - - / %{end}%((@c:FlightPlanDestinationAltitude, feet))%!05d!
						%{else}
							%((@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointsNumber) &lt;)%{if}- - - / %((@c:FlightPlanDestinationAltitude, feet))%!05d!
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="91" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_vnav, bool) !)%{if}
							%((L:fmcBendixGA_gLEGS_pag, number) 5 * 2 - (>@c:FlightPlanWaypointIndex))
							%((@c:FlightPlanWaypointIndex) 0 &gt; (@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointsNumber) &lt; and)%{if}%((@c:FlightPlanWaypointMagneticHeading,degrees) d360)%!03d!&#xB0;
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="91" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((L:fmcBendixGA_vnav, bool) !)%{if}
							%((L:fmcBendixGA_gLEGS_pag, number) 5 * 2 - (>@c:FlightPlanWaypointIndex))
							%((@c:FlightPlanWaypointRemainingDistance,nmiles) s0 0 != (@c:FlightPlanWaypointRemainingDistance,nmiles) 10 &gt;= and)%{if}%(l0)%!d! \{fnt1}NM%{end}
							%((@c:FlightPlanWaypointRemainingDistance,nmiles) s0 0 != (@c:FlightPlanWaypointRemainingDistance,nmiles) 10 &lt; and)%{if}%(l0)%!.1f! \{fnt1}NM%{end}
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="103" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gLEGS_pag, number) 5 * 2 - (>@c:FlightPlanWaypointIndex))
						%((@c:FlightPlanWaypointIndex) (@c:FlightPlanActiveWaypoint) !=)%{if}%((@c:FlightPlanWaypointIdent))%!s!%{end}
						%((@c:FlightPlanWaypointIndex) (@c:FlightPlanActiveWaypoint) ==)%{if}%((@c:FlightPlanWaypointIdent))%!s!%((@c:FlightPlanIsActiveApproach) !)%{if}% &lt;%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Visible>(@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointsNumber) 1 - &lt;</Visible>
				<Position X="128" Y="103" />
				<FormattedText X="114" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_data_entered_4, bool))%{if}%
							%((L:fmcBendixGA_gLEGS_pag, number) 5 * 2 - (>@c:FlightPlanWaypointIndex) @get_altitude_vnav((@c:FlightPlanWaypointIndex)) @get_ias_vnav((@c:FlightPlanWaypointIndex)))
							%((L:fmcBendixGA_ias_vnav, number) 0 &gt;)%{if}%((L:fmcBendixGA_ias_vnav, number))%!03d!% / %{else}- - - / %{end}
							%((L:fmcBendixGA_alt_vnav, number) 0 &gt;)%{if}
									%((L:fmcBendixGA_alt_vnav, number) 18000 &lt;=)%{if}%((L:fmcBendixGA_alt_vnav, number))%!05d!%{else}FL%((L:fmcBendixGA_alt_vnav, number) 100 /)%!03d!%{end}
								%{else}
									- - - - -
								%{end}
						%{else}
							%((@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointsNumber) &lt;)%{if}- - - / - - - - -
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Visible>(@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointsNumber) 1 - ==</Visible>
				<Position X="128" Y="103" />
				<FormattedText X="114" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_data_entered_1, bool))%{if}%
							%((L:fmcBendixGA_gLEGS_pag, number) 5 * 2 - (>@c:FlightPlanWaypointIndex) @get_ias_vnav((@c:FlightPlanWaypointIndex)))
							%((L:fmcBendixGA_ias_vnav, number) 0 &gt;)%{if}%((L:fmcBendixGA_ias_vnav, number))%!03d!% / %{else}- - - / %{end}%((@c:FlightPlanDestinationAltitude, feet))%!05d!
						%{else}
							%((@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointsNumber) &lt;)%{if}- - - / %((@c:FlightPlanDestinationAltitude, feet))%!05d!
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="116" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_vnav, bool) !)%{if}	
							%((L:fmcBendixGA_gLEGS_pag, number) 5 * 1 - (>@c:FlightPlanWaypointIndex))
							%((@c:FlightPlanWaypointIndex) 0 &gt; (@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointsNumber) &lt; and)%{if}%((@c:FlightPlanWaypointMagneticHeading,degrees) d360)%!03d!&#xB0;
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="116" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((L:fmcBendixGA_vnav, bool) !)%{if}
							%((L:fmcBendixGA_gLEGS_pag, number) 5 * 1 - (>@c:FlightPlanWaypointIndex))
							%((@c:FlightPlanWaypointRemainingDistance,nmiles) s0 0 != (@c:FlightPlanWaypointRemainingDistance,nmiles) 10 &gt;= and)%{if}%(l0)%!d! \{fnt1}NM%{end}
							%((@c:FlightPlanWaypointRemainingDistance,nmiles) s0 0 != (@c:FlightPlanWaypointRemainingDistance,nmiles) 10 &lt; and)%{if}%(l0)%!.1f! \{fnt1}NM%{end}
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="128" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gLEGS_pag, number) 5 * 1 - (>@c:FlightPlanWaypointIndex))
						%((@c:FlightPlanWaypointIndex) (@c:FlightPlanActiveWaypoint) !=)%{if}%((@c:FlightPlanWaypointIdent))%!s!%{end}
						%((@c:FlightPlanWaypointIndex) (@c:FlightPlanActiveWaypoint) ==)%{if}%((@c:FlightPlanWaypointIdent))%!s!%((@c:FlightPlanIsActiveApproach) !)%{if}% &lt;%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Visible>(@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointsNumber) 1 - &lt;</Visible>
				<Position X="128" Y="128" />
				<FormattedText X="114" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_data_entered_5, bool))%{if}%
							%((L:fmcBendixGA_gLEGS_pag, number) 5 * 1 - (>@c:FlightPlanWaypointIndex) @get_altitude_vnav((@c:FlightPlanWaypointIndex)) @get_ias_vnav((@c:FlightPlanWaypointIndex)))
							%((L:fmcBendixGA_ias_vnav, number) 0 &gt;)%{if}%((L:fmcBendixGA_ias_vnav, number))%!03d!% / %{else}- - - / %{end}
							%((L:fmcBendixGA_alt_vnav, number) 0 &gt;)%{if}
									%((L:fmcBendixGA_alt_vnav, number) 18000 &lt;=)%{if}%((L:fmcBendixGA_alt_vnav, number))%!05d!%{else}FL%((L:fmcBendixGA_alt_vnav, number) 100 /)%!03d!%{end}
								%{else}
									- - - - -
								%{end}
						%{else}
							%((@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointsNumber) &lt;)%{if}- - - / - - - - -
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Visible>(@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointsNumber) 1 - ==</Visible>
				<Position X="128" Y="128" />
				<FormattedText X="114" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_data_entered_1, bool))%{if}%
							%((L:fmcBendixGA_gLEGS_pag, number) 5 * 1 - (>@c:FlightPlanWaypointIndex) @get_ias_vnav((@c:FlightPlanWaypointIndex)))
							%((L:fmcBendixGA_ias_vnav, number) 0 &gt;)%{if}%((L:fmcBendixGA_ias_vnav, number))%!03d!% / %{else}- - - / %{end}%((@c:FlightPlanDestinationAltitude, feet))%!05d!
						%{else}
							%((@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointsNumber) &lt;)%{if}- - - / %((@c:FlightPlanDestinationAltitude, feet))%!05d!
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="145" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; INDEX</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>%((L:fmcBendixGA_vnav_active, bool))%{if}VNAV OFF &gt;%{else}ACTIVATE &gt;</String>
				</FormattedText>
			</Element>
		</Element>
		
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////		
		
		<Element Name="LEGS ARRIVAL PAGE">
			<Visible>(L:fmcBendixGA_group, number) @LEGSPageGroup == (L:fmcBendixGA_gLEGS_pag, number) @LEGS &gt; and (L:fmcBendixGA_gLEGS_pag, number) (L:fmcBendixGA_LEGS_numpags_sinAPPR, number) &gt; and (L:fmcBendixGA_vnav, bool) ! and</Visible>
			<Element>
				<Position X="5" Y="0" />
				<FormattedText X="187" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>APPR %((@c:FlightPlanApproachName))%!s!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="192" Y="0" />
				<FormattedText X="31" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>%((L:fmcBendixGA_gLEGS_pag, number))%!d! / %((L:fmcBendixGA_gLEGS_numpags, number))%!d!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="16" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gLEGS_pag, number) 1 - (L:fmcBendixGA_LEGS_numpags_sinAPPR, number) - 5 * (>@c:FlightPlanWaypointApproachIndex))
						%((@c:FlightPlanWaypointApproachIndex) 0 &gt;= (@c:FlightPlanWaypointApproachIndex) (@c:FlightPlanApproachWaypointsNumber) &lt; and)%{if}%((@c:FlightPlanWaypointApproachCourse,degrees) d360)%!03d!&#xB0;
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="16" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((L:fmcBendixGA_gLEGS_pag, number) 1 - (L:fmcBendixGA_LEGS_numpags_sinAPPR, number) - 5 * (>@c:FlightPlanWaypointApproachIndex))
						%((@c:FlightPlanWaypointApproachRemainingDistance,nmiles) s0 0 !=)%{if}%(l0)%!d! \{fnt1}NM%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((L:fmcBendixGA_gLEGS_pag, number) 1 - (L:fmcBendixGA_LEGS_numpags_sinAPPR, number) - 5 * (>@c:FlightPlanWaypointApproachIndex))
						
						%((@c:FlightPlanWaypointApproachType))%{case}
								%{:1}%((@c:FlightPlanWaypointApproachName))%!s!%((@c:FlightPlanWaypointApproachIndex) (@c:FlightPlanActiveApproachWaypoint) == (@c:FlightPlanIsActiveApproach) and)%{if} &lt;%{end}
								%{:2}proc. turn
								%{:3}proc. turn
								%{:4}dme arc
								%{:5}dme arc
								%{:6}hold
								%{:7}hold
								%{:8}%((@c:FlightPlanWaypointApproachTarget, nmiles))%!0.1f!\{fnt1}NM
								%{:9}%((@c:FlightPlanWaypointApproachTarget, feet))%!d!\{fnt1}FT
								%{:10}man seq
								%{:11}%((@c:FlightPlanWaypointApproachName))%!s!%((@c:FlightPlanWaypointApproachIndex) (@c:FlightPlanActiveApproachWaypoint) == (@c:FlightPlanIsActiveApproach) and)%{if} &lt;%{end}
							%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="41" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gLEGS_pag, number) 1 - (L:fmcBendixGA_LEGS_numpags_sinAPPR, number) - 5 * 1 + (>@c:FlightPlanWaypointApproachIndex))
						%((@c:FlightPlanWaypointApproachIndex) 0 &gt;= (@c:FlightPlanWaypointApproachIndex) (@c:FlightPlanApproachWaypointsNumber) &lt; and)%{if}%((@c:FlightPlanWaypointApproachCourse,degrees) d360)%!03d!&#xB0;
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="41" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((L:fmcBendixGA_gLEGS_pag, number) 1 - (L:fmcBendixGA_LEGS_numpags_sinAPPR, number) - 5 * 1 + (>@c:FlightPlanWaypointApproachIndex))
						%((@c:FlightPlanWaypointApproachRemainingDistance,nmiles) s0 0 !=)%{if}%(l0)%!d! \{fnt1}NM%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((L:fmcBendixGA_gLEGS_pag, number) 1 - (L:fmcBendixGA_LEGS_numpags_sinAPPR, number) - 5 * 1 + (>@c:FlightPlanWaypointApproachIndex))
						
						%((@c:FlightPlanWaypointApproachType))%{case}
								%{:1}%((@c:FlightPlanWaypointApproachName))%!s!%((@c:FlightPlanWaypointApproachIndex) (@c:FlightPlanActiveApproachWaypoint) == (@c:FlightPlanIsActiveApproach) and)%{if} &lt;%{end}
								%{:2}proc. turn
								%{:3}proc. turn
								%{:4}dme arc
								%{:5}dme arc
								%{:6}hold
								%{:7}hold
								%{:8}%((@c:FlightPlanWaypointApproachTarget, nmiles))%!0.1f!\{fnt1}NM
								%{:9}%((@c:FlightPlanWaypointApproachTarget, feet))%!d!\{fnt1}FT
								%{:10}man seq
								%{:11}%((@c:FlightPlanWaypointApproachName))%!s!%((@c:FlightPlanWaypointApproachIndex) (@c:FlightPlanActiveApproachWaypoint) == (@c:FlightPlanIsActiveApproach) and)%{if} &lt;%{end}
							%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="66" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gLEGS_pag, number) 1 - (L:fmcBendixGA_LEGS_numpags_sinAPPR, number) - 5 * 2 + (>@c:FlightPlanWaypointApproachIndex))
						%((@c:FlightPlanWaypointApproachIndex) 0 &gt;= (@c:FlightPlanWaypointApproachIndex) (@c:FlightPlanApproachWaypointsNumber) &lt; and)%{if}%((@c:FlightPlanWaypointApproachCourse,degrees) d360)%!03d!&#xB0;
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="66" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((L:fmcBendixGA_gLEGS_pag, number) 1 - (L:fmcBendixGA_LEGS_numpags_sinAPPR, number) - 5 * 2 + (>@c:FlightPlanWaypointApproachIndex))
						%((@c:FlightPlanWaypointApproachRemainingDistance,nmiles) s0 0 !=)%{if}%(l0)%!d! \{fnt1}NM%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="78" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((L:fmcBendixGA_gLEGS_pag, number) 1 - (L:fmcBendixGA_LEGS_numpags_sinAPPR, number) - 5 * 2 + (>@c:FlightPlanWaypointApproachIndex))
						
						%((@c:FlightPlanWaypointApproachType))%{case}
								%{:1}%((@c:FlightPlanWaypointApproachName))%!s!%((@c:FlightPlanWaypointApproachIndex) (@c:FlightPlanActiveApproachWaypoint) == (@c:FlightPlanIsActiveApproach) and)%{if} &lt;%{end}
								%{:2}proc. turn
								%{:3}proc. turn
								%{:4}dme arc
								%{:5}dme arc
								%{:6}hold
								%{:7}hold
								%{:8}%((@c:FlightPlanWaypointApproachTarget, nmiles))%!0.1f!\{fnt1}NM
								%{:9}%((@c:FlightPlanWaypointApproachTarget, feet))%!d!\{fnt1}FT
								%{:10}man seq
								%{:11}%((@c:FlightPlanWaypointApproachName))%!s!%((@c:FlightPlanWaypointApproachIndex) (@c:FlightPlanActiveApproachWaypoint) == (@c:FlightPlanIsActiveApproach) and)%{if} &lt;%{end}
							%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="91" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gLEGS_pag, number) 1 - (L:fmcBendixGA_LEGS_numpags_sinAPPR, number) - 5 * 3 + (>@c:FlightPlanWaypointApproachIndex))
						%((@c:FlightPlanWaypointApproachIndex) 0 &gt;= (@c:FlightPlanWaypointApproachIndex) (@c:FlightPlanApproachWaypointsNumber) &lt; and)%{if}%((@c:FlightPlanWaypointApproachCourse,degrees) d360)%!03d!&#xB0;
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="91" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((L:fmcBendixGA_gLEGS_pag, number) 1 - (L:fmcBendixGA_LEGS_numpags_sinAPPR, number) - 5 * 3 + (>@c:FlightPlanWaypointApproachIndex))
						%((@c:FlightPlanWaypointApproachRemainingDistance,nmiles) s0 0 !=)%{if}%(l0)%!d! \{fnt1}NM%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="103" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((L:fmcBendixGA_gLEGS_pag, number) 1 - (L:fmcBendixGA_LEGS_numpags_sinAPPR, number) - 5 * 3 + (>@c:FlightPlanWaypointApproachIndex))
						
						%((@c:FlightPlanWaypointApproachType))%{case}
								%{:1}%((@c:FlightPlanWaypointApproachName))%!s!%((@c:FlightPlanWaypointApproachIndex) (@c:FlightPlanActiveApproachWaypoint) == (@c:FlightPlanIsActiveApproach) and)%{if} &lt;%{end}
								%{:2}proc. turn
								%{:3}proc. turn
								%{:4}dme arc
								%{:5}dme arc
								%{:6}hold
								%{:7}hold
								%{:8}%((@c:FlightPlanWaypointApproachTarget, nmiles))%!0.1f!\{fnt1}NM
								%{:9}%((@c:FlightPlanWaypointApproachTarget, feet))%!d!\{fnt1}FT
								%{:10}man seq
								%{:11}%((@c:FlightPlanWaypointApproachName))%!s!%((@c:FlightPlanWaypointApproachIndex) (@c:FlightPlanActiveApproachWaypoint) == (@c:FlightPlanIsActiveApproach) and)%{if} &lt;%{end}
							%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="116" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_gLEGS_pag, number) 1 - (L:fmcBendixGA_LEGS_numpags_sinAPPR, number) - 5 * 4 + (>@c:FlightPlanWaypointApproachIndex))
						%((@c:FlightPlanWaypointApproachIndex) 0 &gt;= (@c:FlightPlanWaypointApproachIndex) (@c:FlightPlanApproachWaypointsNumber) &lt; and)%{if}%((@c:FlightPlanWaypointApproachCourse,degrees) d360)%!03d!&#xB0;
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="116" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((L:fmcBendixGA_gLEGS_pag, number) 1 - (L:fmcBendixGA_LEGS_numpags_sinAPPR, number) - 5 * 4 + (>@c:FlightPlanWaypointApproachIndex))
						%((@c:FlightPlanWaypointApproachRemainingDistance,nmiles) s0 0 !=)%{if}%(l0)%!d! \{fnt1}NM%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="128" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((L:fmcBendixGA_gLEGS_pag, number) 1 - (L:fmcBendixGA_LEGS_numpags_sinAPPR, number) - 5 * 4 + (>@c:FlightPlanWaypointApproachIndex))
						
						%((@c:FlightPlanWaypointApproachType))%{case}
								%{:1}%((@c:FlightPlanWaypointApproachName))%!s!%((@c:FlightPlanWaypointApproachIndex) (@c:FlightPlanActiveApproachWaypoint) == (@c:FlightPlanIsActiveApproach) and)%{if} &lt;%{end}
								%{:2}proc. turn
								%{:3}proc. turn
								%{:4}dme arc
								%{:5}dme arc
								%{:6}hold
								%{:7}hold
								%{:8}%((@c:FlightPlanWaypointApproachTarget, nmiles))%!0.1f!\{fnt1}NM
								%{:9}%((@c:FlightPlanWaypointApproachTarget, feet))%!d!\{fnt1}FT
								%{:10}man seq
								%{:11}%((@c:FlightPlanWaypointApproachName))%!s!%((@c:FlightPlanWaypointApproachIndex) (@c:FlightPlanActiveApproachWaypoint) == (@c:FlightPlanIsActiveApproach) and)%{if} &lt;%{end}
							%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="145" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; INDEX</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>PERF INIT &gt;</String>
				</FormattedText>
			</Element>
		</Element>
		
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////			
		
		<Element Name="PROGRESS_1 APROACH NOT ACTIVATED PAGE">
			<Visible>(L:fmcBendixGA_group, number) @PROGRESSPageGroup == (L:fmcBendixGA_gPROGRESS_pag, number) @PROGRESS_1 == and (@c:FlightPlanIsActiveApproach) ! and</Visible>
			<Element>
				<Position X="0" Y="0" />
				<FormattedText X="243" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>
						%((@c:FlightPlanIsDirectTo) !)%{if}PROGRESS%{else}PROGRESS DTO%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="192" Y="0" />
				<FormattedText X="31" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>1 / 2</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="5" Y="16" />
				<FormattedText X="233" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes"
					Tabs="5L,104R,124L,228R">
					<String>%((@c:FlightPlanIsDirectTo) !)%{if}LAST\tALT\tATA\tFUEL</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="243" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes"
					Tabs="0L,109R,129L,238R">
					<String>
						%((@c:FlightPlanIsActiveFlightPlan))%{if}%((A:GPS WP PREV ID, string))%!s!%{end}
						\t
						%((@c:FlightPlanIsDirectTo) ! (@c:FlightPlanIsActiveFlightPlan) and)%{if}
							%((L:fmcBendixGA_ALT_LASTWPT, number))%!d!
							\t
							%((L:fmcBendixGA_HOUR_LASTWPT, number))%!02d!%((L:fmcBendixGA_MINUTE_LASTWPT, number))%!02d!z    
							\t
							%((L:fmcBendixGA_FUEL_LASTWPT, number))%!.1f!
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="5" Y="41" />
				<FormattedText X="233" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes"
					Tabs="5L,104R,124L,228R">
					<String>TO\tDTG\tETA</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="243" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes"
					Tabs="0L,109R,129L,238R">
					<String>
						%((@c:FlightPlanIsActiveFlightPlan))%{if}
							%((A:GPS IS APPROACH ACTIVE), bool)%{if}
								%((A:GPS APPROACH WP TYPE), enum)%{case}
									%{:2}proc. turn
									%{:3}proc. turn
									%{:6}hold
									%{:7}hold
									%{:8}%((A:GPS TARGET DISTANCE, nmiles))%!0.1f!\{fnt1}NM
									%{:9}%((A:GPS TARGET ALTITUDE, feet))%!d!\{fnt1}FT
									%{:10}man seq
									%{else}%((A:GPS WP NEXT ID, string))%!s!
								%{end}
							%{else}
								%((A:GPS WP NEXT ID, string))%!s!
							%{end}
							\t
							%((A:GPS WP DISTANCE, nmiles) s0 0 != (A:GPS WP DISTANCE, nmiles) 10 &gt;= and)%{if}%(l0)%!d!%{end}
							%((A:GPS WP DISTANCE, nmiles) s0 0 != (A:GPS WP DISTANCE, nmiles) 10 &lt; and)%{if}%(l0)%!.1f!%{end}
							%((A:SIM ON GROUND, bool) !)%{if}%
								%((A:GPS FLIGHT PLAN WP INDEX, number) (>@c:FlightPlanWaypointIndex))
								%((@c:FlightPlanWaypointETA, hours) (@c:FlightPlanWaypointTimeZoneDeviation, hours) - flr 24 % (>L:fmcBendixGA_ETA_WPTH, number))
								\t
								%((L:fmcBendixGA_ETA_WPTH, number))%!02d!%((@c:FlightPlanWaypointETA, minutes) flr 60 %)%!02d!z
								\t
								%((L:fmcBendixGA_FUELFLOW_TOTAL, number) (A:GPS WP ETE, hours) * (>L:fmcBendixGA_CONSUMO_TOWPT, number))
								%((A:FUEL TOTAL QUANTITY WEIGHT, pounds) (L:fmcBendixGA_CONSUMO_TOWPT, number) - 1000 / (>L:fmcBendixGA_RESTANTE_TOWPT, number))
								%((L:fmcBendixGA_RESTANTE_TOWPT, number) s0 0 &gt;)%{if}%(l0)%!.1f!%{else}0%{end}
							%{end}
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="66" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>%((@c:FlightPlanIsDirectTo) !)%{if}NEXT</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="78" />
				<FormattedText X="243" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes"
					Tabs="0L,109R,129L,238R">
					<String>
						%((@c:FlightPlanIsDirectTo) ! (@c:FlightPlanIsActiveFlightPlan) and)%{if}
							%((A:GPS FLIGHT PLAN WP INDEX, number) 1 + (>@c:FlightPlanWaypointIndex))
							%((@c:FlightPlanWaypointIdent))%!s!
							\t
							%((A:GPS FLIGHT PLAN WP INDEX, number) (>@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointRemainingTotalDistance,nmiles) (>L:fmcBendixGA_dist_TOWPT, number))
							%((A:GPS FLIGHT PLAN WP INDEX, number) 1 + (>@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointDistance,nmiles) (>L:fmcBendixGA_dist_nextleg, number))
							%((L:fmcBendixGA_dist_TOWPT, number) (L:fmcBendixGA_dist_nextleg, number) + (>L:fmcBendixGA_dist_total, number))
							%((L:fmcBendixGA_dist_total, number) s0 0 != (L:fmcBendixGA_dist_total, number) 10 &gt;= and)%{if}%(l0)%!d!%{end}
							%((L:fmcBendixGA_dist_total, number) s0 0 != (L:fmcBendixGA_dist_total, number) 10 &lt; and)%{if}%(l0)%!.1f!%{end}
							\t
							%((A:SIM ON GROUND, bool) !)%{if}
								%((A:GPS FLIGHT PLAN WP INDEX, number) 1 + (>@c:FlightPlanWaypointIndex))
								%((@c:FlightPlanWaypointETA, hours) (@c:FlightPlanWaypointTimeZoneDeviation, hours) - flr 24 % (>L:fmcBendixGA_ETA_WPTAFTERH, number))
								%((L:fmcBendixGA_ETA_WPTAFTERH, number))%!02d!%((@c:FlightPlanWaypointETA, minutes) flr 60 %)%!02d!\{fnt1}z
								%((A:GPS FLIGHT PLAN WP INDEX, number) (>@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointEstimatedTimeRemaining, hours) (>L:fmcBendixGA_hours_TOWPT, number))
								%((A:GPS FLIGHT PLAN WP INDEX, number) 1 + (>@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointETE, hours) (>L:fmcBendixGA_hours_nextleg, number))
								%((L:fmcBendixGA_hours_TOWPT, number) (L:fmcBendixGA_hours_nextleg, number) + (>L:fmcBendixGA_hours_total, number))
								%((L:fmcBendixGA_FUELFLOW_TOTAL, number) (L:fmcBendixGA_hours_total, number) * (>L:fmcBendixGA_CONSUMO_NEXTWPT, number))
								%((A:FUEL TOTAL QUANTITY WEIGHT, pounds) (L:fmcBendixGA_CONSUMO_NEXTWPT, number) - 1000 / (>L:fmcBendixGA_RESTANTE_NEXTWPT, number))
								\t
								%((L:fmcBendixGA_RESTANTE_NEXTWPT, number) s0 0 &gt;)%{if}%(l0)%!.1f!%{else}0%{end}
							%{end}
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="91" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>%((@c:FlightPlanIsDirectTo) !)%{if}DEST</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="103" />
				<FormattedText X="243" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes"
					Tabs="0L,109R,129L,238R">
					<String>
						%((@c:FlightPlanIsDirectTo) ! (@c:FlightPlanIsActiveFlightPlan) and)%{if}
							%((@c:FlightPlanDestinationAirportIdent))%!s!
							\t
							%((@c:FlightPlanWaypointsNumber) 1 - (>@c:FlightPlanWaypointIndex))
							%((@c:FlightPlanWaypointRemainingTotalDistance,nmiles) s0 0 != (@c:FlightPlanWaypointRemainingTotalDistance,nmiles) 10 &gt;= and)%{if}%(l0)%!d!%{end}
							%((@c:FlightPlanWaypointRemainingTotalDistance,nmiles) s0 0 != (@c:FlightPlanWaypointRemainingTotalDistance,nmiles) 10 &lt; and)%{if}%(l0)%!.1f!%{end}
							\t
							%((A:SIM ON GROUND, bool) !)%{if}
								%((@c:FlightPlanWaypointETA, hours) (@c:FlightPlanWaypointTimeZoneDeviation, hours) - flr 24 % (>L:fmcBendixGA_ETA_WPTDESTH, number))
								%((L:fmcBendixGA_ETA_WPTDESTH, number))%!02d!%((@c:FlightPlanWaypointETA, minutes) flr 60 %)%!02d!z
								%((L:fmcBendixGA_FUELFLOW_TOTAL, number) (A:GPS ETE, hours) * (>L:fmcBendixGA_CONSUMO_DESTWPT, number))
								%((A:FUEL TOTAL QUANTITY WEIGHT, pounds) (L:fmcBendixGA_CONSUMO_DESTWPT, number) - 1000 / (>L:fmcBendixGA_RESTANTE_DESTWPT, number))
								\t
								%((L:fmcBendixGA_RESTANTE_DESTWPT, number) s0 0 &gt;)%{if}%(l0)%!.1f!%{else}0%{end}
							%{end}
						%{end}
						</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="116" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>WIND</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="128" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((A:AMBIENT WIND DIRECTION, degrees))%!3.0f!&#xB0; / %((A:AMBIENT WIND VELOCITY, knots))%!d!
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="145" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; INDEX</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>POS REF &gt;</String>
				</FormattedText>
			</Element>
		</Element>
		
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////		
		
		<Element Name="PROGRESS_1 APROACH ACTIVATED PAGE">
			<Visible>(L:fmcBendixGA_group, number) @PROGRESSPageGroup == (L:fmcBendixGA_gPROGRESS_pag, number) @PROGRESS_1 == and (@c:FlightPlanIsActiveApproach) and</Visible>
			<Element>
				<Position X="0" Y="0" />
				<FormattedText X="243" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>PROGRESS</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="192" Y="0" />
				<FormattedText X="31" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>1 / 2</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="5" Y="16" />
				<FormattedText X="233" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes"
					Tabs="5L,104R,124L,228R">
					<String>LAST\tALT\tATA\tFUEL</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="243" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes"
					Tabs="0L,109R,129L,238R">
					<String>
						%((A:GPS WP PREV ID, string))%!s!\t
						%((L:fmcBendixGA_ALT_LASTWPT, number))%!d!\t
						%((L:fmcBendixGA_HOUR_LASTWPT, number))%!02d!%((L:fmcBendixGA_MINUTE_LASTWPT, number))%!02d!\{fnt1}z\t
						%((L:fmcBendixGA_FUEL_LASTWPT, number))%!.1f!
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="5" Y="41" />
				<FormattedText X="233" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes"
					Tabs="5L,104R,124L,228R">
					<String>TO\tDTG\tETA</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="243" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes"
					Tabs="0L,109R,129L,238R">
					<Font FontSize="10" />
					<String>
						%((A:GPS APPROACH WP INDEX, number) (>@c:FlightPlanWaypointApproachIndex))
						%((@c:FlightPlanWaypointApproachType))%{case}
								%{:1}%((@c:FlightPlanWaypointApproachName))%!s!
								%{:2}proc. turn
								%{:3}proc. turn
								%{:4}dme arc
								%{:5}dme arc
								%{:6}hold
								%{:7}hold
								%{:8}%((@c:FlightPlanWaypointApproachTarget, nmiles))%!0.1f!\{fnt1}NM
								%{:9}%((@c:FlightPlanWaypointApproachTarget, feet))%!d!\{fnt1}FT
								%{:10}man seq
								%{:11}%((@c:FlightPlanWaypointApproachName))%!s!
						%{end}
						\t
						%((@c:FlightPlanWaypointApproachRemainingTotalDistance,nmiles) s0 0 != (@c:FlightPlanWaypointApproachRemainingTotalDistance,nmiles) 10 &gt;= and)%{if}%(l0)%!d!%{end}
						%((@c:FlightPlanWaypointApproachRemainingTotalDistance,nmiles) s0 0 != (@c:FlightPlanWaypointApproachRemainingTotalDistance,nmiles) 10 &lt; and)%{if}%(l0)%!.1f!%{end}
						%((A:SIM ON GROUND, bool) !)%{if}%
							%((@c:FlightPlanWaypointApproachRemainingTotalDistance,nmiles) (A:GPS GROUND SPEED, knots) / (>L:fmcBendixGA_ETA_WPTH1, number))
							%((L:fmcBendixGA_ETA_WPTH1, number) 60 * (>L:fmcBendixGA_ETA_WPTM, number))
							%((P:ZULU TIME, hours) (L:fmcBendixGA_ETA_WPTH1, number) + flr 24 % (>L:fmcBendixGA_ETA_WPTH, number))
							%((P:ZULU TIME, minutes) (L:fmcBendixGA_ETA_WPTM, number) + (>L:fmcBendixGA_ETA_WPTM, number))
							\t
							%((L:fmcBendixGA_ETA_WPTH, number))%!02d!%((L:fmcBendixGA_ETA_WPTM, number) flr 60 %)%!02d!z
							\t
							%((L:fmcBendixGA_FUELFLOW_TOTAL, number) (L:fmcBendixGA_ETA_WPTH1, number) * (>L:fmcBendixGA_CONSUMO_TOWPT, number))
							%((A:FUEL TOTAL QUANTITY WEIGHT, pounds) (L:fmcBendixGA_CONSUMO_TOWPT, number) - 1000 / (>L:fmcBendixGA_RESTANTE_TOWPT, number))
							%((L:fmcBendixGA_RESTANTE_TOWPT, number) s0 0 &gt;)%{if}%(l0)%!.1f!%{else}0%{end}
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="66" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>NEXT</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="78" />
				<FormattedText X="243" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes"
					Tabs="0L,109R,129L,238R">
					<String>
						%((A:GPS APPROACH WP INDEX, number) 1 + (>@c:FlightPlanWaypointApproachIndex))
						%((@c:FlightPlanWaypointApproachType))%{case}
								%{:1}%((@c:FlightPlanWaypointApproachName))%!s!
								%{:2}proc. turn
								%{:3}proc. turn
								%{:4}dme arc
								%{:5}dme arc
								%{:6}hold
								%{:7}hold
								%{:8}%((@c:FlightPlanWaypointApproachTarget, nmiles))%!0.1f!\{fnt1}NM
								%{:9}%((@c:FlightPlanWaypointApproachTarget, feet))%!d!\{fnt1}FT
								%{:10}man seq
								%{:11}%((@c:FlightPlanWaypointApproachName))%!s!
						%{end}
						\t						
						%((@c:FlightPlanWaypointApproachRemainingTotalDistance,nmiles) s0 0 != (@c:FlightPlanWaypointApproachRemainingTotalDistance,nmiles) 10 &gt;= and)%{if}%(l0)%!d!%{end}
						%((@c:FlightPlanWaypointApproachRemainingTotalDistance,nmiles) s0 0 != (@c:FlightPlanWaypointApproachRemainingTotalDistance,nmiles) 10 &lt; and)%{if}%(l0)%!.1f!%{end}
						%((A:SIM ON GROUND, bool) !)%{if}
							%((@c:FlightPlanWaypointApproachRemainingTotalDistance,nmiles) (A:GPS GROUND SPEED, knots) / (>L:fmcBendixGA_ETA_WPTAFTERH1, number))
							%((L:fmcBendixGA_ETA_WPTAFTERH1, number) 60 * (>L:fmcBendixGA_ETA_WPTAFTERM, number))
							%((P:ZULU TIME, hours) (L:fmcBendixGA_ETA_WPTAFTERH1, number) + flr 24 % (>L:fmcBendixGA_ETA_WPTAFTERH, number))
							%((P:ZULU TIME, minutes) (L:fmcBendixGA_ETA_WPTAFTERM, number) + (>L:fmcBendixGA_ETA_WPTAFTERM, number))
							\t
							%((L:fmcBendixGA_ETA_WPTAFTERH, number))%!02d!%((L:fmcBendixGA_ETA_WPTAFTERM, number) flr 60 %)%!02d!z
							\t
							%((L:fmcBendixGA_FUELFLOW_TOTAL, number) (L:fmcBendixGA_ETA_WPTAFTERH1, number) * (>L:fmcBendixGA_CONSUMO_NEXTWPT, number))
							%((A:FUEL TOTAL QUANTITY WEIGHT, pounds) (L:fmcBendixGA_CONSUMO_NEXTWPT, number) - 1000 / (>L:fmcBendixGA_RESTANTE_NEXTWPT, number))
							%((L:fmcBendixGA_RESTANTE_NEXTWPT, number) s0 0 &gt;)%{if}%(l0)%!.1f!%{else}0%{end}
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="5" Y="91" />
				<FormattedText X="233" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes"
					Tabs="5L,104R,124L,228R">
					<String>\tDEST\tETA</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="103" />
				<FormattedText X="243" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes"
					Tabs="0L,109R,129L,238R">
					<String>
						\t
						%((@c:FlightPlanDestinationAirportIdent))%!s!
						\t
						%((A:SIM ON GROUND, bool) !)%{if}
							%((@c:FlightPlanWaypointsNumber) 1 - (>@c:FlightPlanWaypointIndex))
							%((@c:FlightPlanWaypointETA, hours) (@c:FlightPlanWaypointTimeZoneDeviation, hours) - flr 24 % (>L:fmcBendixGA_ETA_WPTDESTH, number))
							%((L:fmcBendixGA_ETA_WPTDESTH, number))%!02d!%((@c:FlightPlanWaypointETA, minutes) flr 60 %)%!02d!z
							%((L:fmcBendixGA_FUELFLOW_TOTAL, number) (A:GPS ETE, hours) * (>L:fmcBendixGA_CONSUMO_DESTWPT, number))
							%((A:FUEL TOTAL QUANTITY WEIGHT, pounds) (L:fmcBendixGA_CONSUMO_DESTWPT, number) - 1000 / (>L:fmcBendixGA_RESTANTE_DESTWPT, number))
							\t
							%((L:fmcBendixGA_RESTANTE_DESTWPT, number) s0 0 &gt;)%{if}%(l0)%!.1f!%{else}0%{end}
						%{end}
						</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="116" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>WIND</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="128" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((A:AMBIENT WIND DIRECTION, degrees))%!3.0f!&#xB0; / %((A:AMBIENT WIND VELOCITY, knots))%!d!
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="145" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; INDEX</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>POS REF &gt;</String>
				</FormattedText>
			</Element>
		</Element>
		
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////			
		
		<Element Name="PROGRESS_2 PAGE">
			<Visible>(L:fmcBendixGA_group, number) @PROGRESSPageGroup == (L:fmcBendixGA_gPROGRESS_pag, number) @PROGRESS_2 == and</Visible>
			<Element>
				<Position X="0" Y="0" />
				<FormattedText X="243" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>PROGRESS</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="192" Y="0" />
				<FormattedText X="31" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>2 / 2</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="16" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((A:AIRCRAFT WIND Z, knots) 0 &lt;=)
						%{if}
							T / WIND
						%{else}
							H / WIND
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="16" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>WIND</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="16" />
				<FormattedText X="114" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>X / WIND</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>%((A:AIRCRAFT WIND Z, knots) abs)%!d! \{fnt1}KT</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>
						%((A:AMBIENT WIND DIRECTION, degrees))%!3.0f!&#xB0; / %((A:AMBIENT WIND VELOCITY, knots))%!d!
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="28" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>%((A:AIRCRAFT WIND X, knots) abs)%!d! \{fnt1}KT</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="41" />
				<FormattedText X="121" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>XTK  ERROR</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="41" />
				<FormattedText X="121" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>VTK  DEV</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((@c:FlightPlanIsActiveFlightPlan))%{if}%((A:GPS WP CROSS TRK, nmiles) s1 abs d s0 100 >=)%{if}%!d!%{else}%(l0 10 >=)%{if}%!.1f!%{else}%!.2f!%{end}%{end} \{fnt1}NM%(l1 100 * near s0 0 >)%{if} \{fnt}>%{else}%(l0 0 &lt;)%{if} \{fnt}&lt;%{end}%{end}%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="53" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((@c:FlightPlanIsActiveFlightPlan))%{if}
							%((A:AUTOPILOT ALTITUDE LOCK VAR, feet) (A:Indicated Altitude, feet) - (>L:fmcBendixGA_vtk_dev, number))
							%((L:fmcBendixGA_vtk_dev, number) near 0 &gt;)%{if}%-%((L:fmcBendixGA_vtk_dev, number) near abs)%!d! \{fnt1}FT%{end}
							%((L:fmcBendixGA_vtk_dev, number) near 0 &lt;)%{if}%+%((L:fmcBendixGA_vtk_dev, number) near abs)%!d! \{fnt1}FT%{end}
							%((L:fmcBendixGA_vtk_dev, number) near 0 ==)%{if}%((L:fmcBendixGA_vtk_dev, number) near abs)%!d! \{fnt1}FT%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="66" />
				<FormattedText X="121" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>TAS</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="66" />
				<FormattedText X="121" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>SAT</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="78" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>%((A:AIRSPEED TRUE, knots))%!d! \{fnt1}KT</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="78" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((A:AMBIENT TEMPERATURE, celsius) 0 &lt;)%{if}%- %((A:AMBIENT TEMPERATURE, celsius) abs)%!.0f!&#xB0;C%{end}
						%((A:AMBIENT TEMPERATURE, celsius) 0 &gt;=)%{if}%+ %((A:AMBIENT TEMPERATURE, celsius) abs)%!.0f!&#xB0;C%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="91" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>FUEL QTY</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="103" />
				<FormattedText X="121" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>TOTALIZER</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="103" />
				<FormattedText X="121" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>CALCULATED</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="120" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>%((A:FUEL TOTAL QUANTITY WEIGHT, pounds) 1000 / )%!.1f!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="120" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>%((A:FUEL TOTAL QUANTITY WEIGHT, pounds) 1000 / 0.998 *)%!.1f!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="145" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; INDEX</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>POS REF &gt;</String>
				</FormattedText>
			</Element>
		</Element>
		
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////			
		
		<Element Name="NAV STATUS PAGE">
			<Visible>(L:fmcBendixGA_group, number) @NAVSTATUSPageGroup ==</Visible>
			<Element>
				<Position X="32" Y="0" />
				<FormattedText X="120" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>NAV STATUS</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="192" Y="0" />
				<FormattedText X="31" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>1 / 1</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="16" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((A:NAV1 HAS NAV, bool) (A:NAV1 HAS LOCALIZER, bool) and)%{if}%ILS - L%{else}%VOR - L%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="16" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((A:NAV2 HAS NAV, bool) (A:NAV2 HAS LOCALIZER, bool) and)%{if}%ILS - R%{else}%VOR - R%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>%((A:NAV1 ident, string))%!s!  %((A:NAV1 ACTIVE FREQUENCY, MHz))%!6.2f! \{fnt1}M</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="28" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>%((A:NAV2 ident, string))%!s!  %((A:NAV2 ACTIVE FREQUENCY, MHz))%!6.2f! \{fnt1}M</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="41" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>DME - L</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="41" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>DME - R</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((A:Nav1 has DME, bool) (A:NAV1 DME, nmiles) s1 0 &gt;= and)%{if}
							%((A:NAV1 ident, string))%!s!   %((A:Nav1 DME, nmiles))%!.1f!
							%{else}- - - %{end} \{fnt1}NM
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="53" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((A:Nav2 has DME, bool) (A:NAV2 DME, nmiles) s1 0 &gt;= and)%{if}
							%((A:NAV2 ident, string))%!s!   %((A:Nav2 DME, nmiles))%!.1f!
							%{else}- - - %{end} \{fnt1}NM
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="145" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; INDEX</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>POS SHIFT &gt;</String>
				</FormattedText>
			</Element>
		</Element>						

;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////	
	
		<Element Name="DEP-ARRIVAL INDEX PAGE">
			<Visible>(L:fmcBendixGA_group, number) @DEPARRIVALPageGroup == (L:fmcBendixGA_gDEPARRIVAL_pag, number) @DEPARRIndex == and</Visible>
			<Element>
				<Position X="0" Y="0" />
				<FormattedText X="243" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>DEP / ARR  INDEX</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="192" Y="0" />
				<FormattedText X="31" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>1 / 1</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="16" />
				<FormattedText X="243" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>RTE  1</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="243" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="%((@c:FlightPlanIsActiveFlightPlan) if{ 0x80FF00 } els{ 0x51653D })"
					Bright="Yes">
					<String>%((@c:FlightPlanIsActiveFlightPlan))%{if}%((@c:FlightPlanDepartureAirportIdent))%!s!%{else}%- - - -%{end}</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#3d6551" Bright="Yes">
					<String>&lt; DEP</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="28" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#3d6551" Bright="Yes">
					<String>ARR &gt;</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="243" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="%((@c:FlightPlanIsActiveFlightPlan) if{ 0x80FF00 } els{ 0x51653D })"
					Bright="Yes">
					<String>%((@c:FlightPlanIsActiveFlightPlan))%{if}%((@c:FlightPlanDestinationAirportIdent))%!s!%{else}%- - - -%{end}</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="53" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="%((@c:FlightPlanIsActiveFlightPlan) if{ 0x80FF00 } els{ 0x51653D })"
					Bright="Yes">
					<String>ARR &gt;</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="145" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; INDEX</String>
				</FormattedText>
			</Element>
		</Element>
		
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////	

		<Element Name="DEP-ARRIVAL AIRPORT ARRIVALS PAGE">
			<Visible>(L:fmcBendixGA_group, number) @DEPARRIVALPageGroup == (L:fmcBendixGA_gDEPARRIVAL_pag, number) @DEPARRSelect == and</Visible>
			<Element>
				<Position X="0" Y="0" />
				<FormattedText X="243" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>%((@c:FlightPlanIsActiveFlightPlan))%{if}%((@c:FlightPlanDestinationAirportIdent))%!s!%{else}%- - - -%{end} ARRIVALS</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="192" Y="0" />
				<FormattedText X="31" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>%((L:fmcBendixGA_DEPARRSelect_pag, number))%!d! / %((L:fmcBendixGA_DEPARRSelect_numpags, number))%!d!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="16" />
				<FormattedText X="243" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>RTE  1</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="16" />
				<FormattedText X="115" Y="14" Font="Arial" FontSize="12" Adjust="Left" Color="#3d6551" Bright="Yes">
					<String>STARS</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="16" />
				<FormattedText X="114" Y="14" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>APPROACHES</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="28" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((L:fmcBendixGA_DEPARRSelect_pag, number) 1 - 5 * (>@c:WaypointAirportCurrentApproach))
						%((@c:WaypointAirportApproachName))%!s!%((@c:WaypointAirportApproachGps))%{if}\{fnt1}GPS%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="53" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((L:fmcBendixGA_DEPARRSelect_pag, number) 1 - 5 * 1 + (>@c:WaypointAirportCurrentApproach))
						%((@c:WaypointAirportApproachName))%!s!%((@c:WaypointAirportApproachGps))%{if}\{dpl=GPS}%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="78" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_DEPARRSelect_pag, number) 1 - 5 * 2 + (>@c:WaypointAirportCurrentApproach))
						%((@c:WaypointAirportApproachName))%!s!%((@c:WaypointAirportApproachGps))%{if}\{fnt1}GPS%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="103" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((L:fmcBendixGA_DEPARRSelect_pag, number) 1 - 5 * 3 + (>@c:WaypointAirportCurrentApproach))
						%((@c:WaypointAirportApproachName))%!s!%((@c:WaypointAirportApproachGps))%{if}\{fnt1}GPS%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="128" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((L:fmcBendixGA_DEPARRSelect_pag, number) 1 - 5 * 4 + (>@c:WaypointAirportCurrentApproach))
						%((@c:WaypointAirportApproachName))%!s!%((@c:WaypointAirportApproachGps))%{if}\{fnt1}GPS%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="145" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; INDEX</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>ROUTE &gt;</String>
				</FormattedText>
			</Element>
		</Element>		

;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////	

		<Element Name="DEP-ARRIVAL AIRPORT ARRIVALS PAGE">
			<Visible>(L:fmcBendixGA_group, number) @DEPARRIVALPageGroup == (L:fmcBendixGA_gDEPARRIVAL_pag, number) @DEPARRSelect == and</Visible>
			<Element>
				<Position X="0" Y="0" />
				<FormattedText X="243" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>%((@c:FlightPlanIsActiveFlightPlan))%{if}%((@c:FlightPlanDestinationAirportIdent))%!s!%{else}%- - - -%{end} ARRIVALS</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="192" Y="0" />
				<FormattedText X="31" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>%((L:fmcBendixGA_DEPARRSelect_pag, number))%!d! / %((L:fmcBendixGA_DEPARRSelect_numpags, number))%!d!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="16" />
				<FormattedText X="243" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>RTE  1</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="16" />
				<FormattedText X="115" Y="14" Font="Arial" FontSize="12" Adjust="Left" Color="#3d6551" Bright="Yes">
					<String>STARS</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="16" />
				<FormattedText X="114" Y="14" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>APPROACHES</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="28" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((L:fmcBendixGA_DEPARRSelect_pag, number) 1 - 5 * (>@c:WaypointAirportCurrentApproach))
						%((@c:WaypointAirportApproachName))%!s!%((@c:WaypointAirportApproachGps))%{if}\{fnt1}GPS%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="53" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((L:fmcBendixGA_DEPARRSelect_pag, number) 1 - 5 * 1 + (>@c:WaypointAirportCurrentApproach))
						%((@c:WaypointAirportApproachName))%!s!%((@c:WaypointAirportApproachGps))%{if}\{dpl=GPS}%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="78" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_DEPARRSelect_pag, number) 1 - 5 * 2 + (>@c:WaypointAirportCurrentApproach))
						%((@c:WaypointAirportApproachName))%!s!%((@c:WaypointAirportApproachGps))%{if}\{fnt1}GPS%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="103" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((L:fmcBendixGA_DEPARRSelect_pag, number) 1 - 5 * 3 + (>@c:WaypointAirportCurrentApproach))
						%((@c:WaypointAirportApproachName))%!s!%((@c:WaypointAirportApproachGps))%{if}\{fnt1}GPS%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="128" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((L:fmcBendixGA_DEPARRSelect_pag, number) 1 - 5 * 4 + (>@c:WaypointAirportCurrentApproach))
						%((@c:WaypointAirportApproachName))%!s!%((@c:WaypointAirportApproachGps))%{if}\{fnt1}GPS%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="145" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; INDEX</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>ROUTE &gt;</String>
				</FormattedText>
			</Element>
		</Element>

;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////	
	
		<Element Name="ARRIVAL and TRANS_SELECTED PAGE">
			<Visible>(L:fmcBendixGA_group, number) @DEPARRIVALPageGroup == (L:fmcBendixGA_gDEPARRIVAL_pag, number) @DEPARRSelected == and</Visible>
			<Element>
				<Position X="0" Y="0" />
				<FormattedText X="243" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>%((@c:FlightPlanIsActiveFlightPlan))%{if}%((@c:FlightPlanDestinationAirportIdent))%!s!%{else}%- - - -%{end} ARRIVALS</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="192" Y="0" />
				<FormattedText X="31" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>%((L:fmcBendixGA_DEPARRSelect_pag, number))%!d! / %((L:fmcBendixGA_DEPARRSelect_numpags, number))%!d!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="16" />
				<FormattedText X="243" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>RTE  1</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="16" />
				<FormattedText X="114" Y="14" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>APPROACHES</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="100" Y="28" />
				<FormattedText X="142" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>
						%((@g:currentAirportApproach) (>@c:WaypointAirportCurrentApproach))
						&lt;SEL&gt;%((@c:WaypointAirportApproachName))%!s!%((@c:WaypointAirportApproachGps))%{if}\{fnt1}GPS%{end}%
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="41" />
				<FormattedText X="114" Y="14" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>TRANS</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="53" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%(0 (>@c:WaypointAirportApproachCurrentTransition))
						%((L:fmcBendixGA_TRANS_2_selected, bool) !)%{if}%((@c:WaypointAirportApproachTransitionName))%!s!%{else}&lt;SEL&gt;%((@c:WaypointAirportApproachTransitionName))%!s!%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="78" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%(1 (>@c:WaypointAirportApproachCurrentTransition))
						%((L:fmcBendixGA_TRANS_3_selected, bool) !)%{if}%((@c:WaypointAirportApproachTransitionName))%!s!%{else}&lt;SEL&gt;%((@c:WaypointAirportApproachTransitionName))%!s!%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="103" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%(2 (>@c:WaypointAirportApproachCurrentTransition))
						%((L:fmcBendixGA_TRANS_4_selected, bool) !)%{if}%((@c:WaypointAirportApproachTransitionName))%!s!%{else}&lt;SEL&gt;%((@c:WaypointAirportApproachTransitionName))%!s!%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="103" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_TRANS_2_readytoload, bool) (L:fmcBendixGA_TRANS_3_readytoload, bool) (L:fmcBendixGA_TRANS_4_readytoload, bool) (L:fmcBendixGA_TRANS_5_readytoload, bool) || || ||)%{if}
						&lt;LOAD
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="128" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%(4 (>@c:WaypointAirportApproachCurrentTransition))
						%((L:fmcBendixGA_TRANS_5_selected, bool) !)%{if}%((@c:WaypointAirportApproachTransitionName))%!s!%{else}&lt;SEL&gt;%((@c:WaypointAirportApproachTransitionName))%!s!%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="128" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_TRANS_2_readytoactivated, bool) (L:fmcBendixGA_TRANS_3_readytoactivated, bool) (L:fmcBendixGA_TRANS_4_readytoactivated, bool) (L:fmcBendixGA_TRANS_5_readytoactivated, bool) || || ||)%{if}
						&lt;ACTIVATE
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="145" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; INDEX</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>ROUTE &gt;</String>
				</FormattedText>
			</Element>
		</Element>
		
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////	
	
		<Element Name="NAV RAD PAGE">
			<Visible>(L:fmcBendixGA_group, number) @NAVRADPageGroup == (L:fmcBendixGA_FMCCOMM, number) 1 == ||</Visible>
			<Element>
				<Position X="0" Y="0" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>NAV RADIO</String>
				</FormattedText>
			</Element>
			<Element>
				<Visible>(L:fmcBendixGA_FMCCOMM, number) 1 ==</Visible>
				<Position X="180" Y="0" />
				<FormattedText X="43" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>1 / 2</String>
				</FormattedText>
			</Element>
			<Element>
				<Visible>(L:fmcBendixGA_FMCCOMM, number) 1 !=</Visible>
				<Position X="180" Y="0" />
				<FormattedText X="43" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>1 / 1</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="16" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%(0 (>@c:NearestVorCurrentLine))%((@c:NearestVorCurrentType))%{case}%{:1}VOR - L%{:2}VORDME - L%{:3}DME - L%{:4}TACAN - L%{:5}VORTAC - L%{:6}ILS - L%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="16" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%(1 (>@c:NearestVorCurrentLine))%((@c:NearestVorCurrentType))%{case}%{:1}VOR - R%{:2}VORDME - R%{:3}DME - R%{:4}TACAN - R%{:5}VORTAC - R%{:6}ILS - R%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />(0 (>@c:NearestVorCurrentLine))%((@c:NearestVorCurrentIdent))%!s!
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<Font FontSize="12" />
					<String>%(0 (>@c:NearestVorCurrentLine))&lt; %((@c:NearestVorCurrentIdent))%!s!  %((@c:NearestVorCurrentFrequency, MHz) 100 * near d 100 div)%!03d!.\{fnt1}%(100 %)%!02d! A</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="28" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="12" />
					<String>%(1 (>@c:NearestVorCurrentLine))%((@c:NearestVorCurrentIdent))%!s!  %((@c:NearestVorCurrentFrequency, MHz) 100 * near d 100 div)%!03d!.\{fnt1}%(100 %)%!02d! A \{fnt}&gt;</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="41" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>CRS</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="41" />
				<FormattedText X="232" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>RADIAL</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="41" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>CRS</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<Font FontSize="12" />
					<String>%(0 (>@c:NearestVorCurrentLine))%((@c:NearestVorCurrentTrueBearing, degrees) (A:GPS MAGVAR, degrees) - d360)%!03d!&#xB0;</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="53" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="12" />
					<String>%(1 (>@c:NearestVorCurrentLine))%((@c:NearestVorCurrentTrueBearing, degrees) (A:GPS MAGVAR, degrees) - d360)%!03d!&#xB0;</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="66" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>DIS</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="66" />
				<FormattedText X="232" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>DISTANCE</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="66" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>DIS</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="78" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<Font FontSize="12" />
					<String>%(0 (>@c:NearestVorCurrentLine))%((@c:NearestVorCurrentDistance, nmiles))%!.1f! \{fnt1}NM</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="78" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="12" />
					<String>%(1 (>@c:NearestVorCurrentLine))%((@c:NearestVorCurrentDistance, nmiles))%!.1f! \{fnt1}NM</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="116" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>ADF - L</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="116" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>ADF - R</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="128" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<Font FontSize="12" />
					<String>%(0 (>@c:NearestNdbCurrentLine))&lt; %((@c:NearestNdbCurrentIdent))%!s!  %((@c:NearestNdbCurrentFrequency, KHz) 10 * near d 10 div)%!03d!.\{fnt1}%(10 %)%!01d! A</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="78" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<!--String>%((A:Adf2 ident, string))%!s!  %((A:Adf2 active frequency, KHz))%!06.1f! \{fnt1}M</String-->
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="145" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; INDEX</String>
				</FormattedText>
			</Element>
		</Element>
		
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////	
	
		<Element Name="ATC PAGE">
			<Visible>(L:fmcBendixGA_group, number) @ATCPageGroup == (L:fmcBendixGA_FMCCOMM, number) 2 == ||</Visible>
			<Element>
				<Position X="0" Y="0" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>COM RADIO</String>
				</FormattedText>
			</Element>
			<Element>
				<Visible>(L:fmcBendixGA_FMCCOMM, number) 2 ==</Visible>
				<Position X="180" Y="0" />
				<FormattedText X="43" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>2 / 2</String>
				</FormattedText>
			</Element>
			<Element>
				<Visible>(L:fmcBendixGA_FMCCOMM, number) 2 !=</Visible>
				<Position X="180" Y="0" />
				<FormattedText X="43" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>1 / 1</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="16" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>COM 1</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="16" />
				<FormattedText X="100" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>COM 2</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>%((A:COM1 ACTIVE FREQUENCY, MHz))%!6.2f!%</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="28" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>%((A:COM2 ACTIVE FREQUENCY, MHz))%!6.2f!%</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="66" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>XPNDR</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="78" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((@g:xpdrNumDigits) 0 == 
						if{
							(A:TRANSPONDER1 CODE, BCO16) 
						}
						els{
							(@g:xpdrTemp)
						}
						sp0
						l0 12 &gt;&gt; 15 &amp; )%!d!
						%( l0 8 &gt;&gt; 15 &amp; )%!d!
						%( l0 4 &gt;&gt; 15 &amp; )%!d!
						%( l0 15 &amp;  )%!d!\{nr}%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="145" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; INDEX</String>
				</FormattedText>
			</Element>
		</Element>
		
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////	
	
		<Element Name="FIX PAGE">
			<Visible>(L:fmcBendixGA_group, number) @FIXPageGroup ==</Visible>
			<Element>
				<Position X="0" Y="0" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>DTO INFO</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="180" Y="0" />
				<FormattedText X="43" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>1 / 1</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="16" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>IDENT</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="16" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>RAD / DIS TO</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="128" Y="16" />
				<FormattedText X="114" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>CLASS</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>%((@g:blinkingField) 5 ==)%{if}%((@c:FacilityIdent))%!s!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="28" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>%((@g:blinkingField) 5 ==)%{if}%('AWNVM' (@c:IcaoSearchCurrentIcaoType) ord schr)%{case}%{:0}AIRPORT%{:1}INT%{:2}NDB%{:3}VOR%{:4}MARKER%{end}%{end}</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>
						%((@c:FacilityValid) (@g:blinkingField) 5 == and)
						%{if}
							%(
								(A:GPS POSITION LAT, degrees) (>@c:GeoCalcLatitude1, degrees) (A:GPS POSITION LON, degrees) (>@c:GeoCalcLongitude1, degrees) 
								(@c:FacilityLatitude, degrees) (>@c:GeoCalcLatitude2, degrees) (@c:FacilityLongitude, degrees) (>@c:GeoCalcLongitude2, degrees) 
								(@c:GeoCalcBearing, degrees) (A:GPS MAGVAR, degrees) - d360
							)%!03d!&#xB0; / 
							%(
								(A:GPS POSITION LAT, degrees) (>@c:GeoCalcLatitude1, degrees) (A:GPS POSITION LON, degrees) (>@c:GeoCalcLongitude1, degrees) 
								(@c:FacilityLatitude, degrees) (>@c:GeoCalcLatitude2, degrees) (@c:FacilityLongitude, degrees) (>@c:GeoCalcLongitude2, degrees) 
								(@c:GeoCalcDistance, nautical miles) 
							)%!d!
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="41" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>RAD / DIS</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="41" />
				<FormattedText X="121" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>REGION</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((@c:FacilityValid) (@g:blinkingField) 5 == and)
						%{if}
							%(
								(A:GPS POSITION LAT, degrees) (>@c:GeoCalcLatitude1, degrees) (A:GPS POSITION LON, degrees) (>@c:GeoCalcLongitude1, degrees) 
								(@c:FacilityLatitude, degrees) (>@c:GeoCalcLatitude2, degrees) (@c:FacilityLongitude, degrees) (>@c:GeoCalcLongitude2, degrees) 
								(@c:GeoCalcBearing, degrees) (A:GPS MAGVAR, degrees) - d360
							)%!03d!&#xB0; / 
							%(
								(A:GPS POSITION LAT, degrees) (>@c:GeoCalcLatitude1, degrees) (A:GPS POSITION LON, degrees) (>@c:GeoCalcLongitude1, degrees) 
								(@c:FacilityLatitude, degrees) (>@c:GeoCalcLatitude2, degrees) (@c:FacilityLongitude, degrees) (>@c:GeoCalcLongitude2, degrees) 
								(@c:GeoCalcDistance, nautical miles) 
							)%!d!
						%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="53" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>%((@g:blinkingField) 5 ==)%{if}%((@c:FacilityRegion))%!s!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="66" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>FACILITY</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="78" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>%((@g:blinkingField) 5 ==)%{if}%((@c:FacilityName) uc)%!s!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="91" />
				<FormattedText X="115" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>CITY</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="103" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<Font FontSize="10" />
					<String>%((@g:blinkingField) 5 ==)%{if}%((@c:FacilityCity) uc)%!s!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="128" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>%((L:fmcBendixGA_not_in_database, bool))%{if}NOT IN DATABASE</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="145" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; INDEX</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>ACTIVATE &gt;</String>
				</FormattedText>
			</Element>
		</Element>
		
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////			
		
		<Element Name="SELECT WPT PAGE">
			<Visible>(L:fmcBendixGA_group, number) @DUPLICATEDWPTSPageGroup == </Visible>
			<Element>
				<Position X="32" Y="0" />
				<FormattedText X="160" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>SELECT DESIRED WPT</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="192" Y="0" />
				<FormattedText X="31" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>%((L:fmcBendixGA_gDUPLICATEDWPTS_pag, number) 1 +)%!d! / %((L:fmcBendixGA_gDUPLICATEDWPTS_numpags, number))%!d!</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="10" Y="16" />
				<FormattedText X="232" Y="12" Font="Arial" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>IDENT</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="16" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>TYPE</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="16" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>REGION</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_group, number) @DUPLICATEDWPTSPageGroup ==)%{if}
							%((L:fmcBendixGA_gDUPLICATEDWPTS_pag, number) 5 * (>@c:IcaoSearchMatchedIcao))
							%((L:fmcBendixGA_gDUPLICATEDWPTS_pag, number) 5 * (@c:IcaoSearchMatchedIcaosNumber) &lt;)%{if}&lt; %((@c:IcaoSearchCurrentIdent))%!s!
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_group, number) @DUPLICATEDWPTSPageGroup ==)%{if}
							%((L:fmcBendixGA_gDUPLICATEDWPTS_pag, number) 5 * (>@c:IcaoSearchMatchedIcao))
							%('AWNVM' (@c:IcaoSearchCurrentIcaoType) ord schr)%{case}%{:0}AIRPORT%{:1}INTERSEC%{:2}NDB%{:3}VOR%{:4}MARKER%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="28" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_group, number) @DUPLICATEDWPTSPageGroup ==)%{if}
							%((L:fmcBendixGA_gDUPLICATEDWPTS_pag, number) 5 * (>@c:IcaoSearchMatchedIcao))
							%((@c:IcaoSearchCurrentIcaoRegion))%!s!
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_group, number) @DUPLICATEDWPTSPageGroup ==)%{if}
							%((L:fmcBendixGA_gDUPLICATEDWPTS_pag, number) 5 * 1 + (>@c:IcaoSearchMatchedIcao))
							%((L:fmcBendixGA_gDUPLICATEDWPTS_pag, number) 5 * 1 + (@c:IcaoSearchMatchedIcaosNumber) &lt;)%{if}&lt; %((@c:IcaoSearchCurrentIdent))%!s!
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_group, number) @DUPLICATEDWPTSPageGroup ==)%{if}
							%((L:fmcBendixGA_gDUPLICATEDWPTS_pag, number) 5 * 1 + (>@c:IcaoSearchMatchedIcao))
							%('AWNVM' (@c:IcaoSearchCurrentIcaoType) ord schr)%{case}%{:0}AIRPORT%{:1}INTERSEC%{:2}NDB%{:3}VOR%{:4}MARKER%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="53" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_group, number) @DUPLICATEDWPTSPageGroup ==)%{if}
							%((L:fmcBendixGA_gDUPLICATEDWPTS_pag, number) 5 * 1 + (>@c:IcaoSearchMatchedIcao))
							%((@c:IcaoSearchCurrentIcaoRegion))%!s!
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="78" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_group, number) @DUPLICATEDWPTSPageGroup ==)%{if}
							%((L:fmcBendixGA_gDUPLICATEDWPTS_pag, number) 5 * 2 + (>@c:IcaoSearchMatchedIcao))
							%((L:fmcBendixGA_gDUPLICATEDWPTS_pag, number) 5 * 2 + (@c:IcaoSearchMatchedIcaosNumber) &lt;)%{if}&lt; %((@c:IcaoSearchCurrentIdent))%!s!
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="78" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_group, number) @DUPLICATEDWPTSPageGroup ==)%{if}
							%((L:fmcBendixGA_gDUPLICATEDWPTS_pag, number) 5 * 2 + (>@c:IcaoSearchMatchedIcao))
							%('AWNVM' (@c:IcaoSearchCurrentIcaoType) ord schr)%{case}%{:0}AIRPORT%{:1}INTERSEC%{:2}NDB%{:3}VOR%{:4}MARKER%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="78" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_group, number) @DUPLICATEDWPTSPageGroup ==)%{if}
							%((L:fmcBendixGA_gDUPLICATEDWPTS_pag, number) 5 * 2 + (>@c:IcaoSearchMatchedIcao))
							%((@c:IcaoSearchCurrentIcaoRegion))%!s!
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="103" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_group, number) @DUPLICATEDWPTSPageGroup ==)%{if}
							%((L:fmcBendixGA_gDUPLICATEDWPTS_pag, number) 5 * 3 + (>@c:IcaoSearchMatchedIcao))
							%((L:fmcBendixGA_gDUPLICATEDWPTS_pag, number) 5 * 3 + (@c:IcaoSearchMatchedIcaosNumber) &lt;)%{if}&lt; %((@c:IcaoSearchCurrentIdent))%!s!
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="103" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_group, number) @DUPLICATEDWPTSPageGroup ==)%{if}
							%((L:fmcBendixGA_gDUPLICATEDWPTS_pag, number) 5 * 3 + (>@c:IcaoSearchMatchedIcao))
							%('AWNVM' (@c:IcaoSearchCurrentIcaoType) ord schr)%{case}%{:0}AIRPORT%{:1}INTERSEC%{:2}NDB%{:3}VOR%{:4}MARKER%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="103" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_group, number) @DUPLICATEDWPTSPageGroup ==)%{if}
							%((L:fmcBendixGA_gDUPLICATEDWPTS_pag, number) 5 * 3 + (>@c:IcaoSearchMatchedIcao))
							%((@c:IcaoSearchCurrentIcaoRegion))%!s!
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="128" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_group, number) @DUPLICATEDWPTSPageGroup ==)%{if}
							%((L:fmcBendixGA_gDUPLICATEDWPTS_pag, number) 5 * 4 + (>@c:IcaoSearchMatchedIcao))
							%((L:fmcBendixGA_gDUPLICATEDWPTS_pag, number) 5 * 4 + (@c:IcaoSearchMatchedIcaosNumber) &lt;)%{if}&lt; %((@c:IcaoSearchCurrentIdent))%!s!
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="128" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_group, number) @DUPLICATEDWPTSPageGroup ==)%{if}
							%((L:fmcBendixGA_gDUPLICATEDWPTS_pag, number) 5 * 4 + (>@c:IcaoSearchMatchedIcao))
							%('AWNVM' (@c:IcaoSearchCurrentIcaoType) ord schr)%{case}%{:0}AIRPORT%{:1}INTERSEC%{:2}NDB%{:3}VOR%{:4}MARKER%{end}
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="128" />
				<FormattedText X="242" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>
						%((L:fmcBendixGA_group, number) @DUPLICATEDWPTSPageGroup ==)%{if}
							%((L:fmcBendixGA_gDUPLICATEDWPTS_pag, number) 5 * 4 + (>@c:IcaoSearchMatchedIcao))
							%((@c:IcaoSearchCurrentIcaoRegion))%!s!
					</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="145" />
				<FormattedText X="242" Y="12" Font="Arial" FontSize="12" Adjust="Center" Color="#00ff80" Bright="Yes">
					<String>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="0" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
					<String>&lt; INDEX</String>
				</FormattedText>
			</Element>
			<Element>
				<Position X="121" Y="158" />
				<FormattedText X="121" Y="14" Font="Arial" FontSize="14" Adjust="Right" Color="#00ff80" Bright="Yes">
					<String>RETURN &gt;</String>
				</FormattedText>
			</Element>
		</Element>								
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////	
		
		<Element Name="DATA ENTRY LINE">
			<Visible>(L:fmcBendixGA_enterdata, bool)</Visible>
			<Position X="0" Y="173" />
			<FormattedText X="243" Y="14" Font="Arial Bold" FontSize="14" Adjust="Left" Color="#00ff80" Bright="Yes">
				<String> 
					%((L:fmcBendixGA_group, number) @ROUTEPageGroup == (L:fmcBendixGA_gROUTE_pag, number) @ROUTE_MAIN &gt; and (L:fmcBendixGA_hold, bool) and)%{if}
							%((L:fmcBendixGA_gROUTE_pag, number) (L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) &lt;=)%{if}
								%((L:fmcBendixGA_fpl_index, number) (>@c:FlightPlanWaypointIndex))
								%((@c:FlightPlanWaypointIdent))%!s!
							%{end}
							%((L:fmcBendixGA_gROUTE_pag, number) (L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) &gt;)%{if}
								%((L:fmcBendixGA_fplappr_index, number) (>@c:FlightPlanWaypointApproachIndex))
								%((@c:FlightPlanWaypointApproachName))%!s!
							%{end}
						%{end}
					%((L:fmcBendixGA_group, number) @FIXPageGroup ==)%{if}
							%((@g:enteringInput) 31 == )
							%{if}
								%((@c:IcaoSearchCurrentIdent) slen sp1 0 sp0)
								%{loop}
									%((@c:IcaoSearchCursorPosition) l0 ==)%{if}\{blnk}%{end}%((@c:IcaoSearchCurrentIdent) l0 symb d slen 0 == if{ p '  ' })%!s!\{nr}
									%(l0 ++ s0 l1 &lt;=)
								%{next}
							%{else}
								%((@g:blinkingField) 1 ==)%{if}\{blnk}%{end}%((@c:FacilityIdent) d slen 0 ==)%{if}_ _ _ _ _%{else}%!s!%{end}\{nr}
							%{end}
						%{end}
					%((L:fmcBendixGA_group, number) @NAVDATAPageGroup == (L:fmcBendixGA_gNAVDATA, number) @NAVDATA_APT == and)%{if}
							%((@g:enteringInput) 10 ==)
							%{if}
								%((@c:IcaoSearchCurrentIdent) slen sp1 0 sp0)
								%{loop}
									%((@c:IcaoSearchCursorPosition) l0 ==)%{if}\{blnk}%{end}%((@c:IcaoSearchCurrentIdent) l0 symb d slen 0 == if{ p '  ' })%!s!\{nr}
									%(l0 ++ s0 l1 &lt;=)
								%{next}
							%{else}
								%((@g:blinkingField) 1 ==)%{if}\{blnk}%{end}%((@c:WaypointAirportIdent) d slen 0 ==)%{if}_ _ _ _%{else}%!s!%{end}\{nr}
							%{end}
						%{end}
					%((L:fmcBendixGA_group, number) @NAVDATAPageGroup == (L:fmcBendixGA_gNAVDATA, number) @NAVDATA_INT == and)%{if}
							%((@g:enteringInput) 11 ==)
							%{if}
								%((@c:IcaoSearchCurrentIdent) slen sp1 0 sp0)
								%{loop}
									%((@c:IcaoSearchCursorPosition) l0 ==)%{if}\{blnk}%{end}%((@c:IcaoSearchCurrentIdent) l0 symb d slen 0 == if{ p '  ' })%!s!\{nr}
									%(l0 ++ s0 l1 &lt;=)
								%{next}
							%{else}
								%((@g:blinkingField) 1 ==)%{if}\{blnk}%{end}%((@c:WaypointIntersectionIdent) d slen 0 ==)%{if}_ _ _ _%{else}%!s!%{end}\{nr}
							%{end}
						%{end}
					%((L:fmcBendixGA_group, number) @NAVDATAPageGroup == (L:fmcBendixGA_gNAVDATA, number) @NAVDATA_NDB == and)%{if}
							%((@g:enteringInput) 12 ==)
							%{if}
								%((@c:IcaoSearchCurrentIdent) slen sp1 0 sp0)
								%{loop}
									%((@c:IcaoSearchCursorPosition) l0 ==)%{if}\{blnk}%{end}%((@c:IcaoSearchCurrentIdent) l0 symb d slen 0 == if{ p '  ' })%!s!\{nr}
									%(l0 ++ s0 l1 &lt;=)
								%{next}
							%{else}
								%((@g:blinkingField) 1 ==)%{if}\{blnk}%{end}%((@c:WaypointNdbIdent) d slen 0 ==)%{if}_ _ _ _%{else}%!s!%{end}\{nr}
							%{end}
						%{end}
					%((L:fmcBendixGA_group, number) @NAVDATAPageGroup == (L:fmcBendixGA_gNAVDATA, number) @NAVDATA_VOR == and)%{if}
							%((@g:enteringInput) 13 ==)
								%{if}
								%((@c:IcaoSearchCurrentIdent) slen sp1 0 sp0)
								%{loop}
									%((@c:IcaoSearchCursorPosition) l0 ==)%{if}\{blnk}%{end}%((@c:IcaoSearchCurrentIdent) l0 symb d slen 0 == if{ p '  ' })%!s!\{nr}
									%(l0 ++ s0 l1 &lt;=)
								%{next}
							%{else}
								%((@g:blinkingField) 1 ==)%{if}\{blnk}%{end}%((@c:WaypointVorIdent) d slen 0 ==)%{if}_ _ _ _%{else}%!s!%{end}\{nr}
							%{end}
						%{end}
					%((L:fmcBendixGA_group, number) @LEGSPageGroup == (L:fmcBendixGA_gLEGS_pag, number) @LEGS &gt;= and (L:fmcBendixGA_gLEGS_pag, number) (L:fmcBendixGA_LEGS_numpags_sinAPPR, number) &lt;= and (L:fmcBendixGA_vnav_active, bool) ! and)%{if}
							%((@g:enteringInput) 14 ==)
								%{if}
								%((@c:IcaoSearchCurrentIdent) slen sp1 0 sp0)
								%{loop}
									%((@c:IcaoSearchCursorPosition) l0 ==)%{if}\{blnk}%{end}%((@c:IcaoSearchCurrentIdent) l0 symb d slen 0 == if{ p '  ' })%!s!\{nr}
									
									%(l0 ++ s0 l1 &lt;=)
								%{next}
							%{end}
						%{end}
					%((L:fmcBendixGA_group, number) @PERFPageGroup ==)%{if}
							%((@g:enteringInput) 14 ==)
								%{if}
								%((@c:IcaoSearchCurrentIdent) slen sp1 0 sp0)
								%{loop}
									%((@c:IcaoSearchCursorPosition) l0 ==)%{if}\{blnk}%{end}%((@c:IcaoSearchCurrentIdent) l0 symb d slen 0 == if{ p '  ' })%!s!\{nr}
									
									%(l0 ++ s0 l1 &lt;=)
								%{next}
							%{end}
						%{end}		
				</String>
			</FormattedText>
		</Element>
		
		<Element>
			<Visible>(L:fmcBendixGA_enterdata, bool) !</Visible>
			<Position X="0" Y="173" />
			<FormattedText X="243" Y="14" Font="Arial Black" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
				<String>
					%((L:fmcBendixGA_group, number) @ROUTEPageGroup == (L:fmcBendixGA_gROUTE_pag, number) @ROUTE_MAIN &gt; and (L:fmcBendixGA_gROUTE_pag, number) (L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) == and (@c:FlightPlanIsLoadedApproach) and
					(L:fmcBendixGA_group, number) @LEGSPageGroup == (L:fmcBendixGA_gLEGS_pag, number) @LEGS &gt; and (L:fmcBendixGA_gLEGS_pag, number) (L:fmcBendixGA_LEGS_numpags_sinAPPR, number) == and (@c:FlightPlanIsLoadedApproach) and or )
					%{if}
						%((L:fmcBendixGA_vnav, bool) !)%{if}%NEXT PAGE APPROACH RTE%{end}
					%{else}
						%((@c:FlightPlanIsActiveFlightPlan))%{if}%NAV DATABASE MSFS - OK%{else}%NO ACTIVE FLIGHT PLAN%{end}
					%{end}
				</String>
			</FormattedText>
		</Element>
		
	</Element>
	</Element>
	
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////					

<Element Name="GPS Map">
	<Visible>(L:fmcBendixGA_group, number) @GPSMapPageGroup == </Visible>
		<Element name="Map">
			<Position X="32" Y="16" />
			<Visible>(L:fmc_LayerFollow) 0 ==</Visible>
			<CustomDraw Name="fs9gps:1:map" TrackUp="Yes" X="258" Y="213" LayerTerrain="Yes" LayerAirways="Yes" LayerBorders="Yes" LayerFlightPlan="Yes"
			FlightPlanLineWidth="1.5" ActiveColorLayerFlightPlan="0x7010B0" PastColorLayerFlightPlan="0xF0F0F0"
			ColorLayerFlightPlan="0xF0F0F0" Bright="Yes" CenterX="129" CenterY="108">
			<UpdateAlways>1</UpdateAlways>
			<CenterY>108</CenterY>
			<CenterX>129</CenterX>
			<Zoom>(L:fmc_ZoomFactor, number) 1852.0 *</Zoom>
			<Latitude>(A:GPS POSITION LAT, Radians)</Latitude>
			<Longitude>(A:GPS POSITION LON, Radians)</Longitude>
			<Heading>(A:GPS GROUND TRUE TRACK, Radians)</Heading>
      <TrackUp>1</TrackUp>
      <TerrainShadow>True</TerrainShadow>
;//////////////////////////////////////////////////////////////////	
			<LayerFlightPlan>1</LayerFlightPlan>		
			<LayerVehicles>1</LayerVehicles>
			<LayerAirports>(L:fmc_LayerAirports) 0 &gt;</LayerAirports>
			<LayerVORs>(L:fmc_LayerVORs) 0 &gt;</LayerVORs>
			<LayerILSs>(L:fmc_LayerAirports) 0 &gt;</LayerILSs>
			<LayerNDBs>(L:fmc_LayerVORs) 0 &gt;</LayerNDBs>
			<LayerIntersections>(L:fmc_LayerIntersections) 1 ==</LayerIntersections>
			<LayerAirspaces>(L:fmc_LayerAirports) 0 &gt;</LayerAirspaces>
			<LayerAirways>(L:fmc_LayerAirWays) 0 &gt;</LayerAirways>
			<LayerTerrain>(L:fmc_LayerTerrain) 0 &gt;</LayerTerrain>
			<LayerApproach>1</LayerApproach>
;//////////////////////////////////////////////////////////////////		
			<DetailLayerVehicles>1</DetailLayerVehicles>
			<DetailLayerBorders>1</DetailLayerBorders>
			<DetailLayerAirports>1 1 3 3 3 3 4 4 4 4 4 5 5 5 5 5 5 5 5 5 5 5 5 5 24 (L:fmc_ZoomStep, number) case</DetailLayerAirports>
			<DetailLayerVORs>0x2</DetailLayerVORs>
			<DetailLayerIntersections>1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 24 (L:fmc_ZoomStep, number) case</DetailLayerIntersections>
			<DetailLayerAirspaces>-1</DetailLayerAirspaces>
			<DetailLayerApproach>-1</DetailLayerApproach>
;/////////////////////////////////////////////////////////////////

			<ObjectDetailLayerAirports>0x43 0x23 0x13 0xA 0x9 0x6 0x5 0x7F 8 (L:fmc_APdetail, number) case</ObjectDetailLayerAirports>
			<ObjectDetailLayerVORs>0x3</ObjectDetailLayerVORs>
;//////////////////////////////////////////////////////////////////
			<ColorLayerAirportsTowered>0xA0A0A0</ColorLayerAirportsTowered>
			<ColorLayerAirportsUntowered>0x808080</ColorLayerAirportsUntowered>
			<ColorLayerAirspaces>0xd5d5ff</ColorLayerAirspaces>
			<ColorLayerILSs>0x00ff00</ColorLayerILSs>
			<ColorLayerAirwaysVictor>0xc4c400</ColorLayerAirwaysVictor>
			<ColorLayerVehicles>(L:fmc_LayerTerrain) if{ 0x006666 } els{ 0x00ffff }</ColorLayerVehicles>
;//////////////////////////////////////////////////////////////////
			<TextColorLayerVehicles>(L:fmc_LayerTerrain) if{ 0x503030 } els{ 0xff80ff }</TextColorLayerVehicles>
			<TextDetailLayerAirports>1 1 1 1 1 1 1 1 1 1 1 1 1 4 4 4 4 4 4 4 4 4 4 4 24 (L:fmc_ZoomStep, number) case</TextDetailLayerAirports>
			<TextDetailLayerVORs>2</TextDetailLayerVORs>
			<TextDetailLayerNDBs>2</TextDetailLayerNDBs>
			<TextDetailLayerIntersections>1</TextDetailLayerIntersections>
			<TextDetailLayerVehicles>2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 24 (L:fmc_ZoomStep, number) case (L:fmc_LayerTags) min</TextDetailLayerVehicles>
;///////////////////////////////////////////////////////////////////        
      <PanHorizontal>(L:PanHorizontal)</PanHorizontal>
      <PanVertical>(L:PanVertical)</PanVertical>
      <PanReset>(L:PanReset)</PanReset>
			<LayerFlightPlan>1</LayerFlightPlan>
			<LayerApproach>(@g:currentPageWPT) 3 ==</LayerApproach>
			<LayerApproachAirport>(@c:WaypointAirportICAO)</LayerApproachAirport>
			<LayerApproachApproach>(@c:WaypointAirportCurrentApproach)</LayerApproachApproach>
			<LayerApproachTransition>(@c:WaypointAirportApproachCurrentTransition)</LayerApproachTransition>
		</CustomDraw>
	</Element>
	
	<Element name="Compass">
	<Position X="58" Y="16"/>
	<Visible>(L:fmc_LayerFollow) 0 ==</Visible>  
		<CustomDraw Name="fs9gps:1:rose" X="210" Y="210" CenterX="105" CenterY="105" Radius="80" LineWidth="2" Font="glass gauge" FontSize="11" BigFontSize="12" Bright="Yes" FullCircle="Yes" >
		<Color>0xA0A0A0</Color>
		<Heading>(A:GPS GROUND MAGNETIC TRACK, Radians)</Heading>
		</CustomDraw>
	</Element>		
	
	<Element name="Aircraft">	
			<!-- Aircraft symbol -->
			<Position X="160" Y="122"/>
			<Polygon FillColor="%((L:fmc_LayerTerrain) if{ 0x503030 } els{ 0x00ffff })%" Bright="Yes">
				<Point X=" 0.5" Y="-7.5"/>
				<Point X="   2" Y="-6.5"/>
				<Point X="   2" Y="  -4"/>
				<Point X=" 7.5" Y="  -4"/>
				<Point X=" 7.5" Y="-1.5"/>
				<Point X="   2" Y="-1.5"/>
				<Point X="   2" Y=" 4.5"/>
				<Point X=" 4.5" Y=" 4.5"/>
				<Point X=" 4.5" Y=" 6.5"/>
				<Point X="-4.5" Y=" 6.5"/>
				<Point X="-4.5" Y=" 4.5"/>
				<Point X="  -2" Y=" 4.5"/>
				<Point X="  -2" Y="-1.5"/>
				<Point X="-7.5" Y="-1.5"/>
				<Point X="-7.5" Y="  -4"/>
				<Point X="  -2" Y="  -4"/>
				<Point X="  -2" Y="-6.5"/>
				<Point X="-0.5" Y="-7.5"/>
			</Polygon>
		</Element>	

;////// Nav Info  ///////////////////////


		<Element name="Bottom Border">
			<Position X="32" Y="208" />
			<Image Name="fmc_border.bmp" Transparent="True" Bright="False" Luminous="False"/>
		</Element>

		<Element name="Bearing">
			<Position X="34" Y="18" />
			<FormattedText X="80" Y="20" Font="Glass Guage" Luminous="False" FontSize="14" Adjust="Center" Color="%((L:fmc_LayerTerrain) if{ 0x503030 } els{ 0xF0D0D0 })%" Bright="False">
				<String>
				BRG -	%((A:GPS IS ACTIVE WAY POINT, bool))%{if}%((A:GPS WP BEARING, degrees) d360)%!03d!\{dplo=M}%{end}
				</String>
			</FormattedText>
		</Element>

		<Element name="ZoomLevel">
			<Position X="34" Y="38" />
			<FormattedText X="80" Y="20" Font="Glass Guage" Luminous="False" FontSize="10" Adjust="Left" Color="%((L:fmc_LayerTerrain) if{ 0x503030 } els{ 0xF0D0D0 })%" Bright="False">
				<String>
				%((L:fmc_ZoomFactor, number))%!4.2f!
				</String>
			</FormattedText>
		</Element>


		<Element name="Heading">
			<Position X="120" Y="18" />
			<FormattedText X="80" Y="20" Font="Glass Guage" Luminous="False" FontSize="18" Adjust="Center" Color="%((L:fmc_LayerTerrain) if{ 0x503030 } els{ 0xF0D0D0 })%" Bright="False">
				<String>[%((A:GPS GROUND MAGNETIC TRACK, Degrees))%!03d!]</String>
			</FormattedText>
		</Element>

		<Element name="Xtrack">
			<Position X="53" Y="190" />
			<FormattedText X="80" Y="20" Font="Glass Guage" Luminous="False" FontSize="14" Adjust="Left" Color="%((L:fmc_LayerTerrain) if{ 0x503030 } els{ 0xF0D0D0 })%" Bright="False">
				<String>
					%((@c:FlightPlanIsActiveFlightPlan))%{if}%((A:GPS WP CROSS TRK, nmiles) s1 abs d s0 100 >=)%{if}%!d!%{else}%(l0 10 >=)%{if}%!.1f!%{else}%!.2f!%{end}%{end} \{fnt1}NM%(l1 100 * near s0 0 >)%{if} \{fnt}>%{else}%(l0 0 &lt;)%{if} \{fnt}&lt;%{end}%{end}%{end}
				</String>
			</FormattedText>
		</Element>


		
		<Element name="VXtrack">
			<Position X="189" Y="190" />
			<FormattedText X="80" Y="20" Font="Glass Guage" Luminous="False" FontSize="14" Adjust="Right" Color="%((L:fmc_LayerTerrain) if{ 0x503030 } els{ 0xF0D0D0 })%" Bright="False">
				<String>
							%((@c:FlightPlanIsActiveFlightPlan))%{if}
							%((A:AUTOPILOT ALTITUDE LOCK VAR, feet) (A:Indicated Altitude, feet) - (>L:fmcHeloAP_vtk_dev, number))
							%((L:fmcBendixGA_vtk_dev, number) near 0 &gt;)%{if}%-%((L:fmcBendixGA_vtk_dev, number) near abs)%!d! \{fnt1}FT%{end}
							%((L:fmcBendixGA_vtk_dev, number) near 0 &lt;)%{if}%+%((L:fmcBendixGA_vtk_dev, number) near abs)%!d! \{fnt1}FT%{end}
							%((L:fmcBendixGA_vtk_dev, number) near 0 ==)%{if}%((L:fmcBendixGA_vtk_dev, number) near abs)%!d! \{fnt1}FT%{end}
				</String>
			</FormattedText>
		</Element>

		<Element name="CTS">
			<Position X="210" Y="18" />
			<FormattedText X="80" Y="20" Font="Glass Guage" Luminous="False" FontSize="14" Adjust="Center" Color="%((L:fmc_LayerTerrain) if{ 0x503030 } els{ 0xF0D0D0 })%" Bright="False">
				<String>
				%((A:GPS IS ACTIVE WAY POINT, bool))%{if}%((A:GPS COURSE TO STEER, degrees) d360)%!03d!\{dplo=M}%{end} - CTS
				</String>
			</FormattedText>
		</Element>

		<Element name="currentWaypoint">
			<Position X="34" Y="214" />
			<FormattedText X="80" Y="12" Font="Glass Guage" Luminous="False" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
				<String>
				%((A:GPS WP NEXT ID, string))%!s!>
				%((A:GPS IS ACTIVE WAY POINT, bool))%{if}%((A:GPS WP DISTANCE, nmiles) near)%!d!%{else}_ _ _%{end}\{dpl=nm}
				</String>
			</FormattedText>
		</Element>
		<Element name="ETE">
			<Position X="110" Y="214" />
			<FormattedText X="80" Y="12" Font="Glass Guage" Luminous="False" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
				<String>
						ETE>%((A:GPS IS ACTIVE WAY POINT, bool))%{if}%((A:GPS WP ETE, hours) flr 100 %)%!02d!:%((A:GPS WP ETE, minutes) flr 60 %)%!02d!%{else}_ _:_ _%{end}
				</String>
			</FormattedText>
		</Element>
		
		<Element name="GSpeed">
			<Position X="172" Y="214" />
			<FormattedText X="80" Y="12" Font="Glass Guage" Luminous="False" FontSize="12" Adjust="Left" Color="#00ff80" Bright="Yes">
				<String>
						GS>%((A:GPS GROUND SPEED, knots) near)%!03d!\{dpl=kn}
				</String>
			</FormattedText>
		</Element>		
		
		<Element name="VSpeed">
			<Position X="206" Y="214" />
			<FormattedText X="80" Y="12" Font="Glass Guage" Luminous="False" FontSize="12" Adjust="Right" Color="#00ff80" Bright="Yes">
				<String>RVS> %((A:AUTOPILOT ALTITUDE LOCK VAR,feet) (A:Indicated Altitude,feet) -   (A:GPS WP ETE, minutes) / )%!4d!\{dpl=fs}</String>
			</FormattedText>
		</Element>



;////////////////////////////////////////////////////////////////////////////////////////////		
		<Element Name="WPTMap">
			<Visible>(L:fmc_LayerFollow)</Visible>
			<Position X="32" Y="16"/>
			<CustomDraw Name="fs9gps:2:map" TrackUp="No" X="258" Y="213" LayerTerrain="Yes" LayerAirways="Yes" LayerBorders="Yes" LayerFlightPlan="Yes"
			FlightPlanLineWidth="1.5" ActiveColorLayerFlightPlan="0x7010B0" PastColorLayerFlightPlan="0xF0F0F0"
			ColorLayerFlightPlan="0xF0F0F0" Bright="Yes" CenterX="129" CenterY="108">
			<UpdateAlways>0</UpdateAlways>
			<Latitude>
						(@g:currentAirportRunway) (>@c:WaypointAirportCurrentRunway)
						(@c:WaypointAirportRunwayLatitude, Radians)	
			</Latitude>
			<Longitude>
						(@g:currentAirportRunway) (>@c:WaypointAirportCurrentRunway)
						(@c:WaypointAirportRunwayLongitude, Radians)
			</Longitude>
			<Zoom>(L:fmc_ZoomFactor, number) 1852.0 *</Zoom>
      <TrackUp>0</TrackUp>
      <TerrainShadow>True</TerrainShadow>
;//////////////////////////////////////////////////////////////////	
			<LayerFlightPlan>1</LayerFlightPlan>		
			<LayerVehicles>1</LayerVehicles>
			<LayerAirports>(L:fmc_LayerAirports) 0 &gt;</LayerAirports>
			<LayerVORs>(L:fmc_LayerVORs) 0 &gt;</LayerVORs>
			<LayerILSs>(L:fmc_LayerAirports) 0 &gt;</LayerILSs>
			<LayerNDBs>(L:fmc_LayerVORs) 0 &gt;</LayerNDBs>
			<LayerIntersections>(L:fmc_LayerIntersections) 1 ==</LayerIntersections>
			<LayerAirspaces>0</LayerAirspaces>
			<LayerAirways>(L:fmc_LayerAirWays) 0 &gt;</LayerAirways>
			<LayerTerrain>(L:fmc_LayerTerrain) 0 &gt;</LayerTerrain>
			<LayerApproach>1</LayerApproach>
;//////////////////////////////////////////////////////////////////		
			<DetailLayerVehicles>1</DetailLayerVehicles>
			<DetailLayerBorders>1</DetailLayerBorders>
			<DetailLayerAirports>1 1 3 3 3 3 3 3 3 4 4 4 4 5 5 5 5 5 5 5 5 5 5 5 24 (L:fmc_ZoomStep, number) case</DetailLayerAirports>
			<DetailLayerVORs>0x2</DetailLayerVORs>
			<DetailLayerIntersections>1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 24 (L:fmc_ZoomStep, number) case</DetailLayerIntersections>
			<DetailLayerApproach>3</DetailLayerApproach>
;/////////////////////////////////////////////////////////////////
			<ObjectDetailLayerAirports>0x43 0x23 0x13 0xA 0x9 0x6 0x5 0x7F 8 (L:fmc_APdetail, number) case</ObjectDetailLayerAirports>
			<ObjectDetailLayerVORs>0x3</ObjectDetailLayerVORs>
;//////////////////////////////////////////////////////////////////
			<ColorLayerAirportsTowered>0xA0A0A0</ColorLayerAirportsTowered>
			<ColorLayerAirportsUntowered>0x808080</ColorLayerAirportsUntowered>
			<ColorLayerILSs>0x00ff00</ColorLayerILSs>
;//////////////////////////////////////////////////////////////////
			<TextDetailLayerAirports>1 1 1 1 1 1 1 1 1 1 1 1 1 4 4 4 4 4 4 4 4 4 4 4 24 (L:fmc_ZoomStep, number) case</TextDetailLayerAirports>
			<TextDetailLayerVORs>2</TextDetailLayerVORs>
			<TextDetailLayerNDBs>2</TextDetailLayerNDBs>
			<TextDetailLayerIntersections>1</TextDetailLayerIntersections>
;///////////////////////////////////////////////////////////////////        
      <PanHorizontal>(L:PanHorizontal)</PanHorizontal>
      <PanVertical>(L:PanVertical)</PanVertical>
      <PanReset>(L:PanReset)</PanReset>
			<LayerFlightPlan>1</LayerFlightPlan>
			<LayerApproach>(@g:currentPageWPT) 3 ==</LayerApproach>
			<LayerApproachAirport>(@c:WaypointAirportICAO)</LayerApproachAirport>
			<LayerApproachApproach>(@c:WaypointAirportCurrentApproach)</LayerApproachApproach>
			<LayerApproachTransition>(@c:WaypointAirportApproachCurrentTransition)</LayerApproachTransition>
			</CustomDraw>
		</Element>
		
		<Element name="detailLevel">
			<Visible>(L:fmc_LayerAirports) 0 &gt;</Visible>
			<Position X="205" Y="38" />
			<FormattedText X="80" Y="20" Font="Glass Guage" Luminous="False" FontSize="10" Adjust="Right" Color="%((L:fmc_LayerTerrain) if{ 0x503030 } els{ 0xF0D0D0 })%" Bright="False">
				<String>
				%((L:fmc_APdetail))%{case}%{:0}All%{:1}Large%{:2}Medium%{:3}Small%{:4}Strip%{:5}Water%{:6}Helo%{:7}Private%{end}
				 </String>
			</FormattedText>
		</Element>

	<Element name="Compass">
	<Position X="58" Y="16"/>
	<Visible>(L:fmc_LayerFollow)</Visible>  
		<CustomDraw Name="fs9gps:1:rose" X="210" Y="210" CenterX="105" CenterY="105" Radius="80" LineWidth="2" Font="glass gauge" FontSize="11" BigFontSize="12" Bright="Yes" FullCircle="Yes" >
		<Color>0xA0A0A0</Color>
		<Heading>0</Heading>
		</CustomDraw>
	</Element>
	
;////// Display commands ////////////////////////////
		<Element>
			<Position X="32" Y="58" />
			<FormattedText X="60" Y="10" Font="Arial" FontSize="10" Luminous="True" Adjust="Left" Color="%((L:fmc_LayerTerrain) if{ 0x503030 } els{ 0xF0D0D0 })%" Bright="Yes">
				<String>ZOOM+</String>
			</FormattedText>
		</Element>
		
		<Element>
			<Position X="32" Y="84" />
			<FormattedText X="60" Y="10" Font="Arial" FontSize="10" Luminous="True" Adjust="Left" Color="%((L:fmc_LayerTerrain) if{ 0x503030 } els{ 0xF0D0D0 })%" Bright="Yes">
				<String>ZOOM-</String>
			</FormattedText>
		</Element>
		
		<Element>
			<Position X="32" Y="110" />
			<FormattedText X="60" Y="10" Font="Arial" FontSize="10" Luminous="True" Adjust="Left" Color="%((L:fmc_LayerTerrain) if{ 0x503030 } els{ 0xF0D0D0 })%" Bright="Yes">
				<String>APT</String>
			</FormattedText>
		</Element>
		
		<Element>
			<Position X="32" Y="136" />
			<FormattedText X="60" Y="10" Font="Arial" FontSize="10" Luminous="True" Adjust="Left" Color="%((L:fmc_LayerTerrain) if{ 0x503030 } els{ 0xF0D0D0 })%" Bright="Yes">
				<String>BCN</String>
			</FormattedText>
		</Element>
		
		<Element>
			<Position X="32" Y="162" />
			<FormattedText X="60" Y="10" Font="Arial" FontSize="10" Luminous="True" Adjust="Left" Color="%((L:fmc_LayerTerrain) if{ 0x503030 } els{ 0xF0D0D0 })%" Bright="Yes">
				<String>WPT</String>
			</FormattedText>
		</Element>
		
		<Element>
			<Position X="32" Y="188" />
			<FormattedText X="60" Y="10" Font="Arial" FontSize="10" Luminous="True" Adjust="Left" Color="%((L:fmc_LayerTerrain) if{ 0x503030 } els{ 0xF0D0D0 })%" Bright="Yes">
				<String>RTE</String>
			</FormattedText>
		</Element>
;//////////////////////////////////////////////////////////////////////////////////////////////////////////		
		<Element>
			<Position X="230" Y="58" />
			<FormattedText X="60" Y="10" Font="Arial" FontSize="10" Luminous="True" Adjust="Right" Color="%((L:fmc_LayerTerrain) if{ 0x503030 } els{ 0xF0D0D0 })%" Bright="Yes">
				<String>+TGT</String>
			</FormattedText>
		</Element>
		
		<Element>
			<Position X="230" Y="84" />
			<FormattedText X="60" Y="10" Font="Arial" FontSize="10" Luminous="True" Adjust="Right" Color="%((L:fmc_LayerTerrain) if{ 0x503030 } els{ 0xF0D0D0 })%" Bright="Yes">
				<String>-TGT</String>
			</FormattedText>
		</Element>
		
		<Element>
			<Position X="230" Y="110" />
			<FormattedText X="60" Y="10" Font="Arial" FontSize="10" Luminous="True" Adjust="Right" Color="%((L:fmc_LayerTerrain) if{ 0x503030 } els{ 0xF0D0D0 })%" Bright="Yes">
				<String>SRT</String>
			</FormattedText>
		</Element>
		
		
		<Element>
			<Position X="230" Y="162" />
			<FormattedText X="60" Y="10" Font="Arial" FontSize="10" Luminous="True" Adjust="Right" Color="%((L:fmc_LayerTerrain) if{ 0x503030 } els{ 0xF0D0D0 })%" Bright="Yes">
				<String>TAG</String>
			</FormattedText>
		</Element>
		
		<Element>
			<Position X="230" Y="188" />
			<FormattedText X="60" Y="10" Font="Arial" FontSize="10" Luminous="True" Adjust="Right" Color="%((L:fmc_LayerTerrain) if{ 0x503030 } els{ 0xF0D0D0 })%" Bright="Yes">
				<String>TER</String>
			</FormattedText>
		</Element>
		
</Element>

;/////////////////////////////////////////////////////////////////////////////////////////////////////	
	
	<Mouse Name="MouseRoutines">
		<Macro Name="load_approach">
			(@c:FlightPlanActiveApproachWaypoint)
			(@c:WaypointAirportICAO) (>@c:FlightPlanNewApproachAirport)
			(@g:currentAirportApproach) (>@c:FlightPlanNewApproachApproach)
			(@g:currentAirportTransition) (>@c:FlightPlanNewApproachTransition)
			1 (>@c:FlightPlanNewApproachMissed)
			1 2 (@g:blinkingField) 4 == ? (>@c:FlightPlanLoadApproach)
			0 3 (@g:currentAirportTransition) 0 == ? (>@c:FlightPlanNewApproachAddInitialLeg)
		</Macro>
		<Macro Name="InvokeICAOInputMode">
			@1 (>@c:IcaoSearchInitialIcao)
			@2 (>@c:IcaoSearchStartCursor)
			@3 (>@g:enteringInput)
			0 (>@c:IcaoSearchMatchedIcao)
			@InitBlinker
		</Macro>
		<Macro Name="Pass_Frequencies">
			@1 (>@c:WaypointAirportCurrentFrequency)
			(@c:WaypointAirportFrequencyType) 1 == if{ (@c:WaypointAirportFrequencyValue, Frequency BCD16) (>K:COM_RADIO_SET) }
			(@c:WaypointAirportFrequencyType) 2 == if{ (@c:WaypointAirportFrequencyValue, Frequency BCD16) (>K:NAV1_RADIO_SET) }
			(@c:WaypointAirportFrequencyType) 3 == if{ (@c:WaypointAirportFrequencyValue, Frequency ADF BCD32) (>K:ADF_COMPLETE_SET) }
		</Macro>
		<Area Name="LK1" Left="0" Top="55" Width="28" Height="19">
			<Click>
				(L:fmcBendixGA_group, number) @NAVDATAPageGroup == if{ 
					(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_MAIN == if{ 
						@NAVDATA_APT (>L:fmcBendixGA_gNAVDATA, number) 1 (>L:fmcBendixGA_enterdata, bool)
						@NAVDATA_APT_MAIN (>L:fmcBendixGA_gNAVDATA_APT_pag, number)
						0 (>L:fmc_hasWaypoint)
						0 (>L:fmcBendixGA_gNAVDATA_APT_numpags, number)
						0 (>L:fmcBendixGA_not_in_database, bool)
						0 (>L:fmcBendixGA_wpt_apt_selected, bool)
						(C:fs9gps:WaypointAirportIdent) slen 0 == if{
							0 (>@c:NearestAirportCurrentLine) (@c:NearestAirportCurrentICAO) (>@c:WaypointAirportICAO)
							}
						1 (>@g:blinkingField) 1 (>L:fmcBendixGA_keyboard_active, bool)
						@InvokeICAOInputMode((@c:WaypointAirportICAO), 'A', 10)
						quit
						}
					
					
					(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_APT == if{
						0 (>L:fmcBendixGA_enterdata, bool)
						10 (@g:enteringInput) == if{ 
							(@c:IcaoSearchMatchedIcaosNumber) 1 &lt; if{
								1 (>L:fmcBendixGA_not_in_database, bool)
								quit
								}
							0 (>@c:IcaoSearchStopCursor) @InitBlinker (@g:enteringInput) sp0 0 (>@g:enteringInput) 
							(@c:IcaoSearchMatchedIcaosNumber) 1 > if{	  
								l0 (>@g:enteringInputSaved) @InvokePopupMenu(10, 92, 30, 200, 180, 36, 2, (@c:IcaoSearchMatchedIcaosNumber))
								(@c:IcaoSearchMatchedIcaosNumber) 5 / ceil (>L:fmcBendixGA_gDUPLICATEDWPTS_numpags, number)
								(@c:IcaoSearchCurrentIcao) (>@cWaypointAirportICAO)
								@DUPLICATEDWPTSPageGroup (>L:fmcBendixGA_group, number)
								0 (>L:fmcBendixGA_dupl_wpt_ndb_info, bool)
								0 (>L:fmcBendixGA_dupl_wpt_dto, bool)
								0 (>L:fmcBendixGA_dupl_wpt_int_info, bool)
								0 (>L:fmcBendixGA_dupl_wpt_vor_info, bool)
								quit
								}
							} 
						(@c:IcaoSearchCurrentIcao) (>@c:WaypointAirportICAO)
						(@c:WaypointAirportRunwaysNumber) 5 / ceil 1 + (>L:fmcBendixGA_gNAVDATA_APT_numpags, number)
						1 (>L:fmcBendixGA_wpt_apt_selected, bool)
						1 (>L:fmc_hasWaypoint)
						quit
						}	
					(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_NDB == (L:fmcBendixGA_wpt_ndb_selected, bool) and if{
						(@c:WaypointNdbFrequency, Frequency ADF BCD32) (>K:ADF_COMPLETE_SET)
						quit
						}
					(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_VOR == (L:fmcBendixGA_wpt_vor_selected, bool) and if{
						(@c:WaypointVorFrequency, Frequency BCD16) (>K:NAV1_RADIO_SET)
						quit
						}
					quit
					}
				(L:fmcBendixGA_group, number) @DUPLICATEDWPTSPageGroup == if{
					(L:fmcBendixGA_gDUPLICATEDWPTS_pag, number) 5 * (>@c:IcaoSearchMatchedIcao)
					(L:fmcBendixGA_dupl_wpt_dto, bool) if{
						(@c:IcaoSearchCurrentIcao) (>@c:FacilityICAO)
						5 (>@g:blinkingField) 1 (>L:fmcBendixGA_exec_button, bool) 0 (>@g:enteringInput)
						@FIXPageGroup (>L:fmcBendixGA_group, number)
						0 (>L:fmcBendixGA_dupl_wpt_dto, bool)
						}
					(L:fmcBendixGA_dupl_wpt_int_info, bool) if{
						(@c:IcaoSearchCurrentIcao) (>@c:WaypointIntersectionICAO)
						0 (>@g:enteringInput)
						1 (>L:fmcBendixGA_wpt_int_selected, bool)
						@NAVDATAPageGroup (>L:fmcBendixGA_group, number) @NAVDATA_INT (>L:fmcBendixGA_gNAVDATA, number)
						0 (>L:fmcBendixGA_dupl_wpt_int_info, bool)
						}
					(L:fmcBendixGA_dupl_wpt_ndb_info, bool) if{
						(@c:IcaoSearchCurrentIcao) (>@c:WaypointNdbICAO)
						0 (>@g:enteringInput)
						1 (>L:fmcBendixGA_wpt_ndb_selected, bool)
						@NAVDATAPageGroup (>L:fmcBendixGA_group, number) @NAVDATA_NDB (>L:fmcBendixGA_gNAVDATA, number)
						0 (>L:fmcBendixGA_dupl_wpt_ndb_info, bool)
						}						
					(L:fmcBendixGA_dupl_wpt_vor_info, bool) if{
						(@c:IcaoSearchCurrentIcao) (>@c:WaypointVorICAO)
						0 (>@g:enteringInput)
						1 (>L:fmcBendixGA_wpt_vor_selected, bool)
						@NAVDATAPageGroup (>L:fmcBendixGA_group, number) @NAVDATA_VOR (>L:fmcBendixGA_gNAVDATA, number)
						0 (>L:fmcBendixGA_dupl_wpt_vor_info, bool)
						}
					quit
					}
				(L:fmcBendixGA_group, number) @NAVRADPageGroup == (L:fmcBendixGA_FMCCOMM, number) 1 == || if{
					0 (>@c:NearestVorCurrentLine) (@c:NearestVorCurrentFrequency, Frequency BCD16) (>K:NAV1_RADIO_SET)
					quit
					}
				(L:fmcBendixGA_group, number) @GPSMapPageGroup == if{
					(L:fmc_ZoomStep, number) -- 1 max (&gt;L:fmc_ZoomStep, number)
					@fmcCalculateZoomFactor((L:fmc_ZoomStep, number)) (&gt;L:fmc_ZoomFactor, number)
				}
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="LK2" Left="0" Top="81" Width="28" Height="19">
			<Click>
				(L:fmcBendixGA_group, number) @INDEXPageGroup == if{
					@reset_vars
					@POSINITPageGroup (>L:fmcBendixGA_group, number)
					@POSINIT_POSINIT (>L:fmcBendixGA_gPOSINIT_pag, number)
					quit
					}
				(L:fmcBendixGA_group, number) @NAVDATAPageGroup == if{
					(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_MAIN == if{
						@NAVDATA_INT (>L:fmcBendixGA_gNAVDATA, number) 1 (>L:fmcBendixGA_enterdata, bool)
						0 (>L:fmcBendixGA_not_in_database, bool)
						0 (>L:fmcBendixGA_wpt_int_selected, bool)
						(@c:WaypointIntersectionIdent) slen 0 == if{
							0 (>@c:NearestIntersectionCurrentLine) (@c:NearestIntersectionCurrentICAO) (>@c:WaypointIntersectionICAO)
							}
						1 (>@g:blinkingField) 1 (>L:fmcBendixGA_keyboard_active, bool)
						@InvokeICAOInputMode((@c:WaypointIntersectionICAO), 'W', 11)
						quit
						}
					quit
					}
				(L:fmcBendixGA_group, number) @DUPLICATEDWPTSPageGroup == if{
					(L:fmcBendixGA_gDUPLICATEDWPTS_pag, number) 5 * 1 + (>@c:IcaoSearchMatchedIcao)
					(L:fmcBendixGA_dupl_wpt_dto, bool) if{
						(@c:IcaoSearchCurrentIcao) (>@c:FacilityICAO)
						5 (>@g:blinkingField) 1 (>L:fmcBendixGA_exec_button, bool) 0 (>@g:enteringInput)
						@FIXPageGroup (>L:fmcBendixGA_group, number)
						0 (>L:fmcBendixGA_dupl_wpt_dto, bool)
						}
					(L:fmcBendixGA_dupl_wpt_int_info, bool) if{
						(@c:IcaoSearchCurrentIcao) (>@c:WaypointIntersectionICAO)
						0 (>@g:enteringInput)
						1 (>L:fmcBendixGA_wpt_int_selected, bool)
						@NAVDATAPageGroup (>L:fmcBendixGA_group, number) @NAVDATA_INT (>L:fmcBendixGA_gNAVDATA, number)
						0 (>L:fmcBendixGA_dupl_wpt_int_info, bool)
						}
					(L:fmcBendixGA_dupl_wpt_ndb_info, bool) if{
						(@c:IcaoSearchCurrentIcao) (>@c:WaypointNdbICAO)
						0 (>@g:enteringInput)
						1 (>L:fmcBendixGA_wpt_ndb_selected, bool)
						@NAVDATAPageGroup (>L:fmcBendixGA_group, number) @NAVDATA_NDB (>L:fmcBendixGA_gNAVDATA, number)
						0 (>L:fmcBendixGA_dupl_wpt_ndb_info, bool)
						}						
					(L:fmcBendixGA_dupl_wpt_vor_info, bool) if{
						(@c:IcaoSearchCurrentIcao) (>@c:WaypointVorICAO)
						0 (>@g:enteringInput)
						1 (>L:fmcBendixGA_wpt_vor_selected, bool)
						@NAVDATAPageGroup (>L:fmcBendixGA_group, number) @NAVDATA_VOR (>L:fmcBendixGA_gNAVDATA, number)
						0 (>L:fmcBendixGA_dupl_wpt_vor_info, bool)
						}
					quit
					}					
				(L:fmcBendixGA_group, number) @GPSMapPageGroup == if{
					(L:fmc_ZoomStep, number) ++ 23 min (&gt;L:fmc_ZoomStep, number)
					@fmcCalculateZoomFactor((L:fmc_ZoomStep, number)) (&gt;L:fmc_ZoomFactor, number)
				}
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="LK3" Left="0" Top="107" Width="28" Height="19">
			<Click>
				(L:fmcBendixGA_group, number) @INDEXPageGroup == if{
					@reset_vars
					@PERFPageGroup (>L:fmcBendixGA_group, number)
					' ' (>@c:IcaoSearchInitialIcao)
					1 (>L:fmcBendixGA_enterdata, bool)
					14 (>@g:enteringInput)
					0 (>@c:IcaoSearchStartCursor)
					quit
					}
				(L:fmcBendixGA_group, number) @NAVDATAPageGroup == if{
					(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_MAIN == if{ 
						@NAVDATA_NDB (>L:fmcBendixGA_gNAVDATA, number) 1 (>L:fmcBendixGA_enterdata, bool)
						0 (>L:fmcBendixGA_not_in_database, bool)
						0 (>L:fmcBendixGA_wpt_ndb_selected, bool)
						(@c:WaypointNdbIdent) slen 0 == if{
							0 (>@c:NearestNdbCurrentLine) (@c:NearestNdbCurrentICAO) (>@c:WaypointNdbICAO)
							}
						1 (>@g:blinkingField) 1 (>L:fmcBendixGA_keyboard_active, bool)
						@InvokeICAOInputMode((@c:WaypointNdbICAO), 'N', 12)
						quit
						}
					quit
					}
				(L:fmcBendixGA_group, number) @DUPLICATEDWPTSPageGroup == if{
					(L:fmcBendixGA_gDUPLICATEDWPTS_pag, number) 5 * 2 + (>@c:IcaoSearchMatchedIcao)
					(L:fmcBendixGA_dupl_wpt_dto, bool) if{
						(@c:IcaoSearchCurrentIcao) (>@c:FacilityICAO)
						5 (>@g:blinkingField) 1 (>L:fmcBendixGA_exec_button, bool) 0 (>@g:enteringInput)
						@FIXPageGroup (>L:fmcBendixGA_group, number)
						0 (>L:fmcBendixGA_dupl_wpt_dto, bool)
						}
					(L:fmcBendixGA_dupl_wpt_int_info, bool) if{
						(@c:IcaoSearchCurrentIcao) (>@c:WaypointIntersectionICAO)
						0 (>@g:enteringInput)
						1 (>L:fmcBendixGA_wpt_int_selected, bool)
						@NAVDATAPageGroup (>L:fmcBendixGA_group, number) @NAVDATA_INT (>L:fmcBendixGA_gNAVDATA, number)
						0 (>L:fmcBendixGA_dupl_wpt_int_info, bool)
						}
					(L:fmcBendixGA_dupl_wpt_ndb_info, bool) if{
						(@c:IcaoSearchCurrentIcao) (>@c:WaypointNdbICAO)
						0 (>@g:enteringInput)
						1 (>L:fmcBendixGA_wpt_ndb_selected, bool)
						@NAVDATAPageGroup (>L:fmcBendixGA_group, number) @NAVDATA_NDB (>L:fmcBendixGA_gNAVDATA, number)
						0 (>L:fmcBendixGA_dupl_wpt_ndb_info, bool)
						}						
					(L:fmcBendixGA_dupl_wpt_vor_info, bool) if{
						(@c:IcaoSearchCurrentIcao) (>@c:WaypointVorICAO)
						0 (>@g:enteringInput)
						1 (>L:fmcBendixGA_wpt_vor_selected, bool)
						@NAVDATAPageGroup (>L:fmcBendixGA_group, number) @NAVDATA_VOR (>L:fmcBendixGA_gNAVDATA, number)
						0 (>L:fmcBendixGA_dupl_wpt_vor_info, bool)
						}
					quit
					}
					(L:fmcBendixGA_group, number) @GPSMapPageGroup == if{
						(L:fmc_layerAirports) ! (&gt;L:fmc_layerAirports)
					}
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="LK4" Left="0" Top="133" Width="28" Height="19">
			<Click>
				(L:fmcBendixGA_group, number) @NAVDATAPageGroup == if{
					(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_MAIN == if{ 
						@NAVDATA_VOR (>L:fmcBendixGA_gNAVDATA, number) 1 (>L:fmcBendixGA_enterdata, bool)
						0 (>L:fmcBendixGA_not_in_database, bool)
						0 (>L:fmcBendixGA_wpt_vor_selected, bool)
						(@c:WaypointVorIdent) slen 0 == if{
							0 (>@c:NearestVorCurrentLine) (@c:NearestVorCurrentICAO) (>@c:WaypointVorICAO)
							}
						1 (>@g:blinkingField) 1 (>L:fmcBendixGA_keyboard_active, bool)
						@InvokeICAOInputMode((@c:WaypointVorICAO), 'V', 13)
						quit
						}
					quit
					}
				(L:fmcBendixGA_group, number) @DEPARRIVALPageGroup == (L:fmcBendixGA_gDEPARRIVAL_pag, number) @DEPARRSelected == and if{
					1 (>L:fmcBendixGA_LOAD_TRANS_PUSHED, bool) 0 (>L:fmcBendixGA_ACTIVATE_TRANS_PUSHED, bool)
					(L:fmcBendixGA_TRANS_2_readytoload, bool) if{ 1 (>L:fmcBendixGA_exec_button, bool) quit }
					(L:fmcBendixGA_TRANS_3_readytoload, bool) if{ 1 (>L:fmcBendixGA_exec_button, bool) quit }
					(L:fmcBendixGA_TRANS_4_readytoload, bool) if{ 1 (>L:fmcBendixGA_exec_button, bool) quit }
					(L:fmcBendixGA_TRANS_5_readytoload, bool) if{ 1 (>L:fmcBendixGA_exec_button, bool) quit }
					}
				(L:fmcBendixGA_group, number) @DUPLICATEDWPTSPageGroup == if{
					(L:fmcBendixGA_gDUPLICATEDWPTS_pag, number) 5 * 3 + (>@c:IcaoSearchMatchedIcao)
					(L:fmcBendixGA_dupl_wpt_dto, bool) if{
						(@c:IcaoSearchCurrentIcao) (>@c:FacilityICAO)
						5 (>@g:blinkingField) 1 (>L:fmcBendixGA_exec_button, bool) 0 (>@g:enteringInput)
						@FIXPageGroup (>L:fmcBendixGA_group, number)
						0 (>L:fmcBendixGA_dupl_wpt_dto, bool)
						}
					(L:fmcBendixGA_dupl_wpt_int_info, bool) if{
						(@c:IcaoSearchCurrentIcao) (>@c:WaypointIntersectionICAO)
						0 (>@g:enteringInput)
						1 (>L:fmcBendixGA_wpt_int_selected, bool)
						@NAVDATAPageGroup (>L:fmcBendixGA_group, number) @NAVDATA_INT (>L:fmcBendixGA_gNAVDATA, number)
						0 (>L:fmcBendixGA_dupl_wpt_int_info, bool)
						}
					(L:fmcBendixGA_dupl_wpt_ndb_info, bool) if{
						(@c:IcaoSearchCurrentIcao) (>@c:WaypointNdbICAO)
						0 (>@g:enteringInput)
						1 (>L:fmcBendixGA_wpt_ndb_selected, bool)
						@NAVDATAPageGroup (>L:fmcBendixGA_group, number) @NAVDATA_NDB (>L:fmcBendixGA_gNAVDATA, number)
						0 (>L:fmcBendixGA_dupl_wpt_ndb_info, bool)
						}						
					(L:fmcBendixGA_dupl_wpt_vor_info, bool) if{
						(@c:IcaoSearchCurrentIcao) (>@c:WaypointVorICAO)
						0 (>@g:enteringInput)
						1 (>L:fmcBendixGA_wpt_vor_selected, bool)
						@NAVDATAPageGroup (>L:fmcBendixGA_group, number) @NAVDATA_VOR (>L:fmcBendixGA_gNAVDATA, number)
						0 (>L:fmcBendixGA_dupl_wpt_vor_info, bool)
						}
					quit
					}	
					(L:fmcBendixGA_group, number) @GPSMapPageGroup == if{
						(L:fmc_LayerVORs) ++ 2 % (&gt;L:fmc_LayerVORs)
						(L:fmc_LayerNDBs) ++ 2 % (&gt;L:fmc_LayerNDBs)
					}
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="LK5" Left="0" Top="159" Width="28" Height="19">
			<Click>
				(L:fmcBendixGA_group, number) @GPSMapPageGroup == if{
						(L:fmc_LayerIntersections) ! (&gt;L:fmc_LayerIntersections)
					}
				(L:fmcBendixGA_group, number) @DEPARRIVALPageGroup == (L:fmcBendixGA_gDEPARRIVAL_pag, number) @DEPARRSelected == and if{
					0 (>L:fmcBendixGA_LOAD_TRANS_PUSHED, bool) 1 (>L:fmcBendixGA_ACTIVATE_TRANS_PUSHED, bool)
					(L:fmcBendixGA_TRANS_2_readytoactivated, bool) if{ 1 (>L:fmcBendixGA_exec_button, bool) quit }
					(L:fmcBendixGA_TRANS_3_readytoactivated, bool) if{ 1 (>L:fmcBendixGA_exec_button, bool) quit }
					(L:fmcBendixGA_TRANS_4_readytoactivated, bool) if{ 1 (>L:fmcBendixGA_exec_button, bool) quit }
					(L:fmcBendixGA_TRANS_5_readytoactivated, bool) if{ 1 (>L:fmcBendixGA_exec_button, bool) quit }
					}
				(L:fmcBendixGA_group, number) @DUPLICATEDWPTSPageGroup == if{
					(L:fmcBendixGA_gDUPLICATEDWPTS_pag, number) 5 * 4 + (>@c:IcaoSearchMatchedIcao)
					(L:fmcBendixGA_dupl_wpt_dto, bool) if{
						(@c:IcaoSearchCurrentIcao) (>@c:FacilityICAO)
						5 (>@g:blinkingField) 1 (>L:fmcBendixGA_exec_button, bool) 0 (>@g:enteringInput)
						@FIXPageGroup (>L:fmcBendixGA_group, number)
						0 (>L:fmcBendixGA_dupl_wpt_dto, bool)
						}
					(L:fmcBendixGA_dupl_wpt_int_info, bool) if{
						(@c:IcaoSearchCurrentIcao) (>@c:WaypointIntersectionICAO)
						0 (>@g:enteringInput)
						1 (>L:fmcBendixGA_wpt_int_selected, bool)
						@NAVDATAPageGroup (>L:fmcBendixGA_group, number) @NAVDATA_INT (>L:fmcBendixGA_gNAVDATA, number)
						0 (>L:fmcBendixGA_dupl_wpt_int_info, bool)
						}
					(L:fmcBendixGA_dupl_wpt_ndb_info, bool) if{
						(@c:IcaoSearchCurrentIcao) (>@c:WaypointNdbICAO)
						0 (>@g:enteringInput)
						1 (>L:fmcBendixGA_wpt_ndb_selected, bool)
						@NAVDATAPageGroup (>L:fmcBendixGA_group, number) @NAVDATA_NDB (>L:fmcBendixGA_gNAVDATA, number)
						0 (>L:fmcBendixGA_dupl_wpt_ndb_info, bool)
						}						
					(L:fmcBendixGA_dupl_wpt_vor_info, bool) if{
						(@c:IcaoSearchCurrentIcao) (>@c:WaypointVorICAO)
						0 (>@g:enteringInput)
						1 (>L:fmcBendixGA_wpt_vor_selected, bool)
						@NAVDATAPageGroup (>L:fmcBendixGA_group, number) @NAVDATA_VOR (>L:fmcBendixGA_gNAVDATA, number)
						0 (>L:fmcBendixGA_dupl_wpt_vor_info, bool)
						}
					quit
					}
				(L:fmcBendixGA_group, number) @NAVRADPageGroup == (L:fmcBendixGA_FMCCOMM, number) 1 == || if{
					0 (>@c:NearestNdbCurrentLine) (@c:NearestNdbCurrentFrequency, Frequency ADF BCD32) (>K:ADF_COMPLETE_SET) }
					quit
					}	
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="LK6" Left="0" Top="186" Width="28" Height="19">
			<Click>
				(L:fmcBendixGA_group, number) @GPSMapPageGroup == if{
					(L:fmc_LayerAirWays) ! (&gt;L:fmc_LayerAirWays)
				quit
				}
				@reset_vars
				@INDEXPageGroup (>L:fmcBendixGA_group, number)
			</Click>
			<Cursor Type="Hand" />
		</Area>

		<Area Name="RK1" Left="297" Top="55" Width="28" Height="19">
			<Click>
				(L:fmcBendixGA_group, number) @GPSMapPageGroup == if{
					(C:ITrafficInfo:SelectedVehicle) 1 - (&gt;C:ITrafficInfo:SelectedVehicle)
					(C:ITrafficInfo:SelectedVehicleID) (&gt;C:fs9gps:1:SelectedVehicle)
					quit
				}
				(L:fmcBendixGA_group, number) @INDEXPageGroup == if{
					@reset_vars
					@NAVDATAPageGroup (>L:fmcBendixGA_group, number) @NAVDATA_MAIN (>L:fmcBendixGA_gNAVDATA, number)
					quit
					}
				(L:fmcBendixGA_group, number) @PERFPageGroup == if{
					(@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_crz_alt, number)
					0 (>@c:IcaoSearchStartCursor)
					quit
					}
				(L:fmcBendixGA_group, number) @NAVRADPageGroup == (L:fmcBendixGA_FMCCOMM, number) 1 == || if{
					1 (>@c:NearestVorCurrentLine) (@c:NearestVorCurrentFrequency, Frequency BCD16) (>K:NAV2_RADIO_SET)
					quit
					}
				(L:fmcBendixGA_group, number) @LEGSPageGroup == if{ 
					(L:fmcBendixGA_gLEGS_pag, number) 5 * 5 - (>L:fmcBendixGA_LSKR1_pulse, number)
					@vnav_data((L:fmcBendixGA_LSKR1_pulse, number))
					1 (>L:fmcBendixGA_data_entered_1, bool)
					quit
					}
				(L:fmcBendixGA_group, number) @DEPARRIVALPageGroup == if{
						(L:fmcBendixGA_gDEPARRIVAL_pag, number) @DEPARRSelected == if{
							@DEPARRSelect (>L:fmcBendixGA_gDEPARRIVAL_pag, number)
							0 (>L:fmcBendixGA_RK_APPR_pulse, number)
							0 (>L:fmcBendixGA_TRANS_2_selected, bool)
							0 (>L:fmcBendixGA_TRANS_3_selected, bool)
							0 (>L:fmcBendixGA_TRANS_4_selected, bool)
							0 (>L:fmcBendixGA_TRANS_5_selected, bool)
							0 (>L:fmcBendixGA_TRANS_2_readytoload, bool)
							0 (>L:fmcBendixGA_TRANS_3_readytoload, bool)
							0 (>L:fmcBendixGA_TRANS_4_readytoload, bool)
							0 (>L:fmcBendixGA_TRANS_5_readytoload, bool)
							0 (>L:fmcBendixGA_TRANS_2_readytoactivated, bool)
							0 (>L:fmcBendixGA_TRANS_3_readytoactivated, bool)
							0 (>L:fmcBendixGA_TRANS_4_readytoactivated, bool)
							0 (>L:fmcBendixGA_TRANS_5_readytoactivated, bool)
						quit
						}
						(L:fmcBendixGA_gDEPARRIVAL_pag, number) @DEPARRSelect == if{
							@DEPARRSelected (>L:fmcBendixGA_gDEPARRIVAL_pag, number)
							0 (>L:fmcBendixGA_RK_APPR_pulse, number)
							(L:fmcBendixGA_DEPARRSelect_pag, number) 1 - 5 * (L:fmcBendixGA_RK_APPR_pulse, number) + (>@g:currentAirportApproach)
							3 (>@g:blinkingField) 
						quit
						}
					quit
					}
				(L:fmcBendixGA_group, number) @ROUTEPageGroup == (L:fmcBendixGA_gROUTE_pag, number) @ROUTE_MAIN &gt; and (L:fmcBendixGA_hold, bool) and if{
					1 (>L:fmcBendixGA_enterdata, bool)
					1 (>L:fmcBendixGA_exec_button, bool)
					(L:fmcBendixGA_gROUTE_pag, number) (L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) &lt;= if{
						(L:fmcBendixGA_gROUTE_pag, number) 5 * 10 - (>L:fmcBendixGA_fpl_index, number)
						(L:fmcBendixGA_fpl_index, number) (>@g:directToActivateLeg) 1 (>@g:activateLeg)
						}
					(L:fmcBendixGA_gROUTE_pag, number) (L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) &gt; if{
						(L:fmcBendixGA_gROUTE_pag, number) 1 - (L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) - 5 * (>L:fmcBendixGA_fplappr_index, number)
						(L:fmcBendixGA_fplappr_index, number) (>@g:directToActivateLeg) 1 (>@g:activateLeg)
						}
					
					quit
					}
					
				(L:fmcBendixGA_group, number) @NAVDATAPageGroup == if{ 
					(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_MAIN == if{ 
					@NAVDATA_NRST_APT (>L:fmcBendixGA_gNAVDATA, number)
					quit
					}
					(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_APT == (L:fmcBendixGA_gNAVDATA_APT_pag, number) (L:fmcBendixGA_gNAVDATA_RWY_LAST_PAG, number) &gt;= and if{
					@Pass_Frequencies((L:fmcBendixGA_gNAVDATA_APT_pag, number) (L:fmcBendixGA_gNAVDATA_RWY_LAST_PAG, number) - 5 *)
					quit
					}
				
					(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_INT == if{
						0 (>L:fmcBendixGA_enterdata, bool)
						11 (@g:enteringInput) == if{
							(@c:IcaoSearchMatchedIcaosNumber) 1 &lt; if{
								1 (>L:fmcBendixGA_not_in_database, bool)
								quit
								}
							0 (>@c:IcaoSearchStopCursor) @InitBlinker (@g:enteringInput) sp0 0 (>@g:enteringInput) 
							(@c:IcaoSearchMatchedIcaosNumber) 1 > if{	  
								l0 (>@g:enteringInputSaved) @InvokePopupMenu(10, 92, 30, 200, 180, 36, 2, (@c:IcaoSearchMatchedIcaosNumber))
								(@c:IcaoSearchMatchedIcaosNumber) 5 / ceil (>L:fmcBendixGA_gDUPLICATEDWPTS_numpags, number)
								(@c:IcaoSearchCurrentIcao) (>@c:WaypointIntersectionICAO)
								@DUPLICATEDWPTSPageGroup (>L:fmcBendixGA_group, number)
								1 (>L:fmcBendixGA_dupl_wpt_int_info, bool)
								0 (>L:fmcBendixGA_dupl_wpt_dto, bool)
								0 (>L:fmcBendixGA_dupl_wpt_ndb_info, bool)
								0 (>L:fmcBendixGA_dupl_wpt_vor_info, bool)
								quit
								}
							} 
						(@c:IcaoSearchCurrentIcao) (>@c:WaypointIntersectionICAO)
						1 (>L:fmcBendixGA_wpt_int_selected, bool)
						quit
						}
					
					(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_NDB == if{
						0 (>L:fmcBendixGA_enterdata, bool)
						12 (@g:enteringInput) == if{
							(@c:IcaoSearchMatchedIcaosNumber) 1 &lt; if{
								1 (>L:fmcBendixGA_not_in_database, bool)
								quit
								}
							0 (>@c:IcaoSearchStopCursor) @InitBlinker (@g:enteringInput) sp0 0 (>@g:enteringInput) 
							(@c:IcaoSearchMatchedIcaosNumber) 1 > if{	  
								l0 (>@g:enteringInputSaved) @InvokePopupMenu(10, 92, 30, 200, 180, 36, 2, (@c:IcaoSearchMatchedIcaosNumber))
								(@c:IcaoSearchMatchedIcaosNumber) 5 / ceil (>L:fmcBendixGA_gDUPLICATEDWPTS_numpags, number)
								(@c:IcaoSearchCurrentIcao) (>@c:WaypointNdbICAO)
								@DUPLICATEDWPTSPageGroup (>L:fmcBendixGA_group, number)
								1 (>L:fmcBendixGA_dupl_wpt_ndb_info, bool)
								0 (>L:fmcBendixGA_dupl_wpt_dto, bool)
								0 (>L:fmcBendixGA_dupl_wpt_int_info, bool)
								0 (>L:fmcBendixGA_dupl_wpt_vor_info, bool)
								quit
								}
							} 
						(@c:IcaoSearchCurrentIcao) (>@c:WaypointNdbICAO)
						1 (>L:fmcBendixGA_wpt_ndb_selected, bool)
						quit
						}
						
					(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_VOR == if{
						0 (>L:fmcBendixGA_enterdata, bool)
						13 (@g:enteringInput) == if{
							(@c:IcaoSearchMatchedIcaosNumber) 1 &lt; if{
								1 (>L:fmcBendixGA_not_in_database, bool)
								quit
								}
							0 (>@c:IcaoSearchStopCursor) @InitBlinker (@g:enteringInput) sp0 0 (>@g:enteringInput) 
							(@c:IcaoSearchMatchedIcaosNumber) 1 > if{	  
								l0 (>@g:enteringInputSaved) @InvokePopupMenu(10, 92, 30, 200, 180, 36, 2, (@c:IcaoSearchMatchedIcaosNumber))
								(@c:IcaoSearchMatchedIcaosNumber) 5 / ceil (>L:fmcBendixGA_gDUPLICATEDWPTS_numpags, number)
								(@c:IcaoSearchCurrentIcao) (>@c:WaypointVorICAO)
								@DUPLICATEDWPTSPageGroup (>L:fmcBendixGA_group, number)
								1 (>L:fmcBendixGA_dupl_wpt_vor_info, bool)
								0 (>L:fmcBendixGA_dupl_wpt_dto, bool)
								0 (>L:fmcBendixGA_dupl_wpt_int_info, bool)
								0 (>L:fmcBendixGA_dupl_wpt_ndb_info, bool)
								quit
								}
						} 
						(@c:IcaoSearchCurrentIcao) (>@c:WaypointVorICAO)
						1 (>L:fmcBendixGA_wpt_vor_selected, bool)
						quit
						}
					(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_NRST_APT &gt;= (L:fmcBendixGA_gNAVDATA, number) @NAVDATA_NRST_INT != and if{
						(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_NRST_APT == if{ 
							0 (>@c:NearestAirportCurrentLine) (@c:NearestAirportCurrentComFrequencyValue, Frequency BCD16) (>K:COM_RADIO_SET)
							}
						(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_NRST_NDB == if{ 
							0 (>@c:NearestNdbCurrentLine) (@c:NearestNdbCurrentFrequency, Frequency ADF BCD32) (>K:ADF_COMPLETE_SET) }
							}
						(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_NRST_VOR == if{ 
							0 (>@c:NearestVorCurrentLine) (@c:NearestVorCurrentFrequency, Frequency BCD16) (>K:NAV1_RADIO_SET) }
							}
						quit
						}
					quit
					}
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="RK2" Left="297" Top="81" Width="28" Height="19">
			<Click>
				(L:fmcBendixGA_group, number) @GPSMapPageGroup == if{
					(C:ITrafficInfo:SelectedVehicle) 1 + (&gt;C:ITrafficInfo:SelectedVehicle)
					(C:ITrafficInfo:SelectedVehicleID) (&gt;C:fs9gps:1:SelectedVehicle)
					quit
				}
				(L:fmcBendixGA_group, number) @DEPARRIVALPageGroup == if{
						(L:fmcBendixGA_gDEPARRIVAL_pag, number) @DEPARRSelected == if{
							(L:fmcBendixGA_TRANS_2_selected, bool) ! (>L:fmcBendixGA_TRANS_2_selected, bool)
							0 (>L:fmcBendixGA_TRANS_3_selected, bool)
							0 (>L:fmcBendixGA_TRANS_4_selected, bool)
							0 (>L:fmcBendixGA_TRANS_5_selected, bool)
							(L:fmcBendixGA_TRANS_2_readytoload, bool) ! (>L:fmcBendixGA_TRANS_2_readytoload, bool)
							0 (>L:fmcBendixGA_TRANS_3_readytoload, bool)
							0 (>L:fmcBendixGA_TRANS_4_readytoload, bool)
							0 (>L:fmcBendixGA_TRANS_5_readytoload, bool)
							(L:fmcBendixGA_TRANS_2_readytoactivated, bool) ! (>L:fmcBendixGA_TRANS_2_readytoactivated, bool)
							0 (>L:fmcBendixGA_TRANS_3_readytoactivated, bool)
							0 (>L:fmcBendixGA_TRANS_4_readytoactivated, bool)
							0 (>L:fmcBendixGA_TRANS_5_readytoactivated, bool)
							0 (>L:fmcBendixGA_RK_TRANS_pulsada, number)
							(L:fmcBendixGA_TRANS_2_readytoload, bool) ! (L:fmcBendixGA_TRANS_2_readytoactivated, bool) ! and if{ 0 (>L:fmcBendixGA_exec_button, bool) }
							(L:fmcBendixGA_TRANS_2_selected, bool) ! if{ 0 (>L:fmcBendixGA_TRANS_2_readytoload, bool) 0 (>L:fmcBendixGA_TRANS_2_readytoactivated, bool) }
						quit
						}
						(L:fmcBendixGA_gDEPARRIVAL_pag, number) @DEPARRSelect == if{
							@DEPARRSelected (>L:fmcBendixGA_gDEPARRIVAL_pag, number)
							1 (>L:fmcBendixGA_RK_APPR_pulse, number)
							(L:fmcBendixGA_DEPARRSelect_pag, number) 1 - 5 * (L:fmcBendixGA_RK_APPR_pulse, number) + (>@g:currentAirportApproach)
							3 (>@g:blinkingField) 
						quit
						}
						(L:fmcBendixGA_gDEPARRIVAL_pag, number) @DEPARRIndex == if{
							@DEPARRSelect (>L:fmcBendixGA_gDEPARRIVAL_pag, number) 1 (>L:fmcBendixGA_DEPARRSelect_pag, number)
							(@c:FlightPlanIsLoadedApproach) if{ (@c:FlightPlanApproachTransitionIndex) 0 != if{ 2 } els{ 1 } } els{ 3 } (>@g:blinkingField)
							(@c:FlightPlanIsActiveFlightPlan) if{
									(@c:FlightPlanWaypointsNumber) -- (>@c:FlightPlanWaypointIndex)
									(@c:FlightPlanWaypointICAO) (>@c:WaypointAirportICAO)
									2 (>@g:blinkingField)
									}
								els{ 
									1 (>@g:blinkingField)
									}
						quit
						}
					quit
					}
				(L:fmcBendixGA_group, number) @LEGSPageGroup == if{ 
					(L:fmcBendixGA_gLEGS_pag, number) 5 * 4 - (>L:fmcBendixGA_LSKR1_pulse, number)
					@vnav_data((L:fmcBendixGA_LSKR1_pulse, number))
					1 (>L:fmcBendixGA_data_entered_2, bool)
					quit
					}
				(L:fmcBendixGA_group, number) @ROUTEPageGroup == (L:fmcBendixGA_gROUTE_pag, number) @ROUTE_MAIN &gt; and (L:fmcBendixGA_hold, bool) and if{
					1 (>L:fmcBendixGA_enterdata, bool)
					1 (>L:fmcBendixGA_exec_button, bool)
					(L:fmcBendixGA_gROUTE_pag, number) (L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) &lt;= if{
						(L:fmcBendixGA_gROUTE_pag, number) 5 * 9 - (>L:fmcBendixGA_fpl_index, number)
						(L:fmcBendixGA_fpl_index, number) (>@g:directToActivateLeg) 1 (>@g:activateLeg)
						}
					(L:fmcBendixGA_gROUTE_pag, number) (L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) &gt; if{
						(L:fmcBendixGA_gROUTE_pag, number) 1 - (L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) - 5 * 1 + (>L:fmcBendixGA_fplappr_index, number)
						(L:fmcBendixGA_fplappr_index, number) (>@g:directToActivateLeg) 1 (>@g:activateLeg)
						}
					
					quit
					}
				(L:fmcBendixGA_group, number) @NAVDATAPageGroup == if{ 
						(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_MAIN == if{ 
						@NAVDATA_NRST_INT (>L:fmcBendixGA_gNAVDATA, number)
						quit
						}
						(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_APT == (L:fmcBendixGA_gNAVDATA_APT_pag, number) (L:fmcBendixGA_gNAVDATA_RWY_LAST_PAG, number) &gt;= and if{
						@Pass_Frequencies((L:fmcBendixGA_gNAVDATA_APT_pag, number) (L:fmcBendixGA_gNAVDATA_RWY_LAST_PAG, number) - 5 * 1 +)
						quit
						}
						(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_NRST_APT &gt;= (L:fmcBendixGA_gNAVDATA, number) @NAVDATA_NRST_INT != and if{
						(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_NRST_APT == if{ 
							1 (>@c:NearestAirportCurrentLine) (@c:NearestAirportCurrentComFrequencyValue, Frequency BCD16) (>K:COM_RADIO_SET)
							}
						(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_NRST_NDB == if{ 
							1 (>@c:NearestNdbCurrentLine) (@c:NearestNdbCurrentFrequency, Frequency ADF BCD32) (>K:ADF_COMPLETE_SET) }
							}
						(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_NRST_VOR == if{ 
							1 (>@c:NearestVorCurrentLine) (@c:NearestVorCurrentFrequency, Frequency BCD16) (>K:NAV1_RADIO_SET) }
							}
						quit
						}
					quit
					}
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="RK3" Left="297" Top="107" Width="28" Height="19">
			<Click>
				(L:fmcBendixGA_group, number) @GPSMapPageGroup == if{
					(C:fs9gps:1:TagPosition) ++ 8 % (&gt;C:fs9gps:1:TagPosition)
					quit
				}
				(L:fmcBendixGA_group, number) @DEPARRIVALPageGroup == if{
					(L:fmcBendixGA_gDEPARRIVAL_pag, number) @DEPARRSelected == if{
							(L:fmcBendixGA_TRANS_3_selected, bool) ! (>L:fmcBendixGA_TRANS_3_selected, bool)
							0 (>L:fmcBendixGA_TRANS_2_selected, bool)
							0 (>L:fmcBendixGA_TRANS_4_selected, bool)
							0 (>L:fmcBendixGA_TRANS_5_selected, bool)
							(L:fmcBendixGA_TRANS_3_readytoload, bool) ! (>L:fmcBendixGA_TRANS_3_readytoload, bool)
							0 (>L:fmcBendixGA_TRANS_2_readytoload, bool)
							0 (>L:fmcBendixGA_TRANS_4_readytoload, bool)
							0 (>L:fmcBendixGA_TRANS_5_readytoload, bool)
							(L:fmcBendixGA_TRANS_3_readytoactivated, bool) ! (>L:fmcBendixGA_TRANS_3_readytoactivated, bool)
							0 (>L:fmcBendixGA_TRANS_2_readytoactivated, bool)
							0 (>L:fmcBendixGA_TRANS_4_readytoactivated, bool)
							0 (>L:fmcBendixGA_TRANS_5_readytoactivated, bool)
							1 (>L:fmcBendixGA_RK_TRANS_pulsada, number)
							(L:fmcBendixGA_TRANS_3_readytoload, bool) ! (L:fmcBendixGA_TRANS_3_readytoactivated, bool) ! and if{ 0 (>L:fmcBendixGA_exec_button, bool) }
							(L:fmcBendixGA_TRANS_3_selected, bool) ! if{ 0 (>L:fmcBendixGA_TRANS_3_readytoload, bool) 0 (>L:fmcBendixGA_TRANS_3_readytoactivated, bool) }
						quit
						}
					(L:fmcBendixGA_gDEPARRIVAL_pag, number) @DEPARRSelect == if{	
							@DEPARRSelected (>L:fmcBendixGA_gDEPARRIVAL_pag, number)
							2 (>L:fmcBendixGA_RK_APPR_pulse, number)
							(L:fmcBendixGA_DEPARRSelect_pag, number) 1 - 5 * (L:fmcBendixGA_RK_APPR_pulse, number) + (>@g:currentAirportApproach)	
							3 (>@g:blinkingField) 					
						quit
						}
					quit
					}
				(L:fmcBendixGA_group, number) @LEGSPageGroup == if{ 
					(L:fmcBendixGA_gLEGS_pag, number) 5 * 3 - (>L:fmcBendixGA_LSKR1_pulse, number)
					@vnav_data((L:fmcBendixGA_LSKR1_pulse, number))
					1 (>L:fmcBendixGA_data_entered_3, bool)
					quit
					}
				(L:fmcBendixGA_group, number) @ROUTEPageGroup == (L:fmcBendixGA_gROUTE_pag, number) @ROUTE_MAIN &gt; and (L:fmcBendixGA_hold, bool) and if{
					1 (>L:fmcBendixGA_enterdata, bool)
					1 (>L:fmcBendixGA_exec_button, bool)
					(L:fmcBendixGA_gROUTE_pag, number) (L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) &lt;= if{
						(L:fmcBendixGA_gROUTE_pag, number) 5 * 8 - (>L:fmcBendixGA_fpl_index, number)
						(L:fmcBendixGA_fpl_index, number) (>@g:directToActivateLeg) 1 (>@g:activateLeg)
						}
					(L:fmcBendixGA_gROUTE_pag, number) (L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) &gt; if{
						(L:fmcBendixGA_gROUTE_pag, number) 1 - (L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) - 5 * 2 + (>L:fmcBendixGA_fplappr_index, number)
						(L:fmcBendixGA_fplappr_index, number) (>@g:directToActivateLeg) 1 (>@g:activateLeg)
						}
					
					quit
					}
				(L:fmcBendixGA_group, number) @NAVDATAPageGroup == if{ 
						(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_MAIN == if{ 
						@NAVDATA_NRST_NDB (>L:fmcBendixGA_gNAVDATA, number)
						quit
						}
						(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_APT == (L:fmcBendixGA_gNAVDATA_APT_pag, number) (L:fmcBendixGA_gNAVDATA_RWY_LAST_PAG, number) &gt;= and if{
						@Pass_Frequencies((L:fmcBendixGA_gNAVDATA_APT_pag, number) (L:fmcBendixGA_gNAVDATA_RWY_LAST_PAG, number) - 5 * 2 +)
						quit
						}
						(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_NRST_APT &gt;= (L:fmcBendixGA_gNAVDATA, number) @NAVDATA_NRST_INT != and if{
						(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_NRST_APT == if{ 
							2 (>@c:NearestAirportCurrentLine) (@c:NearestAirportCurrentComFrequencyValue, Frequency BCD16) (>K:COM_RADIO_SET)
							}
						(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_NRST_NDB == if{ 
							2 (>@c:NearestNdbCurrentLine) (@c:NearestNdbCurrentFrequency, Frequency ADF BCD32) (>K:ADF_COMPLETE_SET) }
							}
						(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_NRST_VOR == if{ 
							2 (>@c:NearestVorCurrentLine) (@c:NearestVorCurrentFrequency, Frequency BCD16) (>K:NAV1_RADIO_SET) }
							}
						quit
						}
					quit
					}
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="RK4" Left="297" Top="133" Width="28" Height="19">
			<Click>
				(L:fmcBendixGA_group, number) @DEPARRIVALPageGroup == if{
						(L:fmcBendixGA_gDEPARRIVAL_pag, number) @DEPARRSelected == if{							
							(L:fmcBendixGA_TRANS_4_selected, bool) ! (>L:fmcBendixGA_TRANS_4_selected, bool)
							0 (>L:fmcBendixGA_TRANS_2_selected, bool)
							0 (>L:fmcBendixGA_TRANS_3_selected, bool)
							0 (>L:fmcBendixGA_TRANS_5_selected, bool)
							(L:fmcBendixGA_TRANS_4_readytoload, bool) ! (>L:fmcBendixGA_TRANS_4_readytoload, bool)
							0 (>L:fmcBendixGA_TRANS_2_readytoload, bool)
							0 (>L:fmcBendixGA_TRANS_3_readytoload, bool)
							0 (>L:fmcBendixGA_TRANS_5_readytoload, bool)
							(L:fmcBendixGA_TRANS_4_readytoactivated, bool) ! (>L:fmcBendixGA_TRANS_4_readytoactivated, bool)
							0 (>L:fmcBendixGA_TRANS_2_readytoactivated, bool)
							0 (>L:fmcBendixGA_TRANS_3_readytoactivated, bool)
							0 (>L:fmcBendixGA_TRANS_5_readytoactivated, bool)
							2 (>L:fmcBendixGA_RK_TRANS_pulsada, number)
							(L:fmcBendixGA_TRANS_4_readytoload, bool) ! (L:fmcBendixGA_TRANS_4_readytoactivated, bool) ! and if{ 0 (>L:fmcBendixGA_exec_button, bool) }
							(L:fmcBendixGA_TRANS_4_selected, bool) ! if{ 0 (>L:fmcBendixGA_TRANS_4_readytoload, bool) 0 (>L:fmcBendixGA_TRANS_4_readytoactivated, bool) }
						quit
						}
						(L:fmcBendixGA_gDEPARRIVAL_pag, number) @DEPARRSelect == if{
							@DEPARRSelected (>L:fmcBendixGA_gDEPARRIVAL_pag, number)
							3 (>L:fmcBendixGA_RK_APPR_pulse, number)
							(L:fmcBendixGA_DEPARRSelect_pag, number) 1 - 5 * (L:fmcBendixGA_RK_APPR_pulse, number) + (>@g:currentAirportApproach)
							3 (>@g:blinkingField) 
						quit
						}
					quit
					}
				(L:fmcBendixGA_group, number) @LEGSPageGroup == if{ 
					(L:fmcBendixGA_gLEGS_pag, number) 5 * 2 - (>L:fmcBendixGA_LSKR1_pulse, number)
					@vnav_data((L:fmcBendixGA_LSKR1_pulse, number))
					1 (>L:fmcBendixGA_data_entered_4, bool)
					quit
					}
				(L:fmcBendixGA_group, number) @ROUTEPageGroup == (L:fmcBendixGA_gROUTE_pag, number) @ROUTE_MAIN &gt; and (L:fmcBendixGA_hold, bool) and if{
					1 (>L:fmcBendixGA_enterdata, bool)
					1 (>L:fmcBendixGA_exec_button, bool)
					(L:fmcBendixGA_gROUTE_pag, number) (L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) &lt;= if{
						(L:fmcBendixGA_gROUTE_pag, number) 5 * 7 - (>L:fmcBendixGA_fpl_index, number)
						(L:fmcBendixGA_fpl_index, number) (>@g:directToActivateLeg) 1 (>@g:activateLeg)
						}
					(L:fmcBendixGA_gROUTE_pag, number) (L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) &gt; if{
						(L:fmcBendixGA_gROUTE_pag, number) 1 - (L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) - 5 * 3 + (>L:fmcBendixGA_fplappr_index, number)
						(L:fmcBendixGA_fplappr_index, number) (>@g:directToActivateLeg) 1 (>@g:activateLeg)
						}
					
					quit
					}
				(L:fmcBendixGA_group, number) @NAVDATAPageGroup == if{ 
						(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_MAIN == if{ 
						@NAVDATA_NRST_VOR (>L:fmcBendixGA_gNAVDATA, number)
						quit
						}
						(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_APT == (L:fmcBendixGA_gNAVDATA_APT_pag, number) (L:fmcBendixGA_gNAVDATA_RWY_LAST_PAG, number) &gt;= and if{
						@Pass_Frequencies((L:fmcBendixGA_gNAVDATA_APT_pag, number) (L:fmcBendixGA_gNAVDATA_RWY_LAST_PAG, number) - 5 * 3 +)
						quit
						}
						(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_NRST_APT &gt;= (L:fmcBendixGA_gNAVDATA, number) @NAVDATA_NRST_INT != and if{
						(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_NRST_APT == if{ 
							3 (>@c:NearestAirportCurrentLine) (@c:NearestAirportCurrentComFrequencyValue, Frequency BCD16) (>K:COM_RADIO_SET)
							}
						(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_NRST_NDB == if{ 
							3 (>@c:NearestNdbCurrentLine) (@c:NearestNdbCurrentFrequency, Frequency ADF BCD32) (>K:ADF_COMPLETE_SET) }
							}
						(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_NRST_VOR == if{ 
							3 (>@c:NearestVorCurrentLine) (@c:NearestVorCurrentFrequency, Frequency BCD16) (>K:NAV1_RADIO_SET) }
							}
						quit
						}
					quit
					}
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="RK5" Left="297" Top="159" Width="28" Height="19">
			<Click>
				(L:fmcBendixGA_group, number) @GPSMapPageGroup == if{
					(L:fmc_LayerTags) ++ 3 % (&gt;L:fmc_LayerTags)
					quit
				}
				(L:fmcBendixGA_group, number) @PERFPageGroup == if{
					(@c:IcaoSearchCurrentIdent) (>L:fmcBendixGA_trans_alt, number)
					0 (>@c:IcaoSearchStartCursor)
					quit
					}
				(L:fmcBendixGA_group, number) @DEPARRIVALPageGroup == if{
					(L:fmcBendixGA_gDEPARRIVAL_pag, number) @DEPARRSelected == if{
							(L:fmcBendixGA_TRANS_5_selected, bool) ! (>L:fmcBendixGA_TRANS_5_selected, bool)
							0 (>L:fmcBendixGA_TRANS_2_selected, bool)
							0 (>L:fmcBendixGA_TRANS_3_selected, bool)
							0 (>L:fmcBendixGA_TRANS_4_selected, bool)
							(L:fmcBendixGA_TRANS_5_readytoload, bool) ! (>L:fmcBendixGA_TRANS_5_readytoload, bool)
							0 (>L:fmcBendixGA_TRANS_2_readytoload, bool)
							0 (>L:fmcBendixGA_TRANS_3_readytoload, bool)
							0 (>L:fmcBendixGA_TRANS_4_readytoload, bool)
							(L:fmcBendixGA_TRANS_5_readytoactivated, bool) ! (>L:fmcBendixGA_TRANS_5_readytoactivated, bool)
							0 (>L:fmcBendixGA_TRANS_2_readytoactivated, bool)
							0 (>L:fmcBendixGA_TRANS_3_readytoactivated, bool)
							0 (>L:fmcBendixGA_TRANS_4_readytoactivated, bool)
							3 (>L:fmcBendixGA_RK_TRANS_pulsada, number)
							(L:fmcBendixGA_TRANS_5_readytoload, bool) ! (L:fmcBendixGA_TRANS_5_readytoactivated, bool) ! and if{ 0 (>L:fmcBendixGA_exec_button, bool) }
							(L:fmcBendixGA_TRANS_5_selected, bool) ! if{ 0 (>L:fmcBendixGA_TRANS_5_readytoload, bool) 0 (>L:fmcBendixGA_TRANS_5_readytoactivated, bool) }
						quit
						}
					(L:fmcBendixGA_gDEPARRIVAL_pag, number) @DEPARRSelect == if{
							@DEPARRSelected (>L:fmcBendixGA_gDEPARRIVAL_pag, number)
							4 (>L:fmcBendixGA_RK_APPR_pulse, number)
							(L:fmcBendixGA_DEPARRSelect_pag, number) 1 - 5 * (L:fmcBendixGA_RK_APPR_pulse, number) + (>@g:currentAirportApproach)
							3 (>@g:blinkingField) 
						quit
						}
					quit
					}
				(L:fmcBendixGA_group, number) @LEGSPageGroup == if{ 
					(L:fmcBendixGA_gLEGS_pag, number) 5 * 1 - (>L:fmcBendixGA_LSKR1_pulse, number)
					@vnav_data((L:fmcBendixGA_LSKR1_pulse, number))
					1 (>L:fmcBendixGA_data_entered_5, bool)
					quit
					}
				(L:fmcBendixGA_group, number) @POSINITPageGroup == (L:fmcBendixGA_gPOSINIT_pag, number) @POSINIT_POSSHIFT == and if{
					@reset_vars
					@NAVSTATUSPageGroup (>L:fmcBendixGA_group, number)
					quit
					}
				(L:fmcBendixGA_group, number) @ROUTEPageGroup == (L:fmcBendixGA_gROUTE_pag, number) @ROUTE_MAIN &gt; and (L:fmcBendixGA_hold, bool) and if{
					1 (>L:fmcBendixGA_enterdata, bool)
					1 (>L:fmcBendixGA_exec_button, bool)
					(L:fmcBendixGA_gROUTE_pag, number) (L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) &lt;= if{
						(L:fmcBendixGA_gROUTE_pag, number) 5 * 6 - (>L:fmcBendixGA_fpl_index, number)
						(L:fmcBendixGA_fpl_index, number) (>@g:directToActivateLeg) 1 (>@g:activateLeg)
						}
					(L:fmcBendixGA_gROUTE_pag, number) (L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) &gt; if{
						(L:fmcBendixGA_gROUTE_pag, number) 1 - (L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) - 5 * 4 + (>L:fmcBendixGA_fplappr_index, number)
						(L:fmcBendixGA_fplappr_index, number) (>@g:directToActivateLeg) 1 (>@g:activateLeg)
						}
					quit
					}
				(L:fmcBendixGA_group, number) @NAVDATAPageGroup == if{ 
						(L:fmcBendixGA_gNAVDATA_APT_pag, number) @NAVDATA_APT_MAIN == if{
							(L:fmc_hasWaypoint) 0 > if{
							@GPSMapPageGroup (>L:fmcBendixGA_group, number)
								1 (>L:fmc_LayerFollow)
								quit
							}
						}
						(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_APT == (L:fmcBendixGA_gNAVDATA_APT_pag, number) (L:fmcBendixGA_gNAVDATA_RWY_LAST_PAG, number) &gt;= and if{
						@Pass_Frequencies((L:fmcBendixGA_gNAVDATA_APT_pag, number) (L:fmcBendixGA_gNAVDATA_RWY_LAST_PAG, number) - 5 * 4 +)
						quit
						}
						(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_NRST_APT &gt;= (L:fmcBendixGA_gNAVDATA, number) @NAVDATA_NRST_INT != and if{
						(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_NRST_APT == if{ 
							4 (>@c:NearestAirportCurrentLine) (@c:NearestAirportCurrentComFrequencyValue, Frequency BCD16) (>K:COM_RADIO_SET)
							}
						(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_NRST_NDB == if{ 
							4 (>@c:NearestNdbCurrentLine) (@c:NearestNdbCurrentFrequency, Frequency ADF BCD32) (>K:ADF_COMPLETE_SET) }
							}
						(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_NRST_VOR == if{ 
							4 (>@c:NearestVorCurrentLine) (@c:NearestVorCurrentFrequency, Frequency BCD16) (>K:NAV1_RADIO_SET) }
							}
						quit
						}
					quit
					}
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="RK6" Left="297" Top="186" Width="28" Height="19">
			<Click>
				(L:fmcBendixGA_group, number) @IDENTPageGroup == if{ @POSINITPageGroup (>L:fmcBendixGA_group, number) quit }
				(L:fmcBendixGA_group, number) @PERFPageGroup == if{
					1 (>L:fmcBendixGA_exec_button, bool)
					0 (>@g:enteringInput)
					quit
					}
				(L:fmcBendixGA_group, number) @POSINITPageGroup == (L:fmcBendixGA_gPOSINIT_pag, number) @POSINIT_POSINIT == and if{
					@reset_vars
					@ROUTEPageGroup (>L:fmcBendixGA_group, number)
					1 (>L:fmcBendixGA_gROUTE_pag, number)
					quit
					}
				(L:fmcBendixGA_group, number) @LEGSPageGroup == if{ 
					1 (>L:fmcBendixGA_exec_button, bool)
					quit
					}
				(L:fmcBendixGA_group, number) @NAVSTATUSPageGroup == if{
					@reset_vars
					@POSINITPageGroup (>L:fmcBendixGA_group, number) @POSINIT_POSSHIFT (>L:fmcBendixGA_gPOSINIT_pag, number)
					quit
					}
				(L:fmcBendixGA_group, number) @NAVDATAPageGroup == if{	
					(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_MAIN == if{ @reset_vars @NAVSTATUSPageGroup (>L:fmcBendixGA_group, number) quit }
					(L:fmcBendixGA_gNAVDATA, number) @NAVDATA_MAIN &gt; if{
						@reset_vars
						0 (>L:fmcBendixGA_gNAVDATA_APT_numpags, number)
						@NAVDATAPageGroup (>L:fmcBendixGA_group, number) @NAVDATA_MAIN (>L:fmcBendixGA_gNAVDATA, number)
						quit
						}
					quit
					}
				(L:fmcBendixGA_group, number) @ROUTEPageGroup == (L:fmcBendixGA_group, number) @LEGSPageGroup == || if{
					@reset_vars
					@PERFPageGroup (>L:fmcBendixGA_group, number)
					' ' (>@c:IcaoSearchInitialIcao)
					1 (>L:fmcBendixGA_enterdata, bool)
					14 (>@g:enteringInput)
					0 (>@c:IcaoSearchStartCursor)
					quit
					}
				(L:fmcBendixGA_group, number) @DEPARRIVALPageGroup == (L:fmcBendixGA_gDEPARRIVAL_pag, number) @DEPARRIndex != and if{
					@reset_vars
					@ROUTEPageGroup (>L:fmcBendixGA_group, number)
					1 (>L:fmcBendixGA_gROUTE_pag, number)
					quit
					}
				(L:fmcBendixGA_group, number) @PROGRESSPageGroup == (L:fmcBendixGA_gPROGRESS_pag, number) @PROGRESS_1 == and if{
					@reset_vars
					@POSINITPageGroup (>L:fmcBendixGA_group, number) @POSINIT_POSREF (>L:fmcBendixGA_gPOSINIT_pag, number)
					quit
					}
				(L:fmcBendixGA_group, number) @FIXPageGroup == if{
					(L:fmcBendixGA_exec_button, bool) if{ quit }
					(@g:enteringInput) 31 == if{
						(@c:IcaoSearchMatchedIcaosNumber) 1 &lt; if{
							
							1 (>L:fmcBendixGA_not_in_database, bool)
							quit
						}
						1 (>L:fmcBendixGA_exec_button, bool)
						0 (>@c:IcaoSearchStopCursor) @InitBlinker 0 (>@g:enteringInput) 
						0 (>@g:directToActivateLeg)
						(@c:IcaoSearchMatchedIcaosNumber) 1 > if{	  
							31 (>@g:enteringInputSaved) @InvokePopupMenu(10, 96, 20, 200, 190, 36, 2, (@c:IcaoSearchMatchedIcaosNumber))
							(@c:IcaoSearchMatchedIcaosNumber) 5 / ceil (>L:fmcBendixGA_gDUPLICATEDWPTS_numpags, number)
						} 
						(@g:popupMenu) 10 == if{
							0 (>L:fmcBendixGA_exec_button, bool)
							@DUPLICATEDWPTSPageGroup (>L:fmcBendixGA_group, number)
							1 (>L:fmcBendixGA_dupl_wpt_dto, bool)
							0 (>L:fmcBendixGA_dupl_wpt_int_info, bool)
							0 (>L:fmcBendixGA_dupl_wpt_ndb_info, bool)
							0 (>L:fmcBendixGA_dupl_wpt_vor_info, bool)
							}
						(@c:IcaoSearchCurrentIcao) (>@c:FacilityICAO)
						0 (>@g:enteringInput)
					}
					0 (>@g:directToActivateLeg)
					0 (>@g:enteringInput)
					0 (>L:fmcBendixGA_keyboard_active, bool)
					0 (>L:fmcBendixGA_not_in_database, bool)
					(@g:directTo) 0 != if{ 
						@InitBlinker
						0 (>@g:directToActivateLeg)
						(@g:blinkingField) 1 == if{ 5 (>@g:blinkingField) g110 }
						(@g:blinkingField) 2 == if{ 5 (>@g:blinkingField) g110 }
						(@g:blinkingField) 3 == if{ 0 (>@g:popupMenuCurrent) g162 g110 }
						(@g:blinkingField) 4 == if{ 0 (>@g:popupMenuCurrent) g163 g110 }
						(@g:blinkingField) 5 == if{ (@c:FacilityICAO) (>@c:FlightPlanNewWaypointICAO) 1 (>@c:FlightPlanDirectToDestination) @EscapeMenu g110 }
					:110
					}
					quit
					}
				(L:fmcBendixGA_group, number) @DUPLICATEDWPTSPageGroup == if{
					(L:fmcBendixGA_dupl_wpt_dto, bool) if{
							@reset_vars
							1 (>L:fmcBendixGA_enterdata, bool)
							@FIXPageGroup (>L:fmcBendixGA_group, number)
							@EscapeMenu 1 (>@g:directTo) 1 (>@g:blinkingField) 
							0 (>@g:directToActivateLeg)
							(@c:FlightPlanIsDirectTo) if{ (@c:FlightPlanDirectToWaypoint) (>@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointICAO) (>@c:FacilityICAO) }
							31 (>@g:enteringInput) 1 (>L:fmcBendixGA_keyboard_active, bool)
							(@g:blinkingField) 1 == if{ @InvokeICAOInputMode((@c:FacilityICAO), 'AVNWM', 31) }
							quit
						}
					0 (>L:fmcBendixGA_enterdata, bool)
					0 (>L:fmcBendixGA_wpt_apt_selected, bool)
					0 (>L:fmcBendixGA_wpt_int_selected, bool)
					0 (>L:fmcBendixGA_wpt_ndb_selected, bool)
					0 (>L:fmcBendixGA_wpt_vor_selected, bool)
					0 (>L:fmcBendixGA_dupl_wpt_int_info, bool)
					0 (>L:fmcBendixGA_dupl_wpt_dto, bool)
					0 (>L:fmcBendixGA_gNAVDATA_APT_numpags, number)
					@NAVDATAPageGroup (>L:fmcBendixGA_group, number) @NAVDATA_MAIN (>L:fmcBendixGA_gNAVDATA, number)
					quit
					}	
					(L:fmcBendixGA_group, number) @GPSMapPageGroup == if{
					(L:fmc_LayerTerrain) ! (>L:fmc_LayerTerrain)
					}
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="INIT REF" Left="38" Top="242" Width="33" Height="23">
			<Click>
				@reset_vars
				@PERFPageGroup (>L:fmcBendixGA_group, number)
				' ' (>@c:IcaoSearchInitialIcao)
				1 (>L:fmcBendixGA_enterdata, bool)
				14 (>@g:enteringInput)
				0 (>@c:IcaoSearchStartCursor)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="FIX" Left="38" Top="274" Width="33" Height="23">
			<Click>
				@reset_vars
				@FIXPageGroup (>L:fmcBendixGA_group, number)
				1 (>L:fmcBendixGA_enterdata, bool)
				1 (>@g:directTo)
				0 (>@g:directToActivateLeg)
				0 (>L:fmcBendixGA_not_in_database, bool)
				(@c:FlightPlanIsDirectTo) if{ (@c:FlightPlanDirectToWaypoint) (>@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointICAO) (>@c:FacilityICAO) }
				1 (>@g:blinkingField) 1 (>L:fmcBendixGA_keyboard_active, bool)
				@InvokeICAOInputMode((@c:FacilityICAO), 'AVNWM', 31)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="LEGS" Left="81" Top="274" Width="33" Height="23">
			<Click>
				(@c:FlightPlanIsActiveFlightPlan) ! if{ quit }
				@reset_vars
				(L:fmcBendixGA_vnav_active, bool) ! if{
					1 (>L:fmcBendixGA_enterdata, bool)
					14 (>@g:enteringInput)
					0 (>@c:IcaoSearchStartCursor)
					}
				@LEGSPageGroup (>L:fmcBendixGA_group, number)
				(@c:FlightPlanActiveWaypoint) 5 / ceil (>L:fmcBendixGA_gLEGS_pag, number)
				' ' (>@c:IcaoSearchInitialIcao)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="HOLD" Left="123" Top="274" Width="33" Height="23">
			<Click>
				@reset_vars
				1 (>L:fmcBendixGA_hold, bool)
				@ROUTEPageGroup (>L:fmcBendixGA_group, number)
				@ROUTE_VIA (>L:fmcBendixGA_gROUTE_pag, number)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="RTE" Left="81" Top="242" Width="33" Height="23">
			<Click>
				@ROUTEPageGroup (>L:fmcBendixGA_group, number) if{ quit }
				@reset_vars
				@ROUTEPageGroup (>L:fmcBendixGA_group, number)
				(@c:FlightPlanActiveWaypoint) 5 / ceil 1 + (>L:fmcBendixGA_gROUTE_pag, number)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="DEP-ARRIVAL" Left="123" Top="242" Width="33" Height="23">
			<Click>
				(L:fmcBendixGA_group, number) @DEPARRIVALPageGroup == if{
					@DEPARRIndex (>L:fmcBendixGA_gDEPARRIVAL_pag, number)
					0 (>L:fmcBendixGA_RK_APPR_pulse, number)
					0 (>L:fmcBendixGA_TRANS_2_selected, bool)
					0 (>L:fmcBendixGA_TRANS_3_selected, bool)
					0 (>L:fmcBendixGA_TRANS_4_selected, bool)
					0 (>L:fmcBendixGA_TRANS_5_selected, bool)
					0 (>L:fmcBendixGA_TRANS_2_readytoload, bool)
					0 (>L:fmcBendixGA_TRANS_3_readytoload, bool)
					0 (>L:fmcBendixGA_TRANS_4_readytoload, bool)
					0 (>L:fmcBendixGA_TRANS_5_readytoload, bool)
					0 (>L:fmcBendixGA_TRANS_2_readytoactivated, bool)
					0 (>L:fmcBendixGA_TRANS_3_readytoactivated, bool)
					0 (>L:fmcBendixGA_TRANS_4_readytoactivated, bool)
					0 (>L:fmcBendixGA_TRANS_5_readytoactivated, bool)
					quit
					}
				
				(L:fmcBendixGA_TRANS_2_loaded, bool) (L:fmcBendixGA_TRANS_3_loaded, bool) (L:fmcBendixGA_TRANS_4_loaded, bool) (L:fmcBendixGA_TRANS_5_loaded, bool) || || || if{
						@DEPARRIVALPageGroup (>L:fmcBendixGA_group, number) @DEPARRSelected (>L:fmcBendixGA_gDEPARRIVAL_pag, number)
						quit
						}
					else{
						@reset_vars
						@DEPARRIVALPageGroup (>L:fmcBendixGA_group, number) @DEPARRIndex (>L:fmcBendixGA_gDEPARRIVAL_pag, number)
						quit
						}
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="ATC" Left="162" Top="242" Width="33" Height="23">
			<Click>
				@reset_vars
				@ATCPageGroup (>L:fmcBendixGA_group, number)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="VNAV" Left="208" Top="242" Width="33" Height="23">
			<Click>
				(@c:FlightPlanIsActiveFlightPlan) ! if{ quit }
				@reset_vars
				1 (>L:fmcBendixGA_vnav, bool) 0 (>L:fmcBendixGA_enterdata, bool)
				@LEGSPageGroup (>L:fmcBendixGA_group, number)
				@LEGS (>L:fmcBendixGA_gLEGS_pag, number)
				(L:fmcBendixGA_vnav_active, bool) ! if{
					1 (>L:fmcBendixGA_enterdata, bool)
					14 (>@g:enteringInput)
					0 (>@c:IcaoSearchStartCursor)
					}
				(@c:FlightPlanIsActiveFlightPlan) ! if{ 1 (>L:fmcBendixGA_LEGS_numpags_sinAPPR, number) 0 (>L:fmcBendixGA_enterdata, bool) }
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="FMC COMM" Left="162" Top="274" Width="33" Height="23">
			<Click>
				@reset_vars
				@NAVRADPageGroup (>L:fmcBendixGA_group, number)
				1 (>L:fmcBendixGA_FMCCOMM, number)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="PROGRESS" Left="208" Top="274" Width="33" Height="23">
			<Click>
				(L:fmcBendixGA_group, number) @PROGRESSPageGroup == if{ quit }
				@reset_vars
				@PROGRESSPageGroup (>L:fmcBendixGA_group, number) @PROGRESS_1 (>L:fmcBendixGA_gPROGRESS_pag, number)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="EXEC" Left="255" Top="274" Width="33" Height="23">
			<Click>
				(L:fmcBendixGA_exec_button, bool) ! if{ quit }
				(L:fmcBendixGA_group, number) @PERFPageGroup == if{
					0 (>L:fmcBendixGA_exec_button, bool)
					(@c:FlightPlanIsActiveFlightPlan) if{
						@ias_alt_auto_wpt
						(L:fmcBendixGA_vnav_active, bool) ! if{
							1 (>L:fmcBendixGA_enterdata, bool)
							14 (>@g:enteringInput)
							0 (>@c:IcaoSearchStartCursor)
							}
						@reset_vars
						@LEGSPageGroup (>L:fmcBendixGA_group, number)
						@LEGS (>L:fmcBendixGA_gLEGS_pag, number)
						' ' (>@c:IcaoSearchInitialIcao)
						}
					quit
					}
				(L:fmcBendixGA_group, number) @ROUTEPageGroup == (L:fmcBendixGA_gROUTE_pag, number) @ROUTE_MAIN &gt; and (L:fmcBendixGA_hold, bool) and if{
					@FPLActivateLeg((@g:directToActivateLeg))
					@reset_vars
					0 (>@g:activateLeg)
					@PROGRESSPageGroup (>L:fmcBendixGA_group, number) @PROGRESS_1 (>L:fmcBendixGA_gPROGRESS_pag, number)
					quit
					}
				(L:fmcBendixGA_group, number) @LEGSPageGroup == if{ 
					0 (>@g:enteringInput)
					0 (>@c:IcaoSearchStartCursor)
					0 (>L:fmcBendixGA_exec_button, bool)
					(L:fmcBendixGA_vnav_active, bool) ! (>L:fmcBendixGA_vnav_active, bool)
					0 (>L:fmcBendixGA_vnav, bool)
					
					0 (>L:fmcBendixGA_vnav, bool) 0 (>L:fmcBendixGA_enterdata, bool) @LEGSPageGroup (>L:fmcBendixGA_group, number)
					(L:fmcBendixGA_vnav_active, bool) ! if{ 14 (>@g:enteringInput) 1 (>L:fmcBendixGA_enterdata, bool) }
					(L:fmcBendixGA_vnav_active, bool) if{ @follow_vnav }
					quit
					}					
				(L:fmcBendixGA_group, number) @FIXPageGroup == if{
					(@c:FacilityICAO) (>@c:FlightPlanNewWaypointICAO) 1 (>@c:FlightPlanDirectToDestination) @EscapeMenu 
					0 (>@g:enteringInput)
					@reset_vars
					@PROGRESSPageGroup (>L:fmcBendixGA_group, number) @PROGRESS_1 (>L:fmcBendixGA_gPROGRESS_pag, number)
					0 (>@g:directTo)
					quit
					}
				(L:fmcBendixGA_group, number) @DEPARRIVALPageGroup == (L:fmcBendixGA_gDEPARRIVAL_pag, number) @DEPARRSelected == and if{
					(L:fmcBendixGA_LOAD_TRANS_PUSHED, bool) if{
						(L:fmcBendixGA_TRANS_2_readytoload, bool) if{ 0 (>@g:currentAirportTransition) 4 (>@g:blinkingField) @load_approach 0 (>L:fmcBendixGA_TRANS_2_readytoload, bool) 1 (>L:fmcBendixGA_TRANS_2_loaded, bool) g102 }
						(L:fmcBendixGA_TRANS_3_readytoload, bool) if{ 1 (>@g:currentAirportTransition) 4 (>@g:blinkingField) @load_approach 0 (>L:fmcBendixGA_TRANS_3_readytoload, bool) 1 (>L:fmcBendixGA_TRANS_3_loaded, bool) g102 }
						(L:fmcBendixGA_TRANS_4_readytoload, bool) if{ 2 (>@g:currentAirportTransition) 4 (>@g:blinkingField) @load_approach 0 (>L:fmcBendixGA_TRANS_4_readytoload, bool) 1 (>L:fmcBendixGA_TRANS_4_loaded, bool) g102 }
						(L:fmcBendixGA_TRANS_5_readytoload, bool) if{ 3 (>@g:currentAirportTransition) 4 (>@g:blinkingField) @load_approach 0 (>L:fmcBendixGA_TRANS_5_readytoload, bool) 1 (>L:fmcBendixGA_TRANS_5_loaded, bool) g102 }
						:102
						@INDEXPageGroup (>L:fmcBendixGA_group, number)
						@ROUTE_MAIN (>L:fmcBendixGA_gROUTE_pag, number)
						@POSINIT_POSINIT (>L:fmcBendixGA_gPOSINIT_pag, number)
						@TAKEOFF_1 (>L:fmcBendixGA_gTAKEOFF_pag, number)  
						@DEPARRIndex (>L:fmcBendixGA_gDEPARRIVAL_pag, number)
						0 (>L:fmcBendixGA_RK_APPR_pulse, number)
						0 (>L:fmcBendixGA_TRANS_2_readytoload, bool)
						0 (>L:fmcBendixGA_TRANS_3_readytoload, bool)
						0 (>L:fmcBendixGA_TRANS_4_readytoload, bool)
						0 (>L:fmcBendixGA_TRANS_5_readytoload, bool)
						0 (>L:fmcBendixGA_LOAD_TRANS_PUSHED, bool)
						0 (>L:fmcBendixGA_exec_button, bool)
						@ROUTEPageGroup (>L:fmcBendixGA_group, number)
						(L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) 1 + (>L:fmcBendixGA_gROUTE_pag, number)
						quit
						}
					(L:fmcBendixGA_ACTIVATE_TRANS_PUSHED, bool) if{
						0 (>L:fmcBendixGA_exec_button, bool)
						(L:fmcBendixGA_TRANS_2_readytoload, bool) if{ 0 (>@g:currentAirportTransition) 2 (>@g:blinkingField) @load_approach 0 (>L:fmcBendixGA_TRANS_2_readytoactivated, bool) 1 (>L:fmcBendixGA_TRANS_2_loaded, bool) g1003 }
						(L:fmcBendixGA_TRANS_3_readytoload, bool) if{ 1 (>@g:currentAirportTransition) 2 (>@g:blinkingField) @load_approach 0 (>L:fmcBendixGA_TRANS_3_readytoactivated, bool) 1 (>L:fmcBendixGA_TRANS_3_loaded, bool) g1003 }
						(L:fmcBendixGA_TRANS_4_readytoload, bool) if{ 2 (>@g:currentAirportTransition) 2 (>@g:blinkingField) @load_approach 0 (>L:fmcBendixGA_TRANS_4_readytoactivated, bool) 1 (>L:fmcBendixGA_TRANS_4_loaded, bool) g1003 }
						(L:fmcBendixGA_TRANS_5_readytoload, bool) if{ 3 (>@g:currentAirportTransition) 2 (>@g:blinkingField) @load_approach 0 (>L:fmcBendixGA_TRANS_5_readytoactivated, bool) 1 (>L:fmcBendixGA_TRANS_5_loaded, bool) g1003 }
						:1003
						
						@INDEXPageGroup (>L:fmcBendixGA_group, number)
						@ROUTE_MAIN (>L:fmcBendixGA_gROUTE_pag, number)
						@POSINIT_POSINIT (>L:fmcBendixGA_gPOSINIT_pag, number)
						@TAKEOFF_1 (>L:fmcBendixGA_gTAKEOFF_pag, number)  
						@DEPARRIndex (>L:fmcBendixGA_gDEPARRIVAL_pag, number)
						0 (>L:fmcBendixGA_RK_APPR_pulse, number)
						0 (>L:fmcBendixGA_TRANS_2_readytoload, bool)
						0 (>L:fmcBendixGA_TRANS_3_readytoload, bool)
						0 (>L:fmcBendixGA_TRANS_4_readytoload, bool)
						0 (>L:fmcBendixGA_TRANS_5_readytoload, bool)
						0 (>L:fmcBendixGA_TRANS_2_readytoactivated, bool)
						0 (>L:fmcBendixGA_TRANS_3_readytoactivated, bool)
						0 (>L:fmcBendixGA_TRANS_4_readytoactivated, bool)
						0 (>L:fmcBendixGA_TRANS_5_readytoactivated, bool)
						0 (>L:fmcBendixGA_ACTIVATE_TRANS_PUSHED, bool)
						@ROUTEPageGroup (>L:fmcBendixGA_group, number)
						(L:fmcBendixGA_ROUTE_numpags_sinAPPR, number) 1 + (>L:fmcBendixGA_gROUTE_pag, number)
						1 (>@c:FlightPlanIsActiveApproach)
						quit
						}
					quit
					}
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="Power" Left="268" Top="250" Width="20" Height="23">
			<Click>
					(L:fmc_power,bool) ! (&gt;L:fmc_power,bool)
					0 (>L:fmc_boot, bool)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="MENU" Left="38" Top="306" Width="33" Height="23">
			<Click>
				1 (>L:fmc_boot, bool)
				@reset_vars
				@INDEXPageGroup (>L:fmcBendixGA_group, number)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="Map" Left="79" Top="306" Width="33" Height="23">
			<Click>
				@reset_vars
				(L:PanReset) ! (&gt;L:PanReset)
				0 (&gt;L:fmc_LayerFollow)
				@GPSMapPageGroup (>L:fmcBendixGA_group, number)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="PREV PAGE" Left="38" Top="338" Width="33" Height="23">
			<Click>
				(L:fmcBendixGA_group, number) @GPSMapPageGroup == (L:fmc_LayerFollow) 1 == or if{
					(L:fmc_APdetail, number) -- 0 max (&gt;L:fmc_APdetail, number)
					quit
				}
				(L:fmcBendixGA_group, number) @POSINITPageGroup == if{
					(L:fmcBendixGA_gPOSINIT_pag, number) @POSINIT_POSINIT == if{ @POSINIT_POSSHIFT (>L:fmcBendixGA_gPOSINIT_pag, number) quit }
					(L:fmcBendixGA_gPOSINIT_pag, number) 1 - (>L:fmcBendixGA_gPOSINIT_pag, number)
					quit
					}
				(L:fmcBendixGA_group, number) @TAKEOFFPageGroup == if{
					(L:fmcBendixGA_gTAKEOFF_pag, number) @TAKEOFF_1 == if{ @TAKEOFF_2 (>L:fmcBendixGA_gTAKEOFF_pag, number) quit }
					(L:fmcBendixGA_gTAKEOFF_pag, number) 1 - (>L:fmcBendixGA_gTAKEOFF_pag, number)
					quit
					}
				(L:fmcBendixGA_group, number) @ROUTEPageGroup == if{ 
				    (L:fmcBendixGA_gROUTE_pag, number) @ROUTE_MAIN == if{ (L:fmcBendixGA_gROUTE_numpags, number) (>L:fmcBendixGA_gROUTE_pag, number) quit }
				    (L:fmcBendixGA_gROUTE_pag, number) 1 - (>L:fmcBendixGA_gROUTE_pag, number)
				    quit
				    }
				(L:fmcBendixGA_group, number) @LEGSPageGroup == if{ 
				    (L:fmcBendixGA_gLEGS_pag, number) @LEGS == if{ (L:fmcBendixGA_gLEGS_numpags, number) (>L:fmcBendixGA_gLEGS_pag, number) quit }
				    (L:fmcBendixGA_gLEGS_pag, number) 1 - (>L:fmcBendixGA_gLEGS_pag, number)
				    quit
				    }				    
				(L:fmcBendixGA_group, number) @DEPARRIVALPageGroup == (L:fmcBendixGA_gDEPARRIVAL_pag, number) @DEPARRSelect == and if{
				    (L:fmcBendixGA_DEPARRSelect_pag, number) 1 == if{ (L:fmcBendixGA_DEPARRSelect_numpags, number) (>L:fmcBendixGA_DEPARRSelect_pag, number) quit }
				    (L:fmcBendixGA_DEPARRSelect_pag, number) 1 - (>L:fmcBendixGA_DEPARRSelect_pag, number)
				    quit
				    }
				(L:fmcBendixGA_group, number) @PROGRESSPageGroup == if{
					(L:fmcBendixGA_gPROGRESS_pag, number) @PROGRESS_1 == if{ @PROGRESS_2 (>L:fmcBendixGA_gPROGRESS_pag, number) quit }
					(L:fmcBendixGA_gPROGRESS_pag, number) 1 - (>L:fmcBendixGA_gPROGRESS_pag, number)
					quit
					}
				(L:fmcBendixGA_group, number) @ATCPageGroup == (L:fmcBendixGA_FMCCOMM, number) 2 == and if{ 
					1 (>L:fmcBendixGA_FMCCOMM, number) @NAVRADPageGroup (>L:fmcBendixGA_group, number)
					quit
					}
				(L:fmcBendixGA_group, number) @NAVRADPageGroup == (L:fmcBendixGA_FMCCOMM, number) 1 == and if{ 
					2 (>L:fmcBendixGA_FMCCOMM, number) @ATCPageGroup (>L:fmcBendixGA_group, number)
					quit
					}
				(L:fmcBendixGA_group, number) @DUPLICATEDWPTSPageGroup == if{	
					(L:fmcBendixGA_gDUPLICATEDWPTS_pag, number) 0 == if{ (L:fmcBendixGA_gDUPLICATEDWPTS_numpags, number) 1 - (>L:fmcBendixGA_gDUPLICATEDWPTS_pag, number) quit }
				    (L:fmcBendixGA_gDUPLICATEDWPTS_pag, number) 1 - (>L:fmcBendixGA_gDUPLICATEDWPTS_pag, number)
				    quit
				    }		 
				 (L:fmcBendixGA_group, number) @NAVDATAPageGroup == (L:fmcBendixGA_gNAVDATA, number) @NAVDATA_APT == and if{
					(L:fmcBendixGA_wpt_apt_selected, bool) ! if{ quit }
					(L:fmcBendixGA_gNAVDATA_APT_pag, number) @NAVDATA_APT_MAIN == if{ (L:fmcBendixGA_gNAVDATA_APT_numpags, number) 1 - (>L:fmcBendixGA_gNAVDATA_APT_pag, number) quit }
					(L:fmcBendixGA_gNAVDATA_APT_pag, number) 1 - (>L:fmcBendixGA_gNAVDATA_APT_pag, number)
					quit
					}
			</Click>
			<Cursor Type="DownArrow" />
		</Area>
		<Area Name="NEXT PAGE" Left="80" Top="338" Width="33" Height="23">
			<Click>
				(L:fmcBendixGA_group, number) @GPSMapPageGroup == if{
					(L:fmc_APdetail, number) ++ 7 min (&gt;L:fmc_APdetail, number)
					quit
				}
				(L:fmcBendixGA_group, number) @POSINITPageGroup == if{
					(L:fmcBendixGA_gPOSINIT_pag, number) @POSINIT_POSSHIFT == if{ @POSINIT_POSINIT (>L:fmcBendixGA_gPOSINIT_pag, number) quit }
					(L:fmcBendixGA_gPOSINIT_pag, number) 1 + (>L:fmcBendixGA_gPOSINIT_pag, number)
					quit
					}
				(L:fmcBendixGA_group, number) @TAKEOFFPageGroup == if{
					(L:fmcBendixGA_gTAKEOFF_pag, number) @TAKEOFF_2 == if{ @TAKEOFF_1 (>L:fmcBendixGA_gTAKEOFF_pag, number) quit }
					(L:fmcBendixGA_gTAKEOFF_pag, number) 1 + (>L:fmcBendixGA_gTAKEOFF_pag, number)
					quit
					}
				(L:fmcBendixGA_group, number) @ROUTEPageGroup == if{ 
				    (L:fmcBendixGA_gROUTE_pag, number) (L:fmcBendixGA_gROUTE_numpags, number) == if{ @ROUTE_MAIN (>L:fmcBendixGA_gROUTE_pag, number) quit }
				    (L:fmcBendixGA_gROUTE_pag, number) 1 + (>L:fmcBendixGA_gROUTE_pag, number)
				    quit
				    }
				(L:fmcBendixGA_group, number) @LEGSPageGroup == if{ 
				    (L:fmcBendixGA_gLEGS_pag, number) (L:fmcBendixGA_gLEGS_numpags, number) == if{ @LEGS (>L:fmcBendixGA_gLEGS_pag, number) quit }
				    (L:fmcBendixGA_gLEGS_pag, number) 1 + (>L:fmcBendixGA_gLEGS_pag, number)
				    quit
				    }
				(L:fmcBendixGA_group, number) @DEPARRIVALPageGroup == (L:fmcBendixGA_gDEPARRIVAL_pag, number) @DEPARRSelect == and if{
				    (L:fmcBendixGA_DEPARRSelect_pag, number) (L:fmcBendixGA_DEPARRSelect_numpags, number) == if{ 1 (>L:fmcBendixGA_DEPARRSelect_pag, number) quit }
				    (L:fmcBendixGA_DEPARRSelect_pag, number) 1 + (>L:fmcBendixGA_DEPARRSelect_pag, number)
				    quit
				    }
				(L:fmcBendixGA_group, number) @PROGRESSPageGroup == if{
					(L:fmcBendixGA_gPROGRESS_pag, number) @PROGRESS_2 == if{ @PROGRESS_1 (>L:fmcBendixGA_gPROGRESS_pag, number) quit }
					(L:fmcBendixGA_gPROGRESS_pag, number) 1 + (>L:fmcBendixGA_gPROGRESS_pag, number)
					quit
					}
				(L:fmcBendixGA_group, number) @NAVRADPageGroup == (L:fmcBendixGA_FMCCOMM, number) 1 == and if{ 
					2 (>L:fmcBendixGA_FMCCOMM, number) @ATCPageGroup (>L:fmcBendixGA_group, number)
					quit
					}
				(L:fmcBendixGA_group, number) @ATCPageGroup == (L:fmcBendixGA_FMCCOMM, number) 2 == and if{ 
					1 (>L:fmcBendixGA_FMCCOMM, number) @NAVRADPageGroup (>L:fmcBendixGA_group, number)
					quit
					}	
				(L:fmcBendixGA_group, number) @DUPLICATEDWPTSPageGroup == if{	
					(L:fmcBendixGA_gDUPLICATEDWPTS_pag, number) (L:fmcBendixGA_gDUPLICATEDWPTS_numpags, number) 1 - == if{ 0 (>L:fmcBendixGA_gDUPLICATEDWPTS_pag, number) quit }
				    (L:fmcBendixGA_gDUPLICATEDWPTS_pag, number) 1 + (>L:fmcBendixGA_gDUPLICATEDWPTS_pag, number)
				    quit
				    }  
				 (L:fmcBendixGA_group, number) @NAVDATAPageGroup == (L:fmcBendixGA_gNAVDATA, number) @NAVDATA_APT == and if{
					(L:fmcBendixGA_wpt_apt_selected, bool) ! if{ quit }
					(L:fmcBendixGA_gNAVDATA_APT_pag, number) (L:fmcBendixGA_gNAVDATA_APT_numpags, number) 1 - == if{ @NAVDATA_APT_MAIN (>L:fmcBendixGA_gNAVDATA_APT_pag, number) quit }
					(L:fmcBendixGA_gNAVDATA_APT_pag, number) 1 + (>L:fmcBendixGA_gNAVDATA_APT_pag, number)
					quit
					}
			</Click>
			<Cursor Type="UpArrow" />
		</Area>
		<Area Name="BUTTON 1" Left="37" Top="373" Width="25" Height="25">
			<Click>
				(L:fmcBendixGA_group, number) @GPSMapPageGroup == if {
					(L:PanVertical) 50 - (&gt;L:PanVertical)
					(L:PanHorizontal) 50 - (&gt;L:PanHorizontal)
				}
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				'1' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON 2" Left="69" Top="373" Width="25" Height="25">
			<Click>
				(L:fmcBendixGA_group, number) @GPSMapPageGroup == if {
					(L:PanVertical) 50 - (&gt;L:PanVertical)
				}
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				'2' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON 3" Left="102" Top="373" Width="25" Height="25">
			<Click>
				(L:fmcBendixGA_group, number) @GPSMapPageGroup == if {
					(L:PanVertical) 50 - (&gt;L:PanVertical)
					(L:PanHorizontal) 50 + (&gt;L:PanHorizontal)
				}
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				'3' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON 4" Left="37" Top="406" Width="25" Height="25">
			<Click>
				(L:fmcBendixGA_group, number) @GPSMapPageGroup == if {
					(L:PanHorizontal) 50 - (&gt;L:PanHorizontal)
				}
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				'4' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON 5" Left="69" Top="406" Width="25" Height="25">
			<Click>
				(L:fmcBendixGA_group, number) @GPSMapPageGroup == if {
					(L:PanReset) ! (&gt;L:PanReset)
				}
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				'5' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON 6" Left="102" Top="406" Width="25" Height="25">
			<Click>
				(L:fmcBendixGA_group, number) @GPSMapPageGroup == if {
					(L:PanHorizontal) 50 + (&gt;L:PanHorizontal)
				}
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				'6' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON 7" Left="37" Top="438" Width="25" Height="25">
			<Click>
				(L:fmcBendixGA_group, number) @GPSMapPageGroup == if {
					(L:PanVertical) 50 + (&gt;L:PanVertical)
					(L:PanHorizontal) 50 - (&gt;L:PanHorizontal)
				}
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				'7' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON 8" Left="69" Top="438" Width="25" Height="25">
			<Click>
				(L:fmcBendixGA_group, number) @GPSMapPageGroup == if {
					(L:PanVertical) 50 + (&gt;L:PanVertical)
				}
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				'8' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON 9" Left="102" Top="438" Width="25" Height="25">
			<Click>
				(L:fmcBendixGA_group, number) @GPSMapPageGroup == if {
					(L:PanVertical) 50 + (&gt;L:PanVertical)
					(L:PanHorizontal) 50 + (&gt;L:PanHorizontal)
				}
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				'9' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON ." Left="37" Top="469" Width="25" Height="25">
			<Click>
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				
				
				'.' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON 0" Left="69" Top="469" Width="25" Height="25">
			<Click>
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				
				
				'0' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON -" Left="102" Top="469" Width="25" Height="25">
			<Click>
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				
				
				'-' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON A" Left="136" Top="310" Width="23" Height="23">
			<Click>
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				
				
				'A' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON B" Left="168" Top="310" Width="23" Height="23">
			<Click>
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				
				
				'B' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON C" Left="201" Top="310" Width="23" Height="23">
			<Click>
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				
				
				'C' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON D" Left="234" Top="310" Width="23" Height="23">
			<Click>
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				
				
				'D' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON E" Left="266" Top="310" Width="23" Height="23">
			<Click>
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				
				
				'E' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON F" Left="136" Top="341" Width="23" Height="23">
			<Click>
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				
				
				'F' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON G" Left="168" Top="341" Width="23" Height="23">
			<Click>
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				
				
				'G' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON H" Left="201" Top="341" Width="23" Height="23">
			<Click>
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				
				
				'H' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON I" Left="234" Top="341" Width="23" Height="23">
			<Click>
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				
				
				'I' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON J" Left="266" Top="341" Width="23" Height="23">
			<Click>
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				
				
				'J' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON K" Left="136" Top="373" Width="23" Height="23">
			<Click>
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				
				
				'K' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON L" Left="168" Top="373" Width="23" Height="23">
			<Click>
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				
				
				'L' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON M" Left="201" Top="373" Width="23" Height="23">
			<Click>
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				
				
				'M' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON N" Left="234" Top="373" Width="23" Height="23">
			<Click>
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				
				
				'N' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON O" Left="266" Top="373" Width="23" Height="23">
			<Click>
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				
				
				'O' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON P" Left="136" Top="405" Width="23" Height="23">
			<Click>
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				
				
				'P' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON Q" Left="168" Top="405" Width="23" Height="23">
			<Click>
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				
				
				'Q' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON R" Left="201" Top="405" Width="23" Height="23">
			<Click>
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				
				
				'R' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON S" Left="234" Top="405" Width="23" Height="23">
			<Click>
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				
				
				'S' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON T" Left="266" Top="405" Width="23" Height="23">
			<Click>
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				
				
				'T' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON U" Left="136" Top="437" Width="23" Height="23">
			<Click>
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				
				
				'U' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON V" Left="168" Top="437" Width="23" Height="23">
			<Click>
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				
				
				'V' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON W" Left="201" Top="437" Width="23" Height="23">
			<Click>
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				
				
				'W' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON X" Left="234" Top="437" Width="23" Height="23">
			<Click>
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				
				
				'X' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON Y" Left="266" Top="437" Width="23" Height="23">
			<Click>
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				
				
				'Y' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON Z" Left="136" Top="469" Width="23" Height="23">
			<Click>
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				
				
				'Z' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON SP" Left="168" Top="469" Width="23" Height="23">
			<Click></Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON DEL" Left="201" Top="469" Width="23" Height="23">
			<Click></Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON /" Left="234" Top="469" Width="23" Height="23">
			<Click>
				(L:fmcBendixGA_keyboard_active, bool) ! if{ quit }
				
				
				'/' (>C:fs9gps:IcaoSearchEnterChar)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="BUTTON CLR" Left="266" Top="469" Width="23" Height="23">
			<Click>
;//////////////////////////////////////////// 
				-1 (>@c:IcaoSearchAdvanceCursor)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="Masking" Left="0" Top="20" Width="325" Height="492">
			<Visible>(L:fmc_boot, bool) 0 ==</Visible>
			<Click>
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="Power" Left="285" Top="235" Width="38" Height="35">
			<Click>
					(L:fmc_power,bool) ! (&gt;L:fmc_power,bool)
					@reset_vars
					0 (>L:fmc_boot, bool)
			</Click>
			<Cursor Type="Hand" />
		</Area>
		<Area Name="MENU" Left="38" Top="306" Width="33" Height="23">
			<Click>
				(L:fmc_power, bool) 1 == if {1 (>L:fmc_boot, bool) }
				@reset_vars
				@INDEXPageGroup (>L:fmcBendixGA_group, number)
			</Click>
			<Cursor Type="Hand" />
		</Area>
	</Mouse>

;/////////////////////////////////////////////////////////////////////////////////////////////////////	

	<Keys>
		<On Key="AlphaNumeric">
			<Visible>10 14 (C:fs9gps:enteringInput) rng 31 (C:fs9gps:enteringInput) == or</Visible>
			(M:Key) chr (>C:fs9gps:IcaoSearchEnterChar) @InitBlinker
		</On>
		<On Key="Ascii">
			<Visible>110 119 (C:fs9gps:enteringInput) rng 131 (C:fs9gps:enteringInput) == or</Visible>
			(M:Key) chr (>C:fs9gps:NameSearchEnterChar) @InitBlinker
		</On>
		<On Key="Backspace">
			<Visible>(C:fs9gps:enteringInput)</Visible>
			10 14 (C:fs9gps:enteringInput) rng 31 (C:fs9gps:enteringInput) == || if{ -1 (>C:fs9gps:IcaoSearchBackupChar) @InitBlinker quit }
			110 119 (C:fs9gps:enteringInput) rng 131 (C:fs9gps:enteringInput) == || if{ -1 (>C:fs9gps:NameSearchBackupChar) @InitBlinker quit }
		</On>
	</Keys>
</Gauge>
