
var PTVParamStr='\t You must have java enabled to view this tour.  Please visit www.java.com for a free download.\n\t';var menu0360ParamStr='\t';var QTVRobjectParamStr='\t';var QTVRembedParamStr='';var menu0360ParamStr='';function addPTViewerParameter(Name,Value){PTVParamStr=PTVParamStr+'<param name="'+Name+'" value="'+Value+'">\n\t';}
function InsertPTVApplet(Name,Width,Height){document.write('<applet code="ptviewer.class" name="'+Name+'" width="'+Width+'" height="'+Height+'">\n');document.write(PTVParamStr+'\n');document.write('</applet>\n');}
function addQTVRParameter(Name,Value){QTVRobjectParamStr=QTVRobjectParamStr+'<param name="'+Name+'" value="'+Value+'">\n\t';QTVRembedParamStr=QTVRembedParamStr+Name+'="'+Value+'" ';}
function InsertQTVR(Name,Width,Height,Obj)
{var strHtml='<object name="'+Name+'" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="'+Width+'" height="'+Height+'">'+
QTVRobjectParamStr+'<embed width="'+Width+'" height="'+Height+'" '+QTVRembedParamStr+'></embed></object>';if(Obj)
{Obj.innerHTML=strHtml;}
else
{document.write(strHtml);}}
function addMenu0360Parameter(Name,Value){menu0360ParamStr=menu0360ParamStr+'<param name="'+Name+'" value="'+Value+'">\n\t';}
function Insertmenu0360Applets(ViewerName,PTVWidth,PTVHeight,menu0360Height){document.write('<applet code="ptviewer.class" name="'+ViewerName+'" width="'+PTVWidth+'" height="'+PTVHeight+'">\n');document.write(PTVParamStr+'\n');document.write('</applet><applet code="menu0360.class" width="'+PTVWidth+'" height="'+menu0360Height+'">\n');document.write('<param name="attachwith" value="'+ViewerName+'">/n');document.write(menu0360ParamStr);document.write('</applet>');}
