﻿<!-- Maus und Status -->

function motto(inhalt)
{window.status="    Herzlich Willkommen  "+inhalt;return true;}

function motto2()
{window.status="    Herzlich Willkommen  ";return true;}

if (document.layers)
document.captureEvents(Event.img.MOUSEOVER | Event.MOUSEOUT)
document.onmouseover=motto2
document.onmouseout=motto2




<!-- rechte Maus firefox -->
 var zeit, message="Bitte beachten Sie die Urheberrechte.";
function click0() {
if (event.button != 1) {
popup();
return false;
}
}
function nsc(e) {
if (e.which != 1) keinkontext();
}
function popup() {
alert(unescape(message));
return false;
}
function nichts(e) {
if (e.which != 1) return false;
}
function keinkontext() {
clearTimeout(zeit);
zeit = setTimeout("kontext()",1);
}
function kontext() {
clearTimeout(zeit);
popup();
}
if (document.all)
if (document.getElementById) document.oncontextmenu=popup;
else document.onmousedown=click0;
if (!(document.all) && document.getElementById)
document.oncontextmenu=popup;
if (document.layers) {
document.captureEvents(Event.MOUSEUP | Event.MOUSEDOWN);
document.onmousedown=nichts;
document.onmouseup=nsc;
}


<!-- Bilder vorladen -->

function BilderLaden() {
	document.Vorladen = new Array();
	if (document.images) {
		for (var i=0;i<BilderLaden.arguments.length;i++){
				document.Vorladen[i] = new Image();
				document.Vorladen[i].scr = BilderLaden.arguments[1];				
			}	}	}

function BilderVorladen() {
	if (document.images) {
		imgObjects = new Array ();
			for (i=0;i<9;i++){
				nowImg=imgObjects[i];
				eval(nowImg = new Image())
				eval(nowImg.src = + "an.scr")
			}	}	}



<!-- Fenster  -->

function zg(nam,nr){ 
AuswahlFenster = window.open(nam+nr+".html", "Antwort", "width=650,height=350,screenX=0,screenY=0,scrollbars=1"); 
AuswahlFenster.moveTo(screen.width-700,screen.height-500); 
AuswahlFenster.focus(); 
}

function pss(nam){ 
AuswahlFenster = window.open(nam, "Antwort1", "width=680,height=500,screenX=0,screenY=0,scrollbars=0"); 
AuswahlFenster.moveTo(screen.width-750,screen.height-600); 
AuswahlFenster.focus(); 
}

function of2(nam,breit,hoch){ 
AuswahlFenster = window.open(nam, "Antwort2", 'width='+breit+',height='+hoch+',screenX=0,screenY=0,scrollbars=0'); 
AuswahlFenster.moveTo(screen.width-750,screen.height-600); 
AuswahlFenster.focus(); 
}

function of2s(nam,breit,hoch){ 
AuswahlFenster = window.open(nam, "Antwort2", 'width='+breit+',height='+hoch+',screenX=0,screenY=0,scrollbars=1'); 
AuswahlFenster.moveTo(screen.width-750,screen.height-600); 
AuswahlFenster.focus(); 
}

function of3(nam,breit,hoch){ 
AuswahlFenster = window.open(nam, "Antwort3", 'width='+breit+',height='+hoch+',left=100,top=100,scrollbars=0'); 
AuswahlFenster.focus(); 
}



function pss2(nam,breit,hoch)

{
breit="680";
hoch="500";
	vbild = nam, titel = "L?sung" +" ________________ : -) ______________________", breite = breit, hoehe = hoch;
		if(navigator.appName == "Netscape")
		{ fensterhoehe = hoehe + 15;
		fensterbreite = breite + 15; }
		else
		{ fensterhoehe = hoehe; 
		fensterbreite = breite; }
	werte = 'toolbar=0,location=0,menubar=0,scrollbars=0,resizable=0,height='+fensterhoehe+',width='+fensterbreite;

	fenster = open("","",werte)
	fenster.moveTo(screen.width-750,screen.height-600); 
	fenster.document.open(); 
	with (fenster)

	{
	document.write('<html><head><title>' + titel + '</title>');
	document.write('</head>');
	document.write('<body leftmargin="0" topmargin="0" bgcolor="#DCDCDC">');
	document.write('<table border="0" width="100%" height="100%"><tr><td valign="middle" align="center">');
	document.write('<a href="javascript:window.close()">Fenster schlie?en</a>');
	document.write('  <p>&nbsp;</p> ');

	document.write('  <object id="pss" data="loesung3.pss" ></object>   ');
	document.write(' <embed  autostart="true" src="'+ vbild +'"  ></embed> ');

	document.write('  <p>&nbsp;</p> ');
	document.write('  <p>Etwas Geduld, die Daten werden gerade geladen ...</p> ');
	document.write('</tr></table></body></html>');
	}

	fenster.document.close();
}
