i have the script it's working but cann't open the link page in frame plz help make it

<form name="doublecombo" class="popup">
<p><font color="#FFFFFF"><b>Product </b></font>
<select name="example" size="1" onChange="redirect(this.options.selectedIndex)" style="color: #FFFFFF; background-color: #800000" tabindex="1">
<option value="a">A</option>
<option value="b">B</option>
<option value="c">C</option>
</select>
</select>
<select name="stage2" size="1" style="color: #FFFFFF; background-color: #800000" tabindex="1">
<option value="#">NOT YET UPDATED</option>
<input type="button" name="test" value="Go!"
onClick="go()" style="color: #FFFFFF; background-color: #800000">
var groups=document.doublecombo.example.options.length
var group=new Array(groups)
for (i=0; i<groups; i++)
group[i]=new Array()
/*A*/
group[0][0]=new Option("Ab","#")
group[0][0]=new Option("Ac","#")
/*b*/
group[1][0]=new Option("BA","#")
/*c*/
/*IFFCO*/
group[2][0]=new Option("CA","#")
group[2][1]=new Option("CB","#")
var temp=document.doublecombo.stage2

function redirect(x){
for (m=temp.options.length-1;m>0;m--)
temp.options[m]=null
for (i=0;i<group[x].length;i++){
temp.options[i]=new Option(group[x][i].text,group[x][i].value)
}
temp.options[0].selected=true
}

function go(){
location=temp.options[temp.selectedIndex].value
}
//-->
</script>

</form>