Im in the process of making a website kinda like yahoo and google a search engine. The whole point of it is for me to make money on advertising and being an affiliate from 100's of sites. When it comes to linking to that affiliate how should I do it? I read something about cloaking (protecting and hidingyour affiliate link) the link and im guessing theres a couple of ways to cloak

example

http://www.mywebsite.com/affiliate(opens affiliate page but still has mywebsite in title)
or
xxx.mywebsite.com asjdasiphdaiphedpaihnepiwaj dawp4u312-83ujeqo;rjeq-jk
or
hyperlink
http://www.affilaite1.com instead of http://www.affiliate1.com/id#24194812984


Can some help me,and tell me whats the best way
Thanks