function smplmtd(n,t,i,r,u,f,e,o,s,h,c,l){function p(n,t,i){n.setAttribute(t,i)}function k(n,t,i,r){return p(n,"height",i),p(n,"width",r),document.getElementById(t).appendChild(n),n}function d(n,t){n&&(n.onclick=function(){a.TurnPage(t)})}function g(){var t,n;y&&(t=k(document.createElementNS("http://www.w3.org/2000/svg","svg"),f,e,o),typeof s!=w&&(n=t.style,n.position="absolute",n.top=s,typeof h!=w&&(n.left=h),n.zIndex="-1"),a=new Helicon.Hcn(t),a.LoadSuccessHandler=function(){y=null;a.ZoomMode=1;a.Render();d(c,-1);d(l,1)},a.LoadFailureHandler=function(n){alert("problem with product, "+n.Diag)},a.LoadNewData(y))}var a,y,w="undefined",v,b;f&&typeof SVGGElement!=w?(v=new XMLHttpRequest,b="/mtd/s",(n[0]=="C"||n[0]=="c")&&(b="/col/"),v.open("GET",b+n+".mtd",!0),v.responseType="arraybuffer",v.onload=function(){y=new Uint8Array(v.response);g()},v.ontimeout=function(){alert(n+".mtd request failed")},v.send(null)):p(k(document.createElement("img"),i,r,u),"src",t)} //# sourceMappingURL=smpl.min.js.map