			<?php if(get_option('reedwan_sidebar_position') == 'left'): ?>
			<!-- Begin Left Sidebar -->
			<div class="left-sidebar grid_4">	
				<?php get_sidebar(); ?>
			</div>
			<!-- End Left Sidebar -->
			<?php endif; ?>
			
			<!-- Begin Content -->
			<div class="content home-2 grid_8" >
				<?php get_template_part('includes/featured'); ?>
				<?php 
					$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
					query_posts("post_type=post&paged=".$paged); 
				?>					
				<?php if (have_posts()) : while (have_posts()) : the_post();  ?>
				<?php
					if(has_post_format('video') || has_post_format('audio') || has_post_format('gallery')) 
					{
						$format_icon = 'class="' . get_post_format() . '-format-icon"';
					}
					else {
						$format_icon = 'class="standard-format-icon"';
					}
				?>
				<div class="block-post" id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
					<?php if(has_post_thumbnail()): ?>
					<?php $image = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'featured-thumb'); ?>
					<div class="post-image alignleft">
						<a <?php echo $format_icon; ?> href='<?php the_permalink(); ?>' title='<?php the_title(); ?>'><img class="fadeover" src="<?php echo $image[0]; ?>" alt="<?php the_title(); ?>" width='620' height='270' /></a>
					</div>	
					<?php else: ?>
					<div class="post-image alignleft">
						<a <?php echo $format_icon; ?> href='<?php the_permalink(); ?>' title='<?php the_title(); ?>'><img class="fadeover" src="<?php echo get_template_directory_uri(); ?>/timthumb.php?src=<?php echo get_template_directory_uri(); ?>/images/thumbnail.png&w=620&h=270" alt="<?php the_title(); ?>" width='620' height='270' /></a>
					</div>
					<?php endif; ?>
					<div class="clear"></div>
					<div class="post-content">
						<h3 class="post-title"><a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>'><?php the_title(); ?></a></h3>
						<p><?php echo string_limit_words(get_the_excerpt(), 55); ?><a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>' class="readmore"> [...]</a></p>	
						<div class="post-head">
							<span class="info-date"><?php the_time('F j, Y'); ?></span>
							<span class="info-author"><?php the_author(); ?></span> 
							<span class="info-category"><?php the_category(', ') ?></span>
							<span class="info-comment"><?php comments_popup_link('0','1','%'); ?></span>
						</div>
					</div>	
				</div>
				<div class="clear"></div>
				<?php endwhile; 
				endif; ?>
				<div class="clear"></div>
				<?php kriesi_pagination($pages = '', $range = 2); ?>	
			</div>
			<!-- End Content -->
			
			<?php if(get_option('reedwan_sidebar_position') == 'right'): ?>
			<!-- Begin Right Sidebar -->
			<div class="right-sidebar grid_4">	
				<?php get_sidebar(); ?>
			</div>
			<!-- End Right Sidebar -->
			<?php endif; ?>
		