var lo1, lo2, neu;
var lo1Geschw = 30, lo2Geschw = 25;
var lo1Grad = 0, lo2Grad = 0;
var lo1X = 570, lo1Y = 200, lo2X = 550, lo2Y = 220;
var lo1Radius = 180, lo2Radius = 130;

adImages = new Array("./slide/0001.jpg","./slide/0002.jpg","./slide/0003.jpg","./slide/0004.jpg","./slide/0005.jpg","./slide/0006.jpg","./slide/0007.jpg","./slide/0008.jpg","./slide/0009.jpg","./slide/0010.jpg","./slide/0011.jpg","./slide/0012.jpg","./slide/0013.jpg","./slide/0014.jpg");
thisAd = 0;
imgCt = adImages.length;

function init()
	{
	//info();
	//openmsg();
	rotate();
	}

function rotate()
{
 if(document.images)
 	{
 	 thisAd++;
 	 if (thisAd==imgCt)
 	 	{
 	 	 thisAd=0;
 	 	}
 	 document.adBanner.src=adImages[thisAd];
 	 setTimeout("rotate()",4 *1000);
 	}
 	
}

function info ()
	{
	var buff = window.open('aktuelle_infos.html','','scrollbars=no,menubar=no,height=150,width=600,resizable=no,toolbar=no,location=no,status=no');
	//window.height=Hoch;
	}
function baustelle ()
	{
	var buff = window.open('baustelle.html','','scrollbars=no,menubar=no,height=150,width=600,resizable=no,toolbar=no,location=no,status=no');
	//window.height=Hoch;
	}
function openmsg()
	{
	 alert('Voraussichtlicher Start: Anfang Juni !!!');
	}
	
function Init () {
  lo1 = document.getElementById("logo1");
  lo2 = document.getElementById("logo2");
  neu = document.getElementById("neu");
  lo1.style.position = "absolute";
  lo1.style.top = 20 + "px";
  lo1.style.left = 520 + "px";
  lo2.style.position = "absolute";
  lo2.style.top = 320 + "px";
  lo2.style.left = 520 + "px";
  neu.style.position = "absolute";
  neu.style.top = 123 + "px";
  neu.style.left = 400 + "px";
  neu.style.fontFamily = "Courier New,Courier";
  neu.style.fontSize = "24px";
  neu.style.fontWeight = "bold";
  neu.style.color = "#009900";
  lo1Kreis();
  lo2Kreis();
}

function lo1Kreis () {
  lo1Grad += lo1Geschw / 1000;
  if (lo1Grad > 360)
    lo1Grad = 0;
  lo1.style.top = Math.round(lo1Y + (lo1Radius * Math.cos(lo1Grad)));
  lo1.style.left = Math.round(lo1X + (lo1Radius * Math.sin(lo1Grad)));
  window.setTimeout("lo1Kreis()", 100 / lo1Geschw);
}

function lo2Kreis () {
  lo2Grad += lo2Geschw / 1000;
  if (lo2Grad > 360)
    lo2Grad = 0;
  lo2.style.top = Math.round(lo2Y + (lo2Radius * Math.cos(lo2Grad)));
  lo2.style.left = Math.round(lo2X + (lo2Radius * Math.sin(lo2Grad)));

  window.setTimeout("lo2Kreis()", 100 / lo2Geschw);
}	

function open_quali() {
var load = window.open('pic_zoom.html','','scrollbars=no,menubar=no,height=600,width=500,resizable=no,toolbar=no,location=no,status=no');
}

