defineProperty("WOWswitchL", globalProperty("sim/flightmodel2/gear/on_ground[1]"))
defineProperty("WOWswitchR", globalProperty("sim/flightmodel2/gear/on_ground[2]"))
defineProperty("IdleLeft", globalProperty("sim/cockpit2/engine/actuators/idle_speed_ratio[0]"))
defineProperty("IdleRight", globalProperty("sim/cockpit2/engine/actuators/idle_speed_ratio[1]"))
defineProperty("IdleRatio", globalProperty("sim/aircraft2/engine/high_idle_ratio"))


function update()

if get(WOWswitchL) == 1 and get(WOWswitchR) == 1 then
set(IdleRatio, 0.4)
--set(IdleRight, 0)


end

if get(WOWswitchL) == 0 and get(WOWswitchR) == 0 then
set(IdleRatio, 1.4)
--set(IdleRight, 1)


end

end