<!DOCTYPE HTML>
<html lang="en-US">
<head>
	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title><?php echo html_entity_decode(get_option('logo')); ?> :: <?php echo html_entity_decode(get_option('tagline')); ?></title>
	<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.js"></script>
	<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/960.css" type="text/css" media="screen" />
	<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
	<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
	<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
	<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
	<link href='http://fonts.googleapis.com/css?family=Numans' rel='stylesheet' type='text/css'>
	<link href='http://fonts.googleapis.com/css?family=Droid+Sans:400,700' rel='stylesheet' type='text/css'>
	<link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'>
	<link href='http://fonts.googleapis.com/css?family=Ubuntu&subset=latin,cyrillic,latin-ext,greek,greek-ext,cyrillic-ext' rel='stylesheet' type='text/css'>
	<link href='http://fonts.googleapis.com/css?family=Days+One' rel='stylesheet' type='text/css'>
	<link href='http://fonts.googleapis.com/css?family=Droid+Serif' rel='stylesheet' type='text/css'>
	<link href='http://fonts.googleapis.com/css?family=Volkhov' rel='stylesheet' type='text/css'>
	<link href='http://fonts.googleapis.com/css?family=Old+Standard+TT:400,400italic,700' rel='stylesheet' type='text/css'>
	<link href='http://fonts.googleapis.com/css?family=Arvo:400,400italic,700,700italic' rel='stylesheet' type='text/css'>
	<link rel="shortcut icon" href="<?php bloginfo('stylesheet_directory'); ?>/favicon.ico" />
	<?php wp_get_archives('type=monthly&format=link'); ?>
	<?php wp_head(); ?>
	
	<?php if (get_option('calltoaction-bg') != "") { ?>
			<style type="text/css">
				body {
					background: url(<?php echo get_option('calltoaction-bg'); ?>) repeat-x top #f0f0f0 !important;
				}
			</style>
	<?php } ?>
	
	<?php if (get_option('typography') == "type-1") { ?>
			<style type="text/css">
				body {
					font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;
				}
				p {
					font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;
				}
				h1, h2, h3, h4, h5 {
					font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;
				}
				#nav h1 a {
					padding-top: 18px;
				}
			</style>
	<?php } ?>
	<?php if (get_option('typography') == "type-2") { ?>
			<style type="text/css">
				body {
					font-family: 'Ubuntu', sans-serif !important;
				}
				p {
					font-family: 'Ubuntu', sans-serif !important;
				}
				h1, h2, h3, h4, h5 {
					font-family: 'Days One', sans-serif  !important;
				}
			</style>
	<?php } ?>
	<?php if (get_option('typography') == "type-3") { ?>
			<style type="text/css">
				body {
					font-family: 'Droid Serif', sans-serif !important;
				}
				p {
					font-family: 'Droid Serif', sans-serif !important;
				}
				h1, h2, h3, h4, h5 {
					font-family: 'Volkhov', sans-serif  !important;
				}
			</style>
	<?php } ?>
	<?php if (get_option('typography') == "type-4") { ?>
			<style type="text/css">
				body {
					font-family: 'Arvo', sans-serif !important;
				}
				p {
					font-family: 'Arvo', sans-serif !important;
				}
				h1, h2, h3, h4, h5 {
					font-family: 'Old Standard TT', sans-serif  !important;
				}
			</style>
	<?php } ?>
	
	<?php if (get_option('typography')=="type-5") { ?>
				<style type="text/css">
					p, h1, h2, h3, h4, h5, a {
						font-family: Arial, Tahoma, sans-serif !important;
					}
				</style>
		<?php } ?>
		
		<?php if (get_option('typography')=="type-6") { ?>
				<style type="text/css">
					p, h1, h2, h3, h4, h5, a {
						font-family: Verdana, sans-serif !important;
					}
				</style>
		<?php } ?>
		
		<?php if (get_option('typography')=="type-7") { ?>
				<style type="text/css">
					p, h1, h2, h3, h4, h5, a {
						font-family: Georgia, serif !important;
					}
				</style>
		<?php } ?>
	
	<style type="text/css">
		#logo h1 a {
			color: #<?php echo get_option('logo_color'); ?>  !important;
		}
		#nav ul li a {
			color: #<?php if(get_option('nav_color') != '') { echo get_option('nav_color'); } else { echo 'fff'; } ?>;
		}
		#calltoaction h2 {
			color: #<?php echo get_option('cta_color'); ?> !important;
		}
		#calltoaction h4 {
			color: #<?php echo get_option('cta_color'); ?> !important;
		}
		#content h1 {
			color: #<?php echo get_option('headline_color'); ?> !important;
		}
		#content h2 {
			color: #<?php echo get_option('headline_color'); ?> !important;
		}
		
		h1 {
				font-size: <?php echo get_option('h1-size'); ?> !important;
				<?php  if (get_option('h1-style') == 'normal'): ?>
					font-weight: normal !important;
				<?php endif ?>
				<?php  if (get_option('h1-style') == 'bold'): ?>
					font-weight: bold !important;
				<?php endif ?>
				<?php  if (get_option('h1-style') == 'italic'): ?>
					font-weight: normal !important;
					font-style: italic !important;
				<?php endif ?>
				<?php  if (get_option('h1-style') == 'bold-italic'): ?>
					font-weight: bold !important;
					font-style: italic !important;
				<?php endif ?>
				color: #<?php echo get_option('h1-color'); ?> !important;
			}
			
			h2 {
				font-size: <?php echo get_option('h2-size'); ?> !important;
				<?php  if (get_option('h2-style') == 'normal'): ?>
					font-weight: normal !important;
				<?php endif ?>
				<?php  if (get_option('h2-style') == 'bold'): ?>
					font-weight: bold !important;
				<?php endif ?>
				<?php  if (get_option('h2-style') == 'italic'): ?>
					font-weight: normal !important;
					font-style: italic !important;
				<?php endif ?>
				<?php  if (get_option('h2-style') == 'bold-italic'): ?>
					font-weight: bold !important;
					font-style: italic !important;
				<?php endif ?>
				color: #<?php echo get_option('h2-color'); ?> !important;
			}
			
			h3 {
				font-size: <?php echo get_option('h3-size'); ?> !important;
				<?php  if (get_option('h3-style') == 'normal'): ?>
					font-weight: normal !important;
				<?php endif ?>
				<?php  if (get_option('h3-style') == 'bold'): ?>
					font-weight: bold !important;
				<?php endif ?>
				<?php  if (get_option('h3-style') == 'italic'): ?>
					font-weight: normal !important;
					font-style: italic !important;
				<?php endif ?>
				<?php  if (get_option('h3-style') == 'bold-italic'): ?>
					font-weight: bold !important;
					font-style: italic !important;
				<?php endif ?>
				color: #<?php echo get_option('h3-color'); ?> !important;
			}
			
			h4 {
				font-size: <?php echo get_option('h4-size'); ?> !important;
				<?php  if (get_option('h4-style') == 'normal'): ?>
					font-weight: normal !important;
				<?php endif ?>
				<?php  if (get_option('h4-style') == 'bold'): ?>
					font-weight: bold !important;
				<?php endif ?>
				<?php  if (get_option('h4-style') == 'italic'): ?>
					font-weight: normal !important;
					font-style: italic !important;
				<?php endif ?>
				<?php  if (get_option('h4-style') == 'bold-italic'): ?>
					font-weight: bold !important;
					font-style: italic !important;
				<?php endif ?>
				color: #<?php echo get_option('h4-color'); ?> !important;
			}
			
			h5 {
				font-size: <?php echo get_option('h5-size'); ?> !important;
				<?php  if (get_option('h5-style') == 'normal'): ?>
					font-weight: normal !important;
				<?php endif ?>
				<?php  if (get_option('h5-style') == 'bold'): ?>
					font-weight: bold !important;
				<?php endif ?>
				<?php  if (get_option('h5-style') == 'italic'): ?>
					font-weight: normal !important;
					font-style: italic !important;
				<?php endif ?>
				<?php  if (get_option('h5-style') == 'bold-italic'): ?>
					font-weight: bold !important;
					font-style: italic !important;
				<?php endif ?>
				color: #<?php echo get_option('h5-color'); ?> !important;
			}
			
			p {
				font-size: <?php echo get_option('p-size'); ?> !important;
				<?php  if (get_option('p-style') == 'normal'): ?>
					font-weight: normal !important;
				<?php endif ?>
				<?php  if (get_option('p-style') == 'bold'): ?>
					font-weight: bold !important;
				<?php endif ?>
				<?php  if (get_option('p-style') == 'italic'): ?>
					font-weight: normal !important;
					font-style: italic !important;
				<?php endif ?>
				<?php  if (get_option('p-style') == 'bold-italic'): ?>
					font-weight: bold !important;
					font-style: italic !important;
				<?php endif ?>
				color: #<?php echo get_option('p-color'); ?> !important;
			}
			body {
				font-size: <?php echo get_option('p-size'); ?> !important;
			}
		
	</style>
	<!--<script type="text/javascript" src="<?php echo get_bloginfo('template_directory'); ?>/js/superfish.js"></script>-->
		<script type="text/javascript">
			$(document).ready(function() {
			  $("#videoArea iframe").attr("style","width: 935px; height: 300px; ");
			  $("#videoArea embed").attr("style","width: 935px !important; height: 300px;");
			  $("#videoArea embed").attr("wmode", "opaque").wrap('<div>');
			 
			});
		</script>
	<!--[if IE]> <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/IE.css" type="text/css" media="screen" /> <![endif]-->
</head>
<body class="<?php echo get_option('bg-style'); ?>">
	<div id="wrapper" class="container_12">
		<div id="header"  class="grid_12">
			<div id="logo">
				<?php if (get_option('calltoaction-logo') != "") { ?>
					<a href="<?php echo get_option('home'); ?>"><img src="<?php echo get_option('calltoaction-logo'); ?>" alt=""></a>
				<?php } else { ?>
					<?php if (get_option('logo') == "") { ?>
						<h1><a href="<?php echo get_option('home'); ?>">SiteCrusherTheme</a></h1>
					<?php } else { ?>
						<h1><a href="<?php echo get_option('home'); ?>"><?php echo html_entity_decode(get_option('logo')); ?></a></h1>
					<?php } ?>
					
					<?php if (get_option('tagline') == "") { ?>
						<h3>Customize all of the content on this theme!</h3>
					<?php } else { ?>
						<h3><?php echo html_entity_decode(get_option('tagline')); ?></h3>
					<?php } ?>
				<?php } ?>
			</div>
			<div id="calltoaction">
					<?php if (get_option('calltoaction-subheadline') == "") { ?>
						<h4></h4>
					<?php } else { ?>
						<h4><?php echo html_entity_decode(get_option('calltoaction-subheadline')); ?></h4>
					<?php } ?>
					
					<?php if (get_option('calltoaction-subheadline') == "") { ?>
						<h2></h2>
					<?php } else { ?>
						<h2><?php echo html_entity_decode(get_option('calltoaction-headline')); ?></h2>
					<?php } ?>
				
			</div>
		</div>
		<div id="nav"  class="grid_12">
			<?php if (get_option('calltoaction-fanpage') != "") { ?>
					<a href="<?php echo get_option('calltoaction-fanpage'); ?>" target="_new" style="float: right; margin: 0px 5px; margin-bottom: 0;"><img src="http://twx.pt/wp-content/uploads/2012/05/facebook.png" style="border: none"></a>
			<?php } ?>
			<?php if (get_option('calltoaction-places') != "") { ?>
					<a href="<?php echo get_option('calltoaction-places'); ?>" style="float: right; margin: 10px 5px; margin-bottom: 0;"><img src="http://cdn4.iconfinder.com/data/icons/Classy_Social_Media_Icons/16/map.png" style="border: none"></a>
			<?php } ?>
			<?php

				function displayMenuHelp() {
					?>
						<h5  style="float: left; padding: 9px; padding-left: 0; color: #fff !important; padding-bottom: 15px !important; display: block; font-size: 13px; font-weight: normal !important">Create new custom menu called "Main Menu" inside Appearances > Menu</h5>
					<?php
				}

			?>
				<?php wp_nav_menu( array( 'menu' => 'main-menu', 'fallback_cb' => 'displayMenuHelp' ) ); ?>
		</div>

<div style="float:right; position:relative; top:-35px; left:-60px;"><?php if(function_exists("transposh_widget")) { transposh_widget(array(), array('title' => '', 'widget_file' => 'flags/tpw_flags.php')); }?>
</div>