<!--

function SwitchStatus(imageNumber) {
  var imageCount = 8; // set number of images here
  var GoOn = true;
  if (!top.navigation) {
    GoOn = false;
  } else {
    for (i=0; i < imageCount; i++) {
      if (!top.navigation.document.images[i]) {GoOn = false; Msg += "\ni(Image-Objekt): " + i;}
      if (!top.navigation.imageStatus[i]) {GoOn = false; Msg += "\ni(Variable): " + i;}
    } // End for
  } // End if

  if (GoOn==true) {
    for (i=0; i < imageCount; i++) {
      if (i==imageNumber) {
        top.navigation.imageStatus[i] = 1;
        top.navigation.document.images[i].src = eval('top.navigation.image' + i + 'on.src');
      } else {
        if (top.navigation.imageStatus[i]==1) {
          top.navigation.imageStatus[i] = -1;
          top.navigation.document.images[i].src = eval('top.navigation.image' + i + 'off.src');
        } // End if
      } // End if
    } // End for
  } // End if
}




function OpenLink(Sub,Ref) {
  if (top.navigation) {
    if (top.navigation.FrameLoaded) {
      top.navigation.Subject = Sub;
      top.navigation.Reference = Ref;
      top.navigation.running = top.navigation.setInterval("top.navigation.CheckIt()",1000);
    }
  }
}




function FrameLoaded(Subject) {
  if (top.navigation) {
    if (top.navigation.FrameLoaded) top.navigation.FrameLoaded = Subject;
  }
}




function OpenPictureWindow(text,headline,windowWidth,windowHeight,posLeft,posTop) {
    newWindow = window.open("","newWindow","width="+windowWidth+",height="+windowHeight+",left="+posLeft+",top="+posTop);
    newWindow.document.open();
    newWindow.document.write('<html><head><link rel="stylesheet" href="../css/kunstkontakt.css">');
    newWindow.document.write('\n<title>'+headline+'</title></head>');
    newWindow.document.write('\n<body text="#333333" bgcolor="#ffffff" leftmargin=0 topmargin=0 marginheight=0 marginwidth=0 onBlur="self.close()">');
    newWindow.document.write('\n<span class="Text">'+text+'</span>');
    newWindow.document.write('\n</body></html>');
    newWindow.document.close();
    newWindow.focus();
}




function MM_popupMsg(msg) { //v1.0
  alert(msg);
}