Two questions here. 1. Does robots like googlebot index the contents inside an iframe?? 2. How about content generated by javascript? eg: document.write('<a href="mysite.net">anchor</a>') HTML: I think the answer for question 2 is a No, am I right? Thank you. :: ads2help
iam sure that bots dont understand anything within a javascript.so its useless for indexing.Regarding the iframe iam not sure .
robot does not understand anything in iframe and javascript Read this, it will be helpful for you http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=72746