
////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////
	// ENTIRE BODY FOR HTML FILES
var html_url = window.location.href;
var html_url_split = html_url.split("/");

for (x=0; x<html_url_split.length; x++){
	if ( html_url_split[x].indexOf(".html") != -1 ){
		filename_split = html_url_split[x].split(".");
		fn = filename_split[0];
	}
}

document.write('<div class="toplayer" id="interface">');
document.write('<applet archive=panoapplet_110102.jar code=panoapplet width=420 height=340');
	document.write('<param name="altImage" value="img_logo.gif">');
	document.write('<param name="altSplash" value="img_logo.gif">');
	document.write('<param name="autospin" value="' + pano_data[fn][0] + '">');
	document.write('<param name="initialView" value="' + pano_data[fn][1] + ',' + pano_data[fn][2] + ',' + pano_data[fn][3] + '">');
	document.write('<param name="file" value="' + fn + '.ivr">');
document.write('</applet>');
document.write('</div>');

document.write('<object class="btmlayer" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write('	codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"');
document.write('	id="movie"');
document.write('	width=730 height=575>');
document.write('	<param name=movie value="level_00_pano_window.swf">');
document.write('	<param name=quality value=high>');
document.write('	<param name=bgcolor value=#000000>');

document.write('	<embed wmode="transparent"');
document.write('	src="level_00_pano_window.swf"');
document.write('	quality=high bgcolor=#000000');
document.write('	width=730 height=575');
document.write('	type="application/x-shockwave-flash"');
document.write('	pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"');
document.write('	name="movie"');
document.write('	swliveconnect="true">');
document.write('	</embed>');
document.write('</object>');

