login window name and textfield names
===

I have created an page that logins to facebook and retrieves the user's info, using JavaScript SDK & OAuth 2.0.

Since the page will be loaded in a touch panel without keyboard, I need to add a keyboard layout so that the user can input the username/password.
It should be fairly easy to do it with a few buttons and javascript, if I knew the name of the window opened when the user is prompted to login and the ids of the textfields username and password. But I do not know these names. 
Is it another way? Or can I find out the names?
