Infrared transmitting program and receiving program