function low(theURL){        ver = parseInt(navigator.appVersion.substring(0,1));		var	_width = '320';		var	_height = '240';		var	positionStr = '';   		if (typeof (screen) != 'undefined') {			var				xpos = Math.floor ((screen.width - _width) / 2),				ypos = Math.floor ((screen.height - _height - 40) / 2)		;		positionStr = 'screenx=' + xpos + ',screeny=' + ypos + ',left=' + xpos + ',top=' + ypos + ',';	}	newWin=window.open(theURL,'low','titlebar=no,toolbar=no,menubar=no,buttons=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,copyhistory=no' + positionStr + ',width=' + _width + ',height=' + _height);   	if ((!((navigator.appName == "Netscape")&&(ver==2))) && (!((navigator.appName == "Microsoft Internet Explorer")&&(ver<4)))){ setTimeout("if (newWin) newWin.focus();",0);}}function high(theURL){        ver = parseInt(navigator.appVersion.substring(0,1));		var	_width = '600';		var	_height = '400';		var	positionStr = '';   		if (typeof (screen) != 'undefined') {			var				xpos = Math.floor ((screen.width - _width) / 2),				ypos = Math.floor ((screen.height - _height - 40) / 2)		;		positionStr = 'screenx=' + xpos + ',screeny=' + ypos + ',left=' + xpos + ',top=' + ypos + ',';	}	newWin=window.open(theURL,'high','titlebar=no,toolbar=no,menubar=no,buttons=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,copyhistory=no' + positionStr + ',width=' + _width + ',height=' + _height);   	if ((!((navigator.appName == "Netscape")&&(ver==2))) && (!((navigator.appName == "Microsoft Internet Explorer")&&(ver<4)))){ setTimeout("if (newWin) newWin.focus();",0);}}function outputL(pano) {     document.write('<table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" width="320">');     document.write('<tr><td width="320" height="240" align="center" valign="middle">');     document.write('<applet archive="ptviewer.jar" code="ptviewer.class" width="320" height="240" name="ptviewer">');     document.write('<PARAM name=bgcolor 	value="FFFFFF">');     document.write('<PARAM name=quality 	value="0">');     document.write('<PARAM name=file 		value="', pano);     document.write('.jpg">');     document.write('<PARAM name=frame		value="frameL.gif">');          document.write('<PARAM name=shotspot0   value=" x0 y224 a20 b240 ');     document.write("p i'frame_left.gif' u'ptviewer:startAutoPan(-1,0,1)'");     document.write(' ">');     document.write('<PARAM name=shotspot1   value=" x20 y224 a40 b240 ');     document.write("p i'frame_right.gif' u'ptviewer:startAutoPan(1,0,1)'");     document.write(' ">');      document.write('<PARAM name=shotspot2   value=" x40 y224 a60 b240 ');     document.write("p i'frame_up.gif' u'ptviewer:startAutoPan(0,1,1)'");     document.write(' ">');     document.write('<PARAM name=shotspot3   value=" x60 y224 a80 b240 ');     document.write("p i'frame_down.gif' u'ptviewer:startAutoPan(0,-1,1)'");       document.write(' ">');          document.write('<PARAM name=shotspot4   value=" x80 y224 a100 b240 ');     document.write("p i'frame_in.gif' u'ptviewer:startAutoPan(0,0,0.97)'");     document.write(' ">');     document.write('<PARAM name=shotspot5   value=" x100 y224 a120 b240 ');     document.write("p i'frame_out.gif' u'ptviewer:startAutoPan(0,0,1.03)'");     document.write(' ">');           document.write('<PARAM name=shotspot6   value=" x120 y224 a140 b240 ');     document.write("p i'frame_stop.gif' u'ptviewer:ptviewer:stopAutoPan()'");     document.write(' ">');                   document.write('<PARAM name=pan		value="180">');     document.write('<PARAM name=tilt		value="-90">');     document.write('<PARAM name=fov		value="100">');     document.write('<PARAM name=fovmax		value="100">');     document.write('<PARAM name=fovmin		value="60">');     document.write('<PARAM name=barcolor	value="333399">');     document.write('<PARAM name=bar_y		value="136">');     document.write('<PARAM name=wait		value="wait.gif">');     document.write('<PARAM name=inits      value="ptviewer:moveTo(0,0,90,90)">');     document.write('</APPLET>');     document.write('</td></tr></table>');         }function outputH(pano) {     document.write('<table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" width="600">');     document.write('<tr><td width="600" height="400" align="center" valign="middle">');     document.write('<applet archive="ptviewer.jar" code="ptviewer.class" width="600" height="400" name="ptviewer">');     document.write('<PARAM name=bgcolor 	value="FFFFFF">');     document.write('<PARAM name=quality 	value="0">');     document.write('<PARAM name=file 		value="', pano);     document.write('.jpg">');     document.write('<PARAM name=frame		value="frameH.gif">');      document.write('<PARAM name=shotspot0   value=" x0 y384 a20 b400 ');     document.write("p i'frame_left.gif' u'ptviewer:startAutoPan(-1,0,1)'");     document.write(' ">');     document.write('<PARAM name=shotspot1   value=" x20 y384 a40 b400 ');     document.write("p i'frame_right.gif' u'ptviewer:startAutoPan(1,0,1)'");     document.write(' ">');      document.write('<PARAM name=shotspot2   value=" x40 y384 a60 b400 ');     document.write("p i'frame_up.gif' u'ptviewer:startAutoPan(0,1,1)'");     document.write(' ">');     document.write('<PARAM name=shotspot3   value=" x60 y384 a80 b400 ');     document.write("p i'frame_down.gif' u'ptviewer:startAutoPan(0,-1,1)'");       document.write(' ">');          document.write('<PARAM name=shotspot4   value=" x80 y384 a100 b400 ');     document.write("p i'frame_in.gif' u'ptviewer:startAutoPan(0,0,0.97)'");     document.write(' ">');     document.write('<PARAM name=shotspot5   value=" x100 y384 a120 b400 ');     document.write("p i'frame_out.gif' u'ptviewer:startAutoPan(0,0,1.03)'");     document.write(' ">');           document.write('<PARAM name=shotspot6   value=" x120 y384 a140 b400 ');     document.write("p i'frame_stop.gif' u'ptviewer:ptviewer:stopAutoPan()'");     document.write(' ">');                        document.write('<PARAM name=pan		value="180">');     document.write('<PARAM name=tilt		value="-90">');     document.write('<PARAM name=fov		value="100">');     document.write('<PARAM name=fovmax		value="100">');     document.write('<PARAM name=fovmin		value="60">');     document.write('<PARAM name=barcolor	value="333399">');     document.write('<PARAM name=bar_y		value="237">');     document.write('<PARAM name=wait		value="wait.gif">');     document.write('<PARAM name=inits      value="ptviewer:moveTo(0,0,90,90)">');     document.write('</APPLET>');     document.write('</td></tr></table>');         }
