//Zählvariable für Zoom-Abschnitte:
nCount=0;

function sendemail(temp){
	mail = window.open('sendmail.php?id=' + temp, 'email', 'width=450,height=530,left=50,top=50, dependent=yes, scrollbars=yes');
	mail.focus();
}
function kursmail(temp){
    kurs = window.open('anmeldung.php?' + temp, 'kurs', 'width=450,height=530,left=50,top=50, dependent=yes, scrollbars=yes');
	kurs.focus();
}

function showBig(sSrc) {
	window.open(sSrc,"Fenster1","width=600,height=424,left=0,top=0");
}

function BigView(SRCc) {
     ScreenWidth = screen.width;
     ScreenHeight = screen.height;
     xpos = (ScreenWidth/2)-(600/2);
     ypos = (ScreenHeight/2)-(450/2);
     NewWindow = window.open("about:blank","","height=450,width=600,scrollbars=no,resizable=no,top="+ypos+",left="+xpos+"");
     NewWindow.document.write ("<html><head><title>BigView</title></head>");
     NewWindow.document.write ("<body bgcolor='#EFEF88'><table align='center'><tr>");
     NewWindow.document.write ("<td align='center' valign='top'>");
     NewWindow.document.write ("<table border='1' bgcolor='#000000' cellpadding='0' cellspacing='1'><tr><td align='center'>");
     NewWindow.document.write ("<img src="+SRCc+" alt='bild'>");
     NewWindow.document.write ("</tr></table></body></html>");
     NewWindow.document.close();
}

function popup(SRCc) {
	ScreenWidth = screen.width;
	ScreenHeight = screen.height;
	xpos = (ScreenWidth/2)-(600/2);
	ypos = (ScreenHeight/2)-(450/2)
	f1 = window.open(SRCc, 'fenster1', "width=600, height=450, top="+ypos+",left="+xpos+", resizable=no, scrollbars=no");
	f1.focus();
}
