var RES;var PLY;var DEL;var PIC;var PRW;
function editResult(RID,PID,TID) {
	RES=window.open("editResult.php?RID="+RID+"&PID="+PID+"&TID="+TID,"ER","width=900,height=100,top=150,left=100");
	RES.focus();
}
function deleteResult(RID,TID) {
	DEL=window.open("deleteResult.php?RID="+RID+"&TID="+TID,"DR","width=900,height=100,top=150,left=100");
	DEL.focus();
}
function showPlayer(playerURL) {
	PLY=window.open(playerURL,"PL","width=860,height=500,top=150,left=250,scrollbars=1,resizable=1");
	PLY.focus();
}
function showPlayerRes(objLink) {
	PLY=window.open(objLink.href,"PL","width=860,height=500,top=150,left=250,scrollbars=1,resizable=1");
	PLY.focus();
}
function openPrintView(printUrl) {
	PRW=window.open(printUrl,"PRW","width=650,height=500,top=150,left=250,scrollbars=1,resizable=1,menubar=1");
	PRW.focus();
}
function showPic(path,picName,picHeight,picWidth) {
	if (PIC && !PIC.closed) {PIC.close();}
	PIC=window.open(path+"turnier/showPic.php?picName="+picName,"PC","width="+picWidth+",innerWidth="+picWidth+",height="+picHeight+",innerHeight="+picHeight+",top=150,left=250,scrollbars=0,resizable=1");
	PIC.focus();
}