ciao a tutti. Ho trovato sul vostro sito uno script che fa apparire un messaggio di advertising che copre tutta la pagina dell home page e mi fa ritornare a quest'ultima solo dopo che ho cliccato sul banner

PS: potete vedere un esempio a questa pagina di prova

http://www.sostegnoalreddito.com/prova/index.htm

Quello che non riesco a fare è:

- aprire anche una nuova pagina una volta cliccato sul banner

Posto lo script completo funzionante:

Codice:
<DIV ID=pub STYLE="position:absolute;top:0;left:0;z-index:10"></DIV>
<SCRIPT LANGUAGE=JavaScript>
function showsup()
{
if(document.getElementById && ScanCookie("megabanner")==0)
{
document.getElementById("pub").style.width = larg;
document.getElementById("pub").style.height = haut;
document.getElementById("pub").innerHTML = html_haut+html_mil+html_bas;
setTimeout("closeSup()",30000);
CreationCookie("megabanner",false);
}
}

function closeSup()
{
if(document.getElementById)
{
document.getElementById("pub").style.width = 1;
document.getElementById("pub").style.height = 1;
document.getElementById("pub").innerHTML = '';
}
}

function ScanCookie(variable)
{
cook = document.cookie;
variable += "=";
place = cook.indexOf(variable,0);
if (place <= -1)
return("0");
else
{
end = cook.indexOf(";",place)
if (end <= -1)
return(unescape(cook.substring(place+variable.leng th,cook.length)));
else
return(unescape(cook.substring(place+variable.leng th,end)));
}
}

function CreationCookie(nom,valeur,permanent)
{
if(permanent)
{
dateExp = new Date(1990,11,11);
dateExp = dateExp.toGMTString();
ifpermanent = '; expires=' + dateExp + ';';
}
else
ifpermanent = '';
document.cookie = nom + '=' + escape(valeur) + ifpermanent;
}


if(document.all)
{
larg = document.body.clientWidth;
haut = document.body.clientHeight;
}
else
{
larg = screen.width;
haut = screen.height;
}

html_haut = "<TABLE WIDTH="+larg+" HEIGHT="+haut+"><TR><TD VALIGN=middle ALIGN=center BACKGROUND=grille.gif>";
html_bas = "</TD></TR></TABLE>";

html_mil = "<TABLE WIDTH=500 HEIGHT=350 CELLPADDING=0 CELLSPACING=0 bgcolor=white class=tabella>";
html_mil += "<TR>";
html_mil += "<TD align=center>";
html_mil += "<font face=verdana size=5 color=black>Questo è un messaggio molto importante

";
html_mil += "Clicca sul banner per entrare nel sito
</font>



";
html_mil += "<img src=\"banner.gif\" border=\"0\">";
html_mil += "</TD>";
html_mil += "</TR>";
html_mil += "</TABLE>";

window.onload = showsup;

</SCRIPT>


La funzione che mi fa ritornare alla mia home page togliendo l'advertising cliccando sul banner è:
html_mil += "<img src=\"banner.gif\" border=\"0\">";

Però vorrei che oltre a questo si aprisse al click del banner un altra finestra. Come posso fare?