Ciao.
Allora questo link mostra come
rimuovere un frame (a propo se qualcuno mi spiega la logica
mi fa un favore) la situazione è questa:

main.htm
Codice PHP:
<html>
<
frameset rows="200,*">
    <
frame src="top.htm"></frame>
    <
frame src="bottom.htm"></frame>
</
frameset>
</
html
top.htm
Codice PHP:
<html>
<
head>
<
title>Untitled Document</title>
<
meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<
script language="JavaScript" type="text/JavaScript">
    function 
removeFrame(){
        var 
fparent.frames;
alert(parent.document.location.href);
        
f[0].document.location.hrefparent.document.location.href;
    }
</script>

</head>
<body>
[url="#"]Remove frame[/url]
</body>
</html> 

bottom.htm

Codice PHP:
<html>
<
body>
Bottom Frame 

<a href="javascript:top.document.location.href =
document.location.href"
>1. remove top frame using JavaScript</a>


<
a href="" target="_top" onClick="this.href=document.location.href">2.
remove top frame using a link targeted to _top
</a>


<
form method="post" target="_top" onSubmit="this.action=document.location.href">
    <
input type="submit" value="3. remove top fame using form post">
</
form>


<
a href="bottom.htm" target="_top">4. use targeted link and put static
URL in the HREF attribute</a>
</
body>
</
html
dal bottom frame tutto bene
ma se volessi rimuovere il top frame dallo stesso
come caspiterina faccio (vedete i miei tentativi )

la cosa che fa google con le immagini
qui