if ((haveqt) || (macexplorer)) {	if (havenet) {		document.writeln ('<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab" WIDTH='+winwidth+' HEIGHT='+winheight+'>');		document.writeln ('<PARAM name="qtsrc" value="'+thispath+'/'+scenes[start]+'">');		document.writeln ('<PARAM name="src" value="'+homepath+'/uneedqt4.pntg">');		document.writeln ('<PARAM name="type" value="image/x-macpaint">');		document.writeln ('<PARAM name="pluginspage" value="http://www.apple.com/quicktime/download/">');		document.writeln ('<PARAM name="name" value="viewer">');		document.writeln ('<PARAM name="AUTOPLAY" value="false">');		document.writeln ('<PARAM name="CONTROLLER" value="false">');		document.writeln ('<PARAM name="enablejavascript" value="true">');		document.writeln ('<EMBED qtsrc="'+thispath+'/'+scenes[start]+'" src="'+homepath+'/uneedqt4.pntg" type="image/x-macpaint" pluginspage="http://www.apple.com/quicktime/download/" name="viewer" HEIGHT='+winheight+' WIDTH='+winwidth+' AUTOPLAY=false CONTROLLER=false enablejavascript=true></EMBED>');		document.writeln ('</OBJECT>');		}	else {		document.writeln ("<IFRAME name='iviewer' src='"+homepath+"/splash.html' width="+winwidth+" height="+winheight+" scrolling='no' frameborder=0 marginwidth=0 marginheight=0></IFRAME>");		}	}else {	if ((ismac) || (havenet)) {		document.writeln ("<APPLET name='viewer' archive=ptviewer.jar codebase='"+homepath+"' code='ptviewer.class' width='"+winwidth+"' height='"+winheight+"' mayscript=true>");		document.writeln ("<PARAM name=wait value='"+homepath+"/splash.gif'>");		document.writeln ("<PARAM name=file value='"+thispath+"/"+scenes[start]+"'>");		for (i=0; i<numscenes; i++) {			document.writeln ("<PARAM name=pano"+i+" value='{file="+thispath+"/"+scenes[i]+"}'>");			}		document.writeln ("</APPLET>");		}	else {		rn=Math.round(Math.random()*10000);		document.writeln ("<IFRAME name='iviewer' src='"+homepath+"/testpcie.html?'"+rn+" width="+winwidth+" height="+winheight+" scrolling='no' frameborder=0 marginwidth=0 marginheight=0></IFRAME>");		}	}	document.writeln ("<br><img src='"+homepath+"/nothing.gif' width=2 height=4><br><CENTER><font size=2, face='Helvetica, Arial'>");if (haveqt) {document.write ("Viewing Mode: <b>Quicktime</b> | PTViewer");}else {	document.write ("Viewing Mode: Quicktime | <b>PTViewer</b>");	}document.writeln ("</font><br><br>");if (!((!(havenet)) && (haveqt))) {	document.write ("<a href='JAVASCRIPT:autospin();'><img border=0 src='"+homepath+"/autorotate.gif'></a><img src='"+homepath+"/nothing.gif' width=4 height=4>");	}	document.writeln("<a href='JAVASCRIPT:instructions();'><img border=0 src='"+homepath+"/instructions.gif'></a></center>");