function js_active() {
	document.write('<style type="text/css">@import"css/js_tree.css";</style>')
}
js_active();

function writeFlash(filename,width,height) {
	if (document.getElementById) {
		var quality = 'high';
		var bg_color = '#5a827a';
		var innerCode = "<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\" height=\"100%\"><tr><td align=\"center\" valign=\"middle\" bgcolor=\"#5a827a\">";
		innerCode += 	"	<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"";
		innerCode += 	"		codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0\"";
		innerCode += 	"		width=\"" +width+ "\" height=\"" +height+ "\" id=\"" +filename+ "\">";
		innerCode += 	"			<param name=\"movie\" value=\"" +filename+ "\"><param name=\"" +quality+ "\" value=\"high\"><param name=\"bgcolor\" value=\"" +bg_color+ "\">";
		innerCode += 	"				<embed src=\"" +filename+ "\" quality=\"" +quality+ "\" bgcolor=\"" +bg_color+ "\" width=\"" +width+ "\" height=\"" +height+ "\" name=\"" +filename+ "\" "; 
		innerCode += 	"					type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\">";
		innerCode += 	"				</embed>";
		innerCode += 	"	</object>";
		innerCode += 	"</td></tr></table>";
		document.getElementsByTagName('body')[0].innerHTML = innerCode;
	}	
}
function checkFlash(min_req){
	var version = 0;
	if (navigator.plugins)  { 
		if(navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
			var desc = navigator.plugins["Shockwave Flash"].description;
			version = parseInt(desc.substring(16)); 
		}
		else if(navigator.appVersion.indexOf("MSIE")>-1){ 
			result = false;
	   		for(var i = min_req; i >= 3 && result != true; i--) {
	    		execScript('on error resume next: result = IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.'+i+'"))','VBScript');
				version = i;
			}
		}
	}
	if ( version >= min_req ) { return 1 } else { return 0 }
}
window.onload= function() {
	if (checkFlash(6)==1) {
		writeFlash('tree_B00.swf',780,530);
	}
	window.status = 'TREE LONDON'
}