Okay so I have been trying to figure this out for two days. I have Googled everything I could think of. Basically I have a link (anchor tag) that when clicked opens a javascript popup (like highslide) and within the popup it loads an inline html element which basically contains a search box. So what I need to do is when someone clicks the link and the popup with the search box in it opens, I need the focus to be on the search textbox so that the user can begin typing immediately into the box without having to click into the textbox.

If you want to see for yourself what I have you can login at http://www.mywebpromo.com with Username: Test and Password: test1234

Once logged in you will see in the top right under the main navigation there are two links "Members" and "Search". When you click search you will see the popup that contains the search box. I want to focus to be on the textbox so that the user can start typing after they click the search link.

Thank you!