
function openPictureWindow_Fever(imageName,imageWidth,imageHeight,alt,posLeft,posTop) {
newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",left="+posLeft+",top="+posTop);
newWindow.document.open();
newWindow.document.write('<html><title>'+alt+'</title><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onBlur="self.close()">');
newWindow.document.write('<img src='+imageName+' width='+imageWidth+' height='+imageHeight+' alt='+alt+'>');
newWindow.document.write('</body></html>');
newWindow.document.close();
newWindow.focus();
}

function PopUp(link, breite, hoehe) {
	if (navigator.appName == 'Netscape') {
		var url=link;
		var win='left=290,top=150,toolbar=0,directories=0,menubar=0,scrollbars=0,width='+(breite+15)+',height='+(hoehe+15)+',resizable=0';
		open(url,'Panorama', win);
	}
	else {//internet explorer oder andere
		var url=link;
		var win='left=290,top=150,toolbar=0,directories=0,menubar=0,scrollbars=0,width='+breite+',height='+hoehe+',resizable=0';
		open(url,'Panorama', win);
	}
}

function CenterPopUp(link, breite, hoehe) {

    var h_size = screen.availWidth;
    var v_size = screen.availHeight;

     if (navigator.appName == 'Netscape') {
		var url=link;
		var win='left='+(h_size-breite)/2+',top='+(v_size-hoehe)/2+' ,toolbar=0,directories=0,menubar=0,scrollbars=0,width='+(breite+15)+',height='+(hoehe+15)+',resizable=0';
		open(url,'Panorama', win);
	}
	else {//internet explorer oder andere
		var url=link;
		var win='left='+(h_size-breite)/2+',top='+(v_size-hoehe)/2+' ,toolbar=0,directories=0,menubar=0,scrollbars=0,width='+breite+',height='+hoehe+',resizable=0';
		open(url,'Panorama', win);
	}
}
