function init() {
	var W3CDOM = (document.createElement && document.getElementsByTagName);
	if (!W3CDOM) return;
	var test = new Image();
	var tmp = new Date();
	var suffix = tmp.getTime();
	test.src = "/images/spacer.gif?" + suffix;
	test.onload = imageReplacement;
}

function imageReplacement() {
	replaceThem(document.getElementsByTagName("h1"));
}

function replaceThem(x) {
	var replace = document.createElement("img");
	for (var i = 0; i < x.length; i++)
	{
		if (x[i].id)
		{
			var y = replace.cloneNode(true);
			/* The following conditional expression will only be run by Internet Explorer.  This prevents an issue where IE will show the
			cached version of an image even if the image has been updated recently.  Apparently, though, running this once will overwrite
			the old cached image */
			/*@cc_on
				@if (@_jscript)
					y.src = x[i].id + "?" + new Date().getTime();
				@end
			@*/
			y.src = x[i].id;
			y.title = x[i].firstChild.nodeValue;
			x[i].replaceChild(y, x[i].firstChild);
			x[i].style.height = x[i].firstChild.height + "px"; // Insure that h1's height is set properly
			x[i].style.border = "none";
		}
	}
}
