<!-- 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 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();
}

<!--
// (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;

// PRIVATE
// ändern relpath in einen absoluten Pfad bezogen auf abspath
function relabs(relpath, 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;
}


function ShowInWindow(Title, Path) {

Height=250;
Width=400;

  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('popup.html', 'PopWin' + imgCount++, winFeatures);
  } else {
    popWin = window.open('popup.html', 'PopWin' + imgCount++, winFeatures);
  }

}

// end script hiding -->

