e così?
codice:
function mostra( immagine, commento ) 
{ 
top.immagine.location.href = immagine; 
top.commento.location.href = commento; 
}