Dog recovering after being thrown out 3rd-floor window