No access to main document js functions after include file
I'm having a headache trying to call js functions from my main page, from a included page.
I added a slide menu to control administrative tools on my main page using server side include:
<%if Session("Grupo")="Admin" OR Session("Grupo")="Superadmin" then %>
<!--#include file="slide_menu.asp" -->
And now i'm tying to call js functions and document objects from my main page via the menu, but always get null or unexistence object errors...
Any clue what I'm missing?