function navbar(iLevel) {
var sUpDir = repeat("../", iLevel);
var sHTML = ("<table width='120' border='1' class='leftmenu' ");
sHTML = sHTML + ("align='left' cellspacing='0'>");
sHTML = sHTML + ("<tr><td class='hugtop'><a class='hugtop' href='http://www.hugginstours.com/index.htm?1' target='_top'>Huggins Tours</a></td></tr>");
//sHTML = sHTML + ("<tr><td><a class='hugitem' href='http://www.hugginstours.com/People/index.htm?1' target='_top'>People</a></td></tr>");
sHTML = sHTML + ("<tr><td><a class='hugitem' href='http://www.hugginstours.com/Skiing/index.htm?1' target='_top'>Ski Trips</a></td></tr>");
sHTML = sHTML + ("<tr><td><a class='hugitem' href='http://www.hugginstours.com/Walks/index.htm?1' target='_top'>Walks</a></td></tr>");
sHTML = sHTML + ("<tr><td><a class='hugitem' href='http://www.hugginstours.com/bowling.htm?1' target='_top'>Bowling</a></td></tr>");
sHTML = sHTML + ("<tr><td><a class='hugitem' href='http://www.hugginstours.com/treasure.htm?1' target='_top'>Treasure Hunts</a></td></tr>");
sHTML = sHTML + ("<tr><td><a class='hugitem' href='http://www.hugginstours.com/punting.htm?1' target='_top'>Punting</a></td></tr>");
sHTML = sHTML + ("<tr><td><a class='hugitem' href='http://www.hugginstours.com/Other/index.htm?1' target='_top'>Other Events</a></td></tr>");
sHTML = sHTML + ("<tr><td class='gomaz'><a class='gomaz' href='http://www.hugginstours.com/GoMazdon/index.htm?1' target='_top'>Go Mazdon</a></td></tr>");
sHTML = sHTML + ("<tr><td><a class='mazitem' href='http://www.hugginstours.com/GoMazdon/softball/index.htm?1' target='_top'>Softball</td></tr>");
sHTML = sHTML + ("<tr><td><a class='mazitem' href='http://www.hugginstours.com/GoMazdon/nyep/index.htm?1' target='_top'>New Year's Eves</td></tr>");
//sHTML = sHTML + ("<tr><td><a class='mazitem' href='http://www.hugginstours.com/GoMazdon/footy/index.htm?1' target='_top'>Football Sweep</td></tr>");
sHTML = sHTML + ("<tr><td class='street'><a class='street' href='http://www.hugginstours.com/StreetsAhead/index.htm?1' target='_top'>Street's Ahead</a></td></tr>");
sHTML = sHTML + ("<tr><td class='duhamel'>Duhamel Daysaway</td></tr>");
sHTML = sHTML + ("<tr><td class='mlo'><a class='mlo' href='http://www.hugginstours.com/ManorLightOpera/index.htm?1' target='_top'>Manor Light Opera</a></td></tr>");
//sHTML = sHTML + ("<tr><td class='skiclub'>NatWest Ski Club</td></tr>");
sHTML = sHTML + ("<tr><td class='oldf'><a class='oldf' href='http://www.hugginstours.com/OldFinchlonians/index.htm?1' target='_top'>Old Finchlonians</a></td></tr>");
sHTML = sHTML + ("<tr><td class='links'>Links</td></tr>");
sHTML = sHTML + ("<tr><td><a class='linkitem' href='http://www.aztecvideo.co.uk' target='_blank'>Dave Smith Video</a></td></tr>");
sHTML = sHTML + ("<tr><td><a class='linkitem' href='http://www.thewineevent.co.uk' target='_blank'>Lobley Wine Tasting</a></td></tr>");
sHTML = sHTML + ("</table>");
document.write(sHTML);
}

function repeat(sText, iTimes) {
var sString = "";
for(iCount = 1 ; iCount <= iTimes ; iCount++)
    sString = sString + sText;
return sString;
}

function navstrip(iLevel) {
var sUpDir = repeat("../", iLevel);
var sHTML = ("<table width='100%' border='1' bordercolorlight='White' bordercolordark='White' cellspacing='0'>");
sHTML = sHTML + ("<col width='16%'><col width='17%'><col width='17%'><col width='17%'><col width='17%'><col width='16%'>");
sHTML = sHTML + ("<tr><td class='hugtop' valign='top'><a class='hugtop' href='http://www.hugginstours.com/index.htm?1' target='_top'>Huggins Tours</a></td>");
sHTML = sHTML + ("<td class='gomaz' valign='top'><a class='gomaz' href='http://www.hugginstours.com/GoMazdon/index.htm?1' target='_top'>Go&nbsp;Mazdon</a></td>");
sHTML = sHTML + ("<td class='street' valign='top'><a class='street' href='http://www.hugginstours.com/StreetsAhead/index.htm?1' target='_top'>Street's Ahead</a></td>");
sHTML = sHTML + ("<td class='duhamel' valign='top'>Duhamel Daysaway</td>");
sHTML = sHTML + ("<td class='mlo' valign='top'><a class='mlo' href='http://www.hugginstours.com/ManorLightOpera/index.htm?1' target='_top'>Manor Light Opera</a></td>");
//sHTML = sHTML + ("<td class='skiclub' valign='top'>NatWest Ski Club</td>");
sHTML = sHTML + ("<td class='oldf' valign='top'><a class='oldf' href='http://www.hugginstours.com/OldFinchlonians/index.htm?1' target='_top'>Old Finchlonians</a></td></tr>");
//sHTML = sHTML + ("<td class='philb' valign='top'>Philbeach Society</td></tr>");
sHTML = sHTML + ("</table>");
document.write(sHTML);
}

function address(iType) {
var at = "@";
var who = "stuart";
var dom = "mazdon";
var ext = ".com";
if (arguments.length != 1)
    iType = 0;
document.write("<hr width='75%'/>");
var d = new Date(document.lastModified);
//var sDate = new String(d.toGMTString()); sometimes gives an error in IE4
var sDate = d.toGMTString();
var iColon = sDate.indexOf(":");
if (iColon >= 10)
    sDate = sDate.substring(0, iColon - 3);  // extract just the date (no time)
document.write("<address>Last updated "+sDate+" by Stuart Mazdon, contact: <a href='mail"+"to:"+who+at+dom+ext+"'>"+who+at+dom+ext+"</a>");
switch (iType) {
    case 0:
	break;
    case 1:
	who="paul";
	dom="hugginstours";
	document.write(" or <a href='mail"+"to:"+who+at+dom+ext+"'>"+who+at+dom+ext+"</a>");
	break;
    case 2:
	who="StreetPhil15";
	dom="aol";
	document.write(" or <a href='mail"+"to:"+who+at+dom+ext+"'>"+who+at+dom+ext+"</a>");
	break;
    default:
}
document.write("</address>");
}