ciao
codice:
function PopupRandom(){ 
pag = new Array() 
numero=Math.floor(2*Math.random()); 
pag[0]=['pagina1.htm','height=50, width=50']; 
pag[1]=['pagina2.htm','height=100, width=100']; 
window.open(pag[numero][0],'','toolbar=no, menubar=no, location=no, scrollbars=no, top=10, left=10,'+pag[numero][1]); 
}
prova così