﻿    function imageviewer(title, thumb, assetUrl)
    {
		var newApplet = '<html><head><title>'+title+'</title></head><body><center><h3 id="caption">  </h3>'+
                        '<applet code="ImageAppletWindow" archive="http://ratri.grainger.uiuc.edu/AAX/Collectus/ImageViewerApplet.jar" name="imageviewer" width="100%" height="90%" mayscript="">' +
                        '<PARAM NAME=thumb VALUE="' + thumb + '">' + 
						'<PARAM NAME=assetdef VALUE="' + assetUrl + '">' +
						'</applet></center></body></html>';
		document.open("text/html","_self");
		document.writeln(newApplet);
		document.close();
    }
