function musiker(wer)
{
	xsize = 600;
	ysize = 380; 
		
	ScreenWidth = screen.width;
	ScreenHeight = screen.height;
	
	xpos = (ScreenWidth/2)-(xsize/2);
	ypos = (ScreenHeight/2)-(ysize/2);
		
		NewWindow=window.open("musiker/"+wer+".htm","Bild","height="+ysize+",width="+xsize+",scrollbars=no,status=no,resizable=no,top="+ypos+",left="+xpos+"");
		NewWindow.resizeTo(xsize,ysize);
}

function chkFormular () {
  if (document.weka.txtname.value == "") {
    alert("Bitte Ihren Namen eingeben!");
    document.weka.txtname.focus();
    return false;
  }
  if (document.weka.txtort.value == "") {
    alert("Bitte Ihren Wohnort eingeben!");
    document.weka.txtort.focus();
    return false;
  }
  if (document.weka.txtmail.value == "") {
    alert("Bitte Ihre E-Mail-Adresse eingeben!");
    document.weka.txtmail.focus();
    return false;
  }
  if (document.weka.txtmail.value.indexOf("@") == -1) {
    alert("Keine E-Mail-Adresse!");
    document.weka.txtmail.focus();
    return false;
  }
}

function setcursor () {
  document.weka.txtname.focus();
}

function bildgross(Bild,Breit,Hoch,Titel)
{
	xsize = Breit+40;
	ysize = Hoch+90; 
		
	ScreenWidth = screen.width;
	ScreenHeight = screen.height;
	
	xpos = (ScreenWidth/2)-(xsize/2);
	ypos = (ScreenHeight/2)-(ysize/2);
		
		NewWindow=window.open("","Bild","height="+ysize+",width="+xsize+",scrollbars=no,status=no,resizable=no,top="+ypos+",left="+xpos+"");
		NewWindow.document.write ("<html><head><title>"+Titel+"</title>");
		NewWindow.document.write ("<link href='../style/weka.css' rel='stylesheet' type='text/css'>");
		NewWindow.document.write ("</head><body onload='focus()'>");
		NewWindow.document.write ("<table width='100%' height='100%'>");
		NewWindow.document.write ("<tr><td align='center' valign='middle'>");
		NewWindow.document.write ("<img src="+Bild+" onClick='javascript:window.close();' class='close'>");
		NewWindow.document.write ("</td></tr>");
		NewWindow.document.write ("</table>");
		NewWindow.document.write ("</body></html>");
		NewWindow.document.close();
		NewWindow.resizeTo(xsize,ysize);
		NewWindow.focus();
}
