function showpano(modell01, modell02, modell03, pano, pano2, seite) {
	if (seite == 2) {
		window.self.name = 'neuwin2';
	}
	varhoehe = screen.availHeight;
	varbreit = screen.availWidth;
	neuwin = window.open('','Fenster2','width=' + varbreit + ',height=' + varhoehe + ',scrollbars=yes,resizable=yes');
	neuwin.document.open();
	neuwin.document.writeln('<html><head><title>' + modell03 + '</title></head><script language="JavaScript" src="skripts.js"></script><body>');
	neuwin.document.writeln('<p style="font-family:Arial, Helvetica, Sans-Serif; font-size:11px;"><strong>Panoramaansicht f&uuml;r: ' + modell01 + '</strong></p>');
	neuwin.document.writeln('<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td><p style="font-family:Arial, Helvetica, Sans-Serif; font-size:11px;">Modell: ' + modell02 + ' ' + modell03 + '</p></td>');
	if (pano2 != 'none'){
		neuwin.document.write('<td><p style="font-family:Arial, Helvetica, Sans-Serif; font-size:11px;" align="center"><a href="#" onClick="showpano(\'' + modell01 + '\', \'' + modell02 + '\', \'' + modell03 + '\', \'' + pano2 + '\', \'' + pano + '\', 2);self.close();">');
		if (seite == 1) {
			neuwin.document.write('Andere Ansicht zeigen &gt;&gt;');
		} else {
			neuwin.document.write('&lt;&lt; Zur&uuml;ck zur vorherigen Ansicht');
		}
		neuwin.document.write('</a></p></td>');
	} 
	neuwin.document.writeln('<td align="right"><p style="font-family:Arial, Helvetica, Sans-Serif; font-size:11px;"><a href="JavaScript:self.close()">Fenster schlie&szlig;en</a></p></td></tr></table>');
	
	
	if (pano == 'none') {
		neuwin.document.writeln('<p style="font-family:Arial, Helvetica, Sans-Serif; font-size:11px;>Derzeit noch keine Panoramaansicht vorhanden.</p>');
	} else {
		neuwin.document.writeln('<OBJECT codeBase="http://www.devalvr.com/instalacion/plugin/devalocx.cab#version=0,2,9,0" classid=clsid:5D2CF9D0-113A-476B-986F-288B54571614 style="WIDTH: 100%; HEIGHT: 93%" width="100%" height="93%">');
		neuwin.document.writeln('<PARAM NAME="src" VALUE="panos/' + pano + '">');
		neuwin.document.writeln('<EMBED TYPE="application/x-devalvrx" PLUGINSPAGE="http://www.devalvr.com/instalacion/plugin/install.html" src="panos/' + pano + '" width="100%" height="93%"></EMBED></OBJECT>');
	}
	neuwin.document.writeln('</body></html>');
	neuwin.document.close();
}
