<!DOCTYPE html>
<!--[if IE 7]><html class="ie7 no-js"  <?php language_attributes(); ?><![endif]-->
<!--[if lte IE 8]><html class="ie8 no-js"  <?php language_attributes(); ?><![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html class="not-ie no-js" <?php language_attributes(); ?>><!--<![endif]-->
<head>
	<meta charset="<?php bloginfo( 'charset' ); ?>" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width" />
	<?php if ( get_theme_option('ktz_facebook_app_id') != '' ) {
		echo '<meta property="fb:app_id" content="' . get_theme_option('ktz_facebook_app_id') . '" />'; 
	} ?>
<title><?php wp_title( '|', true, 'right' ); ?></title>
<?php hook_ktz_head();	echo get_theme_option("ktz_head") . "\n";  wp_head(); ?>
<style type="text/css">
<?php
	$getheadinggfont = '';
	$getbodygfont = '';
	if (get_theme_option('ktz_ffh') != ' ') { 
	$getheadinggfont = preg_split( '/:/',  get_theme_option('ktz_ffh') );
	$getheadinggfont = '"' . $getheadinggfont[0] . '",';
	}
	$getheadingdeffont = get_theme_option('ktz_headfontdefault');
	if( get_theme_option('ktz_ffb') ){
	$getbodygfont = preg_split( '/:/',  get_theme_option('ktz_ffb') );
	$getbodygfont = '"' . $getbodygfont[0] . '",';
	}
	$getbodydeffont = get_theme_option('ktz_fontdefault');
?>
body {
	font-family:<?php echo $getbodygfont; ?><?php echo $getbodydeffont; ?>;
	color:<?php echo get_theme_option('ktz_ffbcolor'); ?>;
	font-size:<?php echo get_theme_option('ktz_ffbsize'); ?>;
	<?php if ( get_theme_option('ktz_bodybg') != '' ) { ?>
	background-color:<?php echo get_theme_option('ktz_bodybg'); ?>;
	<?php } ?><?php if ( get_theme_option('ktz_bodyimgbg') != '' ) { ?>
	background-image:url(<?php echo get_theme_option('ktz_bodyimgbg'); ?>);
	<?php } ?><?php if ( get_theme_option('ktz_bodyimgbgrepeat') != '' ) { ?>
	background-repeat:<?php echo get_theme_option('ktz_bodyimgbgrepeat'); ?>;
	<?php } ?><?php if ( get_theme_option('ktz_bodyimgbgattach') != '' ) { ?>
	background-attachment:<?php echo get_theme_option('ktz_bodyimgbgattach'); ?>;
	<?php } ?><?php if ( get_theme_option('ktz_bodyimgbgposition') != '' ) { ?>
	background-position:<?php echo get_theme_option('ktz_bodyimgbgposition'); ?>;
	<?php } ?>
}
h1,
h2,
h3,
h4,
h5,
h6,
.ktz-titlecust a,
.ktz-titlecust-big a{
	font-family: <?php echo $getheadinggfont; ?> <?php echo $getheadingdeffont; ?>;
}
</style>
</head>
<body <?php body_class(); ?> id="top">
	<div class="allwrap">
	<header class="header mainheader-wrapper">
	<div class="mainheader">
		<div class="container">
			<div class="row">
			<?php hook_ktz_header(); //Kentooz_hook_system ?>
			<table cellspacing="0" cellpadding="0" class="span9 pull-right clearfix">
				<tr>
				<td>
				<div class="xdate pull-right"><span class="arrowright"><?php echo date('l jS F Y'); ?></span></div>
				</td>
				</tr>
				<tr>
				<td class="table-ticker">
				<?php hook_ktz_module_ticker(); //Kentooz_hook_system ?>
				</td>
				</tr>
				<tr>
				<td>
				<nav id="secondmenu"><?php hook_ktz_secondmenu_header(); //Kentooz_hook_system ?></nav>			
				</td>
				</tr>
			</table>
			</div>
		</div>	
	</div>
	</header>
	<nav id="mainmenu">
		<div class="container">
			<?php hook_ktz_menu_header(); //Kentooz_hook_system ?>
			<?php hook_do_ktz_topsearch(); //Kentooz_hook_system ?>
		</div>
	</nav>
	<div id="featuredmain">
		<div class="container">
			<?php hook_ktz_nivo();  //Kentooz_hook_system ?>
			<?php hook_ktz_carousel(); //Kentooz_hook_system ?>
		</div>	
	</div>
	<div class="inner-responsive">
	<div id="main">
		<div class="container">
			<?php hook_ktz_after_header(); //Kentooz_hook_system ?>
		</div>	
	</div>
	<div class="content-wrapper">
		<div class="container">
			<div class="wrapper-kas">
			<div class="row">