<?php html_or_xhtml(); ?>
<html <?php language_attributes(); xhtml_attributes(); ?>>
<head>
	<title><?php page_title(); ?></title>
	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
	<meta http-equiv="imagetoolbar" content="no" />
	<meta name="robots" content="noodp" />
	
	<!-- Styles -->
	<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen,projection,tv" />
	<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/print.css" type="text/css" media="print" />
	<?php if(get_option('theme_colour')=="Blue") { ?>
	<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/blue.css" type="text/css" media="screen,projection,tv" />
	<?php } else { ?>
	<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/green.css" type="text/css" media="screen,projection,tv" />
	<?php } ?>
	
	<!-- RSS & Pingback -->
	<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
	<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
	<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

	<!-- WP Head -->
	<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
	<div id="wrapper">
		<div id="header"></div>

		<div id="body">
			<div id="left">
				<ul>
					<?php site_menu('Main Menu',1); ?>
				</ul>

				<p>&nbsp;</p>

				<?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Left Sidebar')) { ?>

				<a href="#"><img src="<?php bloginfo('template_url'); ?>/images/<?php echo get_option('theme_colour')=="Blue" ? 'blue' : 'green'; ?>/logo_brownie.png" alt="" /></a>

				<hr />

				<a href="#"><img src="<?php bloginfo('template_url'); ?>/images/<?php echo get_option('theme_colour')=="Blue" ? 'blue' : 'green'; ?>/logo_flymen.png" alt="" /></a>

				<hr /><p>&nbsp;</p>
		
				<a href="#"><img src="<?php bloginfo('template_url'); ?>/images/<?php echo get_option('theme_colour')=="Blue" ? 'blue' : 'green'; ?>/logo_shimano.png" alt="" /></a>
				
				<?php } ?>

				<p>&nbsp;</p><p>&nbsp;</p>
			</div> 
			
			<div id="main">