feel free to keep it strictly simple...
footers.inc

Format and function of footers.inc.php

The basics are the same as described in get_page_headers (). The file should define an array named $mod_footers.

Of course, neither CSS files can be loaded nor META-settings can be made in the footer. But it is possible to load additional JavaScripts here.

Example:

    $mod_footers = array(
    	'frontend' => array(
			'js'	=> array(
				"modules/lib_jquery/jquery-ui/jquery-ui.min.js"
			),
			'script' => array(
					   array(
						   'alert("hello world!");'
					   ),
				   )			
		)
	);