<!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="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<meta name="keywords" content="<?php echo get_option('wpann_keywords'); ?>" />
<meta name="description" content="<?php echo get_option('wpann_description'); ?>" />
<title><?php
	/*
	 * Print the <title> tag based on what is being viewed.
	 */
	global $page, $paged;

	wp_title( '|', true, 'right' );

	// Add the blog name.
	bloginfo( 'name' );

	// Add the blog description for the home/front page.
	$site_description = get_bloginfo( 'description', 'display' );
	if ( $site_description && ( is_home() || is_front_page() ) )
		echo " | $site_description";

	?></title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('template_directory'); ?>/css/prettyPhoto.css" />
<script language="JavaScript" type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery-1.4.2.min.js"></script>
<script language="JavaScript" type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.form.js"></script>
<script language="JavaScript" type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/cufon-yui.js"></script>
<script language="JavaScript" type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/twittercb.js"></script>
<script language="JavaScript" type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/Vegur_400-Vegur_700.font.js"></script>
<script language="JavaScript" type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.prettyPhoto.js"></script>
<script language="JavaScript" type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/custom.js"></script>
<?php if(get_option('wpann_cufon')!="no"):?>
<script type="text/javascript">
			Cufon.replace('a.more-link',{hover:true})('#sidebar h2')('#footer h2')('#mainNav ul li a', {hover:true})('#topLinksLeft a',{hover:true} )('#topLinksRight a',{hover:true} );
	</script>
<?php endif ?>
<?php
	if ( is_singular() && get_option( 'thread_comments' ) )
		wp_enqueue_script( 'comment-reply' );
	wp_head();
?>
</head>
<body <?php if(get_option('wpann_ann_header')!='' && get_option('wpann_ann_header')=='off'):?>
	class="noAnniversary"
	<?php endif;?>
	>
<!-- BEGIN #mainWrapper -->
<div id="mainWrapper">
	<!-- BEGIN #wrapper -->
	<div id="wrapper">
		<!-- BEGIN #header -->
		<div id="header" style="
		<?php if(get_option('wpann_ann_header_img')!=''):?>background-image:url(<?php echo get_option('wpann_ann_header_img');?>);<?php endif;?><?php if(get_option('wpann_ann_header_img')!='' && get_option('wpann_header_h')!=''):?>height:<?php echo get_option('wpann_header_h');?>px;<?php endif;?>">
			<?php if(get_option('wpann_ann_header_img')==''):?>
			<?php endif;?>
		  <div id="blogTitle">
					<a href="<?php bloginfo('url'); ?>/">
					<?php if(get_option('wpann_blog_name')!=""){ 
							echo get_option('wpann_blog_name');
							}else{?>WordPress Anniversary Theme
							<?php } ?>
					</a><br />
					<span><?php bloginfo('description'); ?></span>			
				</div>
					<?php wp_nav_menu( array( 'theme_location' => 'main-menu', 'container_id' => 'mainNav', 'container_class' => 'topmenu', 'fallback_cb'=>'primarymenu') );?>
				<div id="topSocial">
					<ul>
						<?php if(get_option('wpann_twitter_user')!=""){ ?>
						<li>Twitter<br /><a href="http://www.twitter.com/<?php echo get_option('wpann_twitter_user'); ?>" class="twitter" title="Follow Us on Twitter!">Follow Us on Twitter!</a></li>
						<?php }?>
						<?php if(get_option('wpann_facebook_link')!=""){ ?>
						<li>Facebook<br /><a href="<?php echo get_option('wpann_facebook_link'); ?>" class="facebook" title="Join Us on Facebook!">Join Us on Facebook!</a></li>
						<?php }?>
					</ul>
		  </div>
				
</div>
		<!-- END #header -->
		<!-- BEGIN #content -->
		<div id="content" <?php if(get_option('wpann_sidebar_position')=="left"){?>class="left"<?php }?>>