<?php get_header(); ?>

	<div id="content">
		<!-- Primary content: Stuff that goes in the primary content column (by default, the left column) -->
		<div id="primarycontainer">
			<div id="primarycontent">
				<!-- Primary content area start -->
		
			<?php if (have_posts()) : ?>
		
			<?php while (have_posts()) : the_post(); ?>
		
				<div class="post" id="post-<?php the_ID(); ?>">
				<h4><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h4>					
				
					<div class="contentarea">
						<div class="details">Posted by <?php the_author() ?> on <?php the_time('M jS, Y') ?> </div>	
						
						<div class="entry">
						<?php the_content('Continue Reading &raquo;'); ?>
						</div>

						<ul class="controls">
							<li class="readmore"><?php the_category(' , ') ?> <?php edit_post_link('Edit'); ?></li>
						<li class="comments"><?php comments_popup_link('Comments(0)', 'Comments(1)', 'Comments(%)'); ?></li>						
						
						</ul>
					</div>
					<?php comments_template(); ?>
				</div>
		
				<div class="divider2"></div>
		
		
				<?php endwhile; ?>
				<p align="center"><?php posts_nav_link(' - ','&#171; Prev','Next &#187;') ?></p>		
				<?php else : ?>

				<h2 class="center">Not Found</h2>
				<p class="center">Sorry, but you are looking for something that isn't here.</p>
				<?php endif; ?>

				<!-- Primary content area end -->
			</div>
		</div>
		
<?php get_sidebar(); ?>
		
	

	</div>
<?php get_footer(); ?>

</div>

</body>
</html>