function zweiframes(url1, url2) {
	parent.main.location.href = url1;		// main
	self.location.href = url2;				// navi
}

// fuer die Spruenge aus Navi
function dreiframes(url1, url2, url3) {
	parent.main.location.href = url1;		// main
	self.location.href = url2;				// navi
	top.pfad.location.href = url3;			// pfad
}

// fuer die Spruenge aus Fussnote
function dreiframesFuss(url1, url2, url3) {
	parent.nav.location.href = url1;		// navi
	self.location.href = url2;				// main
	top.pfad.location.href = url3;			// pfad
}

// fuer die Spruenge ins Deutsche
function germanVersion(URL) {
	var dateiname = URL.substr(38, 36);
	//parent.nav.location.href = 'http://www.containerhandbuch.de/chb/'+url1;		// navi
	self.location.href = 'http://www.containerhandbuch.de/chb/'+dateiname;				// main
	//top.pfad.location.href = 'http://www.containerhandbuch.de/chb/'+url3;			// pfad
	top.header.location.href = 'http://www.containerhandbuch.de/chb/scha/header.html';
// header
}

function glossarOeffnen() {
	self.location.href = '../glossar_zentral/glossar_gesamt.html';
	parent.nav.location.href = 'nav_00_xx.html';
	top.pfad.location.href = 'glossar.html';
}

function literaturWildOeffnen() {
	self.location.href = 'wild_li.html';
	parent.nav.location.href = 'nav_00_xx.html';
	top.pfad.location.href = 'pfad_00.html';
}

function literaturScharnowOeffnen() {
	self.location.href = 'scha_li.html';
	parent.nav.location.href = 'nav_00_xx.html';
	top.pfad.location.href = 'pfad_00.html';
}

function literaturRuehmannOeffnen() {
	self.location.href = 'rueh_li.html';
	parent.nav.location.href = 'nav_00_xx.html';
	top.pfad.location.href = 'pfad_00.html';
}

function sitemapStrauchOeffnen() {
	self.location.href = 'stra_sm.html';
	parent.nav.location.href = 'nav_00_xx.html';
	top.pfad.location.href = 'pfad_00.html';
}

function sitemapKapsOeffnen() {
	self.location.href = 'kaps_sm.html';
	parent.nav.location.href = 'nav_05_xx.html';
	top.pfad.location.href = 'pfad_00.html';
}

function sitemapWildOeffnen() {
	self.location.href = 'wild_sm.html';
	parent.nav.location.href = 'nav_00_xx.html';
	top.pfad.location.href = 'pfad_00.html';
}

function sitemapScharnowOeffnen() {
	self.location.href = 'scha_sm.html';
	parent.nav.location.href = 'nav_00_xx.html';
	top.pfad.location.href = 'pfad_00.html';
}

function sitemapRuehmannOeffnen() {
	self.location.href = 'rueh_sm.html';
	parent.nav.location.href = 'nav_00_xx.html';
	top.pfad.location.href = 'pfad_00.html';
}

function indexOeffnen() {
	self.location.href = 'index_begriff.html';
	parent.nav.location.href = 'nav_00_xx.html';
	top.pfad.location.href = 'index_abc.html';
}

// onLoad einen NaviPunkt aktivieren
// auf jede Inhaltsseite einfügen

/*var myKapitel, myBuch;

var primnavBuch = top.primnav.location.href;
var linksBuch = top.links.location.href;
var pfadKapitel = top.pfad.location.href;
var navKapitel = top.nav.location.href;*/
//var selfFile = self.location.href;
/*
function REMchangeFrames(myKapitel, myBuch){
	//alert(top.pfad.location.href)
	//alert(top.inhalt.nav.location.href)
	if (document.images && inframe() == true){
		if (primnavBuch.substring(37,41) != myBuch){
			eval("top.primnav.location.href = '../'+myBuch+'/primnav.html'");
		}
		if (linksBuch.substring(37,41) != myBuch){
			eval("top.inhalt.links.location.href = '../'+myBuch+'/vert_leiste.html'");
		}
	 	if (pfadKapitel.substring(42,44) != myKapitel){
			eval("top.pfad.location.href = '../'+myBuch+'/pfad_'+myKapitel+'.html'");
		}
		if (navKapitel.substring(41,43) != myKapitel){
			eval("top.inhalt.nav.location.href = '../'+myBuch+'/nav_'+myKapitel+'_xx.html'");
		}
	}
}
*/
// onLoad einen NaviPunkt aktivieren
// auf jede Inhaltsseite einfügen
/*function changenav(bereich){
	if (document.images && inframe() == true){
		top.inhalt.nav.bildwechsel(bereich);
	}
}*/
function changenav(bereich){
	if (document.images && inframe() == true){
		parent.nav.bildwechsel(bereich);
	}
}

/*function changenav(myKapitel, myBuch, bereich){
	if (document.images && inframe() == true){
		if (primnavBuch.substring(37,41) != myBuch){
			eval("top.primnav.location.href = '../'+myBuch+'/primnav.html'");
		}
		if (linksBuch.substring(37,41) != myBuch){
			eval("top.inhalt.links.location.href = '../'+myBuch+'/vert_leiste.html'");
			}
	 	if (pfadKapitel.substring(42,44) != myKapitel){
				eval("top.pfad.location.href = '../'+myBuch+'/pfad_'+myKapitel+'.html'");
		}
		if (navKapitel.substring(41,43) != myKapitel){
				eval("top.inhalt.nav.location.href = '../'+myBuch+'/nav_'+myKapitel+'_xx.html'");
		}
		if (selfFile.substring(45,47) != "00"){
			top.inhalt.nav.bildwechsel(bereich);
		}
	}
}*/

/*function inframe(objName){
	if( (gibtsParent = ""+top.inhalt) != "undefined"){
		if( (gibtsParent = ""+top.inhalt.nav) != "undefined" ){
			return true;
		}
		else{
			return false;
		}
	}
}*/
function inframe(objName){
		if( (gibtsParent = ""+parent.nav) != "undefined" ){
			return true;
		}
		else{
			return false;
		}
}

/*
function findBuchKapitel(myKapitel, myBuch){
	if (document.images && inframe() == true){
		//alert(primnavBuch.substring(38,40));
		if (primnavBuch.substring(38,40) != myBuch){
			eval("top.primnav.location.href = '../'+myBuch+'/primnav.html'");
		}
	 	if (pfadKapitel.substring() != myKapitel)
			eval("pfadKapitel = 'pfad_'+myKapitel+'.html'");
		if (linksBuch != myBuch)
			eval("top.inhalt.links.location.href = '../'+myBuch+'vert_leiste.html'");
		if (navKapitel.substring() != myKapitel)
			eval("navKapitel = 'nav_'+myKapitel+'_xx.html'");
	}
}
*/

/*function findBuchKapitel(myKapitel, myBuch){
	if (document.images && inframe() == true){
		//top.inhalt.nav.bildwechsel(bereich);
		top.primnav.location.href = "";
		top.pfad.location.href = "";
		top.inhalt.links.location.href = "";
		top.inhalt.nav.location.href = "";
	}
}*/

// Fussnote fuer Glossarium
var buchstabe = null;

function aufruf(){
	var oeffnen=openpopup('../adresse.htm','adresse','500','430','1','0');
	return oeffnen;
}

function fussnoteGlossar2() {
	if (opener){        // andere Fussnote wenn popup
		document.write('<table border="0" cellspacing="0" cellpadding="0" width="520">');
		document.write('<tr valign="top"><td rowspan="3"><img src="../images/leer.gif" width="25" height="1" border="0" alt=""></td>');
		document.write('<td><img src="../images/leer.gif" width="350" height="1" border="0" alt=""></td>');
		document.write('<td><img src="../images/leer.gif" width="145" height="1" border="0" alt=""></td></tr>');
		document.write('<tr valign="top"><td class="fuss">&copy;&nbsp;GDV 2010</td>');
		document.write('<td align="right"><a href="javascript:self.close();">Close window</a></td></tr>');
		document.write('<tr valign="top"><td colspan="2"><img src="../images/leer.gif" width="1" height="10" alt="" border="0"></td></tr>');
	}
	else {
		document.write('<table border="0" cellspacing="0" cellpadding="0" width="520">');
		document.write('<tr valign="top"><td rowspan="6"><img src="../images/leer.gif" width="25" height="1" border="0" alt=""></td>');
		document.write('<td><img src="../images/leer.gif" width="457" height="1" border="0" alt=""></td>');
		document.write('<td><img src="../images/leer.gif" width="38" height="1" border="0" alt=""></td></tr>');
		document.write('<tr valign="top"><td class="fuss" colspan="2">&copy;&nbsp;GDV 2010&nbsp;&nbsp;|&nbsp;&nbsp;<a href="http://www.containerhandbuch.de" target="_top">Container Handbook</a></td></tr>');
		document.write('<tr valign="top"><td><img src="../images/leer.gif" width="1" height="4" alt="" border="0"></td></tr>');
		document.write('<tr valign="top"><td bgcolor="#000000" colspan="2"><img src="../images/leer.gif" width="1" height="1" alt="" border="0"></td></tr>');
		document.write('<tr valign="top"><td colspan="2"><img src="../images/leer.gif" width="1" height="4" alt="" border="0"></td></tr>');
		document.write('<tr valign="bottom"><td class="fuss" colspan="2"><a href="javascript:aufruf()">Contact</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="glossar_gesamt.html#oben">Top</a>&nbsp;&nbsp;</td></tr>');
	}
	document.write('</table><br>');
}

// Fussnote fuer Literaturverzeichnis
var buchstabe = null;

function fussnoteLiteraturScharnow() {
	if (opener){        // andere Fussnote wenn popup
		document.write('<table border="0" cellspacing="0" cellpadding="0" width="520">');
		document.write('<tr valign="top"><td rowspan="3"><img src="../images/leer.gif" width="25" height="1" border="0" alt=""></td>');
		document.write('<td><img src="../images/leer.gif" width="350" height="1" border="0" alt=""></td>');
		document.write('<td><img src="../images/leer.gif" width="145" height="1" border="0" alt=""></td></tr>');
		document.write('<tr valign="top"><td class="fuss">&copy;&nbsp;GDV 2010</td>');
		document.write('<td align="right"><a href="javascript:self.close();"><img src="pfeil_vor.gif" alt="" width="9" height="7" border="0" hspace="5">Close window</a></td></tr>');
		document.write('<tr valign="top"><td colspan="2"><img src="../images/leer.gif" width="1" height="10" alt="" border="0"></td></tr>');
	}
	else {
		document.write('<table border="0" cellspacing="0" cellpadding="0" width="520">');
		document.write('<tr valign="top"><td rowspan="6"><img src="../images/leer.gif" width="25" height="1" border="0" alt=""></td>');
		document.write('<td><img src="../images/leer.gif" width="457" height="1" border="0" alt=""></td>');
		document.write('<td><img src="../images/leer.gif" width="38" height="1" border="0" alt=""></td></tr>');
		document.write('<tr valign="top"><td class="fuss" colspan="2">&copy;&nbsp;GDV 2010&nbsp;&nbsp;|&nbsp;&nbsp;<a href="http://www.containerhandbuch.de" target="_top">Container Handbook</a></td></tr>');
		document.write('<tr valign="top"><td><img src="../images/leer.gif" width="1" height="4" alt="" border="0"></td></tr>');
		document.write('<tr valign="top"><td bgcolor="#6699cc" colspan="2"><img src="../images/leer.gif" width="1" height="1" alt="" border="0"></td></tr>');
		document.write('<tr valign="top"><td colspan="2"><img src="../images/leer.gif" width="1" height="4" alt="" border="0"></td></tr>');
		document.write('<tr valign="bottom"><td class="fuss" colspan="2"><a href="javascript:aufruf()">Contact</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="scha_li.html#oben">Top</a>&nbsp;&nbsp;</td></tr>');
	}
	document.write('</table><br>');
}

function fussnoteLiteraturRuehmann() {
	if (opener){        // andere Fussnote wenn popup
		document.write('<table border="0" cellspacing="0" cellpadding="0" width="520">');
		document.write('<tr valign="top"><td rowspan="3"><img src="../images/leer.gif" width="25" height="1" border="0" alt=""></td>');
		document.write('<td><img src="../images/leer.gif" width="350" height="1" border="0" alt=""></td>');
		document.write('<td><img src="../images/leer.gif" width="145" height="1" border="0" alt=""></td></tr>');
		document.write('<tr valign="top"><td class="fuss">&copy;&nbsp;GDV 2010</td>');
		document.write('<td align="right"><a href="javascript:self.close();"><img src="pfeil_vor.gif" alt="" width="9" height="7" border="0" hspace="5">Close window</a></td></tr>');
		document.write('<tr valign="top"><td colspan="2"><img src="../images/leer.gif" width="1" height="10" alt="" border="0"></td></tr>');
	}
	else {
		document.write('<table border="0" cellspacing="0" cellpadding="0" width="520">');
		document.write('<tr valign="top"><td rowspan="6"><img src="../images/leer.gif" width="25" height="1" border="0" alt=""></td>');
		document.write('<td><img src="../images/leer.gif" width="457" height="1" border="0" alt=""></td>');
		document.write('<td><img src="../images/leer.gif" width="38" height="1" border="0" alt=""></td></tr>');
		document.write('<tr valign="top"><td class="fuss" colspan="2">&copy;&nbsp;GDV 2010&nbsp;&nbsp;|&nbsp;&nbsp;<a href="http://www.containerhandbuch.de" target="_top">Container Handbook</a></td></tr>');
		document.write('<tr valign="top"><td><img src="../images/leer.gif" width="1" height="4" alt="" border="0"></td></tr>');
		document.write('<tr valign="top"><td bgcolor="#999999" colspan="2"><img src="../images/leer.gif" width="1" height="1" alt="" border="0"></td></tr>');
		document.write('<tr valign="top"><td colspan="2"><img src="../images/leer.gif" width="1" height="4" alt="" border="0"></td></tr>');
		document.write('<tr valign="bottom"><td class="fuss" colspan="2"><a href="javascript:aufruf()">Contact</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="rueh_li.html#oben">Top</a>&nbsp;&nbsp;</td></tr>');
	}
	document.write('</table><br>');
}

function fussnoteLiteraturWild() {
	if (opener){        // andere Fussnote wenn popup
		document.write('<table border="0" cellspacing="0" cellpadding="0" width="520">');
		document.write('<tr valign="top"><td rowspan="3"><img src="../images/leer.gif" width="25" height="1" border="0" alt=""></td>');
		document.write('<td><img src="../images/leer.gif" width="350" height="1" border="0" alt=""></td>');
		document.write('<td><img src="../images/leer.gif" width="145" height="1" border="0" alt=""></td></tr>');
		document.write('<tr valign="top"><td class="fuss">&copy;&nbsp;GDV 2010</td>');
		document.write('<td align="right"><a href="javascript:self.close();"><img src="pfeil_vor.gif" alt="" width="9" height="7" border="0" hspace="5">Close window</a></td></tr>');
		document.write('<tr valign="top"><td colspan="2"><img src="../images/leer.gif" width="1" height="10" alt="" border="0"></td></tr>');
	}
	else {
		document.write('<table border="0" cellspacing="0" cellpadding="0" width="520">');
		document.write('<tr valign="top"><td rowspan="6"><img src="../images/leer.gif" width="25" height="1" border="0" alt=""></td>');
		document.write('<td><img src="../images/leer.gif" width="457" height="1" border="0" alt=""></td>');
		document.write('<td><img src="../images/leer.gif" width="38" height="1" border="0" alt=""></td></tr>');
		document.write('<tr valign="top"><td class="fuss" colspan="2">&copy;&nbsp;GDV 2010&nbsp;&nbsp;|&nbsp;&nbsp;<a href="http://www.containerhandbuch.de" target="_top">Container Handbook</a></td></tr>');
		document.write('<tr valign="top"><td><img src="../images/leer.gif" width="1" height="4" alt="" border="0"></td></tr>');
		document.write('<tr valign="top"><td bgcolor="#336699" colspan="2"><img src="../images/leer.gif" width="1" height="1" alt="" border="0"></td></tr>');
		document.write('<tr valign="top"><td colspan="2"><img src="../images/leer.gif" width="1" height="4" alt="" border="0"></td></tr>');
		document.write('<tr valign="bottom"><td class="fuss" colspan="2"><a href="javascript:aufruf()">Contact</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="wild_li.html#oben">Top</a>&nbsp;&nbsp;</td></tr>');
	}
	document.write('</table><br>');
}
// Fussnote fuer Inhaltsseiten

var vor = null;
var rueck = null;

function vorRueckBlaettern(vor, rueck){
	if (vor != null && rueck != null){	// alle Seiten ausser der ersten und der letzten
		document.writeln('<tr valign="top">');
		document.writeln('<td class="fuss">&copy;&nbsp;GDV 2010&nbsp;&nbsp;|&nbsp;&nbsp;<a href="http://www.containerhandbuch.de" target="_top">Container Handbook</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="javascript: germanVersion(document.URL)">Deutsche Version</a></td>');
		document.writeln("<td align=\"right\"><a href=\""+rueck+".html\"><img src=\"images/navi/pfeil_zurueck.gif\" alt=\"\" width=\"9\" height=\"7\" border=\"0\" hspace=\"10\"></a><a href=\""+vor+".html\"><img src=\"images/navi/pfeil_vor.gif\" alt=\"\" width=\"9\" height=\"7\" border=\"0\"></a></td>");
		document.writeln('</tr>');
	}
	else if (vor != null && rueck == null){	// erste Seite
		document.writeln('<tr valign="top">');
		document.writeln('<td class="fuss">&copy;&nbsp;GDV 2010&nbsp;&nbsp;|&nbsp;&nbsp;<a href="http://www.containerhandbuch.de" target="_top">Container Handbook</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="javascript: germanVersion(document.URL)">Deutsche Version</a></td>');
		document.writeln("<td align=\"right\"><a href=\""+vor+".html\"><img src=\"images/navi/pfeil_vor.gif\" alt=\"\" width=\"9\" height=\"7\" border=\"0\"></a></td>");
		document.writeln('</tr>');
	}
	else if (vor == null && rueck != null){
		document.writeln('<tr valign="top">');	// letzte Seite
		document.writeln('<td class="fuss">&copy;&nbsp;GDV 2010&nbsp;&nbsp;|&nbsp;&nbsp;<a href="http://www.containerhandbuch.de" target="_top">Container Handbook</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="javascript: germanVersion(document.URL)">Deutsche Version</a></td>');
		document.writeln("<td align=\"right\"><a href=\""+rueck+".html\"><img src=\"images/navi/pfeil_zurueck.gif\" alt=\"\" width=\"9\" height=\"7\" border=\"0\" hspace=\"10\"></a><img src=\"images/navi/leer.gif\" alt=\"\" width=\"9\" height=\"7\" border=\"0\"></td>");
		document.writeln('</tr>');
	}
}