var newWindow;

function dispWindow(URL,windowName,windowFeatures) 
{
	if (!newWindow || newWindow.closed) 
	{
		newWindow = window.open(URL,windowName,windowFeatures);
		if (!newWindow.opener) newWindow.opener = window; 
		newWindow.focus(); 
	} 
	else 
		// window is already open; bring to front
		newWindow.focus(); 
}

var newWindow2;

function dispWindow2(URL,windowName,windowFeatures) 
{
	if (!newWindow2 || newWindow2.closed) 
	{
		newWindow2 = window.open(URL,windowName,windowFeatures);
		if (!newWindow2.opener) newWindow2.opener = window; 
		newWindow2.focus(); 
	} 
	else 
		// window is already open; bring to front
		newWindow2.focus(); 
}

