function autoscroll()
{
	window.scrollTo(5000,5000)
}

function showImage(imageurl,imageHeight,imageWeight)
{
	wd=imageWeight;
	ht=imageHeight;
	l=(screen.width/2)-(wd/2);
	t=(screen.height/2)-(ht/2);
	Ansicht=window.open('popup.php?imageUrl='+imageurl,\"Ansicht\",\"toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,height=\"+ht+\",width=\"+wd+\", left=\"+l+\",top=\"+t)
}

function drucken()
{
	print();
}
function empfehlen()
{
	wd=300;
	ht=300;
	l=(screen.width/2)-(wd/2);
	t=(screen.height/2)-(ht/2);
	Ansicht=window.open(\"3x1xempfehlen.xhtml\",\"Ansicht\",\"toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=0,height=\"+ht+\",width=\"+wd+\", left=\"+l+\",top=\"+t)
}
function openFenster1(bild)
{
	wd=758;
	ht=450;
	l=(screen.width/2)-(wd/2);
	t=(screen.height/2)-(ht/2);
	Ansicht=window.open(bild,\"Ansicht\",\"toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,height=\"+ht+\",width=\"+wd+\", left=\"+l+\",top=\"+t)
}

function openPDF(pdf)
{
	wd=758;
	ht=650;
	l=(screen.width/2)-(wd/2);
	t=(screen.height/2)-(ht/2);
	Ansicht=window.open(pdf,\"Ansicht\",\"toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,height=\"+ht+\",width=\"+wd+\", left=\"+l+\",top=\"+t)
}

function openSEITE(link,wd,ht)
{
	l=(screen.width/2)-(wd/2);
	t=(screen.height/2)-(ht/2);
	Ansicht=window.open(link,\"Ansicht\",\"toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,height=\"+ht+\",width=\"+wd+\", left=\"+l+\",top=\"+t)
}

function webcam(link,wd,ht)
{
	l=(screen.width/2)-(wd/2);
	t=(screen.height/2)-(ht/2);
	Ansicht=window.open(\"files/test.ruppiner-segler-club.de/bilder/webcam/\"+link+\"H-webcam.jpg\",\"Ansicht\",\"toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,height=\"+ht+\",width=\"+wd+\", left=\"+l+\",top=\"+t)
}

function oberpunktverstecken(uebergabe)
{
	document.getElementById(uebergabe).style.visibility=\"hidden\";
}

function oberpunktoeffnen(uebergabe)
{
	document.getElementById(uebergabe).style.visibility=\"visible\";
}

function fenster(urllink,titel)
{
	wd=400;
	ht=500;
	l=(screen.width/2)-(wd/2);
	t=(screen.height/2)-(ht/2);
	window.open(urllink,\"\",\"toolbar=0,location=0,status=1,menubar=0,scrollbars=1,resizable=0,height=\"+ht+\",width=\"+wd+\", left=\"+l+\",top=\"+t)
}

function divmeldung() 
{
	document.getElementById(\"meldung\").style.visibility = \"hidden\";
	window.location=\"index.php\";
}