// JavaScript Document

function CheckAuswahl_team () 

{
 
 for ( var i=0; i<=50; i++)
 {
 	 if (document.form_team.form_auswahl_team.selectedIndex == i)
	 {
    	document.form_team.form_eingabe_team.selectedIndex = i;
		document.form_team.form_eingabe_past.selectedIndex = i;
	 }
 }
}


function openPic (imageName,imageWidth,imageHeight,scrollbar)
{
  newWindow = window.open(imageName,"newWindow","width="+imageWidth+",height="+imageHeight+",scrollbars="+scrollbar+",status=0,menubar=0,location=no");
  newWindow.document.open();
  newWindow.document.write('<html><title>Vollbild</title><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" style="overflow-x: hidden;">');
  newWindow.document.write('<img src=\"'+imageName+'\" width='+imageWidth+' height='+imageHeight+' alt=\"schliessen\" onClick=\"javascript:self.close()\">');
  newWindow.document.write('</body></html>');
  newWindow.document.close();
  newWindow.focus();
}

function openPicCenter (imageName,imageWidth,imageHeight,scrollbar)
{
  var left = (screen.width/2) - (imageWidth/2)
  var top = (screen.height/2) - (imageHeight/2)
  
  newWindow = window.open(imageName,"newWindow","width="+imageWidth+",height="+imageHeight+",scrollbars="+scrollbar+",status=0,menubar=0,location=no,top="+top+",left="+left+"");
  newWindow.document.open();
  newWindow.document.write('<html><title>Vollbild</title><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" style="overflow-x: hidden;">');
  newWindow.document.write('<img src=\"'+imageName+'\" width='+imageWidth+' height='+imageHeight+' alt=\"schliessen\" onClick=\"javascript:self.close()\">');
  newWindow.document.write('</body></html>');
  newWindow.document.close();
  newWindow.focus();
}

function left_right ()
{

    var left=document.getElementById(home_left);
    alert(left.height);
}

