<?php endwhile; ?>
			<?php /** end the product loop here */?>
		</table>
		
		
		<?php if(wpsc_product_count() < 1):?>
			<p><?php  echo __('There are no products in this group.', 'wpsc'); ?></p>
		<?php endif ; ?>

	<?php

	if(function_exists('fancy_notifications')) {
		echo fancy_notifications();
	}
	?>
		
		
		<!-- Start Pagination -->
		<?php if ( ( get_option( 'use_pagination' ) == 1 && ( get_option( 'wpsc_page_number_position' ) == 2 || get_option( 'wpsc_page_number_position' ) == 3 ) ) ) : ?>
			<div class="wpsc_page_numbers">
				<?php if ( wpsc_has_pages() ) : ?>
					<div class="pagination-pages"><?php echo wpsc_first_products_link( '&laquo; First', true ); ?> <?php echo wpsc_previous_products_link( '&laquo; Previous', true ); ?> <?php echo wpsc_pagination( 10 ); ?> <?php echo wpsc_next_products_link( 'Next &raquo;', true ); ?> <?php echo wpsc_last_products_link( 'Last &raquo;', true ); ?></div>
				<?php endif; ?> 
			</div>
		<?php endif; ?>
		<!-- End Pagination -->
		
		
	<?php endif; ?>
</div>
	<?php endwhile; ?>
	<?php /** end the product loop here */?>
	
	
	<?php if(wpsc_product_count() < 1):?>
		<p><?php  echo __('There are no products in this group.', 'wpsc'); ?></p>
	<?php endif ; ?>

<?php

if(function_exists('fancy_notifications')) {
  echo fancy_notifications();
}
?>
		
		
		<!-- Start Pagination -->
		<?php if ( ( get_option( 'use_pagination' ) == 1 && ( get_option( 'wpsc_page_number_position' ) == 2 || get_option( 'wpsc_page_number_position' ) == 3 ) ) ) : ?>
			<div class="wpsc_page_numbers">
				<?php if ( wpsc_has_pages() ) : ?>
					Page <?php echo wpsc_showing_products_page(); ?>: <?php echo wpsc_first_products_link( '&laquo; First', true ); ?> <?php echo wpsc_previous_products_link( '&laquo; Previous', true ); ?> <?php echo wpsc_pagination( 10 ); ?> <?php echo wpsc_next_products_link( 'Next &raquo;', true ); ?> <?php echo wpsc_last_products_link( 'Last &raquo;', true ); ?>
				<?php endif; ?>
			</div>
		<?php endif; ?>
		<!-- End Pagination -->
		
		
	<?php endif; ?>

</div>
    ?>
		</div>
		<?php 
    if (wpsc_product_count() == 0) {
        ?>
			<h3><?php 
        _e('There are no products in this group.', 'wpsc');
        ?>
</h3>
		<?php 
    }
    ?>
	    <?php 
    do_action('wpsc_theme_footer');
    ?>

		<?php 
    if (wpsc_has_pages_bottom()) {
        ?>
			<div class="wpsc_page_numbers_bottom">
				<?php 
        wpsc_pagination();
        ?>
			</div><!--close wpsc_page_numbers_bottom-->
		<?php 
    }
    ?>
	<?php 
}
?>
</div><!--close default_products_page_container-->
		<!-- Start Pagination -->
		<?php 
    if (get_option('use_pagination') == 1 && (get_option('wpsc_page_number_position') == 2 || get_option('wpsc_page_number_position') == 3)) {
        ?>
			<div class="wpsc_page_numbers">
				<?php 
        if (wpsc_has_pages()) {
            ?>
					Pages: <?php 
            echo wpsc_first_products_link('&laquo; First', true);
            ?>
 <?php 
            echo wpsc_previous_products_link('&laquo; Previous', true);
            ?>
 <?php 
            echo wpsc_pagination(10);
            ?>
 <?php 
            echo wpsc_next_products_link('Next &raquo;', true);
            ?>
 <?php 
            echo wpsc_last_products_link('Last &raquo;', true);
            ?>
				<?php 
        }
        ?>
			</div>
		<?php 
    }
    ?>
		<!-- End Pagination -->