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



<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />



<title>



<?php if ( is_home() ) { ?><?php bloginfo('name'); ?>&nbsp;&nbsp;<?php bloginfo('description'); ?><?php } ?>



<?php if ( is_search() ) { ?><?php bloginfo('name'); ?>&nbsp;&nbsp;Search Results<?php } ?>



<?php if ( is_author() ) { ?><?php bloginfo('name'); ?>&nbsp;&nbsp;Author Archives<?php } ?>



<?php if ( is_single() ) { ?><?php wp_title(''); ?>&nbsp;&nbsp;<?php bloginfo('name'); ?><?php } ?>



<?php if ( is_page() ) { ?><?php wp_title(''); ?>&nbsp;&nbsp;<?php bloginfo('name'); ?><?php } ?>



<?php if ( is_category() ) { ?>Archive&nbsp;&nbsp;<?php single_cat_title(); ?>&nbsp;&nbsp;<?php bloginfo('name'); ?><?php } ?>



<?php if ( is_month() ) { ?>Archive&nbsp;&nbsp;<?php the_time(get_option('date_format')); ?>&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>



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



<?php global $NHP_Options; ?>



<?php if($NHP_Options->get('18') == '1'){ ?> 



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



<?php } else if ($NHP_Options->get('18') == 2){ ?>



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



<?php } else if ($NHP_Options->get('18') == 3){ ?>



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



<?php } else if ($NHP_Options->get('18') == 4){ ?>



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



<?php } else if ($NHP_Options->get('18') == 5){ ?>



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



<?php } else if ($NHP_Options->get('18') == 6){ ?>



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



<?php } else if ($NHP_Options->get('18') == 7){ ?>



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



<?php } else if ($NHP_Options->get('18') == 8){ ?>



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



<?php } else if ($NHP_Options->get('18') == 9){ ?>



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



<?php } else if ($NHP_Options->get('18') == 10){ ?>



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



<?php } else {?>



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



<?php } ?>















<!-- Add jQuery library -->



	<script type="text/javascript" src="<?php bloginfo('template_url');?>/js/jquery-1.7.2.min.js"></script>







	<!-- Add mousewheel plugin (this is optional) -->



	<script type="text/javascript" src="<?php bloginfo('template_url');?>/js/jquery.mousewheel-3.0.6.pack.js"></script>







	<!-- Add fancyBox main JS and CSS files -->



	<script type="text/javascript" src="<?php bloginfo('template_url');?>/js/jquery.fancybox.js?v=2.0.6"></script>



	<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url');?>/js/jquery.fancybox.css?v=2.0.6" media="screen" />







	<!-- Add Button helper (this is optional) -->



	<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url');?>/js/jquery.fancybox-buttons.css?v=1.0.2" />



	<script type="text/javascript" src="<?php bloginfo('template_url');?>/js/jquery.fancybox-buttons.js?v=1.0.2"></script>







	<!-- Add Thumbnail helper (this is optional) -->



	<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url');?>/js/jquery.fancybox-thumbs.css?v=1.0.2" />



	<script type="text/javascript" src="<?php bloginfo('template_url');?>/js/jquery.fancybox-thumbs.js?v=1.0.2"></script>







	<!-- Add Media helper (this is optional) -->



	<script type="text/javascript" src="<?php bloginfo('template_url');?>/js/jquery.fancybox-media.js?v=1.0.0"></script>



     <?php global $NHP_Options; ?>



  <?php $blog_id = get_option('page_for_posts');  ?>   



<?php if($NHP_Options->get('679') != ''):?>

<?php if($NHP_Options->get('669') == 1) : ?>

	<?php if( is_page($NHP_Options->get('679')) || in_array($blog_id, $NHP_Options->get('679'))){?>    



  



    <script type="text/javascript">



		$(document).ready(function() {



			setTimeout( function() {



					$.fancybox({



					



					href : '#popup',



					padding : 10,



					height : <?php if($NHP_Options->get('469') !=''){ echo $NHP_Options->get('469'); } else { echo '480';}?>,



					width : <?php if($NHP_Options->get('569') !=''){ echo $NHP_Options->get('569'); } else { echo '780';}?>,



				});



			}, <?php if($NHP_Options->get('489') !=''){ echo ($NHP_Options->get('489') * 1000); } else { echo '0';}?> );



				



			});



	</script>

		<?php }?>

   <?php endif; ?>

 <?php endif; ?>















	

<script src="<?php bloginfo('template_url');?>/js/slides.min.jquery.js"></script>



	<script>



		$(function(){



			$('#slides').slides({



				preload: true,



				preloadImage: 'images/loading.gif',



				play: 5000,



				pause: 2500,



				hoverPause: true



			});



		});



	</script>



   <!--testimonial-->



   



    <script src="<?php bloginfo('template_url');?>/js/jquery.cycle.all.js" type="text/javascript"></script>



<script type="text/javascript">



   $(function(){



         $('.cycle-testimonial ul').cycle({	



			timeout: 0,  // milliseconds between slide transitions (0 to disable auto advance)



            fx:      'scrollHorz', // choose your transition type, ex: fade, scrollUp, shuffle, etc...



            next:   '#next',



			prev: 	'#prev',



            pause:   0,	  // true to enable "pause on hover"			



           pauseOnPagerHover: 0 // true to pause when hovering over pager link		



        });



     });



</script>



 <!--testimonial-->



<?php wp_head(); ?>    



</head>



<?php if(is_front_page() && !is_home() ){







?>



<body>



<?php 







}



else{ 







?>







<body style="background:url(<?php bloginfo('template_url');?>/images/blog-bg-blue.png) left top repeat-x; font:11px Verdana, Geneva, sans-serif;">



<?php }?>







<div id="wrapper">



<div id="header">



   	<div id="header_top">



		



       	<div id="nav_main1">











            	 <?php wp_nav_menu( array( 'theme_location' => 'main', 'menu_id' => 'nav1' ) ); ?> 

                 <!-- nav -->















            </div><!--close nav_main1-->















            















            <div class="social">















             <?php global $NHP_Options; ?>















            	<span class="p"><a href="<?php echo $NHP_Options->get('340'); ?>">p</a></span>















                <span class="face"><a href="<?php echo $NHP_Options->get('333'); ?>">facebook</a></span>















                <span class="twit"><a href="<?php echo $NHP_Options->get('334'); ?>">twiter</a></span>















                <span class="in"><a href="<?php echo $NHP_Options->get('335'); ?>">linkedin</a></span>















                <span class="digg"><a href="<?php echo $NHP_Options->get('336'); ?>">digg</a></span>















                <span class="stumb"><a href="<?php echo $NHP_Options->get('337'); ?>">stumb</a></span>















                <span class="soundcloud-s"><a href="<?php echo $NHP_Options->get('338'); ?>">soundcloud-s</a></span>















                <span class="rss"><a href="<?php bloginfo('rss_url'); ?>">rss</a></span>















                <span class="myspace"><a href="<?php echo $NHP_Options->get('339'); ?>">myspace</a></span>















                <span class="sq_plus"><a href="<?php echo $NHP_Options->get('341'); ?>">sq_plus</a></span>















                <span class="tube"><a href="<?php echo $NHP_Options->get('342'); ?>">tube</a></span>                











                                                 







            </div><!--close social-->















            















        </div><!--close header-top-->















    <div id="header_bottom">















        	<div id="logo">







			







         







			<?php if($NHP_Options->get('14') == 1): ?>







            		<a href="<?php bloginfo('url');?>"> <img src="<?php echo $NHP_Options->get('19'); ?>" /></a>







            <?php elseif($NHP_Options->get('14') == 2): ?>







            		<a href="<?php bloginfo('url');?>"> <?php $NHP_Options->show('219'); ?></a>







            <?php else: ?>







            		<a href="<?php bloginfo('url');?>"> <b>WP</b> Social Press</a>







            <?php endif;?>







            















            </div><!--close logo-->















            















            <div id="nav_main">















            	 <?php















					if ( has_nav_menu( $location ) ) {  echo"Hello"; } 































					else {















 					wp_nav_menu( array( 'theme_location' => 'menu', 'menu_id' => 'nav' ) );















					}















				?> <!-- nav -->















            </div><!--close nav_main-->















            















      </div><!--close header-bottom-->















    </div><!--close header-->