//	menu(stad, link_color, bgcolor, mouseover_color)
//	Menu for TURDUS.NET
//	stad = nidri rot (i.e. "../"), 
//	lcolr = color of links
//
//	Copyright Throstur Thorsteinsson

function re_menu(stad,lcolr,rebgcolor,reover) {

repages = ["index.html","anisotropy/index.htm","glaciology/index.htm","earth/index.htm","environment/index.htm","other/index.htm","End"];

repname = ["Home","Anisotropy", "Glaciology", "Earth Physics", "Environment", "Publications"];

tel = 0; tel2 = 0;

document.write("<TABLE width=\"96\%\" align=\"center\" CELLPADDING=\"0\" CELLSPACING=\"2\" BORDER=\"0\"><TR>");

document.write("<TD BGCOLOR=\""+rebgcolor+"\" onmouseover=\"this.style.backgroundColor='"+reover+"';\" onmouseout=\"this.style.backgroundColor='"+rebgcolor+"'\"><CENTER><A HREF=\"javascript:history.back(-1)\" TARGET=\"_top\"><B><FONT SIZE=\"-1\" FACE=\"Arial\" COLOR=\""+lcolr+"\">Back</FONT></B></A></CENTER></TD><TD WIDTH=\"2\"></TD>");

while (repages[tel] != "End") {
document.write("<TD BGCOLOR=\""+rebgcolor+"\" onmouseover=\"this.style.backgroundColor='"+reover+"';\" onmouseout=\"this.style.backgroundColor='"+rebgcolor+"'\"><CENTER><A HREF=\""+stad+repages[tel]+"\" TARGET=\"_top\"><B><FONT SIZE=\"-1\" FACE=\"Arial\" COLOR=\""+lcolr+"\">"+repname[tel]+"</FONT></B></A></CENTER></TD><TD WIDTH=\"2\"></TD>"); 
tel +=1;}

document.write("<TD BGCOLOR=\""+rebgcolor+"\" onmouseover=\"this.style.backgroundColor='"+reover+"';\" onmouseout=\"this.style.backgroundColor='"+rebgcolor+"'\"><CENTER><A HREF=\""+stad+"address.htm\" TARGET=\"_blank\"><B><FONT SIZE=\"-1\" FACE=\"Arial\" COLOR=\""+lcolr+"\">E-mail</FONT></B></A></CENTER></TD><TD WIDTH=\"2\"></TD>");

document.write("</TR></TABLE>");

};

function re2turdus() {

document.write("<HR width=\"100\%\" align=\"center\" size=\"4\" color=\"red\" noshade>");
document.write("<table width=\"90\%\" border=\"0\" align=\"center\" cellpadding=\"2\"><tr>");

document.write("<td align=\"center\" bgcolor=\"black\" onmouseover=\"this.style.backgroundColor='red';\" onmouseout=\"this.style.backgroundColor='black'\"><a href=\"http://turdus.net\"><b><FONT FACE=\"Arial\" COLOR=\"white\" SIZE=\"-1\">TURDUS.NET</font></b></a></td>");

document.write("<td align=\"center\" bgcolor=\"blue\" onmouseover=\"this.style.backgroundColor='brown';\" onmouseout=\"this.style.backgroundColor='blue'\"><a href=\"http://teaching.turdus.net\"><b><FONT FACE=\"Arial\" COLOR=\"white\" SIZE=\"-1\">Teaching</font></b></a></td>");

document.write("<td align=\"center\" bgcolor=\"blue\" onmouseover=\"this.style.backgroundColor='seagreen';\" onmouseout=\"this.style.backgroundColor='blue'\"><a href=\"http://animals.turdus.net\"><b><FONT FACE=\"Arial\" COLOR=\"white\" SIZE=\"-1\">Animal pics</font></b></a></td>");

document.write("<td align=\"center\" bgcolor=\"blue\" onmouseover=\"this.style.backgroundColor='royalblue';\" onmouseout=\"this.style.backgroundColor='blue'\"><a href=\"http://iceland.turdus.net\"><b><FONT FACE=\"Arial\" COLOR=\"white\" SIZE=\"-1\">Iceland</font></b></a></td>");

document.write("<td align=\"center\" bgcolor=\"blue\" onmouseover=\"this.style.backgroundColor='red';\" onmouseout=\"this.style.backgroundColor='blue'\"><a href=\"http://travel.turdus.net\"><b><FONT FACE=\"Arial\" COLOR=\"white\" SIZE=\"-1\">Travel pics</font></b></a></td>");

//document.write("<td align=\"center\" bgcolor=\"blue\" onmouseover=\"this.style.backgroundColor='teal';\" onmouseout=\"this.style.backgroundColor='blue'\"><a href=\"http://research.turdus.net\"><b><FONT FACE=\"Arial\" COLOR=\"white\" SIZE=\"-1\">&THORN;r&ouml;stur's research</font></b></a></td>");

document.write("<td align=\"center\" bgcolor=\"skyblue\" onmouseover=\"this.style.backgroundColor='sienna';\" onmouseout=\"this.style.backgroundColor='skyblue'\"><a href=\"http://turdus.net/science\"><b><FONT FACE=\"Arial\" COLOR=\"white\" SIZE=\"-1\">Science</font></b></a></td>");

document.write("<td align=\"center\" bgcolor=\"skyblue\" onmouseover=\"this.style.backgroundColor='tomato';\" onmouseout=\"this.style.backgroundColor='skyblue'\"><a href=\"http://turdus.net/family\"><b><FONT FACE=\"Arial\" COLOR=\"white\" SIZE=\"-1\">Family</font></b></a></td>");

document.write("<td align=\"center\" bgcolor=\"skyblue\" onmouseover=\"this.style.backgroundColor='orange';\" onmouseout=\"this.style.backgroundColor='skyblue'\"><a href=\"http://turdus.zzn.com\"><b><FONT FACE=\"Arial\" COLOR=\"white\" SIZE=\"-1\">web-mail</font></b></a></td>");


document.write("</tr></table>");
document.write("</font>");

}