var kontakt;
var jm;
var vhoehe = 690;
	var iMyWidth;
	var iMyHeight;
if (screen.availHeight < 768) {vhoehe = screen.availHeight-40}
	//gets top and left positions based on user's resolution so hint window is centered.
	iMyWidth = (window.screen.width/2) - (220 + 10); //half the screen width minus half the new window width (plus 5 pixel borders).
	iMyHeight = (window.screen.height/2) - ((vhoehe/2) + 50); //half the screen height minus half the new window height (plus title and status bars).

function popupkontakt(jm) {
if (jm != null) {
kontakt= window.open( jm + 'kontakt/index.html','winkontakt','width=440,height=' + vhoehe + ',resizable=no,left=' + iMyWidth + ',top=' + iMyHeight + ',screenX=' + iMyWidth + ',screenY=' + iMyHeight + ',scrollbars=yes');
}
else{
kontakt= window.open( 'kontakt/index.html','winkontakt','width=440,height=' + vhoehe + ',resizable=no,left=' + iMyWidth + ',top=' + iMyHeight + ',screenX=' + iMyWidth + ',screenY=' + iMyHeight + ',scrollbars=yes');
}
kontakt.focus();
}

