come scrivo correttamente questa cosa?:
<script>
if document.ricerca.ricerca.value=index then
location.herf="index.asp"
end if
</script>