<?php if(get_theme_mod('blog_layout') == 'Left') { ?>
<div id="sidebar_main_left">
<?php } else { ?>
<div id="sidebar_main_right">
<?php } ?>

	<ul id="sidebar_main_widgeted">
    	
	<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Sidebar') ) : ?>

       
                    

        

        


                        		
	<?php endif; ?>
	
	</ul>
	
</div>