//START the openWinX functions to open a new window with the desired 
//settings and close the parent window if necessary.

	//the openWin0 function will resize parent window with the desired 
	//settings and branch to the appropiate window.

	function openWin0(myWidth, myHeight, myLocation) {	

		myWin= open(myLocation, "displayWindow","width="+myWidth+",height="+myHeight+",status=no,toolbar=no,menubar=no,scrollbars=no");

		myWin.focus();
		
	}