<?php
/* 
= Print js to theme footer by function
* WordPress: 3.3.1
* Version: 1.0
* URL: elbone.com.au
* Files: functions.php
*/

// Print js to theme footer by function
add_action('wp_footer', 'elbone_footer_script');
if (!function_exists('elbone_footer_script')) {
    function elbone_footer_script() {
		?><script type="text/javascript">
            // js here
		</script><?php
	}
}