Hola supongo que hablas espaƱol pero por si acaso:
go to this page there you will find a frames tutorial, basically when you click in any of the frames, you must tell wich frame is going to change, you can do this the same with javascript, javascript understand HTML and if you choose th property it will change.
example:
this is the code for a frame overlay, and you indacate in each frame what page are you going to show.
<HEAD>
<TITLE>My cool page, now with frames!</TITLE>
</HEAD>
<FRAMESET cols="20%,80%">
<FRAME SRC="page1.htm" name=frameiz>
<FRAME SRC="page2.htm" name=frameder>
</FRAMESET>
now you might have in page one a javascript that makes some cool stuff, like changing of colors images or a menu, but when you link it you must use.
<a href='phpbuilder.com' traget=frameder onMouseOver="swapImages(image2.gif)" on MouseOut="restoreImage()">cambiar</a>
in this case I have this html code in page1.htm in frameiz and if I click cambiar, it will cahnge in frameder, and the javascript functions are called to swap images. Goto this direction:
http://www.pageresource.com
if you want next time I can speak you in spanish.