i am trying to build a submenu with a function i created that uses "?page=blah" to build the menu. i keep on getting 'page' is undefined error. is there a special way to access variables in querystrings with javascript?