<!-- Written by David Quinn [david@eternia.net] -->
<!-- Copyright (c) 2001 - 2007 Eternia Limited. -->
<!--         :: The Nature of Gothic ::         -->

<!--

if (parent.location.href == self.location.href)
{
  window.location.href = 'index.htm';
}

window.defaultStatus=":: My Eternal Thief and the Band of Hope ::";

var siteVersion = '1.1';
var lastUpdate = 'May 2007';

function win(str)
{
  var wH = 400;
  var wW = 400;
  var lPos = (screen.width - wW) / 2;
  var tPos = (screen.height - wH) / 2;
  var msgparams="height=" + wH + ",width=" + wW + ",left=" + lPos + ",top=" + tPos;

  msg=window.open("","tnogalog",msgparams);
  msg.document.close();
  msg=window.open("","tnogalog",msgparams);
  msg.document.write("<html>");
  msg.document.write("<head><title>MET Dialog</title>");
  msg.document.write("<LINK REL=STYLESHEET TYPE='text/css' HREF='met.css' TITLE='STYLE'>");
  msg.document.write("</head>");
  msg.document.write("<body onblur=window.close()>");
  msg.document.write("<h1><span class='logo'>my eternal thief<br><span class='subLogo'>www.myeternalthief.co.uk</span></span></h1>");
  msg.document.write("<br><br><br><br><br><br><br><center>");
  switch (str)
  {
    case "copy" :
      msg.document.write("<p>this site and it's contents are copyright</p>");
      msg.document.write("<p>&copy; 2007 david quinn</p>");
      msg.document.write("<p>all rights reserved<p>");
      msg.document.title = "The Rights of Thieves";
      break;
    case "web" :
      msg.document.write("<p>web design by <a href='mailto:info@myeternalthief.co.uk'>david quinn</a> for a cathartic experience.</p>");
      msg.document.write("<p>best viewed at 1024 x 768 / 24-bit</p>");
      msg.document.write("<p>built with microsoft notepad</p>");
      msg.document.write("<p>site version " + siteVersion + "<br>");
      msg.document.write("last update " + lastUpdate + "</p>");
      msg.document.title = "The Eternal Web";
      break;
  }
  msg.document.write("</center></body></html>");
}

function tnogWin(str, ttl)
{
  var wH = 400;
  var wW = 400;
  var lPos = (screen.width - wW) / 2;
  var tPos = (screen.height - wH) / 2;
  var msgparams="height=" + wH + ",width=" + wW + ",left=" + lPos + ",top=" + tPos;

  msg=window.open("","tnogalog",msgparams);
  msg.document.close();
  msg=window.open("","tnogalog",msgparams);
  msg.document.write("<html>");
  msg.document.write("<head><title>" + ttl + "</title>");
  msg.document.write("<LINK REL=STYLESHEET TYPE='text/css' HREF='met.css' TITLE='STYLE'>");
  msg.document.write("</head>");
  msg.document.write("<body onblur=window.close()>");
  msg.document.write("<br><h1><span class='logo'>my eternal thief<br><span class='subLogo'>www.myeternalthief.co.uk</span></span></h1>");
  msg.document.write("<center>");
  msg.document.write(str);
  msg.document.write("</center></body></html>");
}

function loadTF(str)
{
  var u = window.location.href;
  var l = u.length;
  parent.document.getElementById("mtop").src = u.substr(0, l - 1) + str;
}

function statusMessage(str)
{
  window.status = str;
  return true;
}

function statusMessageReset()
{
  window.status = window.defaultStatus;
  return true;
}

function gnrlWin(wH, wW, wName, scroll)
{
  var lPos = (screen.width - wW) / 2;
  var tPos = (screen.height - wH) / 2;
  var msgparams="height=" + wH + ",width=" + wW + ",left=" + lPos + ",top=" + tPos + ",scrollbars=" + scroll;

  msg=window.open("",wName,msgparams);
  msg.document.close();
  msg=window.open("",wName);
}

// -->
