//News-Ticker
var lgth=0;
var a2="+++ GIGANTISCH! +++";
var a6="Willkommen im größten Prisma Küchen-Studio in Baden-Württemberg";
tickerzeilen=new items(a2,a6);

var ini=0; var st=0; var x=tickerzeilen[0].length;
function items() {
lgth=items.arguments.length;
for (i=0; i<lgth; i++)
this[i]=items.arguments[i];}
function newsclicker(){
var temp=tickerzeilen[ini].substring(0,st)+"_";
document.ticker.textbox.value=temp;
if(st++==x) { 
//Adjust timer for delay between messages
st=0; setTimeout("newsclicker()",1000); ini++;
if(ini==lgth) ini=0; x=tickerzeilen[ini].length; 
} else
//adjust timer for "clicking speed" eg letter,letter,letter....
setTimeout("newsclicker()",10);
}
//Ende News-Ticker


function sommer1()

{
fenster1=open("sommer1.htm","sommeroffensive",'toolbar=no,scrollbars=yes,width=900,height=600,top=10,left=10');
}

function sommer2()

{
fenster2=open("sommer2.htm","sommeroffensive",'toolbar=no,scrollbars=yes,width=900,height=600,top=10,left=10');
}

function sommer3()

{
fenster3=open("sommer3.htm","sommeroffensive",'toolbar=no,scrollbars=yes,width=900,height=600,top=10,left=10');
}

function sommer4()

{
fenster4=open("sommer4.htm","sommeroffensive",'toolbar=no,scrollbars=yes,width=900,height=600,top=10,left=10');
}

function gewinnspiel()

{
fenster1=open("http://www.ebert-on-line.de/seifert/gewinnspiel.php","gewinnspiel",'toolbar=no,scrollbars=yes,width=650,height=600,top=10,left=30');
}

function messe()

{
fenster2=open("messe.htm","team",'toolbar=no,scrollbars=yes,width=900,height=600,top=10,left=10');
}

function kueche()

{
fenster2=open("kueche.htm","Gewinnen",'toolbar=no,scrollbars=yes,width=620,height=600,top=10,left=10');
}
function sinne4()

{
fenster3=open("sinne4_anzeige.htm","sinne",'toolbar=no,scrollbars=yes,width=810,height=700,top=5,left=5');
}

function team()

{
fenster2=open("team1.htm","team",'toolbar=no,scrollbars=no,width=500,height=450,top=10,left=30');
}

function b1()

{
fenster3=open("b1.htm","traum",'toolbar=no,scrollbars=no,width=650,height=550,top=10,left=30');
}


function b2()

{
fenster4=open("b2.htm","traum",'toolbar=no,scrollbars=no,width=650,height=550,top=10,left=30');
}


function b3()

{
fenster5=open("b3.htm","traum",'toolbar=no,scrollbars=no,width=650,height=550,top=10,left=30');
}


function b4()

{
fenster6=open("b4.htm","traum",'toolbar=no,scrollbars=no,width=650,height=550,top=10,left=30');
}


function b5()

{
fenster7=open("b5.htm","traum",'toolbar=no,scrollbars=no,width=650,height=550,top=10,left=30');
}


function b6()

{
fenster8=open("b6.htm","traum",'toolbar=no,scrollbars=no,width=650,height=550,top=10,left=30');
}


function b7()

{
fenster3=open("b7.htm","traum",'toolbar=no,scrollbars=no,width=650,height=550,top=10,left=30');
}


function b8()

{
fenster9=open("b8.htm","traum",'toolbar=no,scrollbars=no,width=650,height=550,top=10,left=30');
}


function b9()

{
fenster10=open("b9.htm","traum",'toolbar=no,scrollbars=no,width=650,height=550,top=10,left=30');
}


function b10()

{
fenster11=open("b10.htm","traum",'toolbar=no,scrollbars=no,width=650,height=550,top=10,left=30');
}


function b12()

{
fenster12=open("b12.htm","traum",'toolbar=no,scrollbars=no,width=450,height=750,top=10,left=30');
}


function b11()

{
fenster13=open("b11.htm","traum",'toolbar=no,scrollbars=no,width=650,height=550,top=10,left=30');
}


function b13()

{
fenster14=open("b13.htm","traum",'toolbar=no,scrollbars=no,width=650,height=550,top=10,left=30');
}


function b14()

{
fenster15=open("b14.htm","traum",'toolbar=no,scrollbars=no,width=650,height=550,top=10,left=30');
}



function mOvr(src,clrOver){
	if (!src.contains(event.fromElement)){
		src.style.cursor = 'hand';
		src.bgColor = clrOver; }
}

function mOut(src,clrIn){
	if (!src.contains(event.toElement)){
		src.style.cursor = 'default';
		src.bgColor = clrIn;
	   }
}

function mClk(src){
	if(event.srcElement.tagName=='td') src.children.tags('a')[1].click();
}

var mywin;

function open_window(url) {
	winopts = 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=329,height=400';
	winname = 'helpWin';
	mywin = window.open(url , winname, winopts);
	mywin.focus();
}

function reloadCam() {
	reload = new Date(); 
	reload = "?"+reload.getTime() 

	document.images["beo"].src = "beo.jpg"+reload 
	document.images["dawson"].src = "dawson.jpg"+reload
	setTimeout("reloadCam()", 30000) // zeit-in-ms  
}

function reloadCambeo() {
	reload = new Date(); 
	reload = "?"+reload.getTime() 

	document.images["beo"].src = "beo.jpg"+reload 
	setTimeout("reloadCam()", 30000) // zeit-in-ms  
}

function reloadCamdawson() {
	reload = new Date(); 
	reload = "?"+reload.getTime() 

	document.images["dawson"].src = "dawson.jpg"+reload 
	setTimeout("reloadCam()", 30000) // zeit-in-ms  
}

function flydawson() {
	RemoteWin=window.open("dawson.htm","","resizable=yes,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=auto,copyhistory=0,width=280,height=260")
	RemoteWin.creator=self
}

function flybeo() {
	RemoteWin=window.open("beo.htm","","resizable=yes,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=auto,copyhistory=0,width=280,height=260")
	RemoteWin.creator=self
}

