Simplified hide_all_report_details() code in application.js. Upgraded to prototype.js 1.7