Im looking for a way, through javascript, to check if my page is loaded into my iframe or not, and if not to load it into the required iframe.At the moment I have a script that checks the link for anything after the file name eg.www.mysite.com/index.html?music.html...and it then loads the music.html into the iframe on the index page. My problem is when the user tries to access the page directly eg:www.mysite.com/music.html...I want it to load the music.html page into the iframe on the index page.Which is the best way to do this?