I hosted my web app on a freehoster service which shows my webpage in a frameset. 2 frames are there. In the top narrow frame there are their ad and the bottom frame is mine
use top.document.title (top refers to the top most window within the browser)
Yes, but it has to be on the same domain (and use a relative url for a path)
window.parent.document.title = "Your new title";
If the iframe/frame is on a different domain, then you'll get a permission denied error.