function insertZoomHTML() {
	var inBody = document.getElementsByTagName("body").item(0);
	var inSpinbox = document.createElement("div");
	inSpinbox.setAttribute('id', 'ZoomSpin');
	inSpinbox.style.position = 'absolute';
	inSpinbox.style.left = '10px';
	inSpinbox.style.top = '10px';
	inSpinbox.style.visibility = 'hidden';
	inSpinbox.style.zIndex = '525';
	inBody.insertBefore(inSpinbox, inBody.firstChild);
	var inSpinImage = document.createElement("img");
	inSpinImage.setAttribute('id', 'SpinImage');
	inSpinImage.setAttribute('src', zoomImagesURI + 'zoom-spin-1.png');
	inSpinbox.appendChild(inSpinImage);
	var inZoombox = document.createElement("div");
	inZoombox.setAttribute('id', 'ZoomBox');
	inZoombox.style.position = 'absolute';
	inZoombox.style.left = '10px';
	inZoombox.style.top = '10px';
	inZoombox.style.padding = '30px 50px';
	inZoombox.style.background = '#fbf9ea';
	inZoombox.style.border = '1px solid #f7f6d1';
	inZoombox.style.visibility = 'hidden';
	inZoombox.style.zIndex = '499';
	inBody.insertBefore(inZoombox, inSpinbox.nextSibling);
	var inImage1 = document.createElement("img");
	inImage1.onclick = function(event) {
		zoomOut(this, event);
		return false;
	};
	inImage1.setAttribute('src', zoomImagesURI + 'spacer.gif');
	inImage1.setAttribute('id', 'ZoomImage');
	inImage1.setAttribute('border', '1');
	inImage1.setAttribute('style', '-webkit-box-shadow: ' + shadowSettings
					+ '0.0)');
	inImage1.style.display = 'block';
	inImage1.style.width = '10px';
	inImage1.style.height = '10px';
	inImage1.style.cursor = 'pointer';
	inZoombox.appendChild(inImage1);
	var inClosebox = document.createElement("div");
	inClosebox.setAttribute('id', 'ZoomClose');
	inClosebox.style.position = 'absolute';
	inClosebox.style.right = '0px';
	inClosebox.style.top = '0px';
	inClosebox.style.visibility = 'hidden';
	inZoombox.appendChild(inClosebox);
	var inImage2 = document.createElement("img");
	inImage2.onclick = function(event) {
		zoomOut(this, event);
		return false;
	};
	inImage2.setAttribute('src', zoomImagesURI + 'spacer.gif');
	inImage2.setAttribute('width', '100');
	inImage2.setAttribute('height', '30');
	inImage2.setAttribute('border', '0');
	inImage2.style.cursor = 'pointer';
	inClosebox.appendChild(inImage2);
	if (includeCaption) {
		var inCapDiv = document.createElement("div");
		inCapDiv.setAttribute('id', 'ZoomCapDiv');
		inCapDiv.style.position = 'absolute';
		inCapDiv.style.visibility = 'hidden';
		inCapDiv.style.marginLeft = 'auto';
		inCapDiv.style.marginRight = 'auto';
		inCapDiv.style.zIndex = '501';
		inBody.insertBefore(inCapDiv, inZoombox.nextSibling);
		var inCapTable = document.createElement("table");
		inCapTable.setAttribute('border', '0');
		inCapTable.setAttribute('cellPadding', '0');
		inCapTable.setAttribute('cellSpacing', '0');
		inCapDiv.appendChild(inCapTable);
		var inTbody = document.createElement("tbody");
		inCapTable.appendChild(inTbody);
		var inCapRow1 = document.createElement("tr");
		inTbody.appendChild(inCapRow1);
		var inCapCol2 = document.createElement("td");
		inCapCol2.style.background = '#fbf9ea';
		inCapCol2.setAttribute('id', 'ZoomCaption');
		inCapCol2.setAttribute('valign', 'middle');
		inCapCol2.style.fontSize = '10pt';
		inCapCol2.style.fontFamily = 'Verdana';
		inCapCol2.style.color = '#ffffff';
		inCapCol2.style.whiteSpace = 'nowrap';
		inCapCol2.style.padding = '5px 20px';
		inCapRow1.appendChild(inCapCol2);
	}
}
