<?php
/**
 * Alternate Sidebar Template
 *
 * If a `secondary` widget area is active and has widgets,
 * and the selected layout has a third column, display the sidebar.
 *
 * @package WooFramework
 * @subpackage Template
 */
	global $woo_options;

	$selected_layout = 'one-col';
	$layouts = array( 'three-col-left', 'three-col-middle', 'three-col-right' );
	$selected_layout = woo_get_layout();

	if ( in_array( $selected_layout, $layouts ) ) {

		if ( woo_active_sidebar( 'secondary' ) ) {

			woo_sidebar_before();
?>
<aside id="sidebar-alt">
	<?php
		woo_sidebar_inside_before();
		woo_sidebar( 'secondary' );
		woo_sidebar_inside_after();
	?>
</aside><!-- /#sidebar-alt -->
<?php
			woo_sidebar_after();
		} // End IF Statement
	} // End IF Statement
?>