if(top!=self)
  top.location=self.location;

Protokoll = self.location.protocol;
Pfad = self.location.pathname;
Basis = Protokoll + '//' + Pfad.substring(1,Pfad.length-11)
neues_Fenster = null;

function Zeigen(Bild0,Titel0,Breite0,Hoehe0)
{
   Bild = Bild0;
   Titel = Titel0;
   Breite = Breite0;
   Hoehe = Hoehe0;
   zu();
   setTimeout("sichtbar()",1000);
}

function sichtbar()
{  
   Fenster_Hoehe = Hoehe + 30;
   Fenster_Breite = Breite + 40;
   Optionen = 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,height='+Fenster_Hoehe+',width='+Fenster_Breite;
   neues_Fenster = window.open('','',Optionen)
   with (neues_Fenster) 
   {
      document.writeln('<HTML><HEAD><TITLE>' + Titel + '</TITLE></HEAD>');
      document.writeln('<BODY BGCOLOR="#000000" TEXT="#FFFFFF"><DIV ALIGN=CENTER><TABLE BORDER=1 CELLSPACING=0 CELLPADDING=0 VALIGN="MIDDLE"><TR><TD>');
      document.writeln('<IMG SRC="'+Bild+'" WIDTH='+Breite+' HEIGHT='+Hoehe+' BORDER=0 ALT="'+Titel+'"></TD>');
      document.writeln('</TR></TABLE></DIV></BODY></HTML>');
   }
}

function zu()
{
   if (neues_Fenster != null)
     if (!neues_Fenster.closed)
       neues_Fenster.close();
}
function init(){}
function positionierung(){}


// Bildinformationen
var	imgURL		= "img/top.gif"
var	imgWidth	= 25	// Breite
var	imgHeight	= 38	// Hoehe

// Intervall fuer Positionspruefung in ms
var	posInterval	= 25

// Extraabstaende
var	extraX		= 20	// Abstand fuer vertikalen Rollbalken
var	extraY		= 20	// Abstand fuer horizontalen Rollbalken

// Position
var	wPosition	= 3	// 1: oben links, 2: oben rechts, 3: unten rechts, 4: unten links

// Zentrieren des Hintergrundbilds
function positionierung()
{
	var	ntop
	var	nleft

	if(document.Marke)
	{
		with(document.Marke)
		{
			ntop	= window.pageYOffset
			nleft	= window.pageXOffset
			if(wPosition == 3 || wPosition == 4)
				ntop	+= innerHeight - imgHeight
			if(wPosition == 2 || wPosition == 3)
				nleft	+= innerWidth - imgWidth
			if(scrollbars.visible)
			{
				if(wPosition == 3 || wPosition == 4)
					ntop	-= extraX
				if(wPosition == 2 || wPosition == 3)
					nleft	-= extraY
			}
			if(ntop != top || nleft != left)
			{
				top	= ntop
				left	= nleft
			}
		}
	}
	else if(Marke)
	{
		with(Marke)
		{
			ntop	= document.body.scrollTop
			nleft	= document.body.scrollLeft
			if(wPosition == 3 || wPosition == 4)
				ntop	+= Number(document.body.clientHeight) - imgHeight
			if(wPosition == 2 || wPosition == 3)
				nleft	+= Number(document.body.clientWidth) - imgWidth
			if(ntop != style.top || nleft != style.left)
			{
				style.top	= ntop
				style.left	= nleft
			}
		}
	}
	else
		return
}

// Initialisierung der Darstellung
function init()
{
	if(document.Marke)
		with(document.Marke.document)
		{
			open("text/html")
			write("<A HREF=\"#top\" onClick=\"positionierung(); return true\"><IMG SRC=\"" + imgURL + "\" " +
				"BORDER=0 " +
				"WIDTH=" + imgWidth + " " +
				"HEIGHT=" + imgHeight + " ALT=\"Seitenanfang\"></A>")
			close()
			width	= imgWidth
			height	= imgHeight
		}
	else if(Marke)
		with(Marke)
		{
			innerHTML	= "<A HREF=\"#top\" onClick=\"positionierung(); return true\"><IMG SRC=\"" + imgURL + "\" " +
					"BORDER=0 " +
					"WIDTH=" + imgWidth + " " +
					"HEIGHT=" + imgHeight + " ALT=\"Seitenanfang\"></A>"
			style.width	= imgWidth
			style.height	= imgHeight
		}
	else
		return
	positionierung()
	if(document.Marke)
		document.Marke.visibility	= "show"
	else
		Marke.visibility	= "visible"
	setInterval("positionierung()", posInterval)
}

function PrintDate()
     {
      var now=new Date(); var day=now.getDate(); var dow=now.getDay(); 
      var cdow=new Array("Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag");
      var mnth=now.getMonth(); var comnth=new Array   
         ("Januar","Februar","M&auml;rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember");
      var year=now.getYear(); var dtmstr=cdow[dow] + ", " + day + ". " + comnth[mnth] + " " + year;   
      return(dtmstr) 
     }

function MM_swapImgRestore() { //v2.0
  if (document.MM_swapImgData != null)
    for (var i=0; i<(document.MM_swapImgData.length-1); i+=2)
      document.MM_swapImgData[i].src = document.MM_swapImgData[i+1];
}

function MM_preloadImages() { //v2.0
  if (document.images) {
    var imgFiles = MM_preloadImages.arguments;
    if (document.preloadArray==null) document.preloadArray = new Array();
    var i = document.preloadArray.length;
    with (document) for (var j=0; j<imgFiles.length; j++) if (imgFiles[j].charAt(0)!="#"){
      preloadArray[i] = new Image;
      preloadArray[i++].src = imgFiles[j];
  } }
}

function MM_swapImage() { //v2.0
  var i,j=0,objStr,obj,swapArray=new Array,oldArray=document.MM_swapImgData;
  for (i=0; i < (MM_swapImage.arguments.length-2); i+=3) {
    objStr = MM_swapImage.arguments[(navigator.appName == 'Netscape')?i:i+1];
    if ((objStr.indexOf('document.layers[')==0 && document.layers==null) ||
        (objStr.indexOf('document.all[')   ==0 && document.all   ==null))
      objStr = 'document'+objStr.substring(objStr.lastIndexOf('.'),objStr.length);
    obj = eval(objStr);
    if (obj != null) {
      swapArray[j++] = obj;
      swapArray[j++] = (oldArray==null || oldArray[j-1]!=obj)?obj.src:oldArray[j];
      obj.src = MM_swapImage.arguments[i+2];
  } }
  document.MM_swapImgData = swapArray; //used for restore
}



		var nn=document.layers?true:false;
		var ie=document.all?true:false;
		var step=.3,currStep=0,Xpos=50,Ypos=50,xBase=0,yBase=0;

		if (nn) {
			window.captureEvents(Event.MOUSEMOVE);
			window.onMouseMove=mouseMove;
		}
		if (ie) document.onmousemove=mouseMove;
		
		function mouseMove(e) {
			if(nn) { Xpos=e.pageX; Ypos=e.pageY; }
			if (ie) { Xpos=event.x; Ypos=event.y+document.body.scrollTop; }
		}
	
		function flyingPixel() {
			if (nn) { yBase=window.innerHeight/4; xBase=window.innerWidth/4; }
			if (ie) { yBase=document.body.offsetHeight/4; xBase=document.body.offsetWidth/4; }
			var t=0, l=0;
		  	for (var j=0; j<6; j++) {
				t=Ypos+Math.cos((20*Math.sin(currStep/(30+j)))+j*70)*yBase*(Math.sin(10+currStep/10)+0.2)*Math.cos((currStep+j*55)/10);
				l=Xpos+Math.sin((20*Math.sin(currStep/30))+j*70)*xBase*(Math.sin(10+currStep/(10+j))+0.2)*Math.cos((currStep+j*55)/10);
				if (nn) { document.layers["pix"+j].top=t; document.layers["pix"+j].left=l; }
				if (ie) { document.all["pix"+j].style.top=t; document.all["pix"+j].style.left=l; }
			}
			currStep+=step;
			setTimeout("flyingPixel()", 10) ;
		}
           /* Navigationsleiste */


function navto(lokation) 
   {
     top.Inhalt.location.href   = '../' +  lokation +'/index.html';

   }

function navto2(lokation, file) 
   {
     top.Inhalt.location.href   = '../' +  lokation + '/' + file + '.html';

   }

function dyntext(header,text)
   {

if (header == '') 
   { 
     header = ' '; 
     text   = ' '; 
   }

if (navigator.appName == "Netscape") 
   {
     document.displayField.document.open();
     document.displayField.document.write('<FONT FACE="Verdana, Arial, Helvetica" SIZE=-1 COLOR="#333333"><B>'+space+header+'</B></FONT><BR><FONT FACE="Helvetica, Tahoma, Arial" SIZE=-2 COLOR="#333333"><b>'+text+'</b></FONT>');
     document.displayField.document.close();
   }
else
   {
     document.all['displayField'].innerHTML='<FONT FACE="Verdana, Arial, Helvetica" SIZE=-1 COLOR="#333333"><div align="center">'+header+'</div></FONT><FONT FACE="Verdana, Arial, Helvetica" SIZE=-2 COLOR="#333333">'+text+'</FONT>'
if (header == '') 
   {
     header = 'Willkommen im Hideout!'; msg(header); return true;
   }   
   }
   }

     window.defaultStatus = "Willkommen auf unserer Homepage   |   Copyright © 2000 Jacqui Hochstein";


function MM_displayStatusMsg(msgStr) 
   {
     status=msgStr;
     document.MM_returnValue = true;
   }

function OpenWnd(site)
   {
     oeffnen = window.open(site,"Formular","width=570,height=390");
     oeffnen.focus(); 
   }

function statusmsg(txt) 
   { 
     window.status = txt; setTimeout("nomsg()",5500);
   }
    
function msg(txt) 
   { 
     window.status = txt; 
   }