Replace Fujitsu wired remote control

Hi

Does anyone know how to replace the wired remote control shown in the picture attached for and Arduino? How to do the connections and make it work?

Thank you!!

http://www.fujitsugeneral.com/wired_remote_down.htm