Manual:Hooks/BeforePageDisplay

Details
$out - The OutputPage object.

Usage
Use  and   to add JavaScript and CSS files respectively.