// JavaScript Document
/*
function openWin(URLtoOpen, windowName, windowFeatures) { 
newWindow=window.open(URLtoOpen, windowName, windowFeatures);
  newWindow.focus();
}
*/

// JavaScript Document

newWindow = new Array()

function openWin(URLtoOpen, windowName, width, height) { 

	windowFeatures = "width=" + width +", height=" + height + ",titlebar = 0, toolbar = 0, menubar=0, location=0, status=0, scrollbars=0, resizable=1,  directories = 0";
	newWindow[windowName]=window.open(URLtoOpen, windowName, windowFeatures);
	newWindow[windowName].focus();
}

function closeWin(){

	　for (field in newWindow) { ;
	　　if (newWindow[field].closed)
	　　{
		continue ;
	　　}
		newWindow[field].close() ;
	　}

}
