I have an IFrame coming into a jsp page. I'm using this java script to call the correct url. It works in I.E., but in Firefox I get a error messages that says "document is undefined", which as you can see, is true. I tried x=document, but not good enough. Can anyone tell me what I have to include in the scipt to define the doc correctly? Thank you for your help.

<script language="javascript">
document.exchangeIndicesModule.location="<%= exIndModuleURL %>";