I am getting closer to finding the answer. This might be some help in the future to someone who has individual pages that are not dynamically created that needs this function. The easiest way to have the sub menu stay open would be to use onload event in each of the pages
This will not work for my site because i can not put that code in each of the pages it would need to go. So is there a way to pass the 'onload' event keeping the sub-menu open over the pages?