
<!-- begin script hiding

  var NS  = (navigator.appName.indexOf("Netscape") != -1) ? true : false;
  var IE  = (navigator.appName.indexOf("Microsoft Internet Explorer") != -1) ? true : false;
  var IE3 = (navigator.appVersion.indexOf("MSIE 3") != -1) ? true : false;
  var IE4 = (navigator.appVersion.indexOf("MSIE 4") != -1) ? true : false;
  var OP  = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;
  var VER = navigator.appVersion.substring(0,1);

function SetCookie (lang) { 
  document.cookie="lang=" + lang + "; path=/; "
  parent.document.location.reload()
}

function WriteHTML()
     {
piccount = i;
d=document;
d.open();
for (j=0; j< piccount/5; j++) {
  for (i=j*5; i< j*5+5; i++) {
     if(i<piccount){
		 if(p[i].Name == '')
		  p[i].Name = p[i].URL.replace(/_/, ' ');
       d.write('<TD valign=top align=center><a href="javascript:ShowInWindow(');
       d.write("'"+p[i].Name+"','../images/wanted/"+prefix+p[i].URL+".jpg', "+p[i].x+", "+p[i].y);
       d.write(');" onMouseOver="self.status=');
       d.write("'" + p[i].Name + ".'; return true");
       d.writeln('"><img src="../images/wanted/' + prefix + p[i].URL + '_Icon.jpg" height=50 border="0"><BR><SPAN ID="vsmall">' + p[i].Name + '</SPAN></a></td>');
     } 
  }
  d.write("<TR>");
}
  
d.close();
     }

function Bild(URL,y1,y2,Logo,Name)
     {
      this.URL = URL;
      this.y1 = y1;
      this.y2 = y2;
      this.Logo = Logo;
      this.Name = Name;
     }

function WBild(Name, URL, x, y)
     {
      this.URL = URL;
      this.x = x;
      this.y = y;
      this.Name = Name;
     }

function Reference(r1, r2, r3, r4, r5)
     {
      this.r1 = r1;
      this.r2 = r2;
      this.r3 = r3;
      this.r4 = r4;
      this.r5 = r5;
      this.r1Text = '[8Bit-Nirvana]';
      this.r2Text = '[Machine Room]';
      this.r3Text = '[MoDGOC]';
      this.r4Text = '[Jaap-Index]';
      this.r5Text = '[Other]';
      this.r1Pre = 'http://www.zock.com/8-Bit/';
      this.r2Pre = 'http://www.tardis.ed.ac.uk/~alexios/MACHINE-ROOM/';
      this.r3Pre = 'http://www.computingmuseum.com/museum/';
      this.r4Pre = 'http://www.atari-computer.de/mjaap/computer/';
     }

function makeArray(n)
	{
	for (i=1; i <=n; i++)
		this[i] = 0;
	return this
	}



function ShowInWindowHTML(page,w,h)
{
ShowWindow1=window.open(page, "","toolbar=0,menubar=0,location=0,directories=0,status=0,scrollbars=0,resizable=0,copyhistory=0,width=" + w + ",height=" + h);
ShowWindow1.focus();
}

function ShowInWindowHTMLResize(page,w,h)
{
ShowWindow1=window.open(page, "","toolbar=0,menubar=0,location=0,directories=0,status=0,scrollbars=0,resizable=1,copyhistory=0,width=" + w + ",height=" + h);
ShowWindow1.focus();
}


function ShowInWindowScroll(page)
{
ShowWindow1=window.open(page, "","toolbar=0,menubar=0,location=0,directories=0,status=0,scrollbars=1,resizable=1,copyhistory=0");
ShowWindow1.focus();
}

function ShowInWindowSize(page,w,h)
{
ShowWindow1=window.open(page, "","toolbar=0,menubar=0,location=1,directories=0,status=0,scrollbars=1,resizable=1,copyhistory=0,width=" + w + ",height=" + h);
ShowWindow1.focus();
}

function ShowInWindowScrollURL(page)
{
ShowWindow1=window.open(page, 'External_Link',"toolbar=0,menubar=0,location=1,directories=0,status=0,scrollbars=1,resizable=1,copyhistory=0");
ShowWindow1.focus();
}

function HCM()
{
ShowWindow1=window.open('http://www.HomeComputer.de', '',"toolbar=1,menubar=1,location=1,resizable=1,copyhistory=0, width=830, height=600");
ShowWindow1.focus();
}

function buildPicWin(URL,y1,y2, Name)
{


SURL = URL.slice(URL.lastIndexOf("/")+1);
frame = parent.window.location.href.slice(parent.window.location.href.lastIndexOf("/")+1);
base = parent.window.location.href.slice(0,parent.window.location.href.lastIndexOf("pages/"))
path = base + URL.slice(6);
SURL=  "http://www.HomeComputer.de/pages/" + frame //+ "?" + SURL + ".html";

d=parent.frames["info_pic"].document;
d.open();

s="";
s=s+'<HTML><HEAD><style type="text/css">img {margin-left:5pt;}</style><base href="' + base + '"></HEAD>';
s=s+'<BODY bgcolor="#FFFFFF" TOPMARGIN=5 LEFTMARGIN=5> <TABLE BORDER=0><TD align=center><A HREF="';
s=s+"javascript:parent.frames['info'].HCM();";
s=s+'" onMouseOver="self.status=' + "'Home Computer Museum'" + '; return true"><IMG src="http://www.HomeComputer.de/icons/HCM_Icon.jpg" border=0></A></TD><TR><TD><A HREF="';
s=s+"javascript:parent.frames['info'].ShowInWindow('HCM-Picture: " + Name + "','"  + URL + '_Large.jpg' + "'"; 
s=s+',800,' + y2 + ');" onMouseOver="self.status=' + "'" + Name + ".'; return true" + '">';
s=s+"<img src=" + URL.slice(6) + ".jpg width=300 height=" + y1 + " BORDER=0 HSPACE=5 VSPACE=10></A>";
s=s+"</TD><TR><TD class=sb ALIGN=CENTER><FONT face='Arial'><STRONG>" + Name + "</STRONG></FONT>";
s=s+"<TR><TD class=ss ALIGN=CENTER><FONT face='Arial' size=1>all images © by Stefan Walgenbach";
s=s+'<BR><A HREF="';
s=s+"javascript:parent.frames['info'].ShowInWindowScrollURL('pages/f_faq.html');";
s=s+'">[terms of usage]</A> <A HREF="';
s=s+"javascript:parent.frames['info'].ShowInWindowScrollURL('"+SURL+"');";
s=s+'">[display URL]</A></FONT>';
s=s+"</TD></TABLE></BODY></HTML>";
d.write(s);
d.close();
}

function buildHeadWin(Logo,Name) {
d=parent.frames["head"].document;
base = parent.window.location.href.slice(0,parent.window.location.href.lastIndexOf("pages/"))

d.open();
d.writeln('<HTML><HEAD><base href="' + base + '"></HEAD><BODY BGCOLOR="#FFFFFF" TEXT="#000000" TOPMARGIN=10 LEFTMARGIN=5><TABLE WIDTH=100% BORDER=0 CELLPADDING=8 CELLSPACING=0 BGCOLOR="#CCCCFF"><TR BGCOLOR="#CCCCFF"><TD ALIGN=LEFT><img src=' + Logo.slice(6) + ' border=0 ALIGN=TOP></TD><TD ALIGN=RIGHT> <FONT face="Arial" size=5><B>' + Name + '</B></FONT></TD></TABLE></BODY></HTML>');
d.close();

}


function buildInfoPage(URL,y1,y2,Logo,Name) {
  if(!parent.frames["info_pic"]){
    window.resizeTo(700,500);
    // Dateinamen ausschneiden 
    pos = location.href.lastIndexOf("/");
    abs = location.href.substring(pos+1,location.href.length);
    if(OP) window.resizeTo(700-self.innerWidth+self.outerWidth,500-self.innerHeight+self.outerHeight);
    else window.resizeTo(700,500);
    location.href='../f_info.html?' + abs;    
  } else {
    buildPicWin(URL,y1,y2, Name);
    buildHeadWin(Logo,Name);
  }
}

function openInfoPage(machine) {
     ShowInWindowHTMLResize('f_info.html?' + machine,700,500);
}


<!--
// (c) Stephan Slabihoud 1999 - 8bit-museum.de
// Feel free to use it (but do not modify the copyright notice).
// Plz report changes and bugfixes to: webmaster@8bit-museum.de


  var thePath = null;
  var theTitle = null;
  var theWidth = null;
  var theHeight = null;

  var popWin = '';
//  var popOld = null;
  var imgCount = 0;

function PopUpWin(Title, Path, Width, Height) {
//  if(screen.height>=Height && screen.width>=Width) {
//    PopUp(Title, Path, Width, Height)
//  } else {
    PopUpBig(Title, Path, Width, Height);
//  }
}

function fixPaths(p) {
	var i = p.indexOf('?', 0);
	if (i >= 0) {p = p.substring(0,i);}
	if (p.substring(0,2) == '/:') {p = p.substring(p.indexOf('index-2.html', 2), p.length);}
	i = p.indexOf('\\', 0);
	while (i >= 0) {
		p = p.substring(0,i) + '/' + p.substring(i+1,p.length);
		i = p.indexOf('\\', i);
	}
	return p;
}


// PRIVATE
// ändern relpath in einen absoluten Pfad bezogen auf abspath
function relabs(relpath, abspath) {
//  var absimg = fixPaths(abspath);
  var absimg = abspath;
  var relimg = relpath;

  // Dateinamen abschneiden (kein / am Ende)
  var pos = absimg.lastIndexOf("/");
  absimg = absimg.substring(0,pos);

  //ersten Ordner abscheiden
  if(relimg.substring(0,2) == '..') {
    pos = absimg.lastIndexOf("/");
    absimg = absimg.substring(0,pos);
    relimg = relimg.substring(3,relimg.length);
  }

  //ggf zweiten Ordner abscheiden
  if(relimg.substring(0,2) == '..') {
    pos = absimg.lastIndexOf("/");
    absimg = absimg.substring(0,pos);
    relimg = relimg.substring(3,relimg.length);
  }

  absimg = absimg + "/" + relimg;
  return absimg;
}

// PRIVATE
function PopUpBig(Title, Path, Width, Height) {
//  thePath = Path;
//  thePath = relabs(Path, document.URL);
  thePath = relabs(Path, location.href);
  theTitle = Title;
//  theWidth = Math.min(Width+32,screen.width);
//  theHeight = Math.min(Height+32,screen.height);
  theWidth = Width;
  theHeight = Height;

  Width=Width+32;
  Height=Height+32;
  if (IE) {
    if (IE3)      { Width=Width+ 4; Height=Height+ 2; }
    if (VER=="4") { Width=Width+ 4; Height=Height+ 2; }
    if (VER>="5") { Width=Width+ 0; Height=Height+ 0; }
  }
  if (OP) {
    Width=Width+ 0; Height=Height+ 0;
  }
  if (NS) {
    Width=Width+ 0; Height=Height+ 0;
  }

  var winFeatures = 'dependent=yes,locationbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=' + Width + ',height=' + Height;
  if (!IE3 && !IE4) if(popWin) if(!popWin.closed) popWin.close();
  popWin = window.open('toolshtml2.htm', 'PopWin' + imgCount++, winFeatures);
}


function ShowInWindow(Title, Path, Width, Height) {

if(!location.href) {
  thePath = relabs(Path, "http://www.homecomputer.de/xxx/yyy/");
} else {
  thePath = relabs(Path, location.href);
}
    
  theTitle = Title;
  theWidth = Width;
  theHeight = Height;

  if (IE) {
    if (IE3)      { Width=Width+10; Height=Height-30; }
    if (VER=="4") { Width=Width+ 0; Height=Height+ 0; }
    if (VER>="5") { Width=Width+ 5; Height=Height+ 5; }
  }
  if (OP) {
    Width=Width+0; Height=Height+0;
  }
  if (NS) {
    Width=Width+0; Height=Height+0;
  }

  var winFeatures = 'dependent=yes,locationbar=no,menubar=no,toolbar=no,scrollbars=no,resizable=no,width=' + Width + ',height=' + Height;

  if (!IE3 && !IE4) if(popWin) if(!popWin.closed) popWin.close();
     
  if(OP) {
    popWin = window.open('toolshtml2.htm', 'PopWin' + imgCount++, winFeatures);
  } else {
    popWin = window.open('toolshtml2.htm', 'PopWin' + imgCount++, winFeatures);
  }

}

// end script hiding -->
