var memroomlink = "/members.html"; 
var nameslink   = "/register.html"; 
if ( ( current == "MemRoom" ) && ( document.title != "To Members Room" ) ) 
{  memroomlink = "/members/index.html"; 
   nameslink   = "/members/regnames.html"; }
if ( current == "Profiles" ) { current = "Names"; }
if ( current == "Archives" ) { current = "Names"; }

document.writeln (
'<style>' +
'html > body ul.lvl2 { display: none; }' +
'html > body ul.lvl3 { display: none; }' +
'</style>');

if ( ( current != "MemRoom" ) || ( document.title == "To Members Room" ) ) 
{ document.writeln (
'<div class="lefthdr">' +
'      <a href="/index.html"><img class="guildbanner" src="/images/guildbanner.gif"' + 
'         alt="Banner for the Guild of One-Name Studies. Guild logo plus the crest with web site address below."' + 
'         title="Surnames-R-us! The Guild of One-Name Studies">' +
'      </a></div>' +
'<div class="righthdr"><img name="Fades" src="/images/hp_names.gif" alt="Changing header images"></div>' +
'<div style="clear: both;"></div>');
}

document.writeln (
'<div class="navbar"><ul class="navbar">' +
'  <li style="width:  59px;"><a id="Home"    href="/index.html">Home</a></li>' +
'  <li style="width:  84px;"><a id="Guild"   href="/guild.html">The Guild</a></li>' +
'  <li style="width: 146px;"><a id="Onename" href="/onename.html">One-Name Studies</a></li>' +
'  <li style="width:  96px;"><a id="Names"   href="' + nameslink + '">Reg.Names</a></li>' +
'  <li style="width:  66px;"><a id="Events"  href="/timetable.html">Events</a></li>' +
'  <li style="width:  55px;"><a id="Fairs"   href="/fairs.html">Fairs</a></li>' +
'  <li style="width:  71px;"><a id="Journal" href="/journal/index.html">Journal</a></li>' +
'  <li style="width:  58px;"><a id="Sales"   href="/publications.html">Sales</a></li>' +
'  <li style="width: 121px;"><a id="MemRoom" href="' + memroomlink + '">Members Room</a></li>' +
'</ul></div>' +
'<br clear="all">');

if ( ( current != "" ) && ( current != "none" ) )
{   var Hilite = document.getElementById(current);
    Hilite.className += " cur"; 
}

document.writeln ('<script language="JavaScript" type="text/javascript" src="/includes/common.js"></script>');
document.writeln ('<body onload="startFades()">');





