In order to keep my files more organized, I took all of my Javascript off my index page and linked it in a file called java.js Just to clean things up a bit. The problem I'm having now is that I've got document.getElementById 's in my javascript, and I'm not sure what to change the 'document' to for targeting my index page.
I have a div tag with the id 'map' on the index page, and the code needs to see where that is... how do i do this?