// scripts.js

var childWindows = new Array(); // array of childWindows

function openWindow(fileName,windowName,windowAttr){
	if(!windowName){windowName = "popoutWindow";}
	if(!windowAttr){windowAttr = "screenX=50,screenY=50,top=50,left=50,height=550,width=500,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,resizable=1,scrollbars=1,status=1,toolbar=0";}
	var x = childWindows.length;
	childWindows[x] = window.open(fileName,windowName,windowAttr);
	if(childWindows[x].opener == null){childWindows[x].opener = self;}
	childWindows[x].focus();
}
