<!--
var aNoteWin

function popup(topic) {
	
	if (self.aPopUp == null) {
		aPopUp= window.open(topic,'Popup1','scrollbars=yes,location=no,status=no,menubar=0,directories=no,top=150,left=100,width=600,height=320,titlebar=no');
		self.aNoteWin = aPopUp;
	}
	else {
		closePicture()
		aPopUp= window.open(topic,'Popup1','scrollbars=yes,location=no,status=no,menubar=0,directories=no,top=150,left=100,width=600,height=320,titlebar=no');
		self.aNoteWin = aPopUp;
	}
}

function popup2(topic) {
	
	if (self.aPopUp == null) {
		aPopUp= window.open(topic,'Popup2','scrollbars=yes,location=no,status=no,menubar=0,directories=no,top=150,left=100,width=400,height=320,titlebar=no');
		self.aNoteWin = aPopUp;
	}
	else {
		closePicture()
		aPopUp= window.open(topic,'Popup2','scrollbars=yes,location=no,status=no,menubar=0,directories=no,top=150,left=100,width=400,height=320,titlebar=no');
		self.aNoteWin = aPopUp;
	}
}
function popupsizable(topic,width,height) {
	
	if (self.aPopUp == null) {
		aPopUp= window.open(topic,'Popup2','scrollbars=yes,location=no,status=no,menubar=0,directories=no,top=150,left=100,width='+width+',height='+height+',titlebar=no');
		self.aNoteWin = aPopUp;
	}
	else {
		closePicture()
		aPopUp= window.open(topic,'Popup2','scrollbars=yes,location=no,status=no,menubar=0,directories=no,top=150,left=100,width='+width+',height='+height+',titlebar=no');
		self.aNoteWin = aPopUp;
	}
}

function closePicture(which) {
	if (self.aPopUp != null) {
		self.aPopUp = null;
		self.aNoteWin.close();
	}
}

//-->
