Thanks for your help and advice. I did look for the hook. I think I have that already.
This what my footer looks like:
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the id=main div and all content
* after. Calls sidebar-footer.php for bottom widgets.
*
* @package Cryout Creations
* @subpackage mantra
* @since mantra 0.5
*/
?> <div style="clear:both;"></div>
</div> <!-- #forbottom -->
</div><!-- #main -->
<footer id="footer" role="contentinfo">
<div id="colophon">
<?php get_sidebar( 'footer' );?>
</div><!-- #colophon -->
<div id="footer2">
<?php cryout_footer_hook(); ?>
</div><!-- #footer2 -->
</footer><!-- #footer -->
</div><!-- #wrapper -->
<?php wp_footer(); ?>
<!--DSS Analytics SNIPPET//-->
//SETTING PHP COOKIE
if ($_GET['MyID']) {setcookie('MyID', $_GET['MyID'],time() + (10 * 365 * 24 * 60 * 60));}
<script type="text/javascript">
//<![CDATA[
var DID=231878;
var MyID='<?=$_COOKIE['MyID;]?>’;
var pcheck=(window.location.protocol == "https:") ? "https://stats.sa-as.com/live.js":"https://stats.sa-as.com/live.js";
document.writeln('<scr'+'ipt src="'+pcheck+'" type="text\/javascript"><\/scr'+'ipt>');
//]]>
</script>
<!--DSS Analytics SNIPPET//-->
</body>
</html>
[Moderator Note: Please post code or markup between backticks or use the code button. Or better still – use a pastebin. Your posted code may now have been permanently damaged by the forum’s parser.]