function back() {
        history.go(-1)
}
function stopError() {
return true;
}
window.onerror = stopError;

function changeFrame(navigation,main){
		if	(navigation!="") parent.navigation.location.href =  navigation
        if	(main!="") parent.main.location.href =  main  
}
var openextra;
function extra(url,fenster) {
openextra=window.open(url,fenster,'toolbar=0,locationbar=0,directories=0,status=0,menubar=0,scrollbars=1,resizeable=0,width=625,height=476,screenX=50,screenY=50,left=50,top=50');
openextra.focus(); 
}

var openextra1;
function extra1(url,fenster) {
openextra1=window.open(url,fenster,'toolbar=0,locationbar=0,directories=0,status=0,menubar=0,scrollbars=1,resizeable=0,width=450,height=375,screenX=60,screenY=60,left=60,top=60');
openextra1.focus(); 
}

var openextra2;
function extra2(url,fenster) {
openextra2=window.open(url,fenster,'toolbar=0,locationbar=0,directories=0,status=0,menubar=0,scrollbars=1,resizeable=0,width=650,height=375,screenX=50,screenY=50,left=50,top=50');
openextra2.focus(); 
}

var openextra3;
function extra3(url,fenster) {
openextra3=window.open(url,fenster,'toolbar=0,locationbar=0,directories=0,status=0,menubar=0,scrollbars=1,resizeable=0,width=650,height=375,screenX=50,screenY=50,left=200,top=50');
openextra3.focus(); 
}

var openextra4;
function extra4(url,fenster) {
openextra3=window.open(url,fenster,'toolbar=0,locationbar=0,directories=0,status=0,menubar=0,scrollbars=1,resizeable=0,width=800,height=625,screenX=50,screenY=50,left=50,top=50');
openextra4.focus(); 
}

var openextra5;
function extra5(url,fenster) {
openextra5=window.open(url,fenster,'toolbar=0,locationbar=0,directories=0,status=0,menubar=0,scrollbars=1,resizeable=0,width=450,height=200,screenX=60,screenY=60,left=60,top=60');
openextra5.focus();
}

var openextra6;
function extra6(url,fenster) {
openextra6=window.open(url,fenster,'toolbar=0,locationbar=0,directories=0,status=0,menubar=0,scrollbars=1,resizeable=0,width=650,height=680,screenX=60,screenY=60,left=60,top=60');
openextra6.focus(); 
}

var opendruck;
function druck(url,fenster) {
openbanner=window.open(url,fenster,'toolbar=1,locationbar=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=650,height=500,screenX=50,screenY=50,left=50,top=50');
openbanner.focus(); 
}

var openbanner2;
function banner2(url,fenster) {
openbanner2=window.open(url,fenster,'toolbar=0,locationbar=0,directories=0,status=0,menubar=0,scrollbars=0,resizeable=0,width=520,height=470,screenX=50,screenY=50,left=50,top=50');
openbanner.focus(); 
}

var poppen;
function poppen(url,width,height) {
this.url=url;
more = window.open(url,fenster,'location=no,toolbar=no,menubar=no,status=no,scrollbars=no,width=240,height=140');
more.moveTo(50,50);
        if (navigator.appVersion.substring(1,0)>="3") {
        more.focus(); } }



function Seite_aufrufen ()

{
var index, inhalt;
 index=window.document.Webseiten.auswaehlen.selectedIndex;
 inhalt=window.document.Webseiten.auswaehlen.options[index].value;
parent.main.location.href=inhalt;

}





var openformu;
function formu(url,fenster) {
openformu=window.open(url,fenster,'toolbar=0,locationbar=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=625,height=450,screenX=50,screenY=50,left=50,top=50');
openformu.focus(); 
}

var openpassw;
function passw(url,fenster) {
openpassw=window.open(url,fenster,'toolbar=0,locationbar=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=440,height=395,screenX=50,screenY=50,left=50,top=50');
openpassw.focus(); 
}

 function print_main()
 {
 
	para_str=navigator.userAgent;
	para_ergebnis=para_str.search(/MSIE 4.0.+/);
	
	if(para_ergebnis != -1)
	{
		
		alert("Diese Funktion ist leider nicht mit dem Explorer 4 möglich!");
	
	} 
	else
	{
			
	print();
	}

 
 }



function surfto(form,fenster) {
	var myindex=document.myform.dest.selectedIndex
	{
		weitere=window.open(document.myform.dest.options[myindex].value,fenster,'toolbar=0,locationbar=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=400,height=350,screenX=50,screenY=50,left=50,top=50');
				
		}
	}

 function print()
 {
 
	para_str=navigator.userAgent;
	para_ergebnis=para_str.search(/MSIE 4.0.+/);
	
	if(para_ergebnis != -1)
	{
		
		alert("Diese Funktion ist leider nicht mit dem Explorer 4 möglich!");
	
	} 
	else
	{
			
	print();
	}

 
 }


function myprint()
{
para_str=navigator.userAgent;
	para_ergebnis=para_str.search(/MSIE 4.0.+/);
	
	if(para_ergebnis != -1)
	{
		
		alert("Diese Funktion ist mit dem Explorer 4 nicht möglich! Bitte nutzen Sie die Tastenkombination Strg+P.");
	
	} 
	else
{
	if (window.print)
	{
                	parent.main.focus();
                	parent.main.print();
              	}
              	
	}
}


// Script für Archivsuche //


function newWindow(URL)
{  
	var infowin = window.open(URL,"NewWindow",
		"width=600,height=436,toolbar=no,resizable=yes,scrollbars=yes,menubar=no,status=no");
	infowin.focus();
}

function NewSearch(Feld)
{
  url=Feld;
  window.location.href=url;
}

function Reset(Feld)
{
	window.location.href=Feld;
}

function Klick(Feld)
{
	
	
	var Author="%";
	var Volume="%";
	var Keywords="%";

	
	
	
	for (i=0; i<document.Select.Author.length; i++)
	{
	  if (document.Select.Author.options[i].selected)
		{
			Author=document.Select.Author.options[i].value;
			Author=Parameter(Author);
			break;
		}
	}

	for (i=0; i<document.Select.Volume.length; i++)
	{
		if (document.Select.Volume.options[i].selected)
		{
			Volume=document.Select.Volume.options[i].value;
			Volume=Parameter(Volume);
			break;
		}
	}

	for (i=0; i<document.Select.Keywords.length; i++)
	{
		if (document.Select.Keywords.options[i].selected)
		{
			Keywords=document.Select.Keywords.options[i].value;			
			Keywords=Parameter(Keywords);
			break;
		}
	}
  
 url=Feld+ '?Au=' +Author+ '&Vo=' +Volume+ '&Ke='+ Keywords+ '&St='+document.Select.SearchText.value;    
  window.location.href=url;	
}

function Parameter(Text)
	{
	var Wert="";
 
	Text=escape(Text);
	Text=Text.replace(/\+/,"%2B");
	return Text;
	}


// Script für Infobox //

<!--
var offsetx=20
var offsety=0

function InfoBoxAusblenden() {
      document.getElementById('infobox').style.visibility = "hidden";
}

function InfoBoxAnzeigen(e,txt,offsetX,offsetY)
{
        if (offsetX) {offsetx=offsetX;} else {offsetx=20;}
        if (offsetY) {offsety=offsetY;} else {offsety=0;}
        var PositionX = 0;
        var PositionY = 0;
        if (!e) var e = window.event;
        if (e.pageX || e.pageY)
        {
                PositionX = e.pageX;
                PositionY = e.pageY;
        }
        else if (e.clientX || e.clientY)
        {
                PositionX = e.clientX + document.body.scrollLeft;
                PositionY = e.clientY + document.body.scrollTop;
        }
        document.getElementById("text").innerHTML=txt;
        document.getElementById('infobox').style.left = (PositionX+offsetx);
        document.getElementById('infobox').style.top = (PositionY+offsety);
        document.getElementById('infobox').style.visibility = "visible";
}
// -->
