//    Revision History
/*******************************************************************************

Copyright 1998-2006 Questor Systems, Inc.

07/30/08 BEE - A little bit better size and positioning.
04/01/05 BEE Release 2D Freeze
##############################
02/18/05 BEE - Call 55913: Original issue.  Open large image in new browser window.
03/01/03 BEE Release 2C Freeze
##############################

*******************************************************************************/

function openImageWindow(url)
	{
	var Nav4 = ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4));

	var imageWin = new Object();

	//	del	07/30/08...
	//imageWin.url = url;
	//imageWin.left = 100;
	//imageWin.top = 100;
	//imageWin.width = screen.availWidth - ( 2 * imageWin.left);
	//imageWin.height = screen.availHeight - ( 2 * imageWin.top);
	//	...end	07/30/08

	//	add	07/30/08...
	imageWin.url = url;
	imageWin.top = 100;
	imageWin.width = 700;
	imageWin.height = screen.availHeight - ( 2 * imageWin.top);
	imageWin.left = screen.availWidth - imageWin.width - 100;
	//	...end	07/30/08

	imageWin.name = "image_window";

	// position the window
	if ( Nav4 )
		attr = "screenX=" + imageWin.left + ",screenY=" + imageWin.top + ",width=" + imageWin.width + ",height=" + imageWin.height + ",resizable,scrollbars";
	else
		attr = "left=" + imageWin.left + ",top=" + imageWin.top + ",width=" + imageWin.width + ",height=" + imageWin.height + ",resizable,scrollbars";

	imageWin.win=window.open(imageWin.url, imageWin.name, attr);
	imageWin.win.focus();	/*	add	07/30/08	*/
	//return false;
	}

