<html>
<!--
	IE7, version 0.8 (alpha) (2005/05/23)
	Copyright: 2004-2005, Dean Edwards (http://dean.edwards.name/)
	License: http://creativecommons.org/licenses/LGPL/2.1/
-->
<head>
<object id="dummy" width="0" height="0"></object>
<base id="base">
<style type="text/css">html,body,img{margin:0;}img{vertical-align:top}#dummy{display:inline}</style>
<script type="text/javascript">
public_description = new function() {
var $loaded = false;
this.ie7_anon = true;
this.load = function($object, $cssText, $url) {
	// stop this method being called more than once
	if ($loaded) return;
	$loaded = true;

	// paths are realtive to the containing page
	base.href = $object.document.URL;
	// use IE's style object to format the cssText
	dummy.style.cssText = $cssText;

	var _parent = $object.parentElement;
	var _inline = Boolean(dummy.currentStyle.display == "inline");

	// resize the parent <object> according to the size of content
	function $resize() {
		$object.runtimeStyle.width = (_inline) ? image.offsetWidth : "100%";
		$object.runtimeStyle.height = body.offsetHeight;
	};

	image.onreadystatechange = function(){
		if (this.readyState == "complete") _applyStyle();
	};
	image.src = $url;

	function _applyStyle() {
		// copy css settings of the parent of <object>
		function copy($propertyName) {
		try {
			body.style[$propertyName] = _parent.currentStyle[$propertyName];
		} catch ($ignore) {}};
		for (var j in body.currentStyle) copy(j);
		body.style.width = "";
		body.style.height = "";
		body.style.border = "none";
		body.style.padding = "0";
		body.style.margin = "0";
		body.style.textIndent = "";
		body.style.position = "static";
		// determine underlying background colour
		while (_parent && _parent.currentStyle.backgroundColor == "transparent") {
			_parent = _parent.parentElement;
		}
		if (_parent) document.body.style.backgroundColor = _parent.currentStyle.backgroundColor;
		body.runtimeStyle.cssText = $cssText;
		body.runtimeStyle.margin = "0";
		if (_inline) body.runtimeStyle.width = "";
		$resize();
	};
}};
</script>
</head>
<body><span id="body"><img id="image"></span></body>
</html>
