// JavaScript Document

	var width, height
	var image, ext
	var cond1, cond2
	function transferview(image, width, height)
	{
		if (width == 0)
			cond1=" "
		else cond1 = "width=" + (width + 20) + "";

		if (height == 0)
			cond2 = " "
		else cond2 = "height=" + (height + 100) + "";

		var s1  = ""
		var s15 = ""
		var s2 = "<CENTER><img SRC = '" + image + "' BORDER = 0>"
		var s3 = "<BR><FONT face='Arial,Verdana,Helvetica' color='black' size='1'>Image Copyright &#169.</FONT>"
		var s4 = "<BR><FONT face='Arial,Verdana,Helvetica' color='black' size='1'>DiverWest - All Rights Reserved.</FONT>"
		var s5 = "<FORM><INPUT TYPE = 'BUTTON' VALUE = 'Close Window'" + " onClick = 'self.close()'>"
		var s6 = "</FORM></CENTER>"

		ImageWindow=window.open("", "newwin" + width, "toolbar = no, locationbar = no, personalbar = no, statusbar = no, menubar = no, scrollbars = no, resizable = no, left = 50, top = 50, "+ cond1 + "," + cond2);
		ImageWindow.document.write(s1 + s15 + s2 + s3 + s4 + s5 + s6)
		ImageWindow.document.close()
	}
