makeEl("siteaid",150, "Click here for the sitemap and help in navigating the site");
makeEl("bookmark",150, "Bookmark this page in your browser's favourites list");
makeEl("forum",150, "Click here to enter the forum");
makeEl("chat", 150, "Click here to join the live chat room");
makeEl("contact", 150, "Click here to contact me");


makeEl("CND1", 75, "CND Page One");
makeEl("CND2", 75, "CND Page Two");
makeEl("dispatches", 10, "Dispatches from an Unofficial War Artist");
makeEl("images", 150, "Images for the End of the Century");
makeEl("unwords", 10, "UNWORDS");
makeEl("nuclear", 10, "No Nuclear Weapons");
makeEl("dome", 10, "Domesday Book");

makeEl("solo", 10, "Solo Exhibitions");
makeEl("group", 10, "Group Exhibitions");
makeEl("public", 10, "Public Collections");
makeEl("film", 10, "Film & Video");
makeEl("books", 10, "Books & Editions");
makeEl("articles", 10, "Selected Articles");




function init() {
  setTimeout("window.onresize = redo", 1000);
}

function redo() {
  window.location.reload();
}

function makeEl(id, width, code) {
  if (!style) return;
  var str = "<STYLE TYPE='text/css'>";
  str += "#" + id + " {";
  str += "width: " + width + ";";
  str += "}";
  str += "</STYLE>";
  str += "<DIV CLASS='tooltip' ID='" + id + "'>" + code + "</DIV>";
  document.write(str);
}

function displayEl(left, top) {
  if (NS4) document.releaseEvents(Event.MOUSEMOVE);
  document.onmousemove = null;
  var whichEl = (NS4) ? document[active] : document.all[active].style;
  whichEl.left = left;
  whichEl.top = top;
  whichEl.visibility = (NS4) ? "show" : "visible";
}

function clearEl() {
  if (!style) return;
  var whichEl = (NS4) ? document[active] : document.all[active].style;
  whichEl.visibility = (NS4) ? "hide" : "hidden";
  active = null;
  if (timerID) clearTimeout(timerID);
  if (NS4) document.releaseEvents(Event.MOUSEMOVE);
  document.onmousemove = null;
}

function activateEl(id, e) {
  if (!style) return;
  active = id;
  if (NS4) document.captureEvents(Event.MOUSEMOVE);
  document.onmousemove = checkEl;
  checkEl(e);
}

function checkEl(e) {
  if (timerID) clearTimeout(timerID);
  var left = (NS4) ? e.pageX -50: event.clientX + document.body.scrollLeft -50;
  var top = (NS4) ? e.pageY  +20 : event.clientY + document.body.scrollTop +20;
  timerID = setTimeout("displayEl(" + left + ", " + top + ")", 150);
}

// -->