in reply to Re^4: WWW::Mechanize and javascript
in thread WWW::Mechanize and javascript

Unless you wish to display the page, you can ignore this code. It's just setting CSS attributes for the elements whose IDs are divCal and divMessage.

If you want to understand what's going on, you should learn about DOM.