var bilder = new Array();
var zaehler = 0;

var images_pfad = "images/";

function preload (bild1,bild2,link)
{
	bilder[zaehler] = new Array(3);

	bilder[zaehler][0] = new Image ();	
	bilder[zaehler][0].src = images_pfad+bild1;
	bilder[zaehler][1] = new Image ()
	bilder[zaehler][1].src = images_pfad+bild2;
	bilder[zaehler][2] = link;
	++zaehler;
}


// ******************
//
// Rollover
//


function over (bild)
{
if (!document.images)
	return;
for (i=0;i<zaehler;i++)
	{
	if (bilder[i][2] == bild)
		document.images[bilder[i][2]].src = bilder[i][1].src;
	}
}

function out (bild)
{		 
if (!document.images)
	return;
for (i=0;i<zaehler;i++)
	{
	if (bilder[i][2] == bild)
		{
		document.images[bilder[i][2]].src = bilder[i][0].src;
		}
	}
}

// Fenster-zeuchs

browser = navigator.appName;
version = navigator.appVersion.substring(0,1);


// vk menue

var bgfarbe = 0;

function vkmenu_over(hmzlr)
{
document.all['link_vk'+hmzlr].style.textDecoration='none';
document.all['link_vk'+hmzlr].style.color='white';
bgfarbe=document.all['link_vk'+hmzlr].style.backgroundColor;
document.all['vkrow_'+hmzlr].style.backgroundColor='#0D4F8E';
}
			 

function vkmenu_out(hmzlr)
{
document.all['link_vk'+hmzlr].style.color='';
document.all['vkrow_'+hmzlr].style.backgroundColor=bgfarbe;
}
  
var menuvisible = 0;

var hm_aktiv = new Array;
var um_aktiv;
var hm_image = new Array;
hm_image[0] = new Image; hm_image[0].src = "../images/s_pfeil_a.gif";
hm_image[1] = new Image; hm_image[1].src = "../images/s_pfeil_a.gif";
hm_image[2] = new Image; hm_image[2].src = "../images/s_pfeil_b.gif";
hm_image[3] = new Image; hm_image[3].src = "../images/s_pfeil_b.gif";

function hm_over (objekt,shop)
{
if (!shop)
	shop = 0;
	
hm_aktiv[0] = objekt.className;

if (navigator.userAgent.indexOf('Firefox')>0)
	{
	hm_aktiv[1] = objekt.childNodes[1].firstChild.src;
	objekt.childNodes[1].firstChild.src = hm_image[1+shop].src;	
	}
else
	{
	hm_aktiv[1] = objekt.childNodes[0].childNodes[0].src;
	objekt.childNodes[0].childNodes[0].src = hm_image[1+shop].src;	
	}

objekt.className = "shop_hm_over";
}

function hm_out (objekt)
{
if (navigator.userAgent.indexOf('Firefox')>0)
	{
	objekt.childNodes[1].firstChild.src = hm_aktiv[1];	
	}
else
	{
	objekt.childNodes[0].childNodes[0].src = hm_aktiv[1];
	}

objekt.className = hm_aktiv[0];
}

function um_over (objekt)
{
um_aktiv = objekt.className;
objekt.className = "shop_um_over";
}

function um_over2 (objekt)
{
um_aktiv = objekt.className;
objekt.className = "shop_hell";
}

function um_out (objekt)
{
objekt.className = um_aktiv;
}
