... usare come nome di un form il valore 'form'.
Dunque, cambia

modulo=document.form;

in

modulo=document.nomeform;

Ovviamente le modifiche vanno anche qui:

<form name="nomeform" method="get" action="top_dx.php" target="rightFrame">

Fammi sapere !