document.write("<APPLET code=\"a3d.ImageRenderApplet.class\" archive=\"dsl/xxl/mp.zip\" codebase=\".\" name=\"apv\" width=360 height=270 ALIGN=\"center\">");
document.write("<param name=\"regkey\" value="+codemaxi+">");
document.write("<param name=\"quality\" value=\"2\">");
document.write("<param name=shotspot0   value=\" x0 y259 a0 b0 l1.0 q m'barn.gif' i'barn.gif'\">");
document.write("<param name=shotspot1   value=\" x229 y259 a247 b270 q u'viewer:stopAutoPan()'\">");
document.write("<param name=shotspot2   value=\" x248 y259 a263 b270 q u'viewer:setDirection(-1);StopAutoPan();autoPan()'\">");
document.write("<param name=shotspot3   value=\" x264 y259 a280 b270 q u'viewer:startAutoPan(0,1,1.00)'\">");
document.write("<param name=shotspot4   value=\" x281 y259 a294 b270 q u'viewer:startAutoPan(0,-1,1.00)'\">");
document.write("<param name=shotspot5   value=\" x295 y259 a311 b270 q u'viewer:setDirection(1);StopAutoPan();autoPan()'\">");
document.write("<param name=shotspot6   value=\" x312 y259 a328 b270 q u'viewer:startAutoPan(0,0,1.01)'\">");
document.write("<param name=shotspot7   value=\" x329 y259 a347 b270 q u'viewer:startAutoPan(0,0,0.99)'\">");
document.write("<param name=shotspot8   value=\" x0 y259 a100 b270 q u'<? echo $link; ?>' t'_blank'\">");
document.write("<param name=\"cpu_usage\" value=\"lowest\">");
document.write("<PARAM name = file value = \"apv:0\">");
document.write("<PARAM name = pano0 value =");
document.write("        \"{file="+datei+"}");
document.write("        {wait="+waiting+"}");
document.write("        {auto=35}");
document.write("        {MouseSen=1.5}");
document.write("        {panmin="+panmin+"}");
document.write("        {panmax="+panmax+"}");
document.write("        {pan="+pan+"}");
document.write("        {tiltmin=-90}");
document.write("        {tiltmax=90}");
document.write("        {tilt="+tilt+"}");
document.write("        {fov=98}");
document.write("        {fovmin=75}");
document.write("        {fovmax=120}\">");
document.write("</Applet>");