if (navigator.appName == "Netscape")
{
layerRef="document.layers";
styleRef="";
}
else
{
layerRef="document.all";
styleRef=".style";
}
 function NeuFenster(datei)
{
 var dat = datei;
 MeinFenster =
 window.open(dat, "Kroki","width=450,height=394,scrollbars=no,resizable=no");
 MeinFenster.moveTo(230,90);
 MeinFenster.focus();
}
 function NeuFensterReg(datei)
{
 var dat = datei;
 MeinFenster =
 window.open(dat, "Regeln","width=470,height=440,scrollbars=no,resizable=yes");
 MeinFenster.moveTo(230,90);
 MeinFenster.focus();
}
 function NeuFensterWerk(datei)
{
 var dat = datei;
 MeinFenster =
 window.open(dat, "Werkzeug","width=492,height=425,scrollbars=no,resizable=yes");
 MeinFenster.moveTo(230,90);
 MeinFenster.focus();
}
 function NeuFensterWar(datei)
{
 var dat = datei;
 MeinFenster =
 window.open(dat, "Warteraum","width=492,height=500,scrollbars=no,resizable=yes");
 MeinFenster.moveTo(230,90);
 MeinFenster.focus();
}
 function NeuFensterStu(datei)
{
 var dat = datei;
 MeinFenster =
 window.open(dat, "Studio","width=774,height=380,scrollbars=no,resizable=yes");
 MeinFenster.moveTo(70,90);
 MeinFenster.focus();
}
 function NeuFensterStich(datei)
{
 var dat = datei;
 MeinFenster =
 window.open(dat, "Stichbrief","width=462,height=620,scrollbars=yes,resizable=yes");
 MeinFenster.moveTo(230,20);
 MeinFenster.focus();
}
 function NeuFensterLett(datei)
{
 var dat = datei;
 MeinFenster =
 window.open(dat, "Lettermann","width=330,height=490,scrollbars=no,resizable=yes,location=no");
 MeinFenster.moveTo(230,90);
 MeinFenster.focus();
}
 function NeuFensterHyg(datei)
{
 var dat = datei;
 MeinFenster =
 window.open(dat, "Hygiene","width=470,height=400,scrollbars=no,resizable=yes,location=no");
 MeinFenster.moveTo(230,90);
 MeinFenster.focus();
}
 function NeuFenster2(datei)
{
 var dat = datei;
 MeinFenster =
 window.open(dat, "Fenster2","width=800,height=600,scrollbars=yes,resizable=yes,location=no");
 MeinFenster.moveTo(100,90);
 MeinFenster.focus();
}
 function openSound(datei)
{
 var dat = datei;
 MeinFenster =
 window.open(dat, "Sound","width=145,height=20,scrollbars=no,resizable=no,location=no");
 MeinFenster.moveTo(0,0);
 MeinFenster.focus();
}
function start_ambiance ()
{
	document . ambiance . play ();
}

function stop_ambiance ()
{
	document . ambiance . stop ();
}
 
function toggle_ambiance ()
{
	if (document . ambiance . IsPlaying ())
		stop_ambiance ();
	else
		start_ambiance ();
}