function pano_showJava( idpano, width, height, fullscreen, size, hashedId, options )
{
  var wtext = "";
  
  if( options == undefined ) options = "";
  
  wtext += '<APPLET archive="http://www.odyssee360.com/panoramas/PurePlayerPro.jar" code="PurePlayerPro" width="'+width+'" height="'+height+'" MAYSCRIPT>\n';
  wtext += '  <param name="java_arguments" value="-Xmx128m">\n';
  wtext += '  <param name="panorama" value="http://www.odyssee360.com/panoramas/get-panorama.php?subpid='+idpano+'&type='+size+'&hid='+hashedId+'">\n';
  wtext += '  <param name="gui" value="http://www.odyssee360.com/panoramas/get-gui.php?subpid='+idpano+'&type='+size+'&width='+width+'&height='+height+'&options='+options+'&hid='+hashedId+'">\n';
  wtext += '  <param name="optimizememory" value="true">\n';
  //wtext += '  <param name="usecache" value="true">\n';
  //wtext += '  <param name="protectfullscreen" value="true">\n';
  wtext += '  <param name="fullscreen" value="'+fullscreen+'">\n';
  wtext += '  <param name="draggable" value="true">\n';
  wtext += '</APPLET>';
  
  //alert( wtext );
  document.write( wtext );
}

