this tempalte is badly formated.
there is a opening body tag at line 772:
<body>
a closing body tag at line 833
</div>
</body>
<!-- #EndLibraryItem --></div>
and an opening and closing body tag at line 896 - 898:
<body>
</body>
there should only be one opening body tag at the beginning of the HTML body content and one closing body tag at the end of the HTML body content. The multiple body tags are causing the problem.