function ButtonHandler(ev)
{
  if (!ev) var ev = window.event;
  window.open(this.href, "", "height=300,width=400,scrollbars=yes,").focus();
  ev.preventDefault();
}

function init()
{
  var piclink = document.getElementById("mypic");
  piclink.addEventListener("click", ButtonHandler, false);
}

window.onload = init;

function nolink()
{
  newwindow = window.open("","Link not yet available", "height=250, width=500, scrollbars=yes, resizable=yes");
  var tmp = newwindow.document;
  tmp.write('<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">');
  tmp.write('<html><head><title>Link not yet available&hellip;</title>');
  tmp.write('<link rel="stylesheet" href="default.css">');
  tmp.write('</head><body style="height: auto; background-color: transparent; border: none;"><p>Unfortunately, there is no appropriate link available yet which I would feel comfortable to use. I will hopefully be able to update this soon.</p>');
  tmp.write('<ul class="nav"><li><a href="javascript:self.close()">Close</a></li></ul>');
  tmp.write('</body></html>');
  tmp.close();
}

