/* Frames-Fenster sprengen */ 

  if(top.frames.length > 0)
    top.location.href=self.location;

//Bilderwechsel auf onclick

/* Bilderwechsel / veraltet */

function SwitchImg()
{ 
  var rem, keep=0, store, obj, switcher=new Array, history=document.Data;
    for (rem=0; rem < (SwitchImg.arguments.length-2); rem+=3) {
    	store = SwitchImg.arguments[(navigator.appName == 'Netscape')?rem:rem+1];
    if ((store.indexOf('document.layers[')==0 && document.layers==null) ||
        (store.indexOf('document.all[')==0 && document.all==null))
         store = 'document'+store.substring(store.lastIndexOf('.'),store.length);
         obj = eval(store);
    if (obj != null) {
   	   switcher[keep++] = obj;
      switcher[keep++] = (history==null || history[keep-1]!=obj)?obj.src:history[keep];
      obj.src = SwitchImg.arguments[rem+2];
  } }
  document.Data = switcher;
} 

function RestoreImg()
{ 
  if (document.Data != null)
    for (var rem=0; rem<(document.Data.length-1); rem+=2)
      document.Data[rem].src=document.Data[rem+1];
}
/* ENDE */




/* roll-fenster */

var mpos=new Array();
 var mdir=new Array();
 var maxmenus=15;//Anzahl der möglichen Hover-Objekte
 var delay=20;//Verzögerung
 function do_menu(e, menu)
 {
 	mdir[menu]=-mdir[menu];
 	if(mpos[menu]<=-150)
 	{
 		if(document.layers)
 		{
 			document.layers["menu"+menu].top=e.pageY-150;
 			document.layers["menu"+menu].left=e.pageX-200;
 		} 
 		else
 		{
 			document.all["menu"+menu].style.top=event.y-150;
 			document.all["menu"+menu].style.left=event.x-200;//Box Position links von Mauspfeil
 		}
 		move_menu(menu);
 	}
 	if(mpos[menu]>=0)
 		move_menu(menu);
 }
 function move_menu(menu)
 {
 	mpos[menu]+=mdir[menu];
 	if(document.layers)
 	{
 		document.layers["menu"+menu].top+=mdir[menu];
 		document.layers["menu"+menu].clip.top=-mpos[menu];
 	}
 	else
 	{
 		document.all["menu"+menu].style.top=parseInt(document.all["menu"+menu].style.top)+mdir[menu];
 		document.all["menu"+menu].style.clip="rect("+(-mpos[menu])+",auto,auto,auto)";
 	}
 	if(mpos[menu]>-150 && mpos[menu]<0)
 		setTimeout("move_menu("+menu+")", delay);
 }
 function init()
 {
 	for(i=0; i<maxmenus; i++)
 	{
 		mpos[i]=-150;
 		mdir[i]=-4;
 	}
 }
/* ENDE */ 
 
 
 
 
 	
/* Kurzfilm */
function reapply()
{
setTimeout("slideit()",2000)
return true
}
function slideit()
{
if (!document.images)
return
if (document.all)
slide.filters.blendTrans.apply()
document.images.slide.src=eval("image"+step+".src")
if (document.all)
slide.filters.blendTrans.play()
whichimage=step
if (step<number_of_images)
step++
else
step=1
if (document.all)
setTimeout("slideit()",speed*1000+3000)
else
setTimeout("slideit()",speed*1000)
}
/* ENDE */

	
/* extra Windows der Infoblock */

function impr() 
{
 infoWindow =
 window.open("../ex_win/impress.htm", "Zweitfenster", "position=absolute,left=10, top=10,width=400,height=400");
 infoWindow.focus(); 
}
function quell() 
{
 infoWindow =
 window.open("../ex_win/info.htm", "Zweitfenster", "position=absolute,left=10,top=10,width=650,height=650");
 infoWindow.focus();
}
function links() 
{
 infoWindow =
 window.open("../ex_win/links.htm", "Zweitfenster", "position=absolute,left=10,top=10,width=600,height=550");
 infoWindow.focus(); 
}

/* extra Window von -index- wegen anderem Pfad */
function imprix() 
{
 infoWindow =
 window.open("ex_win/impress.htm", "Zweitfenster", "position=absolute,left=10,top=10,width=400,height=400");
 infoWindow.focus(); 
}
function infoix() 
{
 infoWindow =
 window.open("ex_win/info.htm", "Zweitfenster", "position=absolute,left=10,top=10,width=650,height=650");
 infoWindow.focus();
}

function linksix() 
{
 infoWindow =
 window.open("ex_win/links.htm", "Zweitfenster", "position=absolute,left=10,top=10,width=600,height=550");
 infoWindow.focus(); 
}

/* extra Window allgemein */
	
function genst()
{
 extwin=window.open("../ex_win/genstab.htm", "stab", "left=10,top=10,width=700,height=650,scrollbars,menubar");
 extwin.focus(); 
}
function korps()
{
 extwin =
 window.open("../ex_win/genkom.htm", "gkom", "left=10,top=10,width=500,height=650,scrollbars,menubar");
 extwin.focus(); 
}
function zwAbt()
{
 extwin =
 window.open("../ex_win/i2teAbt.htm", "abt", "left=10,top=10,width=500,height=650,scrollbars,menubar");
 extwin.focus(); 
}
function marie()
{
 extwin =
 window.open("../ex_win/imabg.htm", "marienbg", "left=10,top=10,width=650,height=525");
 extwin.focus(); 
}
function pritt()
{
 extwin =
 window.open("../ex_win/prittwitz.htm", "prittwitz", "left=10,top=10,width=400,height=400");
 extwin.focus(); 
}
function rennk() 
{
 extwin =
 window.open("../ex_win/rennk.htm", "rennk", "left=10,top=10,width=400,height=400");
 extwin.focus(); 
}
function sams() 
{
 extwin =
 window.open("../ex_win/sams.htm", "sams", "left=10,top=10,width=400,height=500");
 extwin.focus(); 
}
function niko() 
{
 extwin =
 window.open("../ex_win/nikolei.htm", "nikol", "left=10,top=10,width=400,height=600");
 extwin.focus(); 
}
function shil() 
{
 extwin =
 window.open("../ex_win/shilin.htm", "shili", "left=10,top=10,width=400,height=400");
 extwin.focus(); 
}
function franc()
{
 extwin =
 window.open("../ex_win/ifrcois.htm", "franc", "left=10,top=10,width=500,height=450");
 extwin.focus(); 
}
function conta()
{
 extwin =
 window.open("../ex_win/iconta.htm", "conta", "left=10,top=10,width=400,height=300");
 extwin.focus(); 
}
function mackens()
{
 extwin =
 window.open("../ex_win/imacksn.htm", "mackensen", "left=10,top=10,width=400,height=400");
 extwin.focus(); 
}
function lindkr() 
{
 infoWindow =
 window.open("../ex_win/lindkr.htm", "lindenkr", "left=0,top=0,width=700,height=550");
 infoWindow.focus(); 
}
function info1rk()
{
 extwin =
 window.open("../ex_win/iIRK.htm", "I_RK", "left=10,top=10,width=600,height=500,scrollbars");
 extwin.focus(); 
}
function below() 
{
 infoWindow =
 window.open("../ex_win/ibelow.htm", "below", "left=10,top=10,width=500,height=500");
 infoWindow.focus(); 
}
function info3rd() 
{
 infoWindow =
 window.open("../ex_win/i3RD.htm", "3_RD", "left=10,top=10,width=500,height=500,scrollbars");
 infoWindow.focus(); 
}
function morgen() 
{
 infoWindow =
 window.open("../ex_win/imorgen.htm", "morgen", "left=10,top=10,width=400,height=400");
 infoWindow.focus(); 
}
function info17ak()
{
 extwin =
 window.open("../ex_win/iXVIIAK.htm", "XVIIak", "left=10,top=10,width=600,height=600,scrollbars");
 extwin.focus(); 
}
function scholtz()
{
 extwin =
 window.open("../ex_win/ischoltz.htm", "scholtz", "left=10,top=10,width=480,height=420");
 extwin.focus(); 
}
function landst()
{
 extwin =
 window.open("../ex_win/landst.htm", "landst", "left=10,top=10,width=550,height=550");
 extwin.focus(); 
}
function staabs()
{
 extwin =
 window.open("../ex_win/staabs.htm", "staabs", "left=10,top=10,width=400,height=400");
 extwin.focus(); 
}
function goltz()
{
 extwin =
 window.open("../ex_win/goltz.htm", "goltz", "left=10,top=10,width=400,height=400");
 extwin.focus(); 
}
function lud()
{
 extwin =
 window.open("../ex_win/ludendf.htm", "lud", "left=10,top=10,width=400,height=500");
 extwin.focus(); 
}
function hind()
{
 extwin =
 window.open("../ex_win/hind.htm", "hind", "left=10,top=10,width=400,height=500");
 extwin.focus(); 
}
function brief()
{
 extwin =
 window.open("../ex_win/brief.htm", "brief", "left=10,top=10,width=500,height=600,scrollbars");
 extwin.focus(); 
}
function higebhs()
{
 extwin =
 window.open("../ex_win/igebhaus.htm", "brief", "left=10,top=10,width=650,height=450,scrollbars");
 extwin.focus(); 
}
function pinne()
{
 extwin =
 window.open("../ex_win/pinne.htm", "pin", "left=10,top=10,width=700,height=450,scrollbars");
 extwin.focus(); 
}
function hi_beurtlg()
{
 extwin =
 window.open("../ex_win/hi_beurt.htm", "beur", "left=10,top=10,width=600,height=600,scrollbars");
 extwin.focus(); 
}
function chass()
{
 extwin =
 window.open("../ex_win/chassepot.htm", "chassep", "left=10,top=10,width=650,height=600,scrollbars");
 extwin.focus(); 
}
function moltkejg()
{
 extwin =
 window.open("../ex_win/moltke_jg.htm", "moltkejg", "left=10,top=10,width=400,height=400");
 extwin.focus(); 
}
function moltkealt()
{
 extwin =
 window.open("../ex_win/moltke_alt.htm", "moltkealt", "left=10,top=10,width=400,height=400");
 extwin.focus(); 
}
function schmettau()
{
 extwin =
 window.open("../ex_win/schmettau.htm", "schmett", "left=10,top=10,width=400,height=400");
 extwin.focus(); 
}
function schlachtbez()
{
 extwin =
 window.open("ex_win/namhist.htm", "histnam", "left=10,top=10,width=500,height=500,scrollbars");
 extwin.focus(); 
}