var newWindow = null;function openWindow(contentURL,windowName,windowWidth,windowHeight) {	widthHeight = 'height=' + windowHeight + ',width=' + windowWidth;		newWindow = window.open(contentURL,windowName,widthHeight);			newWindow.focus()}function openFormWindow(contentURL) {		newWindow = window.open(contentURL, 'formwindow', 'toolbar=yes,scrollbars=yes,resizable=yes,width=500,height=600');			newWindow.focus()}function closeSelf() {			 self.close();}function closeWindow() {	top.self.close();}function updateParent(newURL) {	opener.document.location = newURL	self.close();}
