function initArray()
{
	ba = new Array();
	ba[0] = "esobanner.gif";
	ba[1] = "skintalk.gif";
	ba[2] = "linz_toscana4.gif";
	for (i=0; i<ba.length; i++)
	{
		ba[i] = "pics/banner/" + ba[i];
	}
	return ba;
}

var bacnt;
var bannerSrc = new Array();

function bannerRot()
{
	bannerSrc = initArray();
	bacnt = 0;
	frequenz = 24;
	
	//window.setInterval("tausch()", frequenz * 1000)
}
function tausch()
{
	bacnt++;
	//if (bacnt >= bannerSrc.length) bacnt = 0
	//parent.Navigation.document.images[5].src = bannerSrc[bacnt];
}

function bannerclicknav()
{
	//alert("in");
	//switch (bacnt)
	{
	
		//case 0: //Esotera-Logo
		return;
		//break;
		
		//case 1: //Skintalk
		//window.open("http://www.skintalk.de/");
		//break;
		
		//case 2://Phaenomen
		//fen= window.open("http://www.spirituelle-psychologie-online.de/toscana_mare.html");
		//fen.focus();
		//break;
	}
}




//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
/*    Bannerrotation fuer Startseite html/home.html/  */
function initHomeArray()
{
	homeba = new Array()
	homeba[0] = "empty2.gif";
	homeba[1] = "skintalk.gif";
	homeba[2] = "linz_toscana4.gif";
	for (i=0; i<homeba.length; i++)
	{
		homeba[i] = "pics/homebanner/" + homeba[i];
	}
	return homeba;
}

var homebacnt;
var homeBannerSrc = new Array();
function homebannerRot()
{
	homeBannerSrc = initHomeArray();
	homebacnt = 0;
	homeFrequenz = 24;
	
	//window.setInterval("hometausch()", homeFrequenz * 1000);
}
function hometausch()
{
	homebacnt++;
	if (homebacnt >= homeBannerSrc.length) homebacnt = 0;
	
	if (homebacnt == 0) 
	{
		//window.document.images[1].src = "pics/homebanner/empty.gif";
		//window.document.images[3].src = "pics/homebanner/empty.gif";
	}
	else
	{
		//window.document.images[1].src = "pics/homebanner/deck.gif";
		//window.document.images[3].src = "pics/homebanner/deck.gif";
	}
	
	//window.document.images[2].src = homeBannerSrc[homebacnt];
}

function bannerclick()
{
	//switch (homebacnt)
	{
		//case 0: //Kein Banner, Esotera-Logo
		return;
		//break;
		
		//case 1: //Skintalk;
		//fen = window.open("http://www.skintalk.de/");
		//fen.focus();
		//break;
		
		//case 2://Phaenomen
		//fen= window.open("http://www.spirituelle-psychologie-online.de/toscana_mare.html ");
		//fen.focus();
		//break;
	}
	//fen.focus();
}


