JS COde is hiding footer text


(MAD King) #1

after placing the JS code direct before the tag it lets disappear the footer Text/Code.

Footer without JS Code:

<p class="art-page-footer">© 2010 by <a href="http://www.domain.com" target="_blank">domain.com</a> <a href="contact.html">Advertise</a></p>

Footer with JS Code:

        <div class="cleared"></div>
<div class="cleared"></div>
<p class="art-page-footer">© 2010 by <a href="http://www.domain.com" target="_blank">domain.com</a> <a href="contact.html">Advertise</a></p>
<!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://www.domain.com/piwik/" : "http://www.domain.com/piwik/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script><noscript><p><img src="http://www.domain.com/piwik/piwik.php?idsite=1" style="border:0" alt="" /></p></noscript>
<!-- End Piwik Tag -->
</body>