<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>
<style type="text/css">body{margin:0}</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;

	function _copyObjectStyle($target, $propertyName) {
		$target.style[$propertyName] = $object.currentStyle[$propertyName];
	};

	// determine underlying background colour
	var $parent = $object;
	while ($parent && $parent.currentStyle.backgroundColor == "transparent") {
		$parent = $parent.parentElement;
	}
	if ($parent) body.style.backgroundColor = $parent.currentStyle.backgroundColor;

	// inherit other background properties
	_copyObjectStyle(body, "backgroundImage");
	_copyObjectStyle(body, "backgroundRepeat");
	_copyObjectStyle(body, "backgroundPositionX");
	_copyObjectStyle(body, "backgroundPositionY");

	// keep fonts because of EMs
	_copyObjectStyle(body, "fontFamily");
	_copyObjectStyle(body, "fontSize");

	// the wrapper <div> is for padding
	_copyObjectStyle(wrapper, "paddingTop");
	_copyObjectStyle(wrapper, "paddingRight");
	_copyObjectStyle(wrapper, "paddingBottom");
	_copyObjectStyle(wrapper, "paddingLeft");

	// set image dimensions according to the containing <object>
	image.width = $object.clientWidth;
	image.height = $object.clientHeight;

	if (/MSIE 5.0/.test(navigator.userAgent)) {
		image.src = $url;
	} else {
		// use the AlphaImageLoader in case of PNGs
		image.src = "blank.gif";
		image.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + $url + "',sizingMethod='scale')";
	}

	// pass width & height back up
	$object.style.width = body.scrollWidth;
	$object.style.height = body.scrollHeight;
}};
</script>
</head>
<body id="body"><div id="wrapper"><img id="image"></div></body>
</html>
