This is easy
it handles all about on
and that it clicks the buttons itself
kriminnal part:
if webbrowser1.documenttext.contains("kriminal") then
WebBrowser1.Document.GetElementById("IDOFBUTTON"). InvokeMember("Click")
WebBrowser1.Document.GetElementById("IDOFRADIOBUTT ON").InvokeMember("Click")
end if
Login part:
On webbrowser1.documentcompleted:
If WebBrowser1.DocumentText.Contains("Succesfully Logged in") Then
form2.show
me.hide
end if
it handles all about on and that it clicks the buttons itself

kriminnal part:
if webbrowser1.documenttext.contains("kriminal") then
WebBrowser1.Document.GetElementById("IDOFBUTTON"). InvokeMember("Click")
WebBrowser1.Document.GetElementById("IDOFRADIOBUTT ON").InvokeMember("Click")
end if
Login part:
On webbrowser1.documentcompleted:
If WebBrowser1.DocumentText.Contains("Succesfully Logged in") Then
form2.show
me.hide
end if
