// this function accepts the variable 'imgloc' as the source of the image that is going
// to be replacing the current image. THIS.DOCUMENT.IMAGES.SRC identifies THIS.DOCUMENT as // being the current file, in this case the html page it is called from. IMAGES.SRC // // identifies any element named IMAGES and can then redirect the browser to the new source // for that image.


function imagechange(imgloc)
{
this.document.images.src=imgloc;
}


function imgwin(imgid,sizeacross,sizeup,thetext)
{
	var nw = window.open("","imgwin","resizable=no,height=10,width=10","");
	nw.resizeTo(sizeacross,sizeup+80);
	var d = nw.document;
	nw.window.focus("imgwin");

	d.write('<html><head><title>',thetext,'</title>');
	d.write('</head>');
	d.write('<body bgcolor="#000000" topmargin="0" bottommargin="0" rightmargin="0" leftmargin="0" name="imgwin">');
	d.write('<img src="',imgid,'" alt="',thetext,'"><div align="center">');
	d.write('<form id=form1 name=form1><input type="button" value="Close" onClick="self.close()" id=button1 name=button1></form>');
	d.write('</div></body>');
	d.write('</html>');
	d.close();
}
