/* --- Script © 2005 EC Software --- */
var ua = navigator.userAgent;
var dom = (document.getElementById) ? true : false;
var ie4 = (document.all && !dom) ? true : false;
var ie5_5 = ((ua.indexOf("MSIE 5.5")>=0 || ua.indexOf("MSIE 6")>=0) && ua.indexOf("Opera")<0) ? true : false;
var ns4 = (document.layers && !dom) ? true : false;
var offsxy = 6;
function hmshowPopup(e, txt, stick) {
  var tip = '<table  border="1" cellpadding="6" cellspacing="0" bgcolor="#FFFFFF" style="{border-width:1px; border-color:#000000; border-collapse:collapse;}"><tr valign=top><td>'+ txt + '<\/td><\/tr><\/table>';
  var tooltip = atooltip();
  e = e?e:window.event;
  var mx = ns4 ? e.PageX : e.clientX;
  var my = ns4 ? e.PageY : e.clientY;
  var bodyl = (window.pageXOffset) ? window.pageXOffset : document.body.scrollLeft;
  var bodyt = (window.pageYOffset) ? window.pageYOffset : document.body.scrollTop;
  var bodyw = (window.innerWidth)  ? window.innerWidth  : document.body.offsetWidth;
  if (ns4) {
    tooltip.document.write(tip);
    tooltip.document.close();
    if ((mx + offsxy + bodyl + tooltip.width) > bodyw) { mx = bodyw - offsxy - bodyl - tooltip.width; if (mx < 0) mx = 0; }
    tooltip.left = mx + offsxy + bodyl;
    tooltip.top = my + offsxy + bodyt;
  }
  else {
    tooltip.innerHTML = tip;
    if (tooltip.offsetWidth) if ((mx + offsxy + bodyl + tooltip.offsetWidth) > bodyw) { mx = bodyw - offsxy - bodyl - tooltip.offsetWidth; if (mx < 0) mx = 0; }
    tooltip.style.left = (mx + offsxy + bodyl)+"px";
    tooltip.style.top  = (my + offsxy + bodyt)+"px";
  if (ie5_5) {
    tooltip.style.filter = "progid:DXImageTransform.Microsoft.Shadow(color='B0B0B0', Direction=135, Strength=4)";
    for (i = 0; i <= 0; i++)
    { tooltip.filters[i].Apply();
      tooltip.filters[i].Play();}
  }
  }
  with(tooltip) { ns4 ? visibility="show" : style.visibility="visible" }
  if (stick) document.onmouseup = hmhidePopup;
}
function hmhidePopup() {
  var tooltip = atooltip();
  ns4 ? tooltip.visibility="hide" : tooltip.style.visibility="hidden";
}
function atooltip(){
 return ns4 ? document.hmpopupDiv : ie4 ? document.all.hmpopupDiv : document.getElementById('hmpopupDiv')
}
popid_3413599="<p>The ZX81 is a small home computer that was quite popular in the early eighties. It was built by Sinclair Research (who also made the Mk14 kit, ZX Spectrum, ZX80 and QL computers.)<\/p>\n\r<p>&nbsp;<\/p>\n\r<p>It was a highly revolutionary design, containing only four integrated circuits. Most machines at the time needed twenty or so. This allowed the machine to be produced very cheaply, making it the first computer in the UK available for less than a hundred pounds.<\/p>\n\r<p>&nbsp;<\/p>\n\r<p>The ZX81 was released in North America as the Timex-Sinclair 1000, and marketed by Timex. A TS-1500 was a TS-1000 with 16K of RAM built in.<\/p>\n\r<p>&nbsp;<\/p>\n\r<p>Over a million ZX81\'s and TS-1000s were sold worldwide. <\/p>\n\r"
