Hey Guys

Ok I am new to JavaScript so there are a few things I might miss so please be gental.

I am helping out a friend with his webpage which has a forum on it. Unfortunatly Joomla 1.5 does not support non-loged in user to post on replys on the forum, which is a hassel.

Ok so I was planning to write a Script I want to call when a user("Guest") press a button("Guest Login") ill create which links to the script url. Will this work?

Secondly I know which fields to populate I have there Id's, my problem is how do my code know which page these Id's belong to? and lastly how would I send the "Login button" trigger to the login page from the script.

Any help would be appriciated.