Hi, thanks for your quick response! I think there is actually an underlying problem. This is exactly what is at the end of my /mytemplate/common/tpl_main_page.php file:

<!--eof- banner #6 display -->
<script language="JavaScript" type="text/javascript">
COT("https://www.photoimprints.com/images/secure_site.gif", "SC2", "none");
</script></body>

However, as you said, when you view the source of the compiled page, there is no script, in fact, a whole section is missing that DOES show up on a working site of mine, as follows:

<!--bof-navigation display -->
<div id="navSuppWrapper">
<div id="navSupp">
<ul>
<li><a href="http://www.religiouskeepsakes.com/">Home</a></li>
<li></li>
</ul>
</div>
</div>
<!--eof-navigation display -->

<!--bof-ip address display -->
<div id="siteinfoIP">Your IP Address is: 66.32.74.90</div>
<!--eof-ip address display -->

<!--bof-banner #5 display -->
<!--eof-banner #5 display -->

<!--bof- site copyright display -->
<div id="siteinfoLegal" class="legalCopyright">Copyright &copy; 2003-2006 <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a>. Powered by <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a></div>
<!--eof- site copyright display -->

</div>
<!--bof- parse time display -->
<!--eof- parse time display -->
<!--bof- banner #6 display -->
<!--eof- banner #6 display -->
<script language="JavaScript">COT("http://www.religiouskeepsakes.com/images/secure_site.gif", "SC2", "none");</script>
</body></html>

when I compare the tpl_main_file of the working site with the tpl_main_file of the not working site in winmerge, I am getting an EOF error, which I am not sure what to do with. I tried reloading a fresh tpl_main_file but I am still not getting all the source code at the end.

Any ideas? Thanks very much!