Are there any rules when to include javascript in <head> or in <body> ? For example, <script type="text/javascript"> function reload(form) { var val=form.Chapter.options[form.Chapter.options.selectedIndex].value; self.location='QueryForm.php?Chapter=' + val ; } </script> TIA, Cor