


<div id="header_top_menu">
	<div class="inner">

	
	<?php if ( function_exists( 'wp_nav_menu' ) ){
        wp_nav_menu( array('theme_location' => 'top-menu', 'container_id' => 'secondaryMenu', 'fallback_cb'=>'secondarymenu' )); 
        } else { secondarymenu();
	} ?>
	
    <?php if (get_option('op_social') == 'on') { ?>
    <div id="soc_book">
    <?php if (get_option('op_twitter') == 'on') { ?>
	
	<a href="<?php echo get_option('op_twitter_id') ?>">
	<img src="<?php echo get_template_directory_uri() . '/images/twitter_hover.png'; ?>" alt="Twitter " title="Twitter " />
	</a>
	<?php } ?>

    <?php if (get_option('op_facebook') == 'on') { ?>
    <a href="<?php echo get_option('op_facebook_id') ?>">
	<img class="xyz tip" src="<?php echo get_template_directory_uri() . '/images/facebook_hover.png'; ?>" alt="Facebook " title="Facebook " />
	</a>
    <?php } ?>

    <?php if (get_option('op_linkedin') == 'on') { ?>
    <a href="<?php echo get_option('op_linkedin_id') ?>">
	<img class="xyz tip" src="<?php echo get_template_directory_uri() . '/images/linkedin_hover.png'; ?>" alt="Linkedin " title="Linkedin " />
	</a>
    <?php } ?>

	<?php if (get_option('op_vimeo') == 'on') { ?>
    <a href="<?php echo get_option('op_vimeo_id') ?>">
	<img class="xyz tip" src="<?php echo get_template_directory_uri() . '/images/vimeo_hover.png'; ?>" alt="Vimeo " title="Vimeo " />
	</a>
    <?php } ?>
	
	<?php if (get_option('op_flickr') == 'on') { ?>
    <a href="<?php echo get_option('op_flickr_id') ?>">
	<img class="xyz tip" src="<?php echo get_template_directory_uri() . '/images/flickr_hover.png'; ?>" alt="Flickr " title="Flickr " />
	</a>
    <?php } ?>
	
    <?php if (get_option('op_youtube') == 'on') { ?>
    <a href="<?php echo get_option('op_youtube_id') ?>">
	<img class="xyz tip" src="<?php echo get_template_directory_uri() . '/images/youtube_hover.png'; ?>" alt="Youtube " title="Youtube " />
	</a>
    <?php } ?>
	
	<?php if (get_option('op_skype') == 'on') { ?>
    <a href="<?php echo get_option('op_skype_id') ?>">
	<img class="xyz tip" src="<?php echo get_template_directory_uri() . '/images/skype_hover.png'; ?>" alt="Skype " title="Skype " />
	</a>
    <?php } ?>
    </div>  
    <?php } ?>
	

    <?php if (get_option('op_admin_login') == 'on') { ?>
	<?php add_modal_login_button( $login_text = 'Login', $logout_text = 'Logout', $logout_url = '', $show_admin = false )?>	
	<?php if ( is_user_logged_in() ) { ?><a class="user_profile" href="<?php echo get_edit_user_link(); ?>" title="Profile"></a> <?php } ?>
	<?php } ?>

</div>
	
</div>



	
