If you forget to tick the option for "open in new window," when creating the affiliate code, you can always add target="_blank" yourself.