function popupVideo() {
	var w = 360;
	var h = 400;
	LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
	TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
	settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars=NO'+',resizable'
	window.open("", "videoWin", settings);
}

function popupChart() {
	var w = screen.width * .9;
	var h = screen.height * .8;
	LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
	TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
	settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars=YES'+',resizable'
	window.open("", "ChartWin", settings);
}

function popupFigure() {
	var w = 100;
	var h = 100;
	LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
	TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
	settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars=NO'+',resizable'
	window.open("", "figureWin", settings);
}

function popupNotes() {
	var w = 420;
	var h = 350;
	LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
	TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
	settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars=YES'+',resizable'
	window.open("", "notesWin", settings);
}

function CloseWindowAndReload()
{
	opener.window.location.reload();
	self.close();
}