buttons links in frame

Happy X-Mas to all members...

Hi,
I have one html file page1.html as below

<HTML>
<HEAD>
<TITLE>Utilities</TITLE>
</HEAD>
         <FRAMESET ROWS="5%,95%">
          <FRAME SRC="frames1.html" NAME=SIDEBAR>
          <FRAME SRC="frames2.html" NAME=SAMPLE>
     </FRAMESET>
</HTML>

the html code for the frames1.html is as below

<HTML>
<HEAD>
<TITLE>Welcome</TITLE>
</HEAD>
<BODY  bgcolor="#DEB678">
<INPUT TYPE="button" onClick="parent.location='http://gmail.com'" TARGET=SAMPLE>
</body>
</html>		

When the button in frame1 is clicked then I want the page to be loaded in the frame2 and not in the same frame.

Plz help me why the above code is not working and correct my code.
Thanks in advance.