function insertZoomHTML(){var e=document.getElementsByTagName("body").item(0),a=document.createElement("div");a.setAttribute("id","ZoomSpin");a.style.position="absolute";a.style.left="10px";a.style.top="10px";a.style.visibility="hidden";a.style.zIndex="525";e.insertBefore(a,e.firstChild);var d=document.createElement("img");d.setAttribute("id","SpinImage");d.setAttribute("src",zoomImagesURI+"zoom-spin-1.png");a.appendChild(d);d=document.createElement("div");d.setAttribute("id","ZoomBox");d.style.position=
"absolute";d.style.left="10px";d.style.top="10px";d.style.visibility="hidden";d.style.zIndex="499";e.insertBefore(d,a.nextSibling);a=document.createElement("img");a.onclick=function(g){zoomOut(this,g);return false};a.setAttribute("src",zoomImagesURI+"spacer.gif");a.setAttribute("id","ZoomImage");a.setAttribute("border","0");a.setAttribute("style","-webkit-box-shadow: "+shadowSettings+"0.0)");a.style.display="block";a.style.width="10px";a.style.height="10px";a.style.cursor="pointer";d.appendChild(a);
a=document.createElement("div");a.setAttribute("id","ZoomClose");a.style.position="absolute";if(browserIsIE){a.style.left="-1px";a.style.top="0px"}else{a.style.left="-15px";a.style.top="-15px"}a.style.visibility="hidden";d.appendChild(a);var b=document.createElement("img");b.onclick=function(g){zoomOut(this,g);return false};b.setAttribute("src",zoomImagesURI+"closebox.png");b.setAttribute("width","30");b.setAttribute("height","30");b.setAttribute("border","0");b.style.cursor="pointer";a.appendChild(b);
if(!document.getElementById("ZoomImage").style.webkitBoxShadow&&!browserIsIE){a=document.createElement("div");a.setAttribute("id","ShadowBox");a.style.position="absolute";a.style.left="50px";a.style.top="50px";a.style.width="100px";a.style.height="100px";a.style.visibility="hidden";a.style.zIndex="498";e.insertBefore(a,d.nextSibling);b=document.createElement("table");b.setAttribute("border","0");b.setAttribute("width","100%");b.setAttribute("height","100%");b.setAttribute("cellpadding","0");b.setAttribute("cellspacing",
"0");a.appendChild(b);a=document.createElement("tbody");b.appendChild(a);b=document.createElement("tr");b.style.height="25px";a.appendChild(b);var c=document.createElement("td");c.style.width="27px";b.appendChild(c);var f=document.createElement("img");f.setAttribute("src",zoomImagesURI+"zoom-shadow1.png");f.setAttribute("width","27");f.setAttribute("height","25");f.style.display="block";c.appendChild(f);c=document.createElement("td");c.setAttribute("background",zoomImagesURI+"zoom-shadow2.png");b.appendChild(c);
f=document.createElement("img");f.setAttribute("src",zoomImagesURI+"spacer.gif");f.setAttribute("height","1");f.setAttribute("width","1");f.style.display="block";c.appendChild(f);c=document.createElement("td");c.style.width="27px";b.appendChild(c);b=document.createElement("img");b.setAttribute("src",zoomImagesURI+"zoom-shadow3.png");b.setAttribute("width","27");b.setAttribute("height","25");b.style.display="block";c.appendChild(b);inRow2=document.createElement("tr");a.appendChild(inRow2);b=document.createElement("td");
b.setAttribute("background",zoomImagesURI+"zoom-shadow4.png");inRow2.appendChild(b);c=document.createElement("img");c.setAttribute("src",zoomImagesURI+"spacer.gif");c.setAttribute("height","1");c.setAttribute("width","1");c.style.display="block";b.appendChild(c);b=document.createElement("td");b.setAttribute("bgcolor","#ffffff");inRow2.appendChild(b);c=document.createElement("img");c.setAttribute("src",zoomImagesURI+"spacer.gif");c.setAttribute("height","1");c.setAttribute("width","1");c.style.display=
"block";b.appendChild(c);b=document.createElement("td");b.setAttribute("background",zoomImagesURI+"zoom-shadow5.png");inRow2.appendChild(b);c=document.createElement("img");c.setAttribute("src",zoomImagesURI+"spacer.gif");c.setAttribute("height","1");c.setAttribute("width","1");c.style.display="block";b.appendChild(c);b=document.createElement("tr");b.style.height="26px";a.appendChild(b);a=document.createElement("td");a.style.width="27px";b.appendChild(a);c=document.createElement("img");c.setAttribute("src",
zoomImagesURI+"zoom-shadow6.png");c.setAttribute("width","27");c.setAttribute("height","26");c.style.display="block";a.appendChild(c);a=document.createElement("td");a.setAttribute("background",zoomImagesURI+"zoom-shadow7.png");b.appendChild(a);c=document.createElement("img");c.setAttribute("src",zoomImagesURI+"spacer.gif");c.setAttribute("height","1");c.setAttribute("width","1");c.style.display="block";a.appendChild(c);a=document.createElement("td");a.style.width="27px";b.appendChild(a);b=document.createElement("img");
b.setAttribute("src",zoomImagesURI+"zoom-shadow8.png");b.setAttribute("width","27");b.setAttribute("height","26");b.style.display="block";a.appendChild(b)}if(includeCaption){a=document.createElement("div");a.setAttribute("id","ZoomCapDiv");a.style.position="absolute";a.style.visibility="hidden";a.style.marginLeft="auto";a.style.marginRight="auto";a.style.zIndex="501";e.insertBefore(a,d.nextSibling);e=document.createElement("table");e.setAttribute("border","0");e.setAttribute("cellPadding","0");e.setAttribute("cellSpacing",
"0");a.appendChild(e);d=document.createElement("tbody");e.appendChild(d);e=document.createElement("tr");d.appendChild(e);d=document.createElement("td");d.setAttribute("align","right");e.appendChild(d);a=document.createElement("img");a.setAttribute("src",zoomImagesURI+"zoom-caption-l.png");a.setAttribute("width","13");a.setAttribute("height","26");a.style.display="block";d.appendChild(a);d=document.createElement("td");d.setAttribute("background",zoomImagesURI+"zoom-caption-fill.png");d.setAttribute("id",
"ZoomCaption");d.setAttribute("valign","middle");d.style.fontSize="14px";d.style.fontFamily="Helvetica";d.style.fontWeight="bold";d.style.color="#ffffff";d.style.textShadow="0px 2px 4px #000000";d.style.whiteSpace="nowrap";e.appendChild(d);d=document.createElement("td");e.appendChild(d);e=document.createElement("img");e.setAttribute("src",zoomImagesURI+"zoom-caption-r.png");e.setAttribute("width","13");e.setAttribute("height","26");e.style.display="block";d.appendChild(e)}};