//basic links
var basiclinks = new Array(
"index.html", "HOME",
"rulethree.html","Rule Three",
"politicalspeech.html","political speech",
"sudoku.html","solve sudoku",
"madrush.html","mad rush",
"holidaypics.html","holiday pix",
"computerart/viewer.html","my computer art",
"braintrain/index.html","brain trainer",
"./downloads/index.html","downloads");

//picture links
var piclinks = new Array(
"hols/peru/perupics.html","Peru",
"hols/india/indiapics.html","India",
"hols/egypt/egyptpics.html","Egypt",
"hols/china/chinapics.html","China",
"hols/Adriatic/adriaticpics.html","The Adriatic");

//short story links
var storylinks = new Array(
"thedeal.html","The Deal",
"shadow.html","Shadow",
"putdown.html","Put Down",
"limo.html","Limo",
"atilla.html","Atilla",
"secondchance.html","Second chance",
"loveletter.html","Love letter",
"claimform.html","Claim Form",
"judgement.html","Judgement");


//use list to write html lines like: <a href="index.html">HOME"</a></p>
function showmenu(x)
{
var n = x.length/2;
var d = document;
//e.g. <p><a href="index.html">HOME</a></p>
for (var j=0;j<n;j++) d.writeln("<p><a href=\"" + x[2*j] + "\">" + x[2*j+1] + "</a></p>");
}

