You will need to make an array of the site names, change 'str' in the write statement to name of array as follows:
var myArray = new Array();
myArray = "Bob's Website";
myArray = "Jim's Website";
myArray = "Jill's Website";
for(i = 0; i < 3; i++)
document.write(myArray[i].link('http://someWebsite.com/' + i +'.html'));
I did 3, looks like you need 199.