function showChart(id, title, what, values, ymax) {
	var windowprops = "toolbar=0,location=0,directories=0,status=0," +
	"menubar=0,scrollbars=0,resizable=0,width=350,height=266,top=0,left="+(screen.width-360);
  more = "SHOW=ratings&ID=" + id;
	OpenWindow = window.open("/graph/index.jsp?"+ more + "&TITLE=" + title, "graph", windowprops);
}
function showPhotos(who, show, title, num) {
	file = "photos";
	if (show == 'V') file = "video";
	dir = "/" + file + "/";
	var windowprops = "toolbar=0,location=0,directories=0,status=0," +
	"menubar=0,scrollbars=0,resizable=0,width=150,height=500,top=0,left=0";
	OpenWindow = window.open(dir+file+".html?WHO=" + who + "&SHOW=" + show + "&NUM=" + num + "&TITLE=" + title, "photoRemote", windowprops);
}
function showPoll(id, k) {
	h = 225;
	if (k == 1) h = 325;
	var windowprops = "toolbar=0,location=0,directories=0,status=0," +
	"menubar=0,scrollbars=0,resizable=0,width=180,height="+h+",top=0,left=0";
	OpenWindow = window.open("/other/pollpopup.jsp?ID=" + id, "poll", windowprops);
}

