<?php get_header();?>
<!-- ************************************************************* -->
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="postid" id="post-<?php the_ID(); ?>">
                    <div class="story">
<!-- Title ************************************************************* -->
                  		<div class="story_right">
                           <div class="storyTitle"><h3><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3></div>
<!-- Close Title ************************************************************* -->
<!-- Main Content Text ************************************************************* -->
                           <div class="storyContent">
								<?php if ($type == 'excerpt' ) {the_excerpt();} else {the_content();} ?>
                           </div>
<!-- Close Main Content Text ************************************************************* -->
                   		</div>
                   </div>
</div><!-- close postid-->

<?php endwhile; else: ?>
	<div class="error"><?php _e('Sorry, no posts matched your criteria.'); ?></div>
<?php endif; ?>
<!-- ************************************************************* -->
    </div><!-- close innerContent -->
<?php get_sidebar();?>
<?php get_footer(); ?>