i need a quick fix of what i am doing and it is not working: on my javascript menu i have: onClick="openSubMenu(0,'MENU');" - this works ok now i want to make it auto open so i added the following javascript: var openmenu = 1; if (openmenu == 1) { openSubMenu(0,'MENU'); } however this does not work so 2usd paypal who can solve this right away what the problem is - post the solution below with your paypal (so that everyone can see who was first and deserves 2 usd)