<?php get_header(); ?>
	<div id="content">
		<?php if ($posts) { ?>
			<h2 class="pagetitle">Search Results for <?php echo "'".$s."'";?></h2>
			<?php 
			foreach($posts as $post)
			{
				start_wp();
			?>
			<div class="post">
				<h2 class="post-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2>
				<p class="post-info"><em><?php the_author_posts_link() ?></em> posted this on <em><?php the_time('M jS Y'); ?></em> under <em><?php the_category(', ') ?></em> <?php edit_post_link(); ?></p>
				<div class="entry">
					<?php the_content('Continue Reading &#187;'); ?>
					<?php wp_link_pages(); ?>	
					<?php edit_post_link(); ?>			
					<p class="post-comments">
						<?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?>
					</p>
					<!--
						<?php trackback_rdf(); ?>
					-->
				</div>
				<?php comments_template(); ?>
			</div>
			<?php
			}
			} // end if (posts)
			else
			{
				echo '<p>Sorry, No Posts matched your criteria.</p>';
			}
		?>
		<p align="center"><?php posts_nav_link(' - ','&#171; Prev','Next &#187;') ?></p>		
	</div>
	<?php get_sidebar();?>
	<?php get_footer();?>