<!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" xml:lang="en">

<head profile="http://gmpg.org/xfn/11">

<title>



<?php if ( is_home() ) { ?><?php bloginfo('name'); ?>&nbsp;|&nbsp;<?php bloginfo('description'); ?><?php } ?>



<?php if ( is_search() ) { ?><?php bloginfo('name'); ?>&nbsp;|&nbsp;<?php _e('Search Results',photographythemes); ?><?php } ?>



<?php if ( is_author() ) { ?><?php bloginfo('name'); ?>&nbsp;|&nbsp;<?php _e('Author Archives',photographythemes); ?><?php } ?>



<?php if ( is_single() ) { ?><?php wp_title(''); ?>&nbsp;|&nbsp;<?php bloginfo('name'); ?><?php } ?>



<?php if ( is_page() ) { ?><?php bloginfo('name'); ?>&nbsp;|&nbsp;<?php wp_title(''); ?><?php } ?>



<?php if ( is_category() ) { ?><?php bloginfo('name'); ?>&nbsp;|&nbsp;<?php _e('Archive',photographythemes); ?>&nbsp;|&nbsp;<?php single_cat_title(); ?><?php } ?>



<?php if ( is_month() ) { ?><?php bloginfo('name'); ?>&nbsp;|&nbsp;<?php _e('Archive',photographythemes); ?>&nbsp;|&nbsp;<?php the_time('F'); ?><?php } ?>



<?php if (function_exists('is_tag')) { if ( is_tag() ) { ?><?php bloginfo('name'); ?>&nbsp;|&nbsp;<?php _e('Tag Archive',photographythemes); ?>&nbsp;|&nbsp;<?php  single_tag_title("", true); } } ?>



<?php if ( is_tax() ) { ?><?php bloginfo('name'); ?>&nbsp;|&nbsp;<?php $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) );  $term_title = $term->name; echo "$term_title"; ?> - Gallery<?php } ?>



</title>

<link href='http://fonts.googleapis.com/css?family=Bevan' rel='stylesheet' type='text/css' />

<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">



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



<link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" media="screen" />

<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php if ( get_option('photography_feedburner_url') <> "" ) { echo get_option('photography_feedburner_url'); } else { echo get_bloginfo_rss('rss2_url'); } ?>" />







<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />



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



<?php echo get_option( 'photography_exscripts' ); ?>



<?php wp_head(); ?>



<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/main.js"></script>



</head>

<body>

<!-- topbar -->

<div id="topbar">

<div class="box">

     	<!-- nav -->

        <div id="navigation">

	<div class="insider">
               <?php wp_nav_menu (array ( 'theme_location' => 'main-nav-menu') ); ?>
	</div>	

        </div>

        <!-- nav -->

        <!-- social -->

       	<div class="social">

	<div class="insider">

        	<ul>

                	<?php if(get_option('photography_facebook')!=''){ ?><li class="fb"><a href="<?php echo get_option('photography_facebook'); ?>" title="Facebook">Facebook</a></li><?php } ?>

                    <?php if(get_option('photography_twitter')!=''){ ?><li class="tw"><a href="<?php echo get_option('photography_twitter'); ?>" title="Twitter">Twitter</a></li><?php } ?>

                    <?php if(get_option('photography_pinterest')!=''){ ?><li class="pt"><a href="<?php echo get_option('photography_pinterest'); ?>" title="Pinterest">Pinterest</a></li><?php } ?>

                </ul>

	</div>

        </div>

	<!-- social -->

</div>

</div>

<!-- topbar -->

<!-- start box -->

<div class="box">

    <!-- start header -->

    <div id="header">

        <!-- logo -->

        <div id="logo">

            <div><span><a href="<?php bloginfo('home'); ?>" title="<?php bloginfo('title'); ?>"><?php if ( get_option( 'photography_logo' ) <> "" ) { ?><img src="<?php echo get_option( 'photography_logo' ); ?>"/><?php } else { ?><?php bloginfo('title');?> <b><?php echo get_bloginfo( 'description', 'display' );?></b><?php } ?></a></span></div>

        </div>

        <!-- logo -->

    </div>

    <!-- end header -->