function showChart(ChartURL)
{
	var researchRoot = "/research/";

	document.write("<img src='"+researchRoot + ChartURL+"'>");

	return;
}

function openChartWindow(url) {
	window.open('/research/chart_window.htm?' + url, "ChartWindow", 
		"width=700,height=500,scrollbars=no,resizable=yes,active=yes");
}

function openAllChartWindow(url) {
	var researchRoot = "/research/";

	var highWindow = window.open(researchRoot + url, 'HighWindow', 
		"width=640,height=500,scrollbars=yes,resizable=yes,active=yes");

	highWindow.focus();
}


function writeDate() {
	var now = new Date();

	var year = now.getFullYear();
	var month = now.getMonth()+1;
	var day = now.getDate();

	if (month.length == 1) then
		{
		month = "0" + month
		}
	document.write(month + "/" + day + "/" + year);
}

function openCommentWindow(url) {
	window.open(url, "CommentWindow", 
		"width=400,height=400,scrollbars=yes,resizable=yes,active=yes");
}