Javascript to open frame as full window

I have a custom homepage on my server that has three frames.  frame1.html is a very small frame that actually has two small search boxes, one for google and one for wikipedia.  After I search, I can right click on firefox and tell the browser to make this frame1 the whole window.  I want to find a way to do that automatically after the search button is pushed because anytime I use that frame, I always want to go full screen with that one frame automatically (see frame1.html below the homepage html)  I want to add java script inside of the frame1.html so that the search will automatically make that frame (the search results) the whole window--orif this is not possible, at least open the results in a new browser tab or window.

<FRAMESET cols="20%, 80%">
  <FRAMESET rows="100, 200">
      <FRAME src="frame1.html">
      <FRAME src="frame2.html">
  <FRAME src="">
      <P>This frameset document contains:
         <LI><A href="frame1.html">Some neat contents</A>
         <LI><IMG src="frame2.html" alt="A neat image">
         <LI><A href="frame3.html">Some other neat contents</A>
*** frame1.html
<body bgcolor="#FFFFFF">
<form method="get" action="">
<input type="text"   name="q" size="31"
 maxlength="255" value="" />
<input type="submit" value="Google Search" />
<form action="" method="get">
<input type="hidden" name="language" value="en" />
<input type="text" name="search" size="20" />
<input type="submit" name="go" value="Wikipedia Search" />

Open in new window

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.

Try this in your form...

<form method="get" action="" target="_top">


<form action="" method="get" target="_top">

to open both form results above all the frames.

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
Michel PlungjanIT ExpertCommented:
PS: Java is not javaSCRIPT so I changed the title and tags...
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.