<?xml version="1.0"?>

<PropertyList>

  <path>MiG-15bis-Headsight.ac</path> 

      <effect>
            <inherits-from>Effects/model-transparent</inherits-from>
            <object-name>HS_Glass</object-name>
      </effect>

      <effect>
            <inherits-from>Effects/model-transparent</inherits-from>
            <object-name>HS_PGlass</object-name>
      </effect>

	<animation>
		<type>select</type>
		<object-name>HS_Sign</object-name>
		<condition>
			<equals>
				<property>fdm/jsbsim/systems/headsight/sign</property>
				<value>1</value>
			</equals>
			<equals>
				<property>fdm/jsbsim/systems/headsight/on</property>
				<value>1</value>
			</equals>
			<greater-than>
				<property>fdm/jsbsim/systems/headsight/up-pos</property>
				<value>0.9</value>
			</greater-than>
			<equals>
				<property>sim/current-view/internal</property>
				<value>true</value>	
			</equals>
		</condition>
	</animation>

	<animation>
		<type>material</type>
		<object-name>HS_Backplate</object-name>
  		<emission>
			<factor-prop>fdm/jsbsim/systems/headsight/lamp</factor-prop>
			<red>0.222</red>
			<green>0.212</green>
			<blue>0.212</blue>
		</emission>
	</animation>

<!--

	<animation>
		<type>material</type>
		<object-name>HS_Axle</object-name>
		<object-name>HS_BBox</object-name>
		<object-name>HS_Base</object-name>
		<object-name>HS_Bolts</object-name>
		<object-name>HS_Cyl</object-name>
		<object-name>HS_CLUp</object-name>
		<object-name>HS_CLDown</object-name>
		<object-name>HS_DCyl</object-name>
		<object-name>HS_FBox</object-name>
		<object-name>HS_GHolder</object-name>
		<object-name>HS_Holder</object-name>
		<object-name>HS_SRing</object-name>
		<object-name>HS_SRUp</object-name>
		<object-name>HS_SRDown</object-name>
		<object-name>HS_Sphere</object-name>
		<object-name>HS_SUp</object-name>
		<object-name>HS_SDown</object-name>
		<object-name>HS_Switch</object-name>
		<object-name>HS_Vern</object-name>
		<object-name>HS_Frame</object-name>
  		<emission>
			<factor-prop>systems/light/canopy-lamps-norm</factor-prop>
			<red>0.777</red>
			<green>0.700</green>
			<blue>0.700</blue>
		</emission>
		<condition>
			<equals>
				<property>systems/light/use-canopy-lamps</property>
				<value>1</value>
			</equals>
		</condition>
	</animation>

-->

	<animation>
		<type>material</type>
		<object-name>HS_CCenter</object-name>
		<object-name>HS_CUp</object-name>
		<object-name>HS_CDown</object-name>
		<object-name>HS_CLeft</object-name>
		<object-name>HS_CRight</object-name>
		<object-name>HS_CLeft</object-name>
		<object-name>HS_CRUp</object-name>
		<object-name>HS_CRDown</object-name>
		<object-name>HS_CLUp</object-name>
		<object-name>HS_CLDown</object-name>
  		<emission>
			<factor-prop>fdm/jsbsim/systems/headsight/cross-lamp</factor-prop>
			<red>1</red>
			<green>0.9</green>
			<blue>0.9</blue>
		</emission>
	</animation>

	<animation>
		<type>material</type>
		<object-name>HS_Ring</object-name>
  		<emission>
			<factor-prop>fdm/jsbsim/systems/headsight/ring-lamp</factor-prop>
			<red>1</red>
			<green>0.9</green>
			<blue>0.9</blue>
		</emission>
	</animation>

	<animation>
		<type>material</type>
		<object-name>HS_Cross</object-name>
  		<emission>
			<factor-prop>fdm/jsbsim/systems/headsight/cross-lamp</factor-prop>
			<red>1</red>
			<green>0.9</green>
			<blue>0.9</blue>
		</emission>
	</animation>

	<animation>
		<type>scale</type>
		<object-name>HS_Cross</object-name>
		<factor-prop>fdm/jsbsim/systems/headsight/sight-scale</factor-prop>
		<offset>0</offset>
		<x-factor>1</x-factor>
		<y-factor>1</y-factor>
		<z-factor>1</z-factor>
	</animation>


	<animation>
		<type>material</type>
		<object-name>HS_Backplate</object-name>
  		<emission>
			<factor-prop>fdm/jsbsim/systems/headsight/lamp</factor-prop>
			<red>0.666</red>
			<green>0.606</green>
			<blue>0.606</blue>
		</emission>
	</animation>

	<animation>
		<type>rotate</type>
		<object-name>HS_Axle</object-name>
		<object-name>HS_BBox</object-name>
		<object-name>HS_FBox</object-name>
		<object-name>HS_Box</object-name>
		<object-name>HS_Holder</object-name>
		<object-name>HS_Cyl</object-name>
		<object-name>HS_CylUp</object-name>
		<object-name>HS_CylDown</object-name>
		<object-name>HS_DCyl</object-name>
		<object-name>HS_Switch</object-name>
		<object-name>HS_Vern</object-name>
		<object-name>HS_SRing</object-name>
		<object-name>HS_Sphere</object-name>
		<object-name>HS_SRUp</object-name>
		<object-name>HS_SRDown</object-name>
		<object-name>HS_SUp</object-name>
		<object-name>HS_SDown</object-name>

		<object-name>HS_Glass</object-name>
		<object-name>HS_Backplate</object-name>
		<object-name>HS_PGlass</object-name>
		<object-name>HS_CCenter</object-name>
		<object-name>HS_CUp</object-name>
		<object-name>HS_CDown</object-name>
		<object-name>HS_CLUp</object-name>
		<object-name>HS_CLDown</object-name>
		<object-name>HS_CRUp</object-name>
		<object-name>HS_CRDown</object-name>
		<object-name>HS_CLeft</object-name>
		<object-name>HS_CRight</object-name>
		<object-name>HS_Ring</object-name>
		<object-name>HS_GHolder</object-name>
		<object-name>HS_SRUp</object-name>
		<object-name>HS_SRDown</object-name>
		<object-name>HS_VUp</object-name>
		<object-name>HS_VDown</object-name>
		<object-name>HS_Frame</object-name>
		<property>fdm/jsbsim/systems/headsight/up-pos</property>
		<interpolation>
			<entry><ind>1.0</ind><dep>0.0</dep></entry>
			<entry><ind>0</ind><dep>90.0</dep></entry>
		</interpolation>
		<center>
			<x-m>0.117</x-m>
			<y-m>0.0</y-m>
			<z-m>-0.018</z-m>
		</center>  
		<axis>
			<x>0</x>
			<y>1</y>
			<z>0</z>
		</axis>
	</animation>

	<animation>
		<type>pick</type>
		<object-name>HS_FBox</object-name>
		<object-name>HS_BBox</object-name>
		<action>
			<button>0</button>
			<repeatable>false</repeatable>
			<interval-sec>0.1</interval-sec>
			<binding>
			        <command>nasal</command>
				<script>MIG15BIS.bitswap("fdm/jsbsim/systems/headsight/up-command")</script>
			</binding>
		</action>
		<action>
			<button>1</button>
			<repeatable>false</repeatable>
			<interval-sec>0.1</interval-sec>
			<binding>
			        <command>nasal</command>
				<script>MIG15BIS.bitswap("fdm/jsbsim/systems/headsight/up-command")</script>
			</binding>
		</action>
	</animation>

	<animation>
		<type>rotate</type>
		<object-name>HS_Frame</object-name>
		<property>fdm/jsbsim/systems/headsight/frame-pos</property>
		<interpolation>
			<entry><ind>0</ind><dep>0</dep></entry>
			<entry><ind>1</ind><dep>233</dep></entry>
		</interpolation>
		<center>
			<x-m>0.0</x-m>
			<y-m>0.041</y-m>
			<z-m>0.145</z-m>
		</center>  
		<axis>
			<x>1</x>
			<y>0</y>
			<z>0</z>
		</axis>
	</animation>

	<animation>
		<type>pick</type>
		<object-name>HS_Frame</object-name>
		<action>
			<button>0</button>
			<repeatable>false</repeatable>
			<interval-sec>0.1</interval-sec>
			<binding>
			        <command>nasal</command>
				<script>MIG15BIS.bitswap("fdm/jsbsim/systems/headsight/frame-command")</script>
			</binding>
		</action>
		<action>
			<button>1</button>
			<repeatable>false</repeatable>
			<interval-sec>0.1</interval-sec>
			<binding>
			        <command>nasal</command>
				<script>MIG15BIS.switchswap("fdm/jsbsim/systems/headsight/frame-command")</script>
			</binding>
		</action>
	</animation>

	<animation>
		<type>rotate</type>
		<object-name>HS_Switch</object-name>
		<property>fdm/jsbsim/systems/headsight/gyro-pos</property>
		<interpolation>
			<entry><ind>1</ind><dep>-45.0</dep></entry>
			<entry><ind>0</ind><dep>45.0</dep></entry>
		</interpolation>
		<center>
			<x-m>0.172</x-m>
			<y-m>0.0</y-m>
			<z-m>0.069</z-m>
		</center>  
		<axis>
			<x>0</x>
			<y>1</y>
			<z>0</z>
		</axis>
	</animation>

	<animation>
		<type>pick</type>
		<object-name>HS_Switch</object-name>
		<action>
			<button>0</button>
			<repeatable>false</repeatable>
			<interval-sec>0.1</interval-sec>
			<binding>
			        <command>nasal</command>
				<script>MIG15BIS.bitswap("fdm/jsbsim/systems/headsight/gyro-command")</script>
			</binding>
		</action>
		<action>
			<button>1</button>
			<repeatable>false</repeatable>
			<interval-sec>0.1</interval-sec>
			<binding>
			        <command>nasal</command>
				<script>MIG15BIS.bitswap("fdm/jsbsim/systems/headsight/gyro-command")</script>
			</binding>
		</action>
	</animation>

	<animation>
		<type>rotate</type>
		<object-name>HS_Vern</object-name>
		<property>fdm/jsbsim/systems/headsight/brightness</property>
		<interpolation>
			<entry><ind>0</ind><dep>0.0</dep></entry>
			<entry><ind>1.0</ind><dep>360.0</dep></entry>
		</interpolation>
		<center>
			<x-m>0.204</x-m>
			<y-m>0.0</y-m>
			<z-m>0.045</z-m>
		</center>  
		<axis>
			<x>0</x>
			<y>1</y>
			<z>0</z>
		</axis>
	</animation>

	<animation>
		<type>pick</type>
		<object-name>HS_VUp</object-name>
		<action>
			<button>0</button>
			<repeatable>true</repeatable>
			<interval-sec>0.1</interval-sec>
			<binding>
				<command>property-adjust</command>
				<property>fdm/jsbsim/systems/headsight/brightness</property>
				<step>0.05</step>
				<min>0.0</min>
				<max>1.0</max>
				<wrap>false</wrap>
			</binding>
		</action>
		<action>
			<button>1</button>
			<repeatable>true</repeatable>
			<interval-sec>0.1</interval-sec>
			<binding>
				<command>property-adjust</command>
				<property>fdm/jsbsim/systems/headsight/brightness</property>
				<step>0.05</step>
				<min>0.0</min>
				<max>1.0</max>
				<wrap>false</wrap>
			</binding>
		</action>
	</animation>

	<animation>
		<type>pick</type>
		<object-name>HS_VDown</object-name>
		<action>
			<button>0</button>
			<repeatable>true</repeatable>
			<interval-sec>0.1</interval-sec>
			<binding>
				<command>property-adjust</command>
				<property>fdm/jsbsim/systems/headsight/brightness</property>
				<step>-0.05</step>
				<min>0.0</min>
				<max>1.0</max>
				<wrap>false</wrap>
			</binding>
		</action>
		<action>
			<button>1</button>
			<repeatable>true</repeatable>
			<interval-sec>0.1</interval-sec>
			<binding>
				<command>property-adjust</command>
				<property>fdm/jsbsim/systems/headsight/brightness</property>
				<step>-0.05</step>
				<min>0.0</min>
				<max>1.0</max>
				<wrap>false</wrap>
			</binding>
		</action>
	</animation>	

	<animation>
		<type>rotate</type>
		<object-name>HS_Cyl</object-name>
		<property>fdm/jsbsim/systems/headsight/from-eye-to-sight</property>
		<interpolation>
			<entry><ind>0</ind><dep>0.0</dep></entry>
			<entry><ind>1.2</ind><dep>360.0</dep></entry>
		</interpolation>
		<center>
			<x-m>0.148</x-m>
			<y-m>0.0</y-m>
			<z-m>0.0</z-m>
		</center>  
		<axis>
			<x>0</x>
			<y>0</y>
			<z>1</z>
		</axis>
	</animation>

	<animation>
		<type>pick</type>
		<object-name>HS_CylUp</object-name>
		<action>
			<button>0</button>
			<repeatable>true</repeatable>
			<interval-sec>0.1</interval-sec>
			<binding>
				<command>property-adjust</command>
				<property>fdm/jsbsim/systems/headsight/from-eye-to-sight</property>
				<step>0.02</step>
				<min>0.2</min>
				<max>0.6</max>
				<wrap>false</wrap>
			</binding>
		</action>
		<action>
			<button>1</button>
			<repeatable>true</repeatable>
			<interval-sec>0.1</interval-sec>
			<binding>
				<command>property-adjust</command>
				<property>fdm/jsbsim/systems/headsight/from-eye-to-sight</property>
				<step>0.02</step>
				<min>0.2</min>
				<max>0.6</max>
				<wrap>false</wrap>
			</binding>
		</action>
	</animation>

	<animation>
		<type>pick</type>
		<object-name>HS_CylDown</object-name>
		<action>
			<button>0</button>
			<repeatable>true</repeatable>
			<interval-sec>0.1</interval-sec>
			<binding>
				<command>property-adjust</command>
				<property>fdm/jsbsim/systems/headsight/from-eye-to-sight</property>
				<step>-0.02</step>
				<min>0.2</min>
				<max>0.6</max>
				<wrap>false</wrap>
			</binding>
		</action>
		<action>
			<button>1</button>
			<repeatable>true</repeatable>
			<interval-sec>0.1</interval-sec>
			<binding>
				<command>property-adjust</command>
				<property>fdm/jsbsim/systems/headsight/from-eye-to-sight</property>
				<step>-0.02</step>
				<min>0.2</min>
				<max>0.6</max>
				<wrap>false</wrap>
			</binding>
		</action>
	</animation>	

	<animation>
		<type>rotate</type>
		<object-name>HS_SRing</object-name>
		<property>fdm/jsbsim/systems/headsight/target-size</property>
		<interpolation>
			<entry><ind>-45</ind><dep>90.0</dep></entry>
			<entry><ind>45</ind><dep>-90</dep></entry>
		</interpolation>
		<axis>   
			<x1-m>0.253</x1-m>
			<y1-m>0.0</y1-m>
			<z1-m>0.093</z1-m>
			<x2-m>0.202</x2-m>
			<y2-m>0.0</y2-m>
			<z2-m>0.104</z2-m>
		</axis>
	</animation>

	<animation>
		<type>pick</type>
		<object-name>HS_SRUp</object-name>
		<action>
			<button>0</button>
			<repeatable>true</repeatable>
			<interval-sec>0.1</interval-sec>
			<binding>
				<command>property-adjust</command>
				<property>fdm/jsbsim/systems/headsight/target-size</property>
				<step>1</step>
				<min>0</min>
				<max>45.0</max>
				<wrap>false</wrap>
			</binding>
		</action>
		<action>
			<button>1</button>
			<repeatable>true</repeatable>
			<interval-sec>0.1</interval-sec>
			<binding>
				<command>property-adjust</command>
				<property>fdm/jsbsim/systems/headsight/target-size</property>
				<step>1</step>
				<min>0</min>
				<max>45.0</max>
				<wrap>false</wrap>
			</binding>
		</action>
	</animation>

	<animation>
		<type>pick</type>
		<object-name>HS_SRDown</object-name>
		<action>
			<button>0</button>
			<repeatable>true</repeatable>
			<interval-sec>0.1</interval-sec>
			<binding>
				<command>property-adjust</command>
				<property>fdm/jsbsim/systems/headsight/target-size</property>
				<step>-1</step>
				<min>0</min>
				<max>45.0</max>
				<wrap>false</wrap>
			</binding>
		</action>
		<action>
			<button>1</button>
			<repeatable>true</repeatable>
			<interval-sec>0.1</interval-sec>
			<binding>
				<command>property-adjust</command>
				<property>fdm/jsbsim/systems/headsight/target-size</property>
				<step>-1</step>
				<min>0</min>
				<max>45.0</max>
				<wrap>false</wrap>
			</binding>
		</action>
	</animation>

	<animation>
		<type>rotate</type>
		<object-name>HS_Sphere</object-name>
		<property>fdm/jsbsim/systems/headsight/target-distance</property>
		<interpolation>
			<entry><ind>0</ind><dep>90.0</dep></entry>
			<entry><ind>900</ind><dep>-90</dep></entry>
		</interpolation>
		<axis>   
			<x1-m>0.253</x1-m>
			<y1-m>0.0</y1-m>
			<z1-m>0.093</z1-m>
			<x2-m>0.202</x2-m>
			<y2-m>0.0</y2-m>
			<z2-m>0.104</z2-m>
		</axis>
	</animation>

	<animation>
		<type>pick</type>
		<object-name>HS_SUp</object-name>
		<action>
			<button>0</button>
			<repeatable>true</repeatable>
			<interval-sec>0.1</interval-sec>
			<binding>
				<command>property-adjust</command>
				<property>fdm/jsbsim/systems/headsight/target-distance</property>
				<step>20</step>
				<min>180</min>
				<max>800.0</max>
				<wrap>false</wrap>
			</binding>
		</action>
		<action>
			<button>1</button>
			<repeatable>true</repeatable>
			<interval-sec>0.1</interval-sec>
			<binding>
				<command>property-adjust</command>
				<property>fdm/jsbsim/systems/headsight/target-distance</property>
				<step>20</step>
				<min>180.0</min>
				<max>800</max>
				<wrap>false</wrap>
			</binding>
		</action>
	</animation>

	<animation>
		<type>pick</type>
		<object-name>HS_SDown</object-name>
		<action>
			<button>0</button>
			<repeatable>true</repeatable>
			<interval-sec>0.1</interval-sec>
			<binding>
				<command>property-adjust</command>
				<property>fdm/jsbsim/systems/headsight/target-distance</property>
				<step>-20</step>
				<min>180</min>
				<max>800</max>
				<wrap>false</wrap>
			</binding>
		</action>
		<action>
			<button>1</button>
			<repeatable>true</repeatable>
			<interval-sec>0.1</interval-sec>
			<binding>
				<command>property-adjust</command>
				<property>fdm/jsbsim/systems/headsight/target-distance</property>
				<step>-20</step>
				<min>180</min>
				<max>800</max>
				<wrap>false</wrap>
			</binding>
		</action>
	</animation>

	<animation>
		<type>select</type>
		<object-name>HS_Ring</object-name>
		<condition>
			<greater-than>
				<property>fdm/jsbsim/systems/headsight/ring-lamp</property>
				<value>0</value>
			</greater-than>
			<equals>
				<property>sim/current-view/internal</property>
				<value>true</value>	
			</equals>
		</condition>
	</animation>

<!--

	<animation>
		<type>select</type>
		<object-name>HS_Cross</object-name>
		<condition>
			<equals>
				<property>instrumentation/headsight/one</property>
				<value>0</value>
			</equals>
			<equals>
				<property>sim/current-view/internal</property>
				<value>true</value>	
			</equals>
		</condition>
	</animation>

-->

	<animation>
		<type>translate</type>
		<object-name>HS_CCenter</object-name>
		<object-name>HS_CUp</object-name>
		<object-name>HS_CDown</object-name>
		<object-name>HS_CLeft</object-name>
		<object-name>HS_CRight</object-name>
		<object-name>HS_CRUp</object-name>
		<object-name>HS_CLUp</object-name>
		<object-name>HS_CRDown</object-name>
		<object-name>HS_CLDown</object-name>
		<property>fdm/jsbsim/systems/headsight/pitch-shift</property>
		<factor>1</factor>
		<axis>
			<x>1.35</x>
		</axis>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>HS_CCenter</object-name>
		<object-name>HS_CUp</object-name>
		<object-name>HS_CDown</object-name>
		<object-name>HS_CLeft</object-name>
		<object-name>HS_CRight</object-name>
		<object-name>HS_CRUp</object-name>
		<object-name>HS_CLUp</object-name>
		<object-name>HS_CRDown</object-name>
		<object-name>HS_CLDown</object-name>
		<property>fdm/jsbsim/systems/headsight/yaw-shift</property>
		<factor>1</factor>
		<axis>
			<y>1</y>
		</axis>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>HS_CCenter</object-name>
		<object-name>HS_CUp</object-name>
		<object-name>HS_CDown</object-name>
		<object-name>HS_CLeft</object-name>
		<object-name>HS_CRight</object-name>
		<object-name>HS_CRUp</object-name>
		<object-name>HS_CLUp</object-name>
		<object-name>HS_CRDown</object-name>
		<object-name>HS_CLDown</object-name>
		<property>fdm/jsbsim/systems/headsight/pitch-shift</property>
		<factor>1</factor>
		<axis>
			<z>1</z>
		</axis>
	</animation>
<!--
	<animation>
		<type>select</type>
		<object-name>HS_CCenter</object-name>
		<object-name>HS_CUp</object-name>
		<object-name>HS_CDown</object-name>
		<object-name>HS_CLeft</object-name>
		<object-name>HS_CRight</object-name>
		<object-name>HS_CRUp</object-name>
		<object-name>HS_CLUp</object-name>
		<object-name>HS_CRDown</object-name>
		<object-name>HS_CLDown</object-name>
		<condition>
			<greater-than>
			<property>instrumentation/headsight/cross-lamp</property>
			<value>0</value>
			</greater-than>
			<equals>
			<property>instrumentation/headsight/sight-visible</property>
			<value>1</value>
			</equals>
		</condition>
	</animation>
-->
	<animation>
		<type>select</type>
		<object-name>HS_CCenter</object-name>
		<condition>
			<greater-than>
				<property>fdm/jsbsim/systems/headsight/cross-lamp</property>
				<value>0</value>
			</greater-than>
			<equals>
				<property>fdm/jsbsim/systems/headsight/sight-center</property>
				<value>1</value>
			</equals>
			<equals>
				<property>sim/current-view/internal</property>
				<value>true</value>	
			</equals>
		</condition>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>HS_CUp</object-name>
		<property>fdm/jsbsim/systems/headsight/sight-side-size</property>
		<factor>1.35</factor>
		<axis>
			<x>1.0</x>
		</axis>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>HS_CUp</object-name>
		<property>fdm/jsbsim/systems/headsight/sight-side-size</property>
		<factor>1</factor>
		<axis>
			<z>1</z>
		</axis>
	</animation>

	<animation>
		<type>select</type>
		<object-name>HS_CUp</object-name>
		<condition>
			<greater-than>
				<property>fdm/jsbsim/systems/headsight/cross-lamp</property>
				<value>0</value>
				</greater-than>
			<equals>
				<property>fdm/jsbsim/systems/headsight/sight-up</property>
				<value>1</value>
			</equals>
			<equals>
				<property>sim/current-view/internal</property>
				<value>true</value>	
			</equals>
		</condition>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>HS_CDown</object-name>
		<property>fdm/jsbsim/systems/headsight/sight-side-size</property>
		<factor>1.35</factor>
		<axis>
			<x>-1.0</x>
		</axis>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>HS_CDown</object-name>
		<property>fdm/jsbsim/systems/headsight/sight-side-size</property>
		<factor>1</factor>
		<axis>
			<z>-1</z>
		</axis>
	</animation>

	<animation>
		<type>select</type>
		<object-name>HS_CDown</object-name>
		<condition>
			<greater-than>
				<property>fdm/jsbsim/systems/headsight/cross-lamp</property>
				<value>0</value>
			</greater-than>
			<equals>
				<property>fdm/jsbsim/systems/headsight/sight-down</property>
				<value>1</value>
			</equals>
			<equals>
				<property>sim/current-view/internal</property>
				<value>true</value>	
			</equals>
		</condition>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>HS_CLeft</object-name>
		<property>fdm/jsbsim/systems/headsight/sight-side-size</property>
		<factor>1</factor>
		<axis>
			<y>-1</y>
		</axis>
	</animation>

	<animation>
		<type>select</type>
		<object-name>HS_CLeft</object-name>
		<condition>
			<greater-than>
				<property>fdm/jsbsim/systems/headsight/cross-lamp</property>
				<value>0</value>
			</greater-than>
			<equals>
				<property>fdm/jsbsim/systems/headsight/sight-left</property>
				<value>1</value>
			</equals>
			<equals>
				<property>sim/current-view/internal</property>
				<value>true</value>	
			</equals>
		</condition>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>HS_CRight</object-name>
		<property>fdm/jsbsim/systems/headsight/sight-side-size</property>
		<factor>1</factor>
		<axis>
			<y>1</y>
		</axis>
	</animation>

	<animation>
		<type>select</type>
		<object-name>HS_CRight</object-name>
		<condition>
			<greater-than>
				<property>fdm/jsbsim/systems/headsight/cross-lamp</property>
				<value>0</value>
			</greater-than>
				<equals>
				<property>fdm/jsbsim/systems/headsight/sight-right</property>
				<value>1</value>
			</equals>
			<equals>
				<property>sim/current-view/internal</property>
				<value>true</value>	
			</equals>
		</condition>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>HS_CRUp</object-name>
		<property>fdm/jsbsim/systems/headsight/sight-corner-size</property>
		<factor>1</factor>
		<axis>
			<y>1</y>
		</axis>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>HS_CRUp</object-name>
		<property>fdm/jsbsim/systems/headsight/sight-corner-size</property>
		<factor>1</factor>
		<axis>
			<z>1</z>
		</axis>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>HS_CRUp</object-name>
		<property>fdm/jsbsim/systems/headsight/sight-corner-size</property>
		<factor>1.35</factor>
		<axis>
			<x>1</x>
		</axis>
	</animation>

	<animation>
		<type>select</type>
		<object-name>HS_CRUp</object-name>
		<condition>
			<greater-than>
				<property>fdm/jsbsim/systems/headsight/cross-lamp</property>
				<value>0</value>
			</greater-than>
			<equals>
				<property>fdm/jsbsim/systems/headsight/sight-up-right</property>
				<value>1</value>
			</equals>
			<equals>
				<property>sim/current-view/internal</property>
				<value>true</value>	
			</equals>
		</condition>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>HS_CLUp</object-name>
		<property>fdm/jsbsim/systems/headsight/sight-corner-size</property>
		<factor>1</factor>
		<axis>
			<y>-1</y>
		</axis>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>HS_CLUp</object-name>
		<property>fdm/jsbsim/systems/headsight/sight-corner-size</property>
		<factor>1</factor>
		<axis>
			<z>1</z>
		</axis>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>HS_CLUp</object-name>
		<property>fdm/jsbsim/systems/headsight/sight-corner-size</property>
		<factor>1.35</factor>
		<axis>
			<x>1</x>
		</axis>
	</animation>

	<animation>
		<type>select</type>
		<object-name>HS_CLUp</object-name>
		<condition>
			<greater-than>
				<property>fdm/jsbsim/systems/headsight/cross-lamp</property>
				<value>0</value>
			</greater-than>
			<equals>
				<property>fdm/jsbsim/systems/headsight/sight-up-left</property>
				<value>1</value>
			</equals>
			<equals>
				<property>sim/current-view/internal</property>
				<value>true</value>	
			</equals>
		</condition>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>HS_CRDown</object-name>
		<property>fdm/jsbsim/systems/headsight/sight-corner-size</property>
		<factor>1</factor>
		<axis>
			<y>1</y>
		</axis>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>HS_CRDown</object-name>
		<property>fdm/jsbsim/systems/headsight/sight-corner-size</property>
		<factor>1</factor>
		<axis>
			<z>-1</z>
		</axis>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>HS_CRDown</object-name>
		<property>fdm/jsbsim/systems/headsight/sight-corner-size</property>
		<factor>1.35</factor>
		<axis>
			<x>-1</x>
		</axis>
	</animation>

	<animation>
		<type>select</type>
		<object-name>HS_CRDown</object-name>
		<condition>
			<greater-than>
				<property>fdm/jsbsim/systems/headsight/cross-lamp</property>
				<value>0</value>
			</greater-than>
			<equals>
				<property>fdm/jsbsim/systems/headsight/sight-down-right</property>
				<value>1</value>
			</equals>
			<equals>
				<property>sim/current-view/internal</property>
				<value>true</value>	
			</equals>
		</condition>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>HS_CLDown</object-name>
		<property>fdm/jsbsim/systems/headsight/sight-corner-size</property>
		<factor>1</factor>
		<axis>
			<y>-1</y>
		</axis>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>HS_CLDown</object-name>
		<property>fdm/jsbsim/systems/headsight/sight-corner-size</property>
		<factor>1</factor>
		<axis>
			<z>-1</z>
		</axis>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>HS_CLDown</object-name>
		<property>fdm/jsbsim/systems/headsight/sight-corner-size</property>
		<factor>1.35</factor>
		<axis>
			<x>-1</x>
		</axis>
	</animation>

	<animation>
		<type>select</type>
		<object-name>HS_CLDown</object-name>
		<condition>
			<greater-than>
				<property>fdm/jsbsim/systems/headsight/cross-lamp</property>
				<value>0</value>
			</greater-than>
			<equals>
				<property>fdm/jsbsim/systems/headsight/sight-down-left</property>
				<value>1</value>
			</equals>
			<equals>
				<property>sim/current-view/internal</property>
				<value>true</value>	
			</equals>
		</condition>
	</animation>


</PropertyList> 
