
//<SCRIPT LANGUAGE="JavaScript" SRC="open_win_popup.js"></SCRIPT> testo dell'include
//<a href="javascript:winopen(&quot;htm/schede_clienti/scheda.nuovi_investimenti.asp&quot;,520,565)">esempio di utilizzo della funzione

function winopen(pagina,w,h)
{
newwin=window.open(pagina,"","screenX=0,screenY=0,scrollbars,width="+w+",height="+h)
newwin.moveTo(0,0)
}


function winopen_centro(pagina,w,h)
{
var ww=w
var wh=h
var sw=screen.width;
var sh=screen.height-28;

newwin=window.open(pagina,"","screenX=0,screenY=0, width="+ww+",height="+wh)
newwin.moveTo((sw-ww)/2,((sh-wh)/2)+40);
}

function rid(x,y)
{ if (navigator.appName == "Netscape") { window.resizeTo(x,y); window.moveTo(0,0);
   } else { window.resizeTo(x,y); window.moveTo(0,0);
   }
}
