<script type="text/javascript">
var vwidth, vheight, nx, ny, nwidth, nheight, zoom;
vwidth = 450; // set width of viewing window
vheight = 350; // set height of viewing window
nwidth = Math.round(vwidth / 3);
nheight = Math.round(vheight / 3);
nx = vwidth - nwidth - 5 - 1;
ny = 5;
zoom = -1;
awvhost="images2.aperio.com"; // set server with image
awvimage="Derm1.svs"; // set image name
awviewer="html/awv.swf";
awvvars = "awvImagePath=AWVIMAGE.apr&awvX=0.0&awvY=0.0&awvZoom=ZOOM&awvToolbar=1&awvNavWindow=1&awvSlider=1&awvGetURLBtn=0&awvAppMag=20&awvNavX=NX&awvNavY=NY&awvNavWidth=NWIDTH&awvNavHeight=NHEIGHT&awvHideAnnotations=";
function setDim(html) {
html = html.replace("AWVVARS", awvvars);
html = html.replace("AWVIMAGE", "Error! Hyperlink reference not valid);
html = html.replace("AWVIEWER", "Error! Hyperlink reference not valid);
html = html.replace("VWIDTH", vwidth);
html = html.replace("VHEIGHT", vheight);
html = html.replace("NX", nx);
html = html.replace("NY", ny);
html = html.replace("NWIDTH", nwidth);
html = html.replace("NHEIGHT", nheight);
html = html.replace("ZOOM", zoom);
document.write(html);
}
</script>
<table style="border: solid 2px black" cellpadding=0 cellspacing=0><tr><td>
<script type=text/javascript>setDim('<object id="theMovie" width=VWIDTH height=VHEIGHT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="AWVIEWER"><param name="FlashVars" value="AWVVARS">')</script>
<script type=text/javascript>setDim('<embed name="theMovie" width=VWIDTH height=VHEIGHT src="AWVIEWER" FlashVars="AWVVARS" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">')</script>
</embed>
</object>
</td></tr></table>