/****************************************************************************************************
Name:		ASTcommon_New_Popup_Window_Function
Description:	Opens a new window.
History:
		Created: 1/11/2001	JC
Copyright(c) 2001, Vignette Corporation. All rights reserved.  
THIS PROGRAM IS AN UNPUBLISHED WORK AND TRADE SECRET OF THE COPYRIGHT HOLDER,  
AND DISTRIBUTED ONLY UNDER RESTRICTION.

No  part  of  this  program  may be used,  installed,  displayed,  reproduced, 
distributed or modified  without the express written consent  of the copyright
holder.

EXCEPT AS EXPLICITLY STATED  IN A WRITTEN  AGREEMENT BETWEEN  THE PARTIES, THE 
SOFTWARE IS PROVIDED AS-IS, WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY,  FITNESS FOR A PARTICULAR
PURPOSE, NONINFRINGEMENT, PERFORMANCE, AND QUALITY.
****************************************************************************************************/

function newWindowDisplayInfo(wname, toolbar, menubar, scrollbars, status, location, resizable, height, width, msg, url) {
	windowOptions = 'toolbar='+ toolbar +',menubar='+ menubar +',scrollbars='+ scrollbars +',status='+ status +',location='+ location +',resizable='+ resizable +',height='+ height +',width='+ width +',msg='+ msg;

	win=window.open('', wname, windowOptions);
	win.focus();
	with( win.document ) {
		open();
		write('<html>');
		write('<body topmargin=0 leftmargin=0 rightmargin=0 marginwidth=0 marginheight=0>');
		write('<H1>' + msg + '</H1>');
		write('<font size=-1>&nbsp;&nbsp;&nbsp;Loading ...</font><p>');
		write('<p>' + url);
		write('</body></html>');
		close();
	}
	win.document.location.href=url;
}

function newWindow(wname, toolbar, menubar, scrollbars, status, location, resizable, height, width, msg, url) {
	windowOptions = 'toolbar='+ toolbar +',menubar='+ menubar +',scrollbars='+ scrollbars +',status='+ status +',location='+ location +',resizable='+ resizable +',height='+ height +',width='+ width +',msg='+ msg;

	win=window.open('', wname, windowOptions);
	win.focus();
	win.document.location.href=url;
}

