
function writeQT(file,width,height)	{

	document.writeln('<object classid="clsid:02bf25d5-8c17-4b23-bc80-d3488abddc6b" width="' + width + '" height="' + height + '" codebase="http://www.apple.com/qtactivex/qtplugin.cab">');
	document.writeln('	<param name="src" value="' + file + '">');
	document.writeln('	<param name="autoplay" value="true">');
	document.writeln('	<param name="controller" value="true">');
	document.writeln('	<param name="cache" value="false">');
	document.writeln('	<embed src="' + file + '" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" align="top" height="' + height + '" width="' + width + '" controller="true" cache="false" autoplay="true"></embed>');
	document.writeln('</object>');
}


function writeJava(file,width,height) 	{

	document.writeln('<applet archive="ptviewer.jar" code="ptviewer.class" width="' + width + '" height="' + height + '">');
	document.writeln('	<param name="file" value="' + file + '">');
	document.writeln('	<param name="auto" value=".05">');
	document.writeln('	<param name="fov" value="95">');
	document.writeln('	<param name="fovmax" value="95">');
	document.writeln('	<param name="quality" value="3">');
	document.writeln('</applet>');
}


function newWin(){
	ven = window.open('','_blank');
	
	var results =document.documentElement.innerHTML;
	var match = "<";

	var re = new RegExp("<", "g");

	var newresults = results.replace(re, "&lt;");
	
	ven.document.write(newresults );
} 

