{* 
//////
//    @version [ Wainuiomata ]
//    @package hwdVideoShare
//    @copyright (C) 2007 - 2009 Highwood Design
//    @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
//////
//    hwdVideoShare Template System:::This template system uses the Smarty Template Engine. 
//    For full documentation, including syntax usage please refer to http://www.smarty.net 
//    or our website at http://www.hwdmediashare.co.uk   
//////
//    This file generates the footer of hwdVideoShare and closes any <div> tags that were originally
//    opened in the header.tpl file. 
//////
//    VARIABLES AVAILBLE IN THIS TEMPLATE FILE:                                        
//    -- $print_ads.........Only set if hwdRevenueManager is installed
//    -- $sc................Only set if hwdVideoShare is configured to display a credit link                            
//    -- $cl................"Powered by" message                               
//    -- $sr................Only set if the rounded corners option is enabled
//////
*}

{if $print_ads}{if $advert5}<div id="hwdadverts-padding">{$advert5}</div>{/if}{/if}

<div class="footer">{if $sc}{$cl}{/if}</div>
    
<script type="text/javascript">Rounded('hwdmodule-h1', 1, 1);</script>
<script type="text/javascript">Rounded('hwdmodule-h2', 1, 1);</script>
<script type="text/javascript">Rounded('hwdmodule-h3', 1, 1);</script>
<script type="text/javascript">Rounded('hwdmodule-h4', 1, 1);</script>
<script type="text/javascript">Rounded('hwdmodule-h5', 1, 1);</script>
<script type="text/javascript">Rounded('hwdmodule-un', 1, 1);</script>
<script type="text/javascript">Rounded('hwdmodule-top', 1, 1);</script>
<script type="text/javascript">Rounded('hwdadcontainer', 1, 1);</script>

</div>

{if $print_mb_initialize}
{literal}
<script type="text/javascript">
	var box = {};
	window.addEvent('domready', function(){
		box = new MultiBox('mb');
	});
</script>
{/literal}
{/if}