<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" <?php language_attributes(); ?>>

<head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>

<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>/ie6.css" />
<![endif]-->
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>/ie.css" />
<![endif]-->
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

<SCRIPT SRC="<?php bloginfo('template_url'); ?>/js/ThemeJS.js"></SCRIPT>

<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>

<!--This is a plugin hook-->
<?php wp_head(); ?>

</head>
<body <?php if(is_page() || is_single()) echo 'onload="hideTags();"'; ?>>

<div id="container">
	<div id="nav_menu">
		<!--Main navigation menu-->
		<ul>
		<li><a <?php if(is_front_page()) echo 'class="current" '; ?>href="<?php bloginfo('url'); ?>" title="Home">Home</a></li>
	        
       		 <!-- Sample navigation menu 
		<li><a <?php if(is_home()) echo 'class="current" '; ?>href="<?php bloginfo('url'); ?>/blog/" title="Blog">Blog</a></li>
		<li><a <?php if(is_page('about')) echo 'class="current" '; ?>href="<?php bloginfo('url'); ?>/?page_id=2" title="About <?php bloginfo('name'); ?>">About</a></li>
		<li><a <?php if(is_archive() || is_page('archives')) echo 'class="current" '; ?>href="<?php bloginfo('url'); ?>/archives/" title="Visit the archives">Archives</a></li>
		<li><a href="<?php bloginfo('url'); ?>/feed/" title="RSS Feed">Feed</a></li>
		<li><a href="<?php bloginfo('url'); ?>/sitemap/" title="Sitemap">Sitemap</a></li>
		-->
		
		</ul>
	</div><!--close nav_menu id-->
	<div id="wrapper">
		&nbsp; <!--Mozilla hack to show background-->
		<div id="header">
			
			<!--UNCOMMENT THE FOLLOWING SECTION OF CODE FOR RSS AND RSS VIA EMAIL
				SUBSCRIPTION BUTTONS
			<div id="tji_subscribe">
				<div id="feedbubble"><div id="feedbubble_inner1"><div id="feedbubble_inner2">Click here to subscribe to the RSS Feed in your favorite feed reader</div><div id="feedbubble_pointer">&nbsp;</div></div></div>
				<div id="emailbubble"><div id="emailbubble_inner1"><div id="emailbubble_pointer">&nbsp;</div><div id="spacer">&nbsp;</div><div id="emailbubble_inner2">Click here to have new posts sent straight to your email</div></div></div>
				
				<a class="img" href="<?php bloginfo('rss2_url'); ?>" title=""><img src="<?php bloginfo('template_url'); ?>/images/rss_icon.gif" alt="" onmouseover="showRSS();" onmouseout="hideRSS();" /></a>
				<br />
				<a class="img" href="" title=""><img src="<?php bloginfo('template_url'); ?>/images/email_icon.gif" alt="" onmouseover="showEmail();" onmouseout="hideEmail();" /></a>
			</div>
			-->
			
			<div id="masthead_wrapper">
				<h1 id="masthead"><a class="standard" href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1><h2 id="tagline"><?php bloginfo('description'); ?></h2>
			</div>
			
			<div id="headerimg">
				<?php if(is_home()) { ?>
					<img src="<?php bloginfo('template_url'); ?>/images/header_images/header4.jpg" title="<?php bloginfo('name'); ?> Random Header Image" />
				<?php }elseif(is_single()) { ?>
					<img src="<?php bloginfo('template_url'); ?>/images/header_images/header2.jpg" title="<?php bloginfo('name'); ?> Random Header Image" />
				<?php }elseif(is_page()) { ?>
					<img src="<?php bloginfo('template_url'); ?>/images/header_images/header3.jpg" title="<?php bloginfo('name'); ?> Random Header Image" />
				<?php }else{ ?>
					<img src="<?php bloginfo('template_url'); ?>/images/header_images/header1.jpg" title="<?php bloginfo('name'); ?> Random Header Image" />
				<?php } //endif ?>
			</div>
		</div><!--close header id-->
