	<!-- Footer begins -->
	</div></div></div></div></div>{if $CFG.site.script_name neq 'error.php'}</div>{/if}
	<!-- Footer -->

	<div id="footer">
		<div class="clsFooterBanner">
		</div>
		<div id="subFooter">
			<h2>{$LANG.header_miscellaneous_navigation_heading}</h2>
			<ul class="clsClearfix">
				<li class="rssfeeds"><a href="{php}echo getAnovaUrl('rssfeeds');{/php}"><span>{$LANG.header_rss}</span></a></li>
			  	{php}echo displayStaticPageLinks();{/php}
			  	<li class="sitemap"><a href="{$header->getUrl('sitemap')}"><span>{$LANG.header_sitemap}</span></a></li>
			  	<li class="contactus"><a href="{$header->getUrl('contactus')}"><span>{$LANG.header_contactus}</span></a></li>
			  	<li class="invitefriends"><a href="{php}echo getAnovaUrl('invitefriends');{/php}"><span>{$LANG.header_invite_friends}</span></a></li>
			  	<li class="widget"><a href="{php}echo getAnovaUrl('widgetgenerate');{/php}"><span>{$LANG.header_create_your_widget}</span></a></li>
			  	<li class="reportbugs"><a href="{$header->getUrl('reportbugs')}"><span>{$LANG.header_report_bugs}</span></a></li>
			</ul>
			<div class="clsClearfix">
				<p class="clsDisclaimer">{$header->getDisclaimerText()}</p>
	  			<p class="clsCopyrite">{$CFG.site.script_name}&copy; 2014 {$CFG.site.name}. {$LANG.header_all_rights_reserved} <span class="clsPoweredText">{$LANG.header_powered_by} <a href="{$CFG.dev.url}" target="_blank">{$CFG.dev.name}</a></span></p>
	  		</div>
		</div>
	</div>
</body>
{if $CFG.site.script_name neq 'error.php'}
<!--{literal}-->
<script language="javascript" type="text/javascript" defer="defer">
	var toggleNavBar = function(){
		var heightVal = document.getElementById("main").offsetHeight;
		heightVal = heightVal+'';
		if (obj = document.getElementById('selLinkShow')){
			obj.style.height = heightVal+"px";
		}
		if (obj = document.getElementById('selLinkHide')){
			obj.style.height = heightVal+"px";
		}
	}
    toggleNavBar();
</script>
<!--{/literal}-->
{/if}
</html>