<!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">

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

<title>

<?php if ( is_home() ) { ?>

<?php bloginfo('description'); ?>

&nbsp;|&nbsp;

<?php bloginfo('name'); ?>

<?php } ?>

<?php if ( is_search() ) { ?>

Search Results&nbsp;|&nbsp;

<?php bloginfo('name'); ?>

<?php } ?>

<?php if ( is_author() ) { ?>

Author Archives&nbsp;|&nbsp;

<?php bloginfo('name'); ?>

<?php } ?>

<?php if ( is_single() ) { ?>

<?php wp_title(''); ?>

<?php } ?>

<?php if ( is_page() ) { ?>

<?php wp_title(''); ?>

<?php } ?>

<?php if ( is_category() ) { ?>

<?php single_cat_title(); ?>

&nbsp;|&nbsp;

<?php bloginfo('name'); ?>

<?php } ?>

<?php if ( is_month() ) { ?>

<?php the_time('F'); ?>

&nbsp;|&nbsp;

<?php bloginfo('name'); ?>

<?php } ?>

<?php if (function_exists('is_tag')) { if ( is_tag() ) { ?>

<?php bloginfo('name'); ?>

&nbsp;|&nbsp;Tag Archive&nbsp;|&nbsp;

<?php single_tag_title("", true); } } ?>

</title>

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

<?php if (is_home()) { ?>

<?php if ( get_option('bizzthemes_meta_description') <> "" ) { ?>

<meta name="description" content="<?php echo stripslashes(get_option('bizzthemes_meta_description')); ?>" />

<?php } ?>

<?php if ( get_option('bizzthemes_meta_keywords') <> "" ) { ?>

<meta name="keywords" content="<?php echo stripslashes(get_option('bizzthemes_meta_keywords')); ?>" />

<?php } ?>

<?php if ( get_option('bizzthemes_meta_author') <> "" ) { ?>

<meta name="author" content="<?php echo stripslashes(get_option('bizzthemes_meta_author')); ?>" />

<?php } ?>

<?php } ?>

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

<?php if ( get_option('bizzthemes_favicon') <> "" ) { ?>

<link rel="shortcut icon" type="image/png" href="<?php echo get_option('bizzthemes_favicon'); ?>" />

<?php } ?>

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

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

<!--[if lt IE 7]>

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

<![endif]-->

<?php if ( get_option('bizzthemes_scripts_header') <> "" ) { echo stripslashes(get_option('bizzthemes_scripts_header')); } ?>

<?php

	if ( is_singular() && get_option( 'thread_comments' ) )

		wp_enqueue_script( 'comment-reply' );

?>

<?php wp_head(); ?>

<?php if ( get_option('bizzthemes_customcss') ) { ?>

<link href="<?php bloginfo('template_directory'); ?>/custom.css" rel="stylesheet" type="text/css">

<?php } ?>

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

</head>

<body <?php body_class(); ?>>



<div id="header"  class="clearfix">



<div class="container_12 ">



<div class="header-in">

  

  <!--/logo-spot-->

</div>

<div id="top_nav">
	<div id="social_btn_blk"><?php dynamic_sidebar(12); ?></div> 

  <?php if ( !get_option('bizzthemes_buynow_hide')) { ?>



  <?php if ( get_option('bizzthemes_buynow_button_url') != "") { ?>



  <div class="buynow"> <a href="<?php echo get_option('bizzthemes_buynow_button_url'); ?>">Buynow</a> </div>



  <?php } ?>



  <?php } ?>



  <?php

 		global $wpdb;

 		$blogcatname = get_option('bizzthemes_blogcategory');

 		$catid = $wpdb->get_var("SELECT term_ID FROM $wpdb->terms WHERE name = '$blogcatname'");



    ?>

     <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Header Navigation Menu') ){}else{  ?>	

  <ul >

    <li class="hometab <?php if ( is_home() ) { ?>current_page_item <?php } ?>"><a href="<?php echo get_option('home'); ?>/"><?php echo get_option('bizzthemes_home_name'); ?></a></li>

   

    <?php wp_list_pages('title_li=&depth=0&exclude=' . get_inc_pages("pag_exclude_") .'&sort_column=menu_order');  ?>

    

	<?php if ( $catid ) { ?>

    <li <?php if ( is_category() || is_search() || is_single() || is_tag() || is_search() || is_archive() ) { ?> class="current_page_item" <?php } ?>><a href="<?php echo get_category_link( $catid );?>" title="<?php echo $blogcatname; ?>"><?php echo $blogcatname; ?></a></li>

    <?php } ?>

    

  </ul>

  <?php }?>

  <!--/page-menu-->

</div>

<!--/top_menu-->

