<div id="header">
  <div id="ad_728x90"><%ad_728x90_roadblocks%></div>
  <%--div id="loginbar"><a href="<%config.db_cgi_url%>/user.cgi<%if user.Username%>?logout=1<%endif%>" class="<%if user.Username%>in<%else%>out<%endif%>"><%if user.Username%>Logout<%else%>Login/Register<%endif%></a></div--%>
  <div id="logo"><h1><a href="<%config.build_root_url%>"><%site_title%></a></h1></div>
</div>
<div class="navbar clear">
  <%--img src="/images/glinks/navbar.jpg" /><br /--%>
  <%--ul class="primarynav">
    <li class="home"><a href="<%config.build_root_url%>">Home</a></li>
    <li><a href="<%config.db_cgi_url%>/add.cgi<%if category_id%>?ID=<%category_id%><%endif%>">Add a Link</a></li>
    <li><a href="<%config.db_cgi_url%>/modify.cgi<%if category_id%>?ID=<%category_id%><%endif%>">Modify a Link</a></li>
    <li><a href="<%config.build_root_url%>/New/">New Links</a></li>
    <%--li><a href="<%config.build_root_url%>/Cool/">Cool Links</a></li--%>
    <li><a href="<%config.build_root_url%>/Ratings/">Top Rated</a></li>
    <%--li><a href="<%config.db_cgi_url%>/jump.cgi?ID=random<%if config.build_detailed%>;Detailed=1<%endif%>">Random Link</a></li--%>
    <%if config.newsletter_enabled%><li><a href="<%config.db_cgi_url%>/subscribe.cgi">Newsletter</a></li><%endif%>
    <%if config.bookmark_enabled%><li><a href="<%config.db_cgi_url%>/bookmark.cgi">Bookmarks</a></li><%endif%>
    <%if Links::Utils::is_editor%><li><a href="<%config.db_cgi_url%>/browser.cgi">Editors</a></li><%endif%>
  </ul--%>

<%get_header_categories(0 , 'Name', 'ASC')%>
<ul class="primarynav">
  <li class="home"><a href="<%config.build_root_url%>">Home</a></li>
  <%--li><a href="http://www.slowtwitch.com/old_index.html">Archives</a></li--%>
<%loop category_links_loop%>
<%if Name eq "Features"%>
    <li><a href="http://www.slowtwitch.com/podcast/" style="color: white;">Podcast</a></li>    
  <%endif%>
  <%if Name eq "Interview"%>
    <li><a href="http://forum.slowtwitch.com" style="color: white;">FORUM</a></li>    
  <%endif%>
<%if Name eq "RD Aids"%>
    <li><a href="http://calendar.slowtwitch.com" style="color: white;">Race Calendar</a></li>
    <li><a href="http://slowtwitch.com/roadshow/" style="color: white;">Roadshow</a></li>    
  <%endif%> 
<%if Name eq "Tech"%>
    <li><a href="http://slowtwitch.com/store" style="color: white;">Store</a></li>    
  <%endif%> 
  <li>
    <a href="<%escape_html URL%>"><%Name%></a>
  </li>
<%endloop%>
  <%--li style="background: none;"><a href="http://www.slowtwitch.com/rss" style="color: white;"><img src="/images/glinks/rss_orange_11.gif" height="9px" width="9px" style="vertical-align: middle; border: none;"> RSS</a></li--%>
    <%--li><a>CALENDAR</a></li--%>
</ul>
<%~if secondarynav%><%include $secondarynav%><%endif%>
</div>

<hr class="hide" />
