function viewxxlpicture(url) {
	posleft = (window.screen.availWidth - 150) / 2;
	postop = (window.screen.availHeight - 150) / 2;
	xxl = window.open('../grossbild/?picture=' + url, 'xxlpicture', 'top=' + postop + ',left=' + posleft +',width=150,height=150,menubar=no,status=no,location=no,toolbars=no,resizable=no,scrollbars=no');
}

function resizexxlpicturewindow() {
	picture = document.getElementsByTagName('img')[0];
	if (!picture.complete) {
		window.setTimeout('resizexxlpicturewindow()', 250);
	} else {
		width = picture.width + 20;
		height = picture.height + 20;
		posleft = (window.screen.availWidth - width) / 2;
		postop = (window.screen.availHeight - height) / 2;
		window.moveTo(posleft, postop);
		window.resizeBy(width - 150, height - 150);
	}
}
