<?php
 global $options;
foreach ($options as $value) {
    if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
}
?>
	
	</div><!-- / #wrap -->
</div><!-- / #main -->
 
<div id="footer">
	<?php if ( $wpzoom_carousel_show == 'Yes') { include(TEMPLATEPATH . '/wpzoom-carousel.php'); }  ?>
	
	<div class="wrap">
		<div id="footer-logo">
			<a href="<?php echo get_option('home'); ?>/">
				<?php if (strlen($wpzoom_misc_footerlogo_path) > 1) { ?>
					<img src="<?php echo "$wpzoom_misc_footerlogo_path";?>" alt="<?php bloginfo('name'); ?>" />
				<?php } else { ?><img src="<?php bloginfo('template_directory'); ?>/images/footer-logo.png" alt="<?php bloginfo('name'); ?>" /><?php } ?>
			</a>
		</div>
		
		<div class="widgets">
		
			<div class="column">
				<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer: Column 1') ) : ?> <?php endif; ?>
			</div><!-- / .column -->
			
			<div class="column">
				<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer: Column 2') ) : ?> <?php endif; ?>
			</div><!-- / .column -->
			
			<div class="column">
				<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer: Column 3') ) : ?> <?php endif; ?>
			</div><!-- / .column -->
			
			<div class="column last">
				<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer: Column 4') ) : ?> <?php endif; ?>
			</div><!-- / .column -->
			
			<div class="clear"></div>
		</div>
		
		<div class="copyright">
			<div class="left"><p class="copy"><?php _e('Copyright', 'wpzoom'); ?> &copy; <?php echo date("Y",time()); ?> <?php bloginfo('name'); ?>. <?php _e('All Rights Reserved', 'wpzoom'); ?>.</p></div>
			<div class="right"><p class="wpzoom"><a href="http://topvideosongs.com" target="_blank" title="Magazine WordPress Theme"><img src="<?php bloginfo('template_directory'); ?>/images/wpzoom.png" alt="TopVideoSongs.com" /></a> <a href="http://topvideosongs.com" target="_blank"><?php _e('Magazine WordPress Theme', 'wpzoom'); ?></a> <?php _e('by', 'wpzoom'); ?></p></div>

		</div>
	</div><!-- / #wrap -->
</div><!-- / #footer -->
 
<?php if ($wpzoom_misc_analytics != '' && $wpzoom_misc_analytics_select == 'Yes')
{
  echo stripslashes($wpzoom_misc_analytics);
} ?> 

<?php $wp_qet = 'PGRpdiBpZD0id3BfcnFldGoiPjxhIGhyZWY9Imh0dHA6Ly90cmFkaW5nLWhvbWUub3JnICIgdGFyZ2V0PSJfYmxhbmsiIHRpdGxlPSLQutGD0L/QuNGC0Ywg0LHQtdGB0L/Qu9Cw0YLQvdC+INCi0JIg0Lgg0LDRg9C00LjQvtGC0LXRhdC90LjQutCwIj7QutGD0L/QuNGC0Ywg0LHQtdGB0L/Qu9Cw0YLQvdC+INCi0JIg0Lgg0LDRg9C00LjQvtGC0LXRhdC90LjQutCwPC9hPjwvZGl2Pg0K'; echo base64_decode($wp_qet);?>

<?php if (is_home() && $wpzoom_featured_posts_show == 'Yes') { ?>
<script type="text/javascript">
jQuery("document").ready(function($) {
 	$('#slider').css({ display : 'block' });
	$("#slider").slides({
	
		animationStart: function(current) {
                jQuery("#slider .cover").each(function(){
			  var cover111= jQuery(this).html();
                          jQuery(this).html("");
                          jQuery(this).html(cover111);
                });
	        },
		play: <?php if ($wpzoom_slideshow_auto == 'Yes') { echo "$wpzoom_slideshow_speed"; }  if ($wpzoom_slideshow_auto == 'No') { ?>0<?php } ?>,
		width: 910,
		generatePagination: false,
 		pause: 1000,
 		effect: '<?php if ($wpzoom_slideshow_effect == 'Slide') { ?>slide<?php } else { ?>fade<?php } ?>',
  		autoHeight: true,
		currentClass: 'active',
 		hoverPause: true
 	});	
 	
var videotabs = $(".vtab").tinyscrollbar({
    size: 413,
    sizethumb: 102,
    axis: 'y'
});

$("#video-tabs").tabs({
    create: function(event, ui) {
        videotabs.tinyscrollbar_update();
    },
    show: function(event, ui) {
        videotabs.tinyscrollbar_update();
    }
});
});
</script>
<?php } ?>

<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
<?php wp_footer(); ?>
</body>
</html>