Think it will look something like this, replave the navigate string with the actual URL that your going to...

code:
break on

$ie = createobject("internetexplorer.application")

$ie.visible = 1

$ie.navigate("f:\nhs.htm")

while $ie.busy and $ie.readystate <> 4 loop

$ie.document.forms(0).username.value = "shawn"

$ie.document.forms(0).j_password.value = "password"

$ie.document.forms(0).submit.click()

exit 1