<!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('xhtml'); ?>>
<head profile="http://gmpg.org/xfn/11">

<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

<title><?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' :'; } ?> <?php bloginfo('name'); ?></title>
<link rel="Shortcut Icon" href="<?php echo bloginfo('template_url'); ?>/images/favicon.ico" type="image/x-icon" />

<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />

<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
<?php wp_head(); ?>

<script type="text/javascript">
var tabberOptions = {manualStartup:false};
function begForMoney()
{
  if (!arguments.callee.stopBegging) {
    arguments.callee.stopBegging = true;
  }
}
</script>
</head>

<body <?php if (function_exists('body_class')) body_class(); ?>><div><a id="top"></a></div>

<div id="wrap">

<div id="header">

	<div class="headerleft" <?php if(get_theme_mod('header_blog_title') != 'Text') { echo 'id="imageheader"'; } ?>>
		<?php
			if (is_home()) {
				echo '<h1><a href="'.get_option('home').'/">'.get_bloginfo('name').'</a></h1>';
			} else {
				echo '<h4><a href="'.get_option('home').'/">'.get_bloginfo('name').'</a></h4>';
			}
		?>
       <p><?php bloginfo('description'); ?></p>
	</div>	
		
	<div class="headerright">
        <ul id="topnav">
            <?php if (is_home()) { ?>
                <li class="current_page_item"><a href="<?php echo get_option('home'); ?>"><?php _e("Home", 'studiopress'); ?></a></li>
            <?php } else { ?>
                <li><a href="<?php echo get_option('home'); ?>"><?php _e("Home", 'studiopress'); ?></a></li>
            <?php } ?>    
            <?php wp_list_pages('title_li=&depth=4&sort_column=menu_order'); ?>
        </ul>
	</div>

</div>

	<?php if(get_theme_mod('subnav') == 'Yes') { ?>
	<div id="navbar">
	    <ul id="nav">
	        <?php wp_list_categories('orderby=name&title_li=&depth=4'); ?>
	    </ul>
	</div>

	<div style="clear:both;"></div>
	<?php } ?> 

<div id="searchbar">

	<div id="searchbarleft">
        <form method="get" id="searchbarform" action="<?php echo get_option('home') ?>/" >
        <label class="hidden" for="s"><?php _e("Search", 'studiopress'); ?>:</label>
        <input type="text" value="" name="s" id="searchbarsearch" /><input type="submit" id="searchbarsubmit" value="<?php _e("GO!", 'studiopress'); ?>" /></form>
    </div>
    
	<div id="searchbarmiddle">
    	Kostenlos Horoskop Deutschland
Horóscopo - Astrologia
	</div>
    
	<div id="searchbarright">
		<p><a class="rsslink" rel="nofollow" href="<?php bloginfo('rss_url'); ?>"><?php _e("Subscribe to Posts", 'studiopress'); ?></a><a class="rsslink" rel="nofollow" href="<?php bloginfo('comments_rss2_url'); ?>"><?php _e("Subscribe to Comments", 'studiopress'); ?></a></p>
    </div> 
       
</div>

<div class="clear"></div>
