<?php
/**
 * The main template file.
 *
 * This is the most generic template file in a WordPress theme
 * and one of the two required files for a theme (the other being style.css).
 * It is used to display a page when nothing more specific matches a query.
 * E.g., it puts together the home page when no home.php file exists.
 * Learn more: http://codex.wordpress.org/Template_Hierarchy
 *
 * @package WordPress
 * @subpackage Twenty_Ten
 * @since Twenty Ten 1.0
 */

get_header(); ?>

		<img src="<?php bloginfo( 'template_directory' ); ?>/images/h-divider.png" alt="h divider" />

	<div class="clear">&nbsp;</div>
	
	<div class="grid_12 blank-space" >&nbsp;</div>
		
		<div class="grid_8">

		<div class="grid_4 alpha">
	
			<?php 
	
				$left_post_id = get_option('gb_left_postid'); 
					
				$left_post_obj = get_post($left_post_id);
	
			?>
	
			<h1><?php echo $left_post_obj->post_title; ?></h1>

			<img src="<?php bloginfo( 'url' ); ?><?php echo "/" . get_option("gb_left_col_img"); ?>" alt="gr" class="img-br2"/>

			<?php echo $left_post_obj->post_content; ?>

			<p class="more"><a href="<?php echo $left_post_obj->guid; ?>"><img src="<?php bloginfo( 'template_directory' ); ?>/images/more.png" alt="more" /></a></p>

			</br>
			
		</div>

		<div class="grid_4 omega">

				<?php 
	
				$right_post_id = get_option('gb_right_postid'); 
					
				$right_post_obj = get_post($right_post_id);
	
			?>
	
			<h1><?php echo $right_post_obj->post_title; ?></h1>

			<img src="<?php bloginfo( 'url' ); ?><?php echo "/" . get_option("gb_right_col_img"); ?>" alt="gr" class="img-br2"/>

			<?php echo $right_post_obj->post_content; ?>

			<p class="more"><a href="<?php echo $right_post_obj->guid; ?>"><img src="<?php bloginfo( 'template_directory' ); ?>/images/more.png" alt="more" /></a></p>

			</br>
			
		</div>
			
		<div class="grid_8 alpha">

			<div  class="ad-468">

				<!--<a href="#"><img src="<?php //bloginfo( 'template_directory' ); ?>/images/468x60.gif" alt="468"  class="img-br"/> </a>-->

			</div>
			
		</div>
			
	</div>

<?php get_sidebar(); ?>
<?php get_footer(); ?>
