<?php
/**
 * The Sidebar containing the primary and secondary widget areas.
 *
 * @package WordPress
 * @subpackage Twenty_Ten_five
 * @since Twenty Ten [five] 1.0
 */
?>

				<div id="primary" class="widget-area" role="complementary">
					<ul class="xoxo">
						<li class="youtube">
							<a href="http://www.youtube.com/user/Soulsmithing/">
								<img src="<?php bloginfo('template_directory'); ?>/images/icons/youtube_user_soulsmithing.gif" />
							</a>
						</li>
						<li class="languages">
							<a href="http://www.soulsmithing.com/AcceuilEN.html" title="Home">
								English
							</a>
						</li>
						<li class="languages">
							<a href="http://www.soulsmithing.com/AcceuilFR.html" title="Acceuil">
								Français
							</a>
						</li>
						<li class="languages">
							<a href="http://www.soulsmithing.com/AcceuilJP.html" title="ホーム">
								日本語
							</a>
						</li>
					</ul>
					
					<ul class="xoxo">

<?php
	/* When we call the dynamic_sidebar() function, it'll spit out
	 * the widgets for that widget area. If it instead returns false,
	 * then the sidebar simply doesn't exist, so we'll hard-code in
	 * some default sidebar stuff just in case.
	 */
	if ( ! dynamic_sidebar( 'primary-widget-area' ) ) : ?>
	
						<li id="search" class="widget-container widget_search">
							<?php get_search_form(); ?>
						</li>
						<li id="recent-posts-3" class="widget-container widget_recent_entries">
							<ul>
								<?php wp_get_archives('type=postbypost&limit=10'); ?>
							</ul>
						</li>
						<li id="archives" class="widget-container">
							<h3 class="widget-title"><?php _e( 'Archives', 'twentyten5' ); ?></h3>
							<ul>
								<?php wp_get_archives( 'type=monthly' ); ?>
							</ul>
						</li>
			
						<li id="meta" class="widget-container">
							<h3 class="widget-title"><?php _e( 'Meta', 'twentyten5' ); ?></h3>
							<ul>
								<?php wp_register(); ?>
								<li><?php wp_loginout(); ?></li>
								<?php wp_meta(); ?>
							</ul>
						</li>
			
					<?php endif; // end primary widget area ?>
						</ul>
					</div><!-- #primary .widget-area -->
<?php
	// A second sidebar for widgets, just because.
	if (is_active_sidebar( 'secondary-widget-area' ))
			{ ?>
					<div id="secondary" class="widget-area" role="complementary">
						<ul class="xoxo">
							<?php dynamic_sidebar( 'secondary-widget-area' ); ?>
						</ul>
					</div><!-- #secondary .widget-area -->
<?php 	}; ?>