/*[14ms]*/var isOpera=(navigator.userAgent.indexOf('Opera')!=-1);
var isIE=((navigator.appVersion.indexOf('MSIE')!=-1)&&!isOpera);
var isDOM=document.getElementById?1:0;
var isNS4=navigator.appName=='Netscape'&&!isDOM?1:0;
var isIE4=isIE&&!isDOM?1:0;
var isWindows=(navigator.platform.indexOf('Win')!=-1);
var isMac=(navigator.platform.indexOf('Mac')!=-1||navigator.platform.indexOf('PowerPC')!=-1);
var autoSpin=false;
var displayTimeout;
var currentViewer;
function Viewer()
{
  this.classid='';
  this.type='';
  this.codebase='';
  this.initialfov='105';
  this.filesource='';
  this.notsupported='';
  this.minPan=-180;
  this.maxPan=180;
  this.id='DefaultViewerID';
  this.errorURL='';
  this.RenderOpenTag=function(tagname,args)
        {
          document.writeln();
          document.write('    <'+tagname+' ');
          var length=arguments.length;
          for(var i=1;i<length;i+=2)document.write(arguments[i]+'="'+arguments[i+1]+'" ');
          document.writeln('>');
        };
  this.RenderParam=function(name,value){document.writeln('      <param name="'+name+'" value="'+value+'"/>');};
  this.RenderNotSupported=function(){document.writeln('      '+this.notsupported);};
  this.RenderCloseTag=function(tagname){document.write('    </'+tagname+'>');};
  this.checkMinVersion=function(version,min,num)
        {
          var installed=0;
          for(var i=0;i<num;i++)
          {
            if(parseInt(version[i])>parseInt(min[i]))
            {
              installed=1;
              break;
            }
            else if(parseInt(version[i])<parseInt(min[i]))break;
            else if(parseInt(version[i])==parseInt(min[i])&&i==num-1)installed=1;
          }
          return installed;
        };
}
Viewer.CreateViewer=function(viewer)
        {
          switch(viewer)
          {
            case'iPIX':return new iPIX();
            case'Quicktime':return new Quicktime();
            case'PTViewer':return new PTViewer();
            case'DevalVR':return new DevalVR();
            case'ProViewerVR':return new ProViewerVR();
            case'SpiV':return new SpiV();
            case'PUREJava':return new PUREJava();
            case'PUREFlash':return new PUREFlash();
          }
        };
function iPIX()
{
  this.classid='clsid:8AD9C840-044E-11D1-B3E9-00805F499D93';
  this.type='application/x-java-applet;version=1.4.2';
  this.archive='/Viewers/IpixViewer.jar';
  this.code='IpixViewer';
  this.codebase='http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab#Version=1,4,2,0';
  this.standby='Loading Virtual Tour';
  this.spinspeed=2;
  this.spinstyle='flat';
  this.splash='/Viewers/Images/ViewerLoadingImage.png';
  if(isIE)this.notsupported='<h1>Your browser does not have the Java Plugin installed.<br />Java is required to view the Java Home Tours.</h1><br /><h2>Follow the instructions below to install the Java Plugin<br />THIS PLUGIN DOES NOT REQUIRE YOU TO RESTART YOUR INTERNET BROWSER.</h2><br /><h1>Instructions for Downloading Java on Internet Explorer</h1><br /><p>1. Look to the top of your browser window for a yellow information box that looks something like this.<br /><br /><img src="/Viewers/Images/JavaIEYellowBox.png" alt="Internet Explorer Yellow Information Box" /><br /><br /><br />2. Click on the box and select &ldquo;Install ActiveX Control...&rdquo; to start the installation.<br /><br /><img src="/Viewers/Images/JavaIEYellowBoxSelected.png" alt="Select &ldquo;Install ActiveX Control...&rdquo;" /><br /><br /><br />3. Click &ldquo;Install&rdquo; to confirm the installation.<br /><br /><img src="/Viewers/Images/JavaIEInstallBox.png" alt="Click &ldquo;Install&rdquo;" /><br /><br />After the download is complete, your tour should start playing.<br /><br /><br />If you do not get the window asking whether you want to install the software, try the <a href="http://www.java.com/" target="_new">Manual Download</a>.</p><br />';
  else this.notsupported='<h1>Your browser does not have the Java Plugin installed.<br />Java is required to view the Java Home Tours.</h1><br /><h2>Follow the instructions below to install the Java Plugin<br />THIS PLUGIN DOES NOT REQUIRE YOU TO RESTART YOUR INTERNET BROWSER.</h2><br /><h1>Instructions for Downloading Java on Firefox/Netscape</h1><br /><p>1. Click on &ldquo;Install Missing Plugins...&rdquo; to start the installation.<br /><br /><img src="/Viewers/Images/JavaFirefoxYellowBox.png" alt="Click on &ldquo;Install Missing Plugins...&rdquo;" /><br /><br /><br />2. Click on &ldquo;Next&rdquo; and then follow the instructions.<br /><br /><img src="/Viewers/Images/JavaFirefoxNext.png" alt="Click on &ldquo;Next&rdquo;" /><br /><br />After the download is complete, your tour should start playing.<br /><br /><br />If you do not get the yellow box asking whether you want to install the software, try the <a href="http://www.java.com/" target="_new">Manual Download</a>.</p><br />';
  this.RenderViewer=function()
        {
          if(isIE)
          {
            this.RenderOpenTag('object','id',this.id,'classid',this.classid,'codebase',this.codebase);
            this.RenderParam('code',this.code);
            this.RenderParam('archive',this.archive);
          }
          else this.RenderOpenTag('object','id',this.id,'classid','java:'+this.code+'.class','type',this.type,'archive',this.archive);
          this.RenderParam('SpinSpeed',this.spinspeed);
          this.RenderParam('SpinStyle',this.spinstyle);
          this.RenderParam('initfov',this.initialfov);
          this.RenderParam('splash',this.splash);
          this.RenderParam('URL',this.filesource);
          this.RenderNotSupported();
          this.RenderCloseTag('object');
        };
  return true;
}
iPIX.prototype=new Viewer();
function Quicktime()
{
  this.classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B';
  this.type='video/quicktime';
  this.codebase='http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0';
  this.cache='true';
  this.scale='tofit';
  this.controller='true';
  this.kioskmode='true';
  this.enablejavascript='true';
  this.notsupported='<strong>Your browser does not have the Quicktime plugin installed.<br />Quicktime is required to view the Quicktime Home Tours.<br /><a href="http://www.apple.com/quicktime/download/">Get the latest Quicktime Plug-In here.</a></strong>';
  this.RenderViewer=function()
        {
          if(isIE)
          {
            this.RenderOpenTag('object','id',this.id,'classid',this.classid,'codebase',this.codebase);
            this.RenderParam('src',this.filesource);
            autoSpin=true;
          }
          else if(!isMac)this.RenderOpenTag('object','id',this.id,'type',this.type,'data',this.filesource);
          else
          {
            this.RenderOpenTag('embed','id',this.id,'src',this.filesource,'controller',this.controller,'cache',this.cache,'scale',this.scale,'kioskmode',this.kioskmode,'fov',this.initialfov,'width','636','height','427');
            this.RenderCloseTag('embed');
            return;
          }
          this.RenderParam('controller',this.controller);
          this.RenderParam('cache',this.cache);
          this.RenderParam('scale',this.scale);
          this.RenderParam('kioskmode',this.kioskmode);
          this.RenderParam('fov',this.initialfov);
          this.RenderNotSupported();
          this.RenderCloseTag('object');
        };
  return true;
}
Quicktime.prototype=new Viewer();
function PTViewer()
{
  this.classid='clsid:8AD9C840-044E-11D1-B3E9-00805F499D93';
  this.type='application/x-java-applet;version=1.4.2';
  this.archive='/Viewers/ptviewer.jar';
  this.code='ptviewer';
  this.codebase='http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab#Version=1,4,2,0';
  this.wait='/Viewers/Images/ViewerLoadingImage.png';
  this.auto='.05';
  this.cache='false';
  this.cursor='CROSSHAIR';
  this.mass='10';
  this.quality='5';
  this.antialias='true';
  this.viewerFailedURL='';
  this.pWidth=0;
  this.pHeight=0;
  this.left=0;
  this.top=0;
  this.minTilt=-90;
  this.maxTilt=90;
  if(isIE)this.notsupported='<h1>Your browser does not have the Java Plugin installed.<br />Java is required to view the Java Home Tours.</h1><br /><h2>Follow the instructions below to install the Java Plugin<br />THIS PLUGIN DOES NOT REQUIRE YOU TO RESTART YOUR INTERNET BROWSER.</h2><br /><h1>Instructions for Downloading Java on Internet Explorer</h1><br /><p>1. Look to the top of your browser window for a yellow information box that looks something like this.<br /><br /><img src="/Viewers/Images/JavaIEYellowBox.png" alt="Internet Explorer Yellow Information Box" /><br /><br /><br />2. Click on the box and select &ldquo;Install ActiveX Control...&rdquo; to start the installation.<br /><br /><img src="/Viewers/Images/JavaIEYellowBoxSelected.png" alt="Select &ldquo;Install ActiveX Control...&rdquo;" /><br /><br /><br />3. Click &ldquo;Install&rdquo; to confirm the installation.<br /><br /><img src="/Viewers/Images/JavaIEInstallBox.png" alt="Click &ldquo;Install&rdquo;" /><br /><br />After the download is complete, your tour should start playing.<br /><br /><br />If you do not get the window asking whether you want to install the software, try the <a href="http://www.java.com/" target="_new">Manual Download</a>.</p><br />';
  else this.notsupported='<h1>Your browser does not have the Java Plugin installed.<br />Java is required to view the Java Home Tours.</h1><br /><h2>Follow the instructions below to install the Java Plugin<br />THIS PLUGIN DOES NOT REQUIRE YOU TO RESTART YOUR INTERNET BROWSER.</h2><br /><h1>Instructions for Downloading Java on Firefox/Netscape</h1><br /><p>1. Click on &ldquo;Install Missing Plugins...&rdquo; to start the installation.<br /><br /><img src="/Viewers/Images/JavaFirefoxYellowBox.png" alt="Click on &ldquo;Install Missing Plugins...&rdquo;" /><br /><br /><br />2. Click on &ldquo;Next&rdquo; and then follow the instructions.<br /><br /><img src="/Viewers/Images/JavaFirefoxNext.png" alt="Click on &ldquo;Next&rdquo;" /><br /><br />After the download is complete, your tour should start playing.<br /><br /><br />If you do not get the yellow box asking whether you want to install the software, try the <a href="http://www.java.com/" target="_new">Manual Download</a>.</p><br />';
  this.RenderViewer=function()
        {
          if(isIE)
          {
            this.RenderOpenTag('object','id',this.id,'classid',this.classid,'codebase',this.codebase,'width','100%','height','100%');
            this.RenderParam('code',this.code);
            this.RenderParam('archive',this.archive);
          }
          else this.RenderOpenTag('object','id',this.id,'classid','java:'+this.code+'.class','type',this.type,'archive',this.archive,'width','100%','height','100%');
          this.RenderParam('wait',this.wait);
          this.RenderParam('auto',this.auto);
          this.RenderParam('cache',this.cache);
          this.RenderParam('cursor',this.cursor);
          this.RenderParam('mass',this.mass);
          this.RenderParam('quality',this.quality);
          this.RenderParam('antialias',this.antialias);
          this.RenderParam('fov',this.initialfov);
          if(this.viewerFailedURL!='')this.RenderParam('outOfMemoryURL',this.viewerFailedURL);
          if(this.pWidth!=0&&this.pHeight!=0&&this.left!=0&&this.top!=0)
          {
            this.RenderParam('roi0','i\''+this.filesource+'\' x'+this.left+' y'+this.top);
            this.RenderParam('panmin',this.minPan);
            this.RenderParam('panmax',this.maxPan);
            if(this.minTilt!=-90)this.RenderParam('tiltmin',this.minTilt);
            if(this.maxTilt!=90)this.RenderParam('tiltmax',this.maxTilt);
            this.RenderParam('pwidth',this.pWidth);
            this.RenderParam('pheight',this.pHeight);
          }
          else this.RenderParam('file',this.filesource);
          this.RenderNotSupported();
          this.RenderCloseTag('object');
        };
  return true;
}
PTViewer.prototype=new Viewer();
function DevalVR()
{
  this.classid='clsid:5D2CF9D0-113A-476B-986F-288B54571614';
  this.type='application/x-devalvrx';
  this.codebase='http://www.devalvr.com/instalacion/plugin/devalocx.cab#version=0,5,0,0';
  this.pluginspage='http://www.devalvr.com/instalacion/plugin/install.html';
  this.filter='3';
  this.firstautoplay='0,100';
  this.autoplayspeed='3';
  if(isIE)this.notsupported='<h1>Your browser does not have the DevalVR Plugin installed.<br />DevalVR is required to view the DevalVR Home Tours.</h1><br /><h2>Follow the instructions below to install the DevalVR Plugin<br />THIS PLUGIN DOES NOT REQUIRE YOU TO RESTART YOUR INTERNET BROWSER.</h2><br /><h1>Instructions for Downloading DevalVR on Internet Explorer</h1><br /><p>1. Look to the top of your browser window for a yellow information box that looks something like this.<br /><br /><img src="/Viewers/Images/DevalVRIEYellowBox.png" alt="Internet Explorer Yellow Information Box" /><br /><br /><br />2. Click on the box and select &ldquo;Install ActiveX Control...&rdquo; to start the installation.<br /><br /><img src="/Viewers/Images/DevalVRIEYellowBoxSelected.png" alt="Select &ldquo;Install ActiveX Control...&rdquo;" /><br /><br /><br />3. Click &ldquo;Install&rdquo; to confirm the installation.<br /><br /><img src="/Viewers/Images/DevalVRIEInstallBox.png" alt="Click &ldquo;Install&rdquo;" /><br /><br />After the download is complete, your tour should start playing.<br /><br /><br />If you do not get the window asking whether you want to install the software, try the <a href="http://www.devalvr.com/index.html" target="_new">Manual Download</a>.</p><br />';
  else if(isOpera)this.notsupported='<h1>Your browser does not have the DevalVR plugin installed.<br />DevalVR is required to view the DevalVR Home Tours.</h1><br /><h2>Follow the instructions below to install the DevalVR Plugin<br />THIS PLUGIN DOES NOT REQUIRE YOU TO RESTART YOUR INTERNET BROWSER.</h2><br /><p><strong>Just finished downloading DevalVR? </strong>&nbsp;&nbsp; Click on <a href="javascript:window.location.reload();">&ldquo;Refresh This Page&rdquo;</a></p><br /><h1>Instructions for Downloading DevalVR on Opera</h1><br /><p>1. Click on the link to the install site below.<br />Note: You may need to disable your Pop-up blocker.<br /><br /><a href="http://www.devalvr.com/index.html" target="_new">Install DevalVR for Opera</a><br /><br />2. Click on &ldquo;Install DevalVR plugin&rdquo;.<br /><br /><img src="/Viewers/Images/DevalVROperaInstall.png" alt="Click on &ldquo;Install DevalVR plugin&rdquo;" style="border: 2px solid gray;" /><br /><br /><br />3. Click &ldquo;Open&rdquo; to run the downloaded file.<br /><br /><img src="/Viewers/Images/DevalVROperaOpen.png" alt="Click &ldquo;Install Now&rdquo;" /><br /><br /><br />4. Select which browsers to install to and click &ldquo;Install&rdquo;.<br /><br /><img src="/Viewers/Images/DevalVROperaInstallBox.png" alt="Click on &ldquo;Install&rdquo;" /><br /><br /><br />5. Click on &ldquo;Exit&rdquo;<br /><br /><img src="/Viewers/Images/DevalVROperaExit.png" alt="Click on &ldquo;Exit&rdquo;" /><br /><br /><br />6. Close the DevalVR Demo window or tab.<br /><br />7. Click on <a href="javascript:window.location.reload();">&ldquo;Refresh This Page&rdquo;</a> or Press &ldquo;F5&rdquo;.</p><br />';
  else this.notsupported='<h1>Your browser does not have the DevalVR plugin installed.<br />DevalVR is required to view the DevalVR Home Tours.</h1><br /><h2>Follow the instructions below to install the DevalVR Plugin<br />THIS PLUGIN DOES NOT REQUIRE YOU TO RESTART YOUR INTERNET BROWSER.</h2><br /><p><strong>Just finished downloading DevalVR? </strong>&nbsp;&nbsp; Click on <a href="javascript:window.location.reload();">&ldquo;Refresh This Page&rdquo;</a></p><br /><h1>Instructions for Downloading DevalVR on Firefox/Netscape</h1><br /><p>1. Click on the link to the install site below.<br />Note: You may need to disable your Pop-up blocker.<br /><br /><a href="http://www.devalvr.com/index.html" target="_new">Install DevalVR for Firefox/Netscape</a><br /><br />2. Click on &ldquo;Install DevalVR plugin&rdquo;.<br /><br /><img src="/Viewers//Images/DevalVRFirefoxInstall.png" alt="Click on &ldquo;Install DevalVR plugin&rdquo;" style="border: 2px solid gray;" /><br /><br /><br />3. Click &ldquo;Install Now&rdquo; to confirm the installation.<br /><br /><img src="/Viewers/Images/DevalVRFirefoxConfirm.png" alt="Click &ldquo;Install Now&rdquo;" /><br /><br /><br />4. Close the DevalVR Demo window or tab.<br /><br />5. Click on <a href="javascript:window.location.reload();">&ldquo;Refresh This Page&rdquo;</a> or Press &ldquo;F5&rdquo;.</p><br />';
  this.isInstalled=function()
        {
          if(navigator.mimeTypes&&navigator.mimeTypes['application/x-devalvrx']&&navigator.mimeTypes['application/x-devalvrx'].enabledPlugin)
          {
            var words=navigator.plugins['DevalVR 3D Plugin'].description.split(' ');
            var version=words[3].split(',');
            var minVersion='0,5,0,0';
            var min=minVersion.split(',');
            return this.checkMinVersion(version,min,4);
          }
        };
  this.RenderViewer=function()
        {
          if(isIE)
          {
            this.RenderOpenTag('object','id',this.id,'classid',this.classid,'codebase',this.codebase);
            this.RenderParam('src',this.filesource.replace('%20',' '));
          }
          else if(this.isInstalled())this.RenderOpenTag('object','id',this.id,'type',this.type,'data',this.filesource,'pluginspage',this.pluginspage);
          else
          {
            this.RenderNotSupported();
            return;
          }
          this.RenderParam('filter',this.filter);
          this.RenderParam('firstautoplay',this.firstautoplay);
          this.RenderParam('autoplayspeed',this.autoplayspeed);
          if(this.minPan!=-180)this.RenderParam('minrotationy',this.minPan);
          if(this.maxPan!=180)this.RenderParam('maxrotationy',this.maxPan);
          if(this.minPan!=-180||this.maxPan!=180)this.RenderParam('partialwidth',this.maxPan-this.minPan);
          this.RenderParam('zoom',(45/this.initialfov));
          this.RenderNotSupported();
          this.RenderCloseTag('object');
        };
  return true;
}
DevalVR.prototype=new Viewer();
function ProViewerVR()
{
  this.classid='clsid:8AD9C840-044E-11D1-B3E9-00805F499D93';
  this.type='application/x-java-applet;version=1.4.2';
  this.archive='http://download.java.net/media/applet-launcher/applet-launcher.jar,http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jar,http://download.java.net/media/gluegen/webstart/gluegen-rt.jar,/Viewers/ProViewerVR.jar';
  this.code='org.jdesktop.applet.util.JNLPAppletLauncher';
  this.codebase='http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab#Version=1,4,2,0';
  this.codebase_lookup='false';
  this.cache_option='Plugin';
  this.cache_archive='http://download.java.net/media/applet-launcher/applet-launcher.jar,http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jar,http://download.java.net/media/gluegen/webstart/gluegen-rt.jar,/Viewers/ProViewerVR.jar';
  this.subappletClassname='PVVR.ProViewerVR';
  this.subappletDisplayname='Pro Viewer VR';
  this.progressbar='true';
  this.loadingImage='/Viewers/Images/ViewerLoadingImage.png';
  this.autoSpin='true';
  this.autoSpinRate='25';
  this.frameTarget='';
  this.viewerFailedURL='';
  this.preload='';
  this.jnlpNumExtensions='1';
  this.jnlpExtension1='http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jnlp';
  if(isIE)this.notsupported='<h1>Your browser does not have the Java Plugin installed.<br />Java is required to view the Java Home Tours.</h1><br /><h2>Follow the instructions below to install the Java Plugin<br />THIS PLUGIN DOES NOT REQUIRE YOU TO RESTART YOUR INTERNET BROWSER.</h2><br /><h1>Instructions for Downloading Java on Internet Explorer</h1><br /><p>1. Look to the top of your browser window for a yellow information box that looks something like this.<br /><br /><img src="/Viewers/Images/JavaIEYellowBox.png" alt="Internet Explorer Yellow Information Box" /><br /><br /><br />2. Click on the box and select &ldquo;Install ActiveX Control...&rdquo; to start the installation.<br /><br /><img src="/Viewers/Images/JavaIEYellowBoxSelected.png" alt="Select &ldquo;Install ActiveX Control...&rdquo;" /><br /><br /><br />3. Click &ldquo;Install&rdquo; to confirm the installation.<br /><br /><img src="/Viewers/Images/JavaIEInstallBox.png" alt="Click &ldquo;Install&rdquo;" /><br /><br />After the download is complete, your tour should start playing.<br /><br /><br />If you do not get the window asking whether you want to install the software, try the <a href="http://www.java.com/" target="_new">Manual Download</a>.</p><br />';
  else this.notsupported='<h1>Your browser does not have the Java Plugin installed.<br />Java is required to view the Java Home Tours.</h1><br /><h2>Follow the instructions below to install the Java Plugin<br />THIS PLUGIN DOES NOT REQUIRE YOU TO RESTART YOUR INTERNET BROWSER.</h2><br /><h1>Instructions for Downloading Java on Firefox/Netscape</h1><br /><p>1. Click on &ldquo;Install Missing Plugins...&rdquo; to start the installation.<br /><br /><img src="/Viewers/Images/JavaFirefoxYellowBox.png" alt="Click on &ldquo;Install Missing Plugins...&rdquo;" /><br /><br /><br />2. Click on &ldquo;Next&rdquo; and then follow the instructions.<br /><br /><img src="/Viewers/Images/JavaFirefoxNext.png" alt="Click on &ldquo;Next&rdquo;" /><br /><br />After the download is complete, your tour should start playing.<br /><br /><br />If you do not get the yellow box asking whether you want to install the software, try the <a href="http://www.java.com/" target="_new">Manual Download</a>.</p><br />';
  this.RenderViewer=function()
        {
          if(isIE)
          {
            this.RenderOpenTag('object','id',this.id,'classid',this.classid,'codebase',this.codebase);
            this.RenderParam('code',this.code);
            this.RenderParam('archive',this.archive);
          }
          else this.RenderOpenTag('object','id',this.id,'classid','java:'+this.code+'.class','type',this.type,'archive',this.archive);
          this.RenderParam('codebase_lookup',this.codebase_lookup);
          this.RenderParam('cache_option',this.cache_option);
          this.RenderParam('cache_archive',this.cache_archive);
          this.RenderParam('subapplet.classname',this.subappletClassname);
          this.RenderParam('subapplet.displayname',this.subappletDisplayname);
          this.RenderParam('progressbar',this.progressbar);
          this.RenderParam('mayscript','mayscript');
          this.RenderParam('loadingImage',this.loadingImage);
          this.RenderParam('autoSpin',this.autoSpin);
          this.RenderParam('autoSpinRate',this.autoSpinRate);
          this.RenderParam('src',this.filesource);
          if(this.minPan!=-180)this.RenderParam('minPan',this.minPan);
          if(this.maxPan!=180)this.RenderParam('maxPan',this.maxPan);
          if(this.errorURL!='')
          {
            this.RenderParam('outOfMemoryURL',this.errorURL);
            this.RenderParam('viewerFailedURL',this.errorURL);
            if(this.frameTarget!='')this.RenderParam('frameTarget',this.frameTarget);
          }
          this.RenderParam('FOV',this.initialfov);
          if(this.preload!='')this.RenderParam('preload',this.preload);
          this.RenderParam('jnlpNumExtensions',this.jnlpNumExtensions);
          this.RenderParam('jnlpExtension1',this.jnlpExtension1);
          this.RenderNotSupported();
          this.RenderCloseTag('object');
        };
  return true;
}
ProViewerVR.prototype=new Viewer();
function SpiV()
{
  this.classid='clsid:166B1BCA-3F9C-11CF-8075-444553540000';
  this.type='application/x-director';
  this.codebase='http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=10,0,0,0';
  this.pluginspage='http://www.macromedia.com/shockwave/download/';
  this.src='/Viewers/Spi-V.dcr';
  this.swStretchStyle='stage';
  this.notsupported='<strong>Your browser does not have the Adobe Shockwave plugin installed.<br />Adobe Shockwave is required to view the Spi-V Home Tours.<br /><a href="http://www.adobe.com/shockwave/download/">Get the latest Adobe Shockwave Plug-In here.</a></strong>';
  this.RenderViewer=function()
        {
          if(isIE)
          {
            this.RenderOpenTag('object','id',this.id,'classid',this.classid,'codebase',this.codebase);
            this.RenderParam('src',this.src);
          }
          else this.RenderOpenTag('object','id',this.id,'type',this.type,'pluginspage',this.pluginspage,'data',this.src);
          this.RenderParam('swURL',this.filesource+'.spiv.xml');
          this.RenderParam('swStretchStyle',this.swStretchStyle);
          this.RenderNotSupported();
          this.RenderCloseTag('object');
        };
  return true;
}
SpiV.prototype=new Viewer();
function PUREJava()
{
  this.classid='clsid:8AD9C840-044E-11D1-B3E9-00805F499D93';
  this.type='application/x-java-applet;version=1.4.2';
  this.archive='/Viewers/PurePlayer.jar';
  this.code='PurePlayer';
  this.codebase='http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab#Version=1,4,2,0';
  if(isIE)this.notsupported='<h1>Your browser does not have the Java Plugin installed.<br />Java is required to view the Java Home Tours.</h1><br /><h2>Follow the instructions below to install the Java Plugin<br />THIS PLUGIN DOES NOT REQUIRE YOU TO RESTART YOUR INTERNET BROWSER.</h2><br /><h1>Instructions for Downloading Java on Internet Explorer</h1><br /><p>1. Look to the top of your browser window for a yellow information box that looks something like this.<br /><br /><img src="/Viewers/Images/JavaIEYellowBox.png" alt="Internet Explorer Yellow Information Box" /><br /><br /><br />2. Click on the box and select &ldquo;Install ActiveX Control...&rdquo; to start the installation.<br /><br /><img src="/Viewers/Images/JavaIEYellowBoxSelected.png" alt="Select &ldquo;Install ActiveX Control...&rdquo;" /><br /><br /><br />3. Click &ldquo;Install&rdquo; to confirm the installation.<br /><br /><img src="/Viewers/Images/JavaIEInstallBox.png" alt="Click &ldquo;Install&rdquo;" /><br /><br />After the download is complete, your tour should start playing.<br /><br /><br />If you do not get the window asking whether you want to install the software, try the <a href="http://www.java.com/" target="_new">Manual Download</a>.</p><br />';
  else this.notsupported='<h1>Your browser does not have the Java Plugin installed.<br />Java is required to view the Java Home Tours.</h1><br /><h2>Follow the instructions below to install the Java Plugin<br />THIS PLUGIN DOES NOT REQUIRE YOU TO RESTART YOUR INTERNET BROWSER.</h2><br /><h1>Instructions for Downloading Java on Firefox/Netscape</h1><br /><p>1. Click on &ldquo;Install Missing Plugins...&rdquo; to start the installation.<br /><br /><img src="/Viewers/Images/JavaFirefoxYellowBox.png" alt="Click on &ldquo;Install Missing Plugins...&rdquo;" /><br /><br /><br />2. Click on &ldquo;Next&rdquo; and then follow the instructions.<br /><br /><img src="/Viewers/Images/JavaFirefoxNext.png" alt="Click on &ldquo;Next&rdquo;" /><br /><br />After the download is complete, your tour should start playing.<br /><br /><br />If you do not get the yellow box asking whether you want to install the software, try the <a href="http://www.java.com/" target="_new">Manual Download</a>.</p><br />';
  this.RenderViewer=function()
        {
          if(isIE)
          {
            this.RenderOpenTag('object','id',this.id,'classid',this.classid,'codebase',this.codebase);
            this.RenderParam('code',this.code);
            this.RenderParam('archive',this.archive);
          }
          else this.RenderOpenTag('object','id',this.id,'classid','java:'+this.code+'.class','type',this.type,'archive',this.archive);
          this.RenderParam('panorama',this.filesource+'.ivp');
          this.RenderNotSupported();
          this.RenderCloseTag('object');
        };
  return true;
}
PUREJava.prototype=new Viewer();
function PUREFlash()
{
  this.classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000';
  this.type='application/x-shockwave-flash;version=9.0.0.0';
  this.codebase='http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab#version=9,0,0,0';
  this.pluginspage='http://www.adobe.com/go/getflashplayer';
  this.src='/Viewers/PurePlayer.swf';
  this.allowScriptAccess='sameDomain';
  this.allowFullScreen='true';
  this.play='true';
  this.loop='false';
  this.quality='high';
  this.notsupported='<strong>Your browser does not have the Adobe Flash plugin installed.<br />Adobe Flash is required to view the Flash Home Tours.<br /><a href="http://www.adobe.com/go/getflashplayer">Get the latest Adobe Flash Plug-In here.</a></strong>';
  this.RenderViewer=function()
        {
          if(isIE)
          {
            this.RenderOpenTag('object','id',this.id,'classid',this.classid,'codebase',this.codebase);
            this.RenderParam('src',this.src);
          }
          else this.RenderOpenTag('object','id',this.id,'type',this.type,'pluginspage',this.pluginspage,'data',this.src);
          this.RenderParam('allowScriptAccess',this.allowScriptAccess);
          this.RenderParam('allowFullScreen',this.allowFullScreen);
          this.RenderParam('play',this.play);
          this.RenderParam('loop',this.loop);
          this.RenderParam('quality',this.quality);
          this.RenderParam('flashvars','panorama='+this.filesource+'.ivp');
          this.RenderNotSupported();
          this.RenderCloseTag('object');
        };
  return true;
}
PUREFlash.prototype=new Viewer();