in reply to JavaScript and https page and contents
Bypass Javascript. Use Firefox + Firebug or IE + Wireshark to see what gets POSTed after JS is done with processing. Then just note this down and fill the forms with WWW::Mechanize. The webserver doesn't know the difference.