<?php global $scrn; ?>

<!DOCTYPE html>

<!--[if lt IE 7 ]><html style="margin-top: 0 !important" class="ie ie6" lang="en"> <![endif]-->

<!--[if IE 7 ]><html style="margin-top: 0 !important" class="ie ie7" lang="en"> <![endif]-->

<!--[if IE 8 ]><html style="margin-top: 0 !important" class="ie ie8" lang="en"> <![endif]-->

<!--[if (gte IE 9)|!(IE)]><!--> <!--<![endif]-->

<html style="margin-top: 0 !important" <?php language_attributes(); ?>> <!--<![endif]-->

<head>

    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

    <title><?php wp_title('-');?></title>

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

    <!-- Mobile Specific Metas

      ================================================== -->

    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

    <!--[if lt IE 9]>

        <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>

    <![endif]-->



    <!--[if IE]>

        <link href="<?php echo get_stylesheet_directory_uri() . '/css/ie.css';?>" rel='stylesheet' type='text/css'>

    <![endif]-->





    <?php wp_head(); global $scrn;  

    if(isset($scrn['integration_header'])) echo $scrn['integration_header'] . PHP_EOL; ?>

</head>

<body <?php body_class();?>>



<!-- Primary Page Layout

    ================================================== -->



    <div id="intro">

    

        <div class="bg1"></div>

        

        <div class="title">

            <div class="intro-line"></div>

            <?php if(isset($scrn['topheader_text']) && $scrn['topheader_text']) { ?>

                <h1><?php echo $scrn['topheader_text'];?></h1>

            <?php } ?>

            <?php if(isset($scrn['topheader_smalltext']) && $scrn['topheader_smalltext']) { ?>

                <h1 class="small"><?php echo $scrn['topheader_smalltext'];?></h1>

            <?php } ?>

            <div class="intro-line"></div>

            <?php if(isset($scrn['topheader_smallertext']) && $scrn['topheader_smallertext']) { ?>

                <p><?php echo $scrn['topheader_smallertext'];?></p>

            <?php } ?>

            <div class="social-intro">

                <ul>

                    <?php if(isset($scrn['twitter_username']) && $scrn['twitter_username'] != '') { ?><li><a href="http://twitter.com/<?php echo $scrn['twitter_username'];?>"><img src="<?php echo get_stylesheet_directory_uri();?>/images/icn-twitter-intro.png" alt="" /></a></li><?php } ?>

                    <?php if(isset($scrn['facebook_url']) && $scrn['facebook_url'] != '') { ?><li><a href="<?php echo $scrn['facebook_url'];?>"><img src="<?php echo get_stylesheet_directory_uri();?>/images/icn-facebook-intro.png" alt="" /></a></li><?php } ?>

                    <?php if(isset($scrn['gplus_url']) && $scrn['gplus_url'] != '') { ?><li><a href="<?php echo $scrn['gplus_url'];?>"><img src="<?php echo get_stylesheet_directory_uri();?>/images/icn-gplus-intro.png" alt="" /></a></li><?php } ?>

                    <?php if(isset($scrn['linkedin_url']) && $scrn['linkedin_url'] != '') { ?><li><a href="<?php echo $scrn['linkedin_url'];?>"><img src="<?php echo get_stylesheet_directory_uri();?>/images/icn-linkedin-intro.png" alt="" /></a></li><?php } ?>

                    <?php if(isset($scrn['dribble_url']) && $scrn['dribble_url'] != '') { ?><li><a href="<?php echo $scrn['dribble_url'];?>"><img src="<?php echo get_stylesheet_directory_uri();?>/images/icn-dribbble-intro.png" alt="" /></a></li><?php } ?>

                    <?php if(isset($scrn['vimeo_url']) && $scrn['vimeo_url'] != '') { ?><li><a href="<?php echo $scrn['vimeo_url'];?>"><img src="<?php echo get_stylesheet_directory_uri();?>/images/icn-vimeo-intro.png" alt="" /></a></li><?php } ?>

                    <?php if(isset($scrn['pinterest_url']) && $scrn['pinterest_url'] != '') { ?><li><a href="<?php echo $scrn['pinterest_url'];?>"><img src="<?php echo get_stylesheet_directory_uri();?>/images/icn-pinterest-intro.png" alt="" /></a></li><?php } ?>

                </ul>

            </div>

        </div> <!-- end title -->

    </div> <!-- end intro -->



    <nav>

        <?php wp_nav_menu(array(

                                'theme_location' => 'top-menu',

                                'container' => '',

                                'fallback_cb' => 'show_top_menu',

                                'echo' => true,

                                'walker' => new description_walker(),

                                'depth' => 1 ) ); ?>

    </nav>    