<!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>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php

	wp_title( '|', true, 'right' );
	bloginfo( 'name' );
	$site_description = get_bloginfo( 'description', 'display' );
	if ( $site_description && ( is_home() || is_front_page() ) ){
		echo " | $site_description";
	}

?>
</title>
<meta name="description" content="<?php bloginfo('description'); ?>" />
<meta name="keywords" content="<?php echo get_option('sitekeywords', 'the, tags, web sites, clean, dark, useful, etc...'); ?>" />

<!-- default background color -->
<style type="text/css">
body{	background-color:#f8f8f8;	}
</style>

<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php
	if ( is_singular() && get_option( 'thread_comments' ) ){
		wp_enqueue_script( 'comment-reply' );
	}
	wp_head();
?>

<!-- including css style -->
<link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" />
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('url'); ?>/?dynamic=css" />


<!-- including javascripts (jquery, swfObject, prettyPhoto) -->
<script type="text/javascript" src="<?php bloginfo('url'); ?>/?dynamic=js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery-1.4.min.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/deluxemenu.js"></script>
<?php if( is_home() ) { ?>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.cycle.min.js"></script>
<?php } ?>
<?php if (get_option('cufon_active', 1) == '1'): ?>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/cufon.js"></script>
<script type="text/javascript" src="<?php echo get_option('cufon_font', get_bloginfo('template_url').'/js/Futura_Bk_BT_400.font.js'); ?>"></script>
<?php endif; ?>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.prettyPhoto.js"></script>

<!--[if IE 7]>
	<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>/css/ie7.css" />
<![endif]-->

<!--[if IE 6]>
	<style type="text/css"> #nav{ padding-left:70px; } .slider_mask_bottom, .slider_mask_top { display:none; } </style>
	<script src="<?php bloginfo('template_url'); ?>/js/DD_belatedPNG_0.0.8a-min.js"></script>
	<script>
		DD_belatedPNG.fix('img, div');
	</script>
<![endif]-->
</head>
<body>

<!-- begin container -->
<div class="container">

	<!-- begin site content -->
	<div class="site_content">
	
		<!-- begin left shadow -->
		<div class="container_portfolio_left_shadow">
		
			<!-- begin right shadow -->
			<div class="container_portfolio_right_shadow">
				
				<!-- begin container text -->
				<div class="container_text clearfix">
				
				<!-- begin header background -->
				<div class="header_bg">

						<!-- begin header content -->
						<div class="header_container">
							
							
							<!-- begin logo -->
							<div class="logo">
								<a href="<?php bloginfo('siteurl'); ?>"><img src="<?php echo get_option('sitelogo', get_bloginfo('template_url').'/images/logo.png'); ?>" alt="<?php bloginfo('description'); ?>"/></a>
							</div>
							<!-- end logo -->
							
							<div class="menu_holder">
								<div class="header_content_topading">
									<?php include (TEMPLATEPATH . '/includes/get_search.php'); ?>
								</div>
								<div class="cleardiv"></div>
								<!-- begin main menu -->
								<div class="menu_container">
								
									<!-- begin menu -->
									<?php 
										if (function_exists('wp_nav_menu')){
											wp_nav_menu(array('sort_column' => 'menu_order', 'container_class' => 'deluxemenu', 'menu_class' => 'deluxemenu clearfix')); 
										}else{
									?>
									<div class="deluxemenu clearfix">	
										<ul>
											<?php if (get_option("disable_home_page", "on") == "on"): ?>
											<li <?php if (is_home()){ echo " class=\"current_page_item\""; } ?>><a href="<?php bloginfo('siteurl'); ?>"><?php echo get_option('home_page_name', 'Home'); ?></a></li>
											<?php endif; ?>
											<?php 
												wp_list_pages('sort_column=menu_order&sort_order=ASC&title_li=');
											?>
										</ul>
									</div>
									<?php } ?>
									<!-- end menu -->
								   
								</div>
								<!-- end main menu -->
							</div>

						</div>
						<!-- end header content -->
						
				</div>	
				<!-- end header background -->