function panowrite( panoname )
{
document.write('<applet name="ptviewer" archive = "ptviewer.jar" code = "ptviewer.class" width="350" height="239" style="border: 0px double #000034">');
document.write('<param name = wait value = "res/imm.jpg">');
document.write('<param name = bar_x value = 28>');
document.write('<param name = bar_y value = 185>');
document.write('<param name = bar_width value = 296>');
document.write('<param name = bar_height value = 12>');
document.write('<param name = barcolor value = 660066>');
document.write('<param name = quality value = 3>');
document.write('<param name = frame value = "res/0.gif">');
document.write('<param name = bgcolor value = 000034>');
document.write('<param name = shotspot0 value = " x0 y228 a29 b239 p i\'res/a1.gif\' u\'ptviewer:toggleHS()\' ">');
document.write('<param name = shotspot1 value = " x114 y228 a130 b239 p i\'res/a5.gif\' u\'ptviewer:startAutoPan(0.5,0,1.0)\' ">');
document.write('<param name = shotspot2 value = " x85 y228 a105 b239 p i\'res/a4.gif\' u\'ptviewer:startAutoPan(-0.5,0,1.0)\' ">');
document.write('<param name = shotspot3 value = " x56 y228 a80 b239 p i\'res/a3.gif\' u\'ptviewer:startAutoPan(0,0,1.025)\' ">');
document.write('<param name = shotspot4 value = " x28 y228 a55 b239 p i\'res/a2.gif\' u\'ptviewer:startAutoPan(0,0,0.975)\' ">');
document.write('<param name = shotspot5 value = " x247 y228 a314 b236 p i\'res/a6.gif\' u\'http://www.immidea.de\' t\'_new\' ">');
document.write('<param name = file value = "ptviewer:0">');
document.write('<param name = pano0 value = "{file=' + panoname + '} {auto=0.15}	{panmin=-180} {panmax=180} {pan=180} {tiltmin=-90} {tiltmax=90} {tilt=-90} {fovmin=34} {fovmax=107}{fov=75}">');
document.write('</applet>');
}
