Can someone help me with this?

I have a frameset built as follows:

<FRAMESET cols="20%, 80%">
<FRAME src="red.html">
<FRAMESET rows="100, 200">
<FRAME name="green" src="Green.html">
<FRAME name="blue" src="Blue.html">
</FRAMESET>

Then I have a function built in the red.html page to set the frame[green] to the blue.html source location. attached to a button on the red.html form.

<script language="javascript" type="text/javascript" >


window.onload = function colorchange()
{
top.location.green="blue.html";
}
</script>


top.location.green="blue.html"; just does not seem to do anything..

Can someone help with this.