var mlocator = "menu/";
var tlocator = "";


document.write("<style>");
document.write("<!--");
document.write("a.menubar    { text-decoration: none }" );
document.write("span.itemon  { font-weight: bold; color: #006600; }" );
document.write("span.itemoff { font-weight: bold; color: #663300; }" );
document.write("-->");
document.write("</style>");


function createTopBanner(mSelected)
{
if (mSelected != "home") mlocator = "../menu/";

document.write("<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH='100%'>");
document.write("   <TR>");
document.write("      <TD HEIGHT=60 BGCOLOR='#996633'><CENTER>");
document.write("	<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=720>");
document.write("	  <TR>");
document.write("	    <TD><IMG SRC='",mlocator,"tliotxt.gif' ALT='the land is ours' WIDTH=261 HEIGHT=40 ALIGN=bottom></TD>");
document.write("	     <TD ALIGN='RIGHT'></TD>");
document.write("	 </TR>");
document.write("	</TABLE></CENTER>");
document.write("     </TD>");
document.write("   </TR>");
document.write("</TABLE>");

}


var labels = new Array(10);
labels[0] = "home";
labels[1] = "aims";
labels[2] = "campaigns"
labels[3] = "issues";
labels[4] = "newsletter";
labels[5] = "publications";
labels[6] = "history";
labels[7] = "diary";
labels[8] = "links";
labels[9] = "contact";


var targets = new Array(10);
targets[0] = "index.html";
targets[1] = "aims/index.html";
targets[2] = "campaigns/c_archiv.html";
targets[3] = "issues/index.html";
targets[4] = "news/index.html";
targets[5] = "pubs/index.html";
targets[6] = "history/index.html";
targets[7] = "diary/index.html";
targets[8] = "links/index.html";
targets[9] = "contact/index.html";


function createTopMenu(mSelected)
{
var mstr = "";
if (mSelected != "home") { tlocator = "../"; mlocator = "../menu/";}

document.write("<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=100%>");
document.write("   <TR>");
document.write("      <TD  HEIGHT=18 BGCOLOR='#99CC00' VALIGN='TOP'><CENTER>");
document.write("	<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=720>");
document.write("	  <TR><TD>");
	for (i = 0; i< labels.length; i++)
	{	
		if (mSelected == labels[i]) 
		{
			mstr += "<A CLASS='menubar' NAME='thispage'>";
			mstr += "<SPAN CLASS='itemon'>";
			mstr += labels[i];
			mstr += "</SPAN>";	
			mstr += "</A>";
		}
		else	
		{	mstr += "<A CLASS='menubar' HREF="+tlocator+targets[i]+">";
			mstr += "<SPAN CLASS='itemoff'>";
			mstr += labels[i];
			mstr += "</SPAN>";
			mstr += "</A>";
		}
		if (i<labels.length-1)
		{	mstr += " | ";
		}
	}

document.write(mstr);

document.write("	 </TD></TR>");
document.write("	</TABLE></CENTER>");
document.write("     </TD>");
document.write("   </TR>");
document.write("</TABLE>");
}

