// JavaScript Document
//-----------------------------------------------------
function img_wechsel(obj, Bild, verz)  { 
	switch (verz){
	case 0 : verzeichnis="images/" ; 
			break;
	case 1 : verzeichnis="../images/";
			break;
	case 2 : verzeichnis="../../images/";
	}
    document.images[obj].src = verzeichnis + Bild;
}
//------------------------------------------------------

//--------------------------------------------------
function zeige(B){
w = 400;
h = 300;
win = window.open(B, "fenster","width=400,height=300,left=0,top=0,resizable=yes, scrollbars=yes");
}
//-----------------------------------------------------

//-----------------------------------------------------
function popup (url) {
 fenster = window.open(url, "Popupfenster", "width=800,height=600,resizable=yes, scrollbars=yes");
 fenster.focus();
 return false;
}

//-----------------------------------------------------

//-----------------------------------------------------
function hinten(){
history.back();
}
//-----------------------------------------------------
//-------------------------------------------------------

function steuer(oben,hinten,heim){
document.write("<p align='right'>");
if (oben==2 || hinten==2 || heim==2) {
	verz="../images/";
	ind="../"; 
	}
	else {
	verz="images/";
	ind="";
	}
if (oben>=1) 
	{
	ziel="<a href='#top'><img src='" + verz + "top.gif' width='21' height='21' border='0'></a>";
	document.write(ziel);
	}
if (heim>=1)
	{
	ziel="<a href='" + ind + "index.htm' target='_top'><img src='" + verz + "home.gif' width='21' height='21' border='0'></a>";
	document.write(ziel);
	}	
if (hinten>=1)
	{
	ziel = "<a href='javascript:hinten()'><img src='" + verz + "back.gif' width='21' height='21' border='0'></a>";
	document.write(ziel);
	}
document.write("</p>");
}

//-----------------------------------------------------
