<?php get_header(); ?>


         
	<div id="content" class="container">
		<div id="front" class="primary_col">
			
            
			<?php if (have_posts()) : ?>
			<?php $count = 0; ?>
			<?php while (have_posts()) : the_post(); ?>
			<?php $count++; ?>
			<?php if ($count == 1) : ?> 
			
			<div id="featured">
				<div class="thumbnail">
					<?php the_post_thumbnail( 'single-post-thumbnail' ); ?>
				</div>
				<div class="title">
					<h2><?php the_category(', '); ?><i> &mdash; <?php the_time('l, F j, Y G:i'); ?></i></h2>
					<h1><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1>							
				</div>						
				<div class="arrow"></div>	
			</div>

			<div class="clearandspace"></div>

			<?php else : ?> 
			
			<div class="otherposts">
				<div class="thumbnail"><?php the_post_thumbnail(); ?></div>
				<div class="contents">
					<h3><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3>
					<h2><i><?php the_time('l, F j, Y G:i'); ?></i></h2>
					<?php the_excerpt(); ?> 
				</div>
		
			</div>
			
			<?php endif; ?>
			<?php endwhile; ?> 
		
			<div class="navigation">
				<div class="alignleft"><?php posts_nav_link('','','Previous Entries') ?><?php posts_nav_link('','Next Entries','') ?></div>
			</div>
			
			<?php else : ?> 
			<div class="clearandspace"></div>
			<h1>Error</h1>
			<p>There is no article or content in this category at this time. Please try again later.</p>
			<?php endif; ?>

		</div>
				
		<?php include(TEMPLATEPATH.'/sidebar_cat.php'); ?>
		
		<div class="clear"></div>

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