<!--

img = new Array();
img[1] = new Image(); img[1].src = "images/gif/top_k_h.gif";
img[2] = new Image(); img[2].src = "images/gif/top_i_h.gif";
img[3] = new Image(); img[3].src = "images/gif/top_e_h.gif";
img[4] = new Image(); img[4].src = "images/gif/t_k_a.gif";
img[5] = new Image(); img[5].src = "images/gif/square_b.gif";


function rollon1(wert) {
        document.images[wert].src = "images/gif/top_k_h.gif";
}

function rolloff1(wert) {
        document.images[wert].src = "images/gif/top_k.gif";
}

function rollon2(wert) {
        document.images[wert].src = "images/gif/top_i_h.gif";
}

function rolloff2(wert) {
        document.images[wert].src = "images/gif/top_i.gif";
}

function rollon3(wert) {
        document.images[wert].src = "images/gif/top_e_h.gif";
}

function rolloff3(wert) {
        document.images[wert].src = "images/gif/top_e.gif";
}

function rollon4(wert) {
        document.images[wert].src = "images/gif/t_k_a.gif";
}

function rolloff4(wert) {
        document.images[wert].src = "images/gif/t_k.gif";
}

function rollon5(wert) {
        document.images[wert].src = "images/gif/sw_a.gif";
}

function rolloff5(wert) {
        document.images[wert].src = "images/gif/sw.gif";
}

function rollon6(wert) {
        document.images[wert].src = "images/gif/bs_a.gif";
}

function rolloff6(wert) {
        document.images[wert].src = "images/gif/bs.gif";
}

function rollon7(wert) {
        document.images[wert].src = "images/gif/top_r_h.gif";
}

function rolloff7(wert) {
        document.images[wert].src = "images/gif/top_r.gif";
}

var tto = 0;

var aktiv;
var DOM = (document.getElementById)? true : false;
var OP  = (window.opera)? true : false;
var NS  = (window.outerWidth && !OP)? true : false;
var NS4 = (NS && !DOM)? true : false;
var IE  = (document.all && !OP)? true : false;
var IE4 = (IE && !DOM)? true : false;

function thisObj(objName){
	if(IE4){return document.all[objName].style;}
	else if(DOM){return document.getElementById(objName).style;}
	else if(NS4){return document.layers[objName];}
}

function showObj(objName){
	alloff();
	ct();
	thisObj(objName).visibility = (NS4)? "show" : "visible";
}

function hideObj(objName){thisObj(objName).visibility = (NS4)? "hide" : "hidden";}

function to(){
	ct();
	aktiv = window.setTimeout("alloff()",50);
}

function ct(){window.clearTimeout(aktiv);}

function rof(a){
	eval("document.images.snav" + a + ".src = 'images/gif/non.gif';")
}

offen = 0;

function popup(pfad)
{
        if (offen==1)
        {
                fpop.close();
        }
        offen=0;
        fpop=window.open(pfad,'Popup','height=600,width=700,scrollbars=yes,screenX=10,screenY=10');
        fpop.focus();
        offen=1;
        if(navigator.appName.indexOf("Netscape") != -1)
        {
        location.reload();
        }
}

offen = 0;

function imp(pfad)
{
        if (offen==1)
        {
                fpop.close();
        }
        offen=0;
        fpop=window.open(pfad,'Imp','height=450,width=600,scrollbars=no,screenX=10,screenY=10');
        fpop.focus();
        offen=1;
        if(navigator.appName.indexOf("Netscape") != -1)
        {
        location.reload();
        }
}

offen = 0;

function weiter(pfad)
{
        if (offen==1)
        {
                fpop.close();
        }
        offen=0;
        fpop=window.open(pfad,'Weiter','height=470,width=600,scrollbars=yes,screenX=10,screenY=10');
        fpop.focus();
        offen=1;
        if(navigator.appName.indexOf("Netscape") != -1)
        {
        location.reload();
        }

}

// global variable for current sponsor
var image = 1;
// function to link to appropriate sponsor
// (for demonstration, displays a dialog instead)

// function to rotate image (currently uses 3 images)
function rotate() {
   if (++image > 4)  image = 1;
   document.images.hp_0.src = "images/jpg/hp_0" + image + ".jpg";
   window.setTimeout('rotate();',5000);
}

//-->
