function popuplink(winPage,winWidth,winHeight) {
	var winLink=winPage+".html";
	var w = (screen.width - winWidth)/2;
	var h = (screen.height - winHeight)/2 - 60;
	features = 'width='+winWidth+',height='+winHeight+',top='+h+',left='+w+'resizable=no';
	Fenster = window.open(winLink,'referenzbild',features);
	// Fenster.document.write('<html><head><title>bild</title></head><body>foo</body></html>');
	}

if (self != top) {
	top.location=self.location;
	}

