<?php
/**
 * The Header for our theme.
 *
 * Displays all of the <head> section and everything up till <div id="main">
 *
 * @package WordPress
 * @subpackage BCDB New
 * @since BCDB 1.0
 */
?><!DOCTYPE html>
<!--[if IE 7]>
<html class="ie ie7" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 8]>
<html class="ie ie8" <?php language_attributes(); ?>>
<![endif]-->
<!--[if !(IE 7) | !(IE 8)  ]><!-->
<html <?php language_attributes(); ?>>
<!--<![endif]-->
<head>
	<meta charset="<?php bloginfo( 'charset' ); ?>">
	<meta type="dave">
	<meta name="viewport" content="width=device-width">
	<title><?php wp_title( '|', true, 'right' ); ?></title>

    <link rel="author" href="https://plus.google.com/103591385921886145176/"/>
    <link rel="publisher" href="https://plus.google.com/103146328933727438073/"/>
	<link rel="profile" href="http://gmpg.org/xfn/11">
	<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
    <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />

	<!--[if lt IE 9]>
	<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js"></script>
	<![endif]-->
	<?php wp_head(); ?>
</head>

<body <?php body_class(); ?>>
<div id="wrapper" class="hfeed">
<div style="position:relative;top:-6em;" id="dave">

	<div id="header">
		<header id="masthead" class="site-header" role="banner">
			<div id="branding" role="banner" style="margin-top: 100px;">

<!-- <div style="position:relative;top:5em;left:9em;height: 190px;">
Ad Unit [8009] blog-728x90-1
<div id="switch_placeholder_9d34e2a8dcea4096c2b155efba61c8e9" class="switch_placeholder"></div>
<script type="text/javascript" src="//delivery.us.myswitchads.com/adserver/sat.js"></script>
<script type="text/javascript"> __switch_obj.addInstance({"z":8009,"targetId":"switch_placeholder_9d34e2a8dcea4096c2b155efba61c8e9","width":"728","height":"90"}); </script>
</div> -->

				<?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?>
				<<?php echo $heading_tag; ?> id="site-title">

				</<?php echo $heading_tag; ?>>
				<?php
					// Check if this is a post or page, if it has a thumbnail, and if it's a big one
					if ( is_singular() &&
							has_post_thumbnail( $post->ID ) &&
							( /* $src, $width, $height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'post-thumbnail' ) ) &&
							$image[1] >= HEADER_IMAGE_WIDTH ) :
						// Houston, we have a new header image!
						echo get_the_post_thumbnail( $post->ID, 'post-thumbnail' );
					else : ?>
						<div class="site-banner"><img class="aligncenter" style=" border-bottom: 1px solid #000000; border-top: 4px solid #000000;margin-bottom: 2px;" src="/wp-content/themes/bcdb_new/images/newslogo.png" width="1080" height="199" alt="Big Cartoon News!"/></div>                        
                        				<div id="site-description" style="text-align:center; margin: -50px 0 0 200px; color:#333;">	Cartoons News and Film Information<br />News Of A Decidedly Animated Bent</div>
                                        
					<?php endif; ?>
			</div><!-- #branding -->

			<div id="navbar" class="navbar">
				<nav id="site-navigation" class="navigation main-navigation" role="navigation">
					<h3 class="menu-toggle"><?php _e( 'Menu', 'twentythirteen' ); ?></h3>
					<a class="screen-reader-text skip-link" href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentythirteen' ); ?>"><?php _e( 'Skip to content', 'twentythirteen' ); ?></a>
					<?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) ); ?>
					<?php get_search_form(); ?>
				</nav><!-- #site-navigation -->
			</div><!-- #navbar -->
         <!-- LARGE AD EXPERIMENT -->
    <div style="clear:both;padding: 20px 0 0px 05px;margin-left: auto; margin-right: auto; width:970px;">

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Large Horz HOME Bcdb -->
<ins class="adsbygoogle"
     style="display:inline-block;width:970px;height:90px"
     data-ad-client="ca-pub-4460186434212896"
     data-ad-slot="4357833573"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

    </div>

    <div class="clear"></div>
  <!-- WIDE EXPERIMENT AD  END -->


		</header><!-- #masthead -->

		<div id="main" class="site-main">
