<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
	<meta http-equiv="X-UA-Compatible" content="IE=7" />
	<meta http-equiv="Content-Type" content="<?php bloginfo("html_type"); ?>; charset=<?php bloginfo("charset"); ?>" />
	<meta http-equiv="imagetoolbar" content="no" />
	<meta name="MSSmartTagsPreventParsing" content="TRUE" />

	<title><?php wp_title('&raquo;',true,'right');?><?php echo $page > 1 ? "Page $page &raquo; " : '';?><?php bloginfo('name');?></title>
	<base href="<?php bloginfo('url'); ?>"></base>
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<?php wp_get_archives('type=monthly&format=link'); ?>
	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
	<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name');?> &raquo; <?php _e('global feed',THEMENAME)?>" href="<?php bloginfo('rss2_url');?>" />
	<link rel="stylesheet" href="<?php bloginfo("stylesheet_url");?>" type="text/css" media="screen" />

	<?php wp_head();?>
</head>

<body id="<?php echo strtolower(date("M"));?>" <?php body_class();?>>
	<div id="header">
		<div id="logo">
			<a href="<?php bloginfo('home');?>"><img src="<?php echo function_exists('get_header_image') && get_header_image() != '' ? get_header_image() : bloginfo('template_url').'/images/logo.png';?>" alt="<?php bloginfo('title');?>" title="<?php bloginfo('description');?>"/></a>
			<h1><a href="<?php bloginfo('home');?>"><?php bloginfo('name');?></a></h1>
			<div class="description"><?php bloginfo('description');?></div>
		</div>
		<?php if (function_exists('dynamic_sidebar')) dynamic_sidebar('468x60 Banner');?>

		<ul id="importantPages">
			<?php $importantPages = wp_list_pages("title_li=&hierarchical=0&meta_key=page-location&meta_value=1&echo=0");?>
			<li id="homeTab"<?php echo (strpos($importantPages,"current_page_item") === false ? " class=\"current_page_item\"" : ""); ?>><a href="<?php bloginfo("url");?>"><?php _e('Home',THEMENAME);?></a></li>
			<?php echo $importantPages; ?>
		</ul>

	</div>
	<div id="container">
		<?php do_action('navigationBar');?>
