The 4n25 parts that you posted about would not be among my recommended options for your issue. You need to be aware of several important parameters with optoisolators/optocouplers, particularly those of the "general purpose" nature like th4n25. First, the current transfer ratio can be very important, though less criticil if you are driving high impedence CMOS logic on the other side rather than some TTL or analog circuits. The 4n25 has a CTR of only 20%, and that is with a VCE of 10V on the output side. With a VCE of only 5V (Vcc of our higher voltage logic circuitry), the attainable CTR will be less. And, switching time will be slower.
IF you are just driving logic circuits like it seems you are, I'd stick with logic output based optocouplers for the fastest switching speeds and lowest propogation delays. It isn't apparent from your post what data rates/switching frequencies would be required, so it is hard to tell just what opto is most appropraite without being over-qualified for your need. For logic gate output devices and fast/high switching rates, given what little we know at this point, I'd still recommend the Avago ACPL-072L, or Fairchild FODM8071, or If you need to interface to higher Vcc than 5V, or need higher current drive (and likely slower signaling) then perhaps something like the 6N137 or HCPL2630 or HCPL2632 or similar would be better.