i have this on my main html. <head></head> <frameset rows="110,*" cols="*" framespacing="0" frameborder="no" border="0" bordercolor="#FFFFFF"> <frame src="top.html" name="top" frameborder="no" scrolling="no" id="top"> <frame src="bottom1.html" name="bottom" id="bottom"> <noframes><body> </body></noframes> HTML: and i would like to change the "bottom frame src" using something like this. function bottomChange(){ var oFrame = window.frameElement; oFrame.src = "bottom2.html"; } HTML: now if im writing this function on "top.html" what "window.frameElement" section should be?