rename frame from frameset

My index.html page creates a top frame called "header" and bottom frame called "body" and a link in the bottom frame loads into "body".  However, javascript in the page renames the frame to "update" using = "update".  Since all the links in the "header" frame target "body", clicking the links will open a new window since there are no longer any frames named body.  

Is there any way to use javascript in the "header" frame to rename the bottom frame back to "body"? (not all the pages rename the frame to "update")
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Michel PlungjanIT ExpertCommented:
top.frames[1].name = 'body';

Body is not a good name by the way... Used in IE


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MrNiceGuy020700Author Commented:
Ding Ding Ding Ding.....
we have a winner :)

Thank you very much...that worked perfectly....
for some reason I wasn't sure that I could address the frame that way, but worked perfectly.

Thanks, Michel
Michel PlungjanIT ExpertCommented:

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.